[INFO] cloning repository https://github.com/ayourtch/scarust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ayourtch/scarust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Fscarust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Fscarust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bbb0a4b1249cba3119a8ea2d055c01bc9d86640b [INFO] checking ayourtch/scarust/bbb0a4b1249cba3119a8ea2d055c01bc9d86640b against master#85c39893a761fe4c050523278da4e7e45ab42b6e for pr-134688 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Fscarust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ayourtch/scarust on toolchain 85c39893a761fe4c050523278da4e7e45ab42b6e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ayourtch/scarust [INFO] finished tweaking git repo https://github.com/ayourtch/scarust [INFO] tweaked toml for git repo https://github.com/ayourtch/scarust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ayourtch/scarust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typetag-impl v0.2.14 [INFO] [stderr] Downloaded linkme v0.3.17 [INFO] [stderr] Downloaded mac_address v1.1.5 [INFO] [stderr] Downloaded pcap-parser v0.14.1 [INFO] [stderr] Downloaded linkme-impl v0.3.17 [INFO] [stderr] Downloaded erased-serde v0.4.1 [INFO] [stderr] Downloaded typetag v0.2.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd64a9e6926e465565ec0b84caabb1f972ceb9240694424539f6ea70dd3776b2 [INFO] running `Command { std: "docker" "start" "-a" "cd64a9e6926e465565ec0b84caabb1f972ceb9240694424539f6ea70dd3776b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd64a9e6926e465565ec0b84caabb1f972ceb9240694424539f6ea70dd3776b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd64a9e6926e465565ec0b84caabb1f972ceb9240694424539f6ea70dd3776b2", kill_on_drop: false }` [INFO] [stdout] cd64a9e6926e465565ec0b84caabb1f972ceb9240694424539f6ea70dd3776b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba3b6b7cf8ee0c3fdcfedd9dbab4dff1a12c87ce8879a693cfc0d11943c7d25e [INFO] running `Command { std: "docker" "start" "-a" "ba3b6b7cf8ee0c3fdcfedd9dbab4dff1a12c87ce8879a693cfc0d11943c7d25e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking circular v0.3.0 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking pcap-parser v0.14.1 [INFO] [stderr] Checking regex v1.10.1 [INFO] [stderr] Checking mac_address v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling typetag-impl v0.2.14 [INFO] [stderr] Compiling linkme-impl v0.3.17 [INFO] [stderr] Compiling oside-derive v0.1.0 (/opt/rustwide/workdir/oside-derive) [INFO] [stdout] warning: unused import: `proc_macro::Literal` [INFO] [stdout] --> oside-derive/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use proc_macro::Literal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Index`, `parse_macro_input`, and `parse_quote` [INFO] [stdout] --> oside-derive/src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | parse_macro_input, parse_quote, Data, DeriveInput, Fields, GenericParam, Generics, Index, Path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Punct`, `Spacing`, and `TokenTree` [INFO] [stdout] --> oside-derive/src/lib.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | use proc_macro2::{Punct, Spacing, Span, TokenStream, TokenTree}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenStreamExt` [INFO] [stdout] --> oside-derive/src/lib.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | use quote::{ToTokens, TokenStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> oside-derive/src/lib.rs:619:9 [INFO] [stdout] | [INFO] [stdout] 619 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ItemStruct` and `parse_quote` [INFO] [stdout] --> oside-derive/src/lib.rs:620:30 [INFO] [stdout] | [INFO] [stdout] 620 | use syn::{parenthesized, parse_quote, token, ItemStruct, LitInt, Token}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ItemStruct`, `braced`, and `parse_quote` [INFO] [stdout] --> oside-derive/src/lib.rs:1152:33 [INFO] [stdout] | [INFO] [stdout] 1152 | ... braced, parenthesized, parse_quote, token, ItemStruct, LitInt, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conv` [INFO] [stdout] --> oside-derive/src/lib.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let conv = self.0.conv.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_def_X` [INFO] [stdout] --> oside-derive/src/lib.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let get_def_X = Ident::new(&format!("get_default_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_def_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_X` [INFO] [stdout] --> oside-derive/src/lib.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let set_X = Ident::new(&format!("set_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_set_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conv` [INFO] [stdout] --> oside-derive/src/lib.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let conv = self.0.conv.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_def_X` [INFO] [stdout] --> oside-derive/src/lib.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let get_def_X = Ident::new(&format!("get_default_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_def_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_X` [INFO] [stdout] --> oside-derive/src/lib.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let set_X = Ident::new(&format!("set_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_set_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> oside-derive/src/lib.rs:138:59 [INFO] [stdout] | [INFO] [stdout] 138 | fn insert_double_colon_if_second_is_angle_bracket(mut tokens: TokenStream) -> TokenStream { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conv` [INFO] [stdout] --> oside-derive/src/lib.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | let conv = self.0.conv.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fixed_typ` [INFO] [stdout] --> oside-derive/src/lib.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let fixed_typ: TokenStream = if self.0.is_value { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fixed_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_def_X` [INFO] [stdout] --> oside-derive/src/lib.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | let get_def_X = Ident::new(&format!("get_default_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_def_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_X` [INFO] [stdout] --> oside-derive/src/lib.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let set_X = Ident::new(&format!("set_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_set_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conv` [INFO] [stdout] --> oside-derive/src/lib.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | let conv = self.0.conv.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fixed_typ` [INFO] [stdout] --> oside-derive/src/lib.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | let fixed_typ: TokenStream = if self.0.is_value { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fixed_typ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_X` [INFO] [stdout] --> oside-derive/src/lib.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | let set_X = Ident::new(&format!("set_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_set_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conv` [INFO] [stdout] --> oside-derive/src/lib.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | let conv = self.0.conv.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_def_X` [INFO] [stdout] --> oside-derive/src/lib.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let get_def_X = Ident::new(&format!("get_default_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_def_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_X` [INFO] [stdout] --> oside-derive/src/lib.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | let set_X = Ident::new(&format!("set_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_set_X` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conv` [INFO] [stdout] --> oside-derive/src/lib.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | let conv = self.0.conv.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nproto_decoder` [INFO] [stdout] --> oside-derive/src/lib.rs:629:13 [INFO] [stdout] | [INFO] [stdout] 629 | let mut nproto_decoder = default_decoder; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nproto_decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma_token` [INFO] [stdout] --> oside-derive/src/lib.rs:659:25 [INFO] [stdout] | [INFO] [stdout] 659 | let comma_token: Option = content.parse()?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comma_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq_token` [INFO] [stdout] --> oside-derive/src/lib.rs:662:25 [INFO] [stdout] | [INFO] [stdout] 662 | let eq_token: Option = content.parse()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eq_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma_token` [INFO] [stdout] --> oside-derive/src/lib.rs:681:25 [INFO] [stdout] | [INFO] [stdout] 681 | let comma_token: Option = content.parse()?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comma_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq_token` [INFO] [stdout] --> oside-derive/src/lib.rs:684:25 [INFO] [stdout] | [INFO] [stdout] 684 | let eq_token: Option = content.parse()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eq_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> oside-derive/src/lib.rs:687:25 [INFO] [stdout] | [INFO] [stdout] 687 | let name = name.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> oside-derive/src/lib.rs:720:29 [INFO] [stdout] | [INFO] [stdout] 720 | let n: usize = lit.base10_parse()?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> oside-derive/src/lib.rs:629:9 [INFO] [stdout] | [INFO] [stdout] 629 | let mut nproto_decoder = default_decoder; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> oside-derive/src/lib.rs:816:9 [INFO] [stdout] | [INFO] [stdout] 816 | let mut tokens = quote! { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> oside-derive/src/lib.rs:967:9 [INFO] [stdout] | [INFO] [stdout] 967 | let mut tokens = quote! { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_param` [INFO] [stdout] --> oside-derive/src/lib.rs:988:43 [INFO] [stdout] | [INFO] [stdout] 988 | if let GenericParam::Type(ref mut type_param) = *param { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> oside-derive/src/lib.rs:1056:37 [INFO] [stdout] | [INFO] [stdout] 1056 | Fields::Unnamed(ref fields) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> oside-derive/src/lib.rs:1352:37 [INFO] [stdout] | [INFO] [stdout] 1352 | Fields::Unnamed(ref fields) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq_token` [INFO] [stdout] --> oside-derive/src/lib.rs:1173:45 [INFO] [stdout] | [INFO] [stdout] 1173 | ... let eq_token: Option = meta.input.parse()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eq_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq_token` [INFO] [stdout] --> oside-derive/src/lib.rs:1181:45 [INFO] [stdout] | [INFO] [stdout] 1181 | ... let eq_token: Option = meta.input.parse()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eq_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq_token` [INFO] [stdout] --> oside-derive/src/lib.rs:1188:45 [INFO] [stdout] | [INFO] [stdout] 1188 | ... let eq_token: Option = meta.input.parse()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eq_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq_token` [INFO] [stdout] --> oside-derive/src/lib.rs:1190:45 [INFO] [stdout] | [INFO] [stdout] 1190 | ... let eq_token: Option]> = meta.input.parse()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eq_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq_token` [INFO] [stdout] --> oside-derive/src/lib.rs:1198:45 [INFO] [stdout] | [INFO] [stdout] 1198 | ... let eq_token: Option = meta.input.parse()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eq_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq_token` [INFO] [stdout] --> oside-derive/src/lib.rs:1206:45 [INFO] [stdout] | [INFO] [stdout] 1206 | ... let eq_token: Option = meta.input.parse()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eq_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq_token` [INFO] [stdout] --> oside-derive/src/lib.rs:1214:45 [INFO] [stdout] | [INFO] [stdout] 1214 | ... let eq_token: Option = meta.input.parse()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eq_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eq_token` [INFO] [stdout] --> oside-derive/src/lib.rs:1222:45 [INFO] [stdout] | [INFO] [stdout] 1222 | ... let eq_token: Option = meta.input.parse()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eq_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `has_additional_data` is assigned to, but never used [INFO] [stdout] --> oside-derive/src/from_repr.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let mut has_additional_data = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_has_additional_data` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_additional_data` is never read [INFO] [stdout] --> oside-derive/src/from_repr.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | has_additional_data = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `has_additional_data` is never read [INFO] [stdout] --> oside-derive/src/from_repr.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | has_additional_data = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `auto` is never read [INFO] [stdout] --> oside-derive/src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct NetprotoStructField { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | auto: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetprotoStructField` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `get_def_X` should have a snake case name [INFO] [stdout] --> oside-derive/src/lib.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let get_def_X = Ident::new(&format!("get_default_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_def_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `set_X` should have a snake case name [INFO] [stdout] --> oside-derive/src/lib.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let set_X = Ident::new(&format!("set_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `set_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `get_def_X` should have a snake case name [INFO] [stdout] --> oside-derive/src/lib.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let get_def_X = Ident::new(&format!("get_default_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_def_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `set_X` should have a snake case name [INFO] [stdout] --> oside-derive/src/lib.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let set_X = Ident::new(&format!("set_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `set_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `get_def_X` should have a snake case name [INFO] [stdout] --> oside-derive/src/lib.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | let get_def_X = Ident::new(&format!("get_default_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_def_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `set_X` should have a snake case name [INFO] [stdout] --> oside-derive/src/lib.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let set_X = Ident::new(&format!("set_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `set_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `get_def_X` should have a snake case name [INFO] [stdout] --> oside-derive/src/lib.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | let get_def_X = Ident::new(&format!("get_default_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_def_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `set_X` should have a snake case name [INFO] [stdout] --> oside-derive/src/lib.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | let set_X = Ident::new(&format!("set_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `set_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `get_def_X` should have a snake case name [INFO] [stdout] --> oside-derive/src/lib.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let get_def_X = Ident::new(&format!("get_default_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_def_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `set_X` should have a snake case name [INFO] [stdout] --> oside-derive/src/lib.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | let set_X = Ident::new(&format!("set_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `set_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `get_def_X` should have a snake case name [INFO] [stdout] --> oside-derive/src/lib.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | let get_def_X = Ident::new(&format!("get_default_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `get_def_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `set_X` should have a snake case name [INFO] [stdout] --> oside-derive/src/lib.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | let set_X = Ident::new(&format!("set_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `set_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `modify_X` should have a snake case name [INFO] [stdout] --> oside-derive/src/lib.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | let modify_X = Ident::new(&format!("modify_{}", &name), Span::call_site()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `modify_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `layers_by_TYPEID` should have a snake case name [INFO] [stdout] --> oside-derive/src/lib.rs:580:13 [INFO] [stdout] | [INFO] [stdout] 580 | let layers_by_TYPEID = Ident::new(&format!("{}_BY_TYPEID", &self.place), Span::call_site()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `layers_by_typeid` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking linkme v0.3.17 [INFO] [stderr] Checking erased-serde v0.4.1 [INFO] [stderr] Checking generic-array v1.0.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking typetag v0.2.14 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking oside v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] REGISTRY: TokenStream [Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(955..971) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(971..972) }, Ident { ident: "Ethertype", span: #0 bytes(973..982) }, Punct { ch: ':', spacing: Alone, span: #0 bytes(982..983) }, Ident { ident: "u16", span: #0 bytes(984..987) }] [INFO] [stdout] PLACE: Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(955..971) } [INFO] [stdout] KEY: Ident { ident: "Ethertype", span: #0 bytes(973..982) } [INFO] [stdout] VAL: Ident { ident: "u16", span: #0 bytes(984..987) } [INFO] [stdout] REGISTRY: TokenStream [Ident { ident: "IANA_LAYERS", span: #0 bytes(1009..1020) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(1020..1021) }, Ident { ident: "Proto", span: #0 bytes(1022..1027) }, Punct { ch: ':', spacing: Alone, span: #0 bytes(1027..1028) }, Ident { ident: "u8", span: #0 bytes(1029..1031) }] [INFO] [stdout] PLACE: Ident { ident: "IANA_LAYERS", span: #0 bytes(1009..1020) } [INFO] [stdout] KEY: Ident { ident: "Proto", span: #0 bytes(1022..1027) } [INFO] [stdout] VAL: Ident { ident: "u8", span: #0 bytes(1029..1031) } [INFO] [stdout] REGISTRY: TokenStream [Ident { ident: "ICMP_TYPES", span: #0 bytes(1053..1063) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(1063..1064) }, Ident { ident: "Type", span: #0 bytes(1065..1069) }, Punct { ch: ':', spacing: Alone, span: #0 bytes(1069..1070) }, Ident { ident: "u8", span: #0 bytes(1071..1073) }] [INFO] [stdout] PLACE: Ident { ident: "ICMP_TYPES", span: #0 bytes(1053..1063) } [INFO] [stdout] KEY: Ident { ident: "Type", span: #0 bytes(1065..1069) } [INFO] [stdout] VAL: Ident { ident: "u8", span: #0 bytes(1071..1073) } [INFO] [stdout] REGISTRY: TokenStream [Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(1095..1112) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(1112..1113) }, Ident { ident: "SrcPort", span: #0 bytes(1114..1121) }, Punct { ch: ':', spacing: Alone, span: #0 bytes(1121..1122) }, Ident { ident: "u16", span: #0 bytes(1123..1126) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(1095..1112) } [INFO] [stdout] KEY: Ident { ident: "SrcPort", span: #0 bytes(1114..1121) } [INFO] [stdout] VAL: Ident { ident: "u16", span: #0 bytes(1123..1126) } [INFO] [stdout] REGISTRY: TokenStream [Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(1148..1165) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(1165..1166) }, Ident { ident: "DstPort", span: #0 bytes(1167..1174) }, Punct { ch: ':', spacing: Alone, span: #0 bytes(1174..1175) }, Ident { ident: "u16", span: #0 bytes(1176..1179) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(1148..1165) } [INFO] [stdout] KEY: Ident { ident: "DstPort", span: #0 bytes(1167..1174) } [INFO] [stdout] VAL: Ident { ident: "u16", span: #0 bytes(1176..1179) } [INFO] [stdout] REGISTRY: TokenStream [Ident { ident: "BOOTP_VENDORS", span: #0 bytes(1201..1214) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(1214..1215) }, Ident { ident: "VendorCookie", span: #0 bytes(1216..1228) }, Punct { ch: ':', spacing: Alone, span: #0 bytes(1228..1229) }, Ident { ident: "u32", span: #0 bytes(1230..1233) }] [INFO] [stdout] PLACE: Ident { ident: "BOOTP_VENDORS", span: #0 bytes(1201..1214) } [INFO] [stdout] KEY: Ident { ident: "VendorCookie", span: #0 bytes(1216..1228) } [INFO] [stdout] VAL: Ident { ident: "u32", span: #0 bytes(1230..1233) } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(33156..33172) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(33172..33173) }, Ident { ident: "Ethertype", span: #0 bytes(33174..33183) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(33184..33185) }, Literal { kind: Integer, symbol: "0x0806", suffix: None, span: #0 bytes(33186..33192) }] [INFO] [stdout] PLACE: Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(33156..33172) } [INFO] [stdout] KEY: Ident { ident: "Ethertype", span: #0 bytes(33174..33183) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 0x0806 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "BOOTP_VENDORS", span: #0 bytes(50368..50381) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(50381..50382) }, Ident { ident: "VendorCookie", span: #0 bytes(50383..50395) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(50396..50397) }, Ident { ident: "DHCP_COOKIE_VAL", span: #0 bytes(50398..50413) }] [INFO] [stdout] PLACE: Ident { ident: "BOOTP_VENDORS", span: #0 bytes(50368..50381) } [INFO] [stdout] KEY: Ident { ident: "VendorCookie", span: #0 bytes(50383..50395) } [INFO] [stdout] VAL: Expr::Path { attrs: [], qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "DHCP_COOKIE_VAL", span: #0 bytes(50398..50413) }, arguments: PathArguments::None }] } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(75184..75201) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(75201..75202) }, Ident { ident: "DstPort", span: #0 bytes(75203..75210) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(75211..75212) }, Literal { kind: Integer, symbol: "67", suffix: None, span: #0 bytes(75213..75215) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(75184..75201) } [INFO] [stdout] KEY: Ident { ident: "DstPort", span: #0 bytes(75203..75210) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 67 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(75237..75254) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(75254..75255) }, Ident { ident: "SrcPort", span: #0 bytes(75256..75263) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(75264..75265) }, Literal { kind: Integer, symbol: "67", suffix: None, span: #0 bytes(75266..75268) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(75237..75254) } [INFO] [stdout] KEY: Ident { ident: "SrcPort", span: #0 bytes(75256..75263) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 67 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(75290..75307) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(75307..75308) }, Ident { ident: "DstPort", span: #0 bytes(75309..75316) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(75317..75318) }, Literal { kind: Integer, symbol: "68", suffix: None, span: #0 bytes(75319..75321) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(75290..75307) } [INFO] [stdout] KEY: Ident { ident: "DstPort", span: #0 bytes(75309..75316) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 68 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(75343..75360) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(75360..75361) }, Ident { ident: "SrcPort", span: #0 bytes(75362..75369) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(75370..75371) }, Literal { kind: Integer, symbol: "68", suffix: None, span: #0 bytes(75372..75374) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(75343..75360) } [INFO] [stdout] KEY: Ident { ident: "SrcPort", span: #0 bytes(75362..75369) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 68 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(78074..78090) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(78090..78091) }, Ident { ident: "Ethertype", span: #0 bytes(78092..78101) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(78102..78103) }, Literal { kind: Integer, symbol: "0x8100", suffix: None, span: #0 bytes(78104..78110) }] [INFO] [stdout] PLACE: Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(78074..78090) } [INFO] [stdout] KEY: Ident { ident: "Ethertype", span: #0 bytes(78092..78101) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 0x8100 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(79541..79557) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(79557..79558) }, Ident { ident: "Ethertype", span: #0 bytes(79559..79568) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(79569..79570) }, Literal { kind: Integer, symbol: "0x88be", suffix: None, span: #0 bytes(79571..79577) }] [INFO] [stdout] PLACE: Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(79541..79557) } [INFO] [stdout] KEY: Ident { ident: "Ethertype", span: #0 bytes(79559..79568) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 0x88be } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(83910..83926) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(83926..83927) }, Ident { ident: "Ethertype", span: #0 bytes(83928..83937) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(83938..83939) }, Literal { kind: Integer, symbol: "0x6558", suffix: None, span: #0 bytes(83940..83946) }] [INFO] [stdout] PLACE: Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(83910..83926) } [INFO] [stdout] KEY: Ident { ident: "Ethertype", span: #0 bytes(83928..83937) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 0x6558 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(84845..84862) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(84862..84863) }, Ident { ident: "DstPort", span: #0 bytes(84864..84871) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(84872..84873) }, Literal { kind: Integer, symbol: "6081", suffix: None, span: #0 bytes(84874..84878) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(84845..84862) } [INFO] [stdout] KEY: Ident { ident: "DstPort", span: #0 bytes(84864..84871) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 6081 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(84900..84917) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(84917..84918) }, Ident { ident: "SrcPort", span: #0 bytes(84919..84926) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(84927..84928) }, Literal { kind: Integer, symbol: "6081", suffix: None, span: #0 bytes(84929..84933) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(84900..84917) } [INFO] [stdout] KEY: Ident { ident: "SrcPort", span: #0 bytes(84919..84926) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 6081 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "IANA_LAYERS", span: #0 bytes(86793..86804) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(86804..86805) }, Ident { ident: "Proto", span: #0 bytes(86806..86811) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(86812..86813) }, Literal { kind: Integer, symbol: "47", suffix: None, span: #0 bytes(86814..86816) }] [INFO] [stdout] PLACE: Ident { ident: "IANA_LAYERS", span: #0 bytes(86793..86804) } [INFO] [stdout] KEY: Ident { ident: "Proto", span: #0 bytes(86806..86811) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 47 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "IANA_LAYERS", span: #0 bytes(91192..91203) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(91203..91204) }, Ident { ident: "Proto", span: #0 bytes(91205..91210) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(91211..91212) }, Literal { kind: Integer, symbol: "1", suffix: None, span: #0 bytes(91213..91214) }] [INFO] [stdout] PLACE: Ident { ident: "IANA_LAYERS", span: #0 bytes(91192..91203) } [INFO] [stdout] KEY: Ident { ident: "Proto", span: #0 bytes(91205..91210) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 1 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "ICMP_TYPES", span: #0 bytes(91553..91563) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(91563..91564) }, Ident { ident: "Type", span: #0 bytes(91565..91569) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(91570..91571) }, Literal { kind: Integer, symbol: "8", suffix: None, span: #0 bytes(91572..91573) }] [INFO] [stdout] PLACE: Ident { ident: "ICMP_TYPES", span: #0 bytes(91553..91563) } [INFO] [stdout] KEY: Ident { ident: "Type", span: #0 bytes(91565..91569) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 8 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "ICMP_TYPES", span: #0 bytes(91784..91794) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(91794..91795) }, Ident { ident: "Type", span: #0 bytes(91796..91800) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(91801..91802) }, Literal { kind: Integer, symbol: "0", suffix: None, span: #0 bytes(91803..91804) }] [INFO] [stdout] PLACE: Ident { ident: "ICMP_TYPES", span: #0 bytes(91784..91794) } [INFO] [stdout] KEY: Ident { ident: "Type", span: #0 bytes(91796..91800) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 0 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(92795..92811) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(92811..92812) }, Ident { ident: "Ethertype", span: #0 bytes(92813..92822) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(92823..92824) }, Literal { kind: Integer, symbol: "0x800", suffix: None, span: #0 bytes(92825..92830) }] [INFO] [stdout] PLACE: Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(92795..92811) } [INFO] [stdout] KEY: Ident { ident: "Ethertype", span: #0 bytes(92813..92822) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 0x800 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "IANA_LAYERS", span: #0 bytes(92852..92863) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(92863..92864) }, Ident { ident: "Proto", span: #0 bytes(92865..92870) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(92871..92872) }, Literal { kind: Integer, symbol: "4", suffix: None, span: #0 bytes(92873..92874) }] [INFO] [stdout] PLACE: Ident { ident: "IANA_LAYERS", span: #0 bytes(92852..92863) } [INFO] [stdout] KEY: Ident { ident: "Proto", span: #0 bytes(92865..92870) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 4 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(100090..100106) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(100106..100107) }, Ident { ident: "Ethertype", span: #0 bytes(100108..100117) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(100118..100119) }, Literal { kind: Integer, symbol: "0x86DD", suffix: None, span: #0 bytes(100120..100126) }] [INFO] [stdout] PLACE: Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(100090..100106) } [INFO] [stdout] KEY: Ident { ident: "Ethertype", span: #0 bytes(100108..100117) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 0x86DD } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "IANA_LAYERS", span: #0 bytes(107632..107643) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(107643..107644) }, Ident { ident: "Proto", span: #0 bytes(107645..107650) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(107651..107652) }, Literal { kind: Integer, symbol: "6", suffix: None, span: #0 bytes(107653..107654) }] [INFO] [stdout] PLACE: Ident { ident: "IANA_LAYERS", span: #0 bytes(107632..107643) } [INFO] [stdout] KEY: Ident { ident: "Proto", span: #0 bytes(107645..107650) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 6 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "IANA_LAYERS", span: #0 bytes(111714..111725) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(111725..111726) }, Ident { ident: "Proto", span: #0 bytes(111727..111732) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(111733..111734) }, Literal { kind: Integer, symbol: "17", suffix: None, span: #0 bytes(111735..111737) }] [INFO] [stdout] PLACE: Ident { ident: "IANA_LAYERS", span: #0 bytes(111714..111725) } [INFO] [stdout] KEY: Ident { ident: "Proto", span: #0 bytes(111727..111732) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 17 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(115769..115786) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(115786..115787) }, Ident { ident: "DstPort", span: #0 bytes(115788..115795) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(115796..115797) }, Literal { kind: Integer, symbol: "4789", suffix: None, span: #0 bytes(115798..115802) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(115769..115786) } [INFO] [stdout] KEY: Ident { ident: "DstPort", span: #0 bytes(115788..115795) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 4789 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(115824..115841) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(115841..115842) }, Ident { ident: "SrcPort", span: #0 bytes(115843..115850) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(115851..115852) }, Literal { kind: Integer, symbol: "4789", suffix: None, span: #0 bytes(115853..115857) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(115824..115841) } [INFO] [stdout] KEY: Ident { ident: "SrcPort", span: #0 bytes(115843..115850) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 4789 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(191851..191868) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(191868..191869) }, Ident { ident: "SrcPort", span: #0 bytes(191870..191877) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(191878..191879) }, Literal { kind: Integer, symbol: "546", suffix: None, span: #0 bytes(191880..191883) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(191851..191868) } [INFO] [stdout] KEY: Ident { ident: "SrcPort", span: #0 bytes(191870..191877) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 546 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(191905..191922) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(191922..191923) }, Ident { ident: "DstPort", span: #0 bytes(191924..191931) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(191932..191933) }, Literal { kind: Integer, symbol: "546", suffix: None, span: #0 bytes(191934..191937) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(191905..191922) } [INFO] [stdout] KEY: Ident { ident: "DstPort", span: #0 bytes(191924..191931) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 546 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(191959..191976) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(191976..191977) }, Ident { ident: "SrcPort", span: #0 bytes(191978..191985) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(191986..191987) }, Literal { kind: Integer, symbol: "547", suffix: None, span: #0 bytes(191988..191991) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(191959..191976) } [INFO] [stdout] KEY: Ident { ident: "SrcPort", span: #0 bytes(191978..191985) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 547 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(192013..192030) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(192030..192031) }, Ident { ident: "DstPort", span: #0 bytes(192032..192039) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(192040..192041) }, Literal { kind: Integer, symbol: "547", suffix: None, span: #0 bytes(192042..192045) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(192013..192030) } [INFO] [stdout] KEY: Ident { ident: "DstPort", span: #0 bytes(192032..192039) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 547 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(204414..204431) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(204431..204432) }, Ident { ident: "SrcPort", span: #0 bytes(204433..204440) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(204441..204442) }, Literal { kind: Integer, symbol: "53", suffix: None, span: #0 bytes(204443..204445) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(204414..204431) } [INFO] [stdout] KEY: Ident { ident: "SrcPort", span: #0 bytes(204433..204440) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 53 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(204467..204484) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(204484..204485) }, Ident { ident: "DstPort", span: #0 bytes(204486..204493) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(204494..204495) }, Literal { kind: Integer, symbol: "53", suffix: None, span: #0 bytes(204496..204498) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(204467..204484) } [INFO] [stdout] KEY: Ident { ident: "DstPort", span: #0 bytes(204486..204493) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 53 } } [INFO] [stdout] warning: unused import: `serde::ser::SerializeTuple` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::ser::SerializeTuple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `protocolRegistriesSentinel` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct protocolRegistriesSentinel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ProtocolRegistriesSentinel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/protocols/arp.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/protocols/arp.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/protocols/bootp.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/protocols/bootp.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `dot1Q` should have an upper camel case name [INFO] [stdout] --> src/protocols/dot1q.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct dot1Q { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Dot1q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `erspan` should have an upper camel case name [INFO] [stdout] --> src/protocols/erspan.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct erspan { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Erspan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ether` should have an upper camel case name [INFO] [stdout] --> src/protocols/ether.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ether { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Ether` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `echo` should have an upper camel case name [INFO] [stdout] --> src/protocols/icmp.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct echo { [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Echo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `echoReply` should have an upper camel case name [INFO] [stdout] --> src/protocols/icmp.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct echoReply { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `EchoReply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/protocols/icmp.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/protocols/ip.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pcapFile` should have an upper camel case name [INFO] [stdout] --> src/protocols/pcap_file.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct pcapFile { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `PcapFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pcapFileData` should have an upper camel case name [INFO] [stdout] --> src/protocols/pcap_file.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct pcapFileData { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PcapFileData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pcapPacket` should have an upper camel case name [INFO] [stdout] --> src/protocols/pcap_file.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct pcapPacket { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PcapPacket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `raw` should have an upper camel case name [INFO] [stdout] --> src/protocols/raw.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct raw { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Raw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/protocols/tcp.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/protocols/tcp.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/protocols/udp.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/protocols/dhcpv6.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Mil_Std_188_220` should have an upper camel case name [INFO] [stdout] --> src/protocols/dhcpv6.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | Mil_Std_188_220 = 22, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MilStd188_220` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ip_Over_Iso7816_3` should have an upper camel case name [INFO] [stdout] --> src/protocols/dhcpv6.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | Ip_Over_Iso7816_3 = 29, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IpOverIso7816_3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Hw_Exp1` should have an upper camel case name [INFO] [stdout] --> src/protocols/dhcpv6.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | Hw_Exp1 = 36, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `HwExp1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Hw_Exp2` should have an upper camel case name [INFO] [stdout] --> src/protocols/dhcpv6.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | Hw_Exp2 = 37, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `HwExp2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/protocols/dhcpv6.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/protocols/dhcpv6.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/protocols/dhcpv6.rs:567:5 [INFO] [stdout] | [INFO] [stdout] 567 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/protocols/dhcpv6.rs:834:5 [INFO] [stdout] | [INFO] [stdout] 834 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/protocols/dhcpv6.rs:2270:5 [INFO] [stdout] | [INFO] [stdout] 2270 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:608:17 [INFO] [stdout] | [INFO] [stdout] 607 | panic!("TBD1"); [INFO] [stdout] | -------------- any code following this expression is unreachable [INFO] [stdout] 608 | formatter.write_str("Ipv4Address") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] REGISTRY: TokenStream [Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(955..971) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(971..972) }, Ident { ident: "Ethertype", span: #0 bytes(973..982) }, Punct { ch: ':', spacing: Alone, span: #0 bytes(982..983) }, Ident { ident: "u16", span: #0 bytes(984..987) }] [INFO] [stdout] PLACE: Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(955..971) } [INFO] [stdout] KEY: Ident { ident: "Ethertype", span: #0 bytes(973..982) } [INFO] [stdout] VAL: Ident { ident: "u16", span: #0 bytes(984..987) } [INFO] [stdout] REGISTRY: TokenStream [Ident { ident: "IANA_LAYERS", span: #0 bytes(1009..1020) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(1020..1021) }, Ident { ident: "Proto", span: #0 bytes(1022..1027) }, Punct { ch: ':', spacing: Alone, span: #0 bytes(1027..1028) }, Ident { ident: "u8", span: #0 bytes(1029..1031) }] [INFO] [stdout] PLACE: Ident { ident: "IANA_LAYERS", span: #0 bytes(1009..1020) } [INFO] [stdout] KEY: Ident { ident: "Proto", span: #0 bytes(1022..1027) } [INFO] [stdout] VAL: Ident { ident: "u8", span: #0 bytes(1029..1031) } [INFO] [stdout] REGISTRY: TokenStream [Ident { ident: "ICMP_TYPES", span: #0 bytes(1053..1063) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(1063..1064) }, Ident { ident: "Type", span: #0 bytes(1065..1069) }, Punct { ch: ':', spacing: Alone, span: #0 bytes(1069..1070) }, Ident { ident: "u8", span: #0 bytes(1071..1073) }] [INFO] [stdout] PLACE: Ident { ident: "ICMP_TYPES", span: #0 bytes(1053..1063) } [INFO] [stdout] KEY: Ident { ident: "Type", span: #0 bytes(1065..1069) } [INFO] [stdout] VAL: Ident { ident: "u8", span: #0 bytes(1071..1073) } [INFO] [stdout] REGISTRY: TokenStream [Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(1095..1112) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(1112..1113) }, Ident { ident: "SrcPort", span: #0 bytes(1114..1121) }, Punct { ch: ':', spacing: Alone, span: #0 bytes(1121..1122) }, Ident { ident: "u16", span: #0 bytes(1123..1126) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(1095..1112) } [INFO] [stdout] KEY: Ident { ident: "SrcPort", span: #0 bytes(1114..1121) } [INFO] [stdout] VAL: Ident { ident: "u16", span: #0 bytes(1123..1126) } [INFO] [stdout] REGISTRY: TokenStream [Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(1148..1165) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(1165..1166) }, Ident { ident: "DstPort", span: #0 bytes(1167..1174) }, Punct { ch: ':', spacing: Alone, span: #0 bytes(1174..1175) }, Ident { ident: "u16", span: #0 bytes(1176..1179) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(1148..1165) } [INFO] [stdout] KEY: Ident { ident: "DstPort", span: #0 bytes(1167..1174) } [INFO] [stdout] VAL: Ident { ident: "u16", span: #0 bytes(1176..1179) } [INFO] [stdout] REGISTRY: TokenStream [Ident { ident: "BOOTP_VENDORS", span: #0 bytes(1201..1214) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(1214..1215) }, Ident { ident: "VendorCookie", span: #0 bytes(1216..1228) }, Punct { ch: ':', spacing: Alone, span: #0 bytes(1228..1229) }, Ident { ident: "u32", span: #0 bytes(1230..1233) }] [INFO] [stdout] PLACE: Ident { ident: "BOOTP_VENDORS", span: #0 bytes(1201..1214) } [INFO] [stdout] KEY: Ident { ident: "VendorCookie", span: #0 bytes(1216..1228) } [INFO] [stdout] VAL: Ident { ident: "u32", span: #0 bytes(1230..1233) } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(33156..33172) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(33172..33173) }, Ident { ident: "Ethertype", span: #0 bytes(33174..33183) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(33184..33185) }, Literal { kind: Integer, symbol: "0x0806", suffix: None, span: #0 bytes(33186..33192) }] [INFO] [stdout] PLACE: Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(33156..33172) } [INFO] [stdout] KEY: Ident { ident: "Ethertype", span: #0 bytes(33174..33183) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 0x0806 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "BOOTP_VENDORS", span: #0 bytes(50368..50381) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(50381..50382) }, Ident { ident: "VendorCookie", span: #0 bytes(50383..50395) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(50396..50397) }, Ident { ident: "DHCP_COOKIE_VAL", span: #0 bytes(50398..50413) }] [INFO] [stdout] PLACE: Ident { ident: "BOOTP_VENDORS", span: #0 bytes(50368..50381) } [INFO] [stdout] KEY: Ident { ident: "VendorCookie", span: #0 bytes(50383..50395) } [INFO] [stdout] VAL: Expr::Path { attrs: [], qself: None, path: Path { leading_colon: None, segments: [PathSegment { ident: Ident { ident: "DHCP_COOKIE_VAL", span: #0 bytes(50398..50413) }, arguments: PathArguments::None }] } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(75184..75201) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(75201..75202) }, Ident { ident: "DstPort", span: #0 bytes(75203..75210) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(75211..75212) }, Literal { kind: Integer, symbol: "67", suffix: None, span: #0 bytes(75213..75215) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(75184..75201) } [INFO] [stdout] KEY: Ident { ident: "DstPort", span: #0 bytes(75203..75210) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 67 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(75237..75254) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(75254..75255) }, Ident { ident: "SrcPort", span: #0 bytes(75256..75263) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(75264..75265) }, Literal { kind: Integer, symbol: "67", suffix: None, span: #0 bytes(75266..75268) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(75237..75254) } [INFO] [stdout] KEY: Ident { ident: "SrcPort", span: #0 bytes(75256..75263) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 67 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(75290..75307) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(75307..75308) }, Ident { ident: "DstPort", span: #0 bytes(75309..75316) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(75317..75318) }, Literal { kind: Integer, symbol: "68", suffix: None, span: #0 bytes(75319..75321) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(75290..75307) } [INFO] [stdout] KEY: Ident { ident: "DstPort", span: #0 bytes(75309..75316) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 68 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(75343..75360) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(75360..75361) }, Ident { ident: "SrcPort", span: #0 bytes(75362..75369) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(75370..75371) }, Literal { kind: Integer, symbol: "68", suffix: None, span: #0 bytes(75372..75374) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(75343..75360) } [INFO] [stdout] KEY: Ident { ident: "SrcPort", span: #0 bytes(75362..75369) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 68 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(78074..78090) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(78090..78091) }, Ident { ident: "Ethertype", span: #0 bytes(78092..78101) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(78102..78103) }, Literal { kind: Integer, symbol: "0x8100", suffix: None, span: #0 bytes(78104..78110) }] [INFO] [stdout] PLACE: Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(78074..78090) } [INFO] [stdout] KEY: Ident { ident: "Ethertype", span: #0 bytes(78092..78101) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 0x8100 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(79541..79557) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(79557..79558) }, Ident { ident: "Ethertype", span: #0 bytes(79559..79568) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(79569..79570) }, Literal { kind: Integer, symbol: "0x88be", suffix: None, span: #0 bytes(79571..79577) }] [INFO] [stdout] PLACE: Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(79541..79557) } [INFO] [stdout] KEY: Ident { ident: "Ethertype", span: #0 bytes(79559..79568) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 0x88be } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(83910..83926) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(83926..83927) }, Ident { ident: "Ethertype", span: #0 bytes(83928..83937) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(83938..83939) }, Literal { kind: Integer, symbol: "0x6558", suffix: None, span: #0 bytes(83940..83946) }] [INFO] [stdout] PLACE: Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(83910..83926) } [INFO] [stdout] KEY: Ident { ident: "Ethertype", span: #0 bytes(83928..83937) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 0x6558 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(84845..84862) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(84862..84863) }, Ident { ident: "DstPort", span: #0 bytes(84864..84871) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(84872..84873) }, Literal { kind: Integer, symbol: "6081", suffix: None, span: #0 bytes(84874..84878) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(84845..84862) } [INFO] [stdout] KEY: Ident { ident: "DstPort", span: #0 bytes(84864..84871) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 6081 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(84900..84917) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(84917..84918) }, Ident { ident: "SrcPort", span: #0 bytes(84919..84926) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(84927..84928) }, Literal { kind: Integer, symbol: "6081", suffix: None, span: #0 bytes(84929..84933) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(84900..84917) } [INFO] [stdout] KEY: Ident { ident: "SrcPort", span: #0 bytes(84919..84926) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 6081 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "IANA_LAYERS", span: #0 bytes(86793..86804) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(86804..86805) }, Ident { ident: "Proto", span: #0 bytes(86806..86811) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(86812..86813) }, Literal { kind: Integer, symbol: "47", suffix: None, span: #0 bytes(86814..86816) }] [INFO] [stdout] PLACE: Ident { ident: "IANA_LAYERS", span: #0 bytes(86793..86804) } [INFO] [stdout] KEY: Ident { ident: "Proto", span: #0 bytes(86806..86811) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 47 } } [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/protocols/dns.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 139 | return result; [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 140 | break; [INFO] [stdout] | ^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "IANA_LAYERS", span: #0 bytes(91192..91203) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(91203..91204) }, Ident { ident: "Proto", span: #0 bytes(91205..91210) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(91211..91212) }, Literal { kind: Integer, symbol: "1", suffix: None, span: #0 bytes(91213..91214) }] [INFO] [stdout] PLACE: Ident { ident: "IANA_LAYERS", span: #0 bytes(91192..91203) } [INFO] [stdout] KEY: Ident { ident: "Proto", span: #0 bytes(91205..91210) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 1 } } [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/protocols/pvti.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | panic!("FIXME"); [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] 25 | self.data.to_vec() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "ICMP_TYPES", span: #0 bytes(91553..91563) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(91563..91564) }, Ident { ident: "Type", span: #0 bytes(91565..91569) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(91570..91571) }, Literal { kind: Integer, symbol: "8", suffix: None, span: #0 bytes(91572..91573) }] [INFO] [stdout] PLACE: Ident { ident: "ICMP_TYPES", span: #0 bytes(91553..91563) } [INFO] [stdout] KEY: Ident { ident: "Type", span: #0 bytes(91565..91569) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 8 } } [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/protocols/pvti.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | panic!("FIXME"); [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] 92 | / for chunk in &my_layer.chunks { [INFO] [stdout] 93 | | result.extend(chunk.encode::()); [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "ICMP_TYPES", span: #0 bytes(91784..91794) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(91794..91795) }, Ident { ident: "Type", span: #0 bytes(91796..91800) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(91801..91802) }, Literal { kind: Integer, symbol: "0", suffix: None, span: #0 bytes(91803..91804) }] [INFO] [stdout] PLACE: Ident { ident: "ICMP_TYPES", span: #0 bytes(91784..91794) } [INFO] [stdout] KEY: Ident { ident: "Type", span: #0 bytes(91796..91800) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 0 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(92795..92811) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(92811..92812) }, Ident { ident: "Ethertype", span: #0 bytes(92813..92822) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(92823..92824) }, Literal { kind: Integer, symbol: "0x800", suffix: None, span: #0 bytes(92825..92830) }] [INFO] [stdout] PLACE: Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(92795..92811) } [INFO] [stdout] KEY: Ident { ident: "Ethertype", span: #0 bytes(92813..92822) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 0x800 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "IANA_LAYERS", span: #0 bytes(92852..92863) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(92863..92864) }, Ident { ident: "Proto", span: #0 bytes(92865..92870) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(92871..92872) }, Literal { kind: Integer, symbol: "4", suffix: None, span: #0 bytes(92873..92874) }] [INFO] [stdout] PLACE: Ident { ident: "IANA_LAYERS", span: #0 bytes(92852..92863) } [INFO] [stdout] KEY: Ident { ident: "Proto", span: #0 bytes(92865..92870) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 4 } } [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | Value::Func(f) => panic!("Serializing functions is not supported"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | Err(e) => panic!("Could not parse!"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/lib.rs:395:35 [INFO] [stdout] | [INFO] [stdout] 395 | fn visit_str(self, v: &str) -> Result [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(100090..100106) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(100106..100107) }, Ident { ident: "Ethertype", span: #0 bytes(100108..100117) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(100118..100119) }, Literal { kind: Integer, symbol: "0x86DD", suffix: None, span: #0 bytes(100120..100126) }] [INFO] [stdout] PLACE: Ident { ident: "ETHERTYPE_LAYERS", span: #0 bytes(100090..100106) } [INFO] [stdout] KEY: Ident { ident: "Ethertype", span: #0 bytes(100108..100117) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 0x86DD } } [INFO] [stdout] warning: unused variable: `formatter` [INFO] [stdout] --> src/lib.rs:606:33 [INFO] [stdout] | [INFO] [stdout] 606 | fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_formatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/lib.rs:794:31 [INFO] [stdout] | [INFO] [stdout] 794 | pub fn g(&self, idx: T) -> &T { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/lib.rs:798:37 [INFO] [stdout] | [INFO] [stdout] 798 | pub fn item_at(&self, item: T, idx: usize) -> Option<&T> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/lib.rs:802:40 [INFO] [stdout] | [INFO] [stdout] 802 | pub fn find_layer(&self, item: T) -> Option<(usize, &T)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/lib.rs:811:39 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn get_layer(&self, item: T) -> Option<&T> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/lib.rs:819:49 [INFO] [stdout] | [INFO] [stdout] 819 | pub fn get_innermost_layer(&self, item: T) -> Option<&T> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/lib.rs:827:47 [INFO] [stdout] | [INFO] [stdout] 827 | pub fn get_layer_mut(&mut self, item: T) -> Option<&mut T> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/lib.rs:836:39 [INFO] [stdout] | [INFO] [stdout] 836 | pub fn layers_of(&self, item: T) -> Vec<&T> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/lib.rs:979:9 [INFO] [stdout] | [INFO] [stdout] 979 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/lib.rs:980:9 [INFO] [stdout] | [INFO] [stdout] 980 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/lib.rs:981:9 [INFO] [stdout] | [INFO] [stdout] 981 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/protocols/arp.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let (v, delta) = D::decode_vec(buf, me.hwlen.value() as usize)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/protocols/arp.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let (v, delta) = D::decode_vec(buf, me.plen.value() as usize)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/protocols/arp.rs:121:35 [INFO] [stdout] | [INFO] [stdout] 121 | fn visit_str(self, v: &str) -> Result [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/protocols/arp.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/protocols/arp.rs:212:35 [INFO] [stdout] | [INFO] [stdout] 212 | fn visit_str(self, v: &str) -> Result [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/protocols/arp.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/protocols/bootp.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | me: &mut Dhcp, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/bootp.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/bootp.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/bootp.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "IANA_LAYERS", span: #0 bytes(107632..107643) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(107643..107644) }, Ident { ident: "Proto", span: #0 bytes(107645..107650) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(107651..107652) }, Literal { kind: Integer, symbol: "6", suffix: None, span: #0 bytes(107653..107654) }] [INFO] [stdout] PLACE: Ident { ident: "IANA_LAYERS", span: #0 bytes(107632..107643) } [INFO] [stdout] KEY: Ident { ident: "Proto", span: #0 bytes(107645..107650) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 6 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "IANA_LAYERS", span: #0 bytes(111714..111725) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(111725..111726) }, Ident { ident: "Proto", span: #0 bytes(111727..111732) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(111733..111734) }, Literal { kind: Integer, symbol: "17", suffix: None, span: #0 bytes(111735..111737) }] [INFO] [stdout] PLACE: Ident { ident: "IANA_LAYERS", span: #0 bytes(111714..111725) } [INFO] [stdout] KEY: Ident { ident: "Proto", span: #0 bytes(111727..111732) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 17 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(115769..115786) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(115786..115787) }, Ident { ident: "DstPort", span: #0 bytes(115788..115795) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(115796..115797) }, Literal { kind: Integer, symbol: "4789", suffix: None, span: #0 bytes(115798..115802) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(115769..115786) } [INFO] [stdout] KEY: Ident { ident: "DstPort", span: #0 bytes(115788..115795) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 4789 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(115824..115841) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(115841..115842) }, Ident { ident: "SrcPort", span: #0 bytes(115843..115850) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(115851..115852) }, Literal { kind: Integer, symbol: "4789", suffix: None, span: #0 bytes(115853..115857) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(115824..115841) } [INFO] [stdout] KEY: Ident { ident: "SrcPort", span: #0 bytes(115843..115850) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 4789 } } [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> src/protocols/bootp.rs:569:51 [INFO] [stdout] | [INFO] [stdout] 569 | if let Some((vendor_opts, sz)) = [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/protocols/bootp.rs:938:39 [INFO] [stdout] | [INFO] [stdout] 938 | fn sample(&self, rng: &mut R) -> BootpVendorData { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ci` [INFO] [stdout] --> src/protocols/bootp.rs:969:13 [INFO] [stdout] | [INFO] [stdout] 969 | let mut ci = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `the_vec` [INFO] [stdout] --> src/protocols/bootp.rs:973:14 [INFO] [stdout] | [INFO] [stdout] 973 | let (the_vec, _) = D::decode_vec(buf, 60)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_the_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/bootp.rs:969:9 [INFO] [stdout] | [INFO] [stdout] 969 | let mut ci = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_layer` [INFO] [stdout] --> src/protocols/bootp.rs:981:5 [INFO] [stdout] | [INFO] [stdout] 981 | my_layer: &Bootp, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/bootp.rs:982:5 [INFO] [stdout] | [INFO] [stdout] 982 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/bootp.rs:983:5 [INFO] [stdout] | [INFO] [stdout] 983 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/bootp.rs:984:5 [INFO] [stdout] | [INFO] [stdout] 984 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/dot1q.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/dot1q.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/dot1q.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/dot1q.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | fn fill_tci_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/dot1q.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | fn fill_tci_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/dot1q.rs:45:57 [INFO] [stdout] | [INFO] [stdout] 45 | fn fill_tci_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(191851..191868) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(191868..191869) }, Ident { ident: "SrcPort", span: #0 bytes(191870..191877) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(191878..191879) }, Literal { kind: Integer, symbol: "546", suffix: None, span: #0 bytes(191880..191883) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(191851..191868) } [INFO] [stdout] KEY: Ident { ident: "SrcPort", span: #0 bytes(191870..191877) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 546 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(191905..191922) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(191922..191923) }, Ident { ident: "DstPort", span: #0 bytes(191924..191931) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(191932..191933) }, Literal { kind: Integer, symbol: "546", suffix: None, span: #0 bytes(191934..191937) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(191905..191922) } [INFO] [stdout] KEY: Ident { ident: "DstPort", span: #0 bytes(191924..191931) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 546 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(191959..191976) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(191976..191977) }, Ident { ident: "SrcPort", span: #0 bytes(191978..191985) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(191986..191987) }, Literal { kind: Integer, symbol: "547", suffix: None, span: #0 bytes(191988..191991) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(191959..191976) } [INFO] [stdout] KEY: Ident { ident: "SrcPort", span: #0 bytes(191978..191985) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 547 } } [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(192013..192030) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(192030..192031) }, Ident { ident: "DstPort", span: #0 bytes(192032..192039) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(192040..192041) }, Literal { kind: Integer, symbol: "547", suffix: None, span: #0 bytes(192042..192045) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(192013..192030) } [INFO] [stdout] KEY: Ident { ident: "DstPort", span: #0 bytes(192032..192039) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 547 } } [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/protocols/erspan.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/protocols/erspan.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let mut out: Vec = vec![]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/erspan.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/erspan.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/erspan.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/erspan.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let mut out: Vec = vec![]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/erspan.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let mut the_u16: u16 = u16::from(7 & me.cos.value()) << 13 [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ci` [INFO] [stdout] --> src/protocols/erspan.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut ci = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(204414..204431) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(204431..204432) }, Ident { ident: "SrcPort", span: #0 bytes(204433..204440) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(204441..204442) }, Literal { kind: Integer, symbol: "53", suffix: None, span: #0 bytes(204443..204445) }] [INFO] [stdout] PLACE: Ident { ident: "UDP_SRC_PORT_APPS", span: #0 bytes(204414..204431) } [INFO] [stdout] KEY: Ident { ident: "SrcPort", span: #0 bytes(204433..204440) } [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 53 } } [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/erspan.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let mut ci = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] REGISTER: TokenStream [Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(204467..204484) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(204484..204485) }, Ident { ident: "DstPort", span: #0 bytes(204486..204493) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(204494..204495) }, Literal { kind: Integer, symbol: "53", suffix: None, span: #0 bytes(204496..204498) }] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/erspan.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] PLACE: Ident { ident: "UDP_DST_PORT_APPS", span: #0 bytes(204467..204484) } [INFO] [stdout] KEY: Ident { ident: "DstPort", span: #0 bytes(204486..204493) } [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/erspan.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] VAL: Expr::Lit { attrs: [], lit: Lit::Int { token: 53 } } [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/erspan.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/erspan.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | let mut the_u16: u16 = (u16::from(me.vlan.value()) & 0xfff) | u16::from(version & 0xf) << 12; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/erspan.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/erspan.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/erspan.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/erspan.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let mut the_u32: u32 = (u32::from(me.port_index.value()) & 0xfffff) [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/ether.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | fn fill_dmac(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> MacAddr { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/ether.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | fn fill_dmac(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> MacAddr { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/ether.rs:21:53 [INFO] [stdout] | [INFO] [stdout] 21 | fn fill_dmac(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> MacAddr { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/ether.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | fn fill_crc(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/ether.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | fn fill_crc(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/ether.rs:24:52 [INFO] [stdout] | [INFO] [stdout] 24 | fn fill_crc(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/geneve.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/geneve.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/geneve.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ci` [INFO] [stdout] --> src/protocols/geneve.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut ci = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/geneve.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let mut ci = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/protocols/gre.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut out: Vec = vec![]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/gre.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/gre.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/gre.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/gre.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut out: Vec = vec![]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/gre.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut the_u16: u16 = u16::from(me.chksum_present.value()) << 15 [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ci` [INFO] [stdout] --> src/protocols/gre.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut ci = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/gre.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut ci = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/icmp.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | fn fill_icmp_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/icmp.rs:34:45 [INFO] [stdout] | [INFO] [stdout] 34 | fn fill_icmp_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/icmp.rs:34:65 [INFO] [stdout] | [INFO] [stdout] 34 | fn fill_icmp_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/ip.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/ip.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/ip.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/protocols/ip.rs:48:57 [INFO] [stdout] | [INFO] [stdout] 48 | fn decode_flags_frag(buf: &[u8], ci: usize, me: &mut Ip) -> Option<(IpFlags, usize)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/protocols/ip.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/ip.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/ip.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/ip.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/ip.rs:215:18 [INFO] [stdout] | [INFO] [stdout] 215 | fn fill_ihl_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/ip.rs:215:37 [INFO] [stdout] | [INFO] [stdout] 215 | fn fill_ihl_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/ip.rs:215:57 [INFO] [stdout] | [INFO] [stdout] 215 | fn fill_ihl_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/ip.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | fn fill_ip_len_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/ip.rs:219:40 [INFO] [stdout] | [INFO] [stdout] 219 | fn fill_ip_len_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/ip.rs:219:60 [INFO] [stdout] | [INFO] [stdout] 219 | fn fill_ip_len_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/ip.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | fn fill_ip_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/ip.rs:223:43 [INFO] [stdout] | [INFO] [stdout] 223 | fn fill_ip_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/ip.rs:223:63 [INFO] [stdout] | [INFO] [stdout] 223 | fn fill_ip_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/protocols/ip.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | me: &Ip, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/ip.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/protocols/ipv6.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | me: &Ipv6, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/ipv6.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/ipv6.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | fn fill_ipv6_length(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/ipv6.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | fn fill_ipv6_length(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/ipv6.rs:38:60 [INFO] [stdout] | [INFO] [stdout] 38 | fn fill_ipv6_length(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/protocols/pcap_file.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let mut out: Vec = vec![]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/pcap_file.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let mut out: Vec = vec![]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vp` [INFO] [stdout] --> src/protocols/pcap_file.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut vp: Vec = vec![]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ci` [INFO] [stdout] --> src/protocols/pcap_file.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut ci = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/pcap_file.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut vp: Vec = vec![]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/pcap_file.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let mut ci = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/protocols/pcap_file.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | me: &mut pcapFileData, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/pcap_file.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let mut pkts = stk [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/pcap_file.rs:128:39 [INFO] [stdout] | [INFO] [stdout] 128 | fn fill_snaplen(layer: &pcapFileData, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/pcap_file.rs:128:59 [INFO] [stdout] | [INFO] [stdout] 128 | fn fill_snaplen(layer: &pcapFileData, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/pcap_file.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 152 | fn fill_len_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/pcap_file.rs:152:37 [INFO] [stdout] | [INFO] [stdout] 152 | fn fill_len_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/pcap_file.rs:152:57 [INFO] [stdout] | [INFO] [stdout] 152 | fn fill_len_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/raw.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn fill(&self, stack: &LayerStack, my_index: usize, out_stack: &mut LayerStack) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/raw.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn fill(&self, stack: &LayerStack, my_index: usize, out_stack: &mut LayerStack) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/raw.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/raw.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/raw.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/tcp.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | fn fill_tcp_sport(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/tcp.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | fn fill_tcp_sport(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/tcp.rs:33:58 [INFO] [stdout] | [INFO] [stdout] 33 | fn fill_tcp_sport(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u16 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/tcp.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | fn fill_tcp_dport(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/tcp.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | fn fill_tcp_dport(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/tcp.rs:37:58 [INFO] [stdout] | [INFO] [stdout] 37 | fn fill_tcp_dport(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u16 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/tcp.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/tcp.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/tcp.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/tcp.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | fn fill_tcp_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/tcp.rs:64:44 [INFO] [stdout] | [INFO] [stdout] 64 | fn fill_tcp_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/tcp.rs:64:64 [INFO] [stdout] | [INFO] [stdout] 64 | fn fill_tcp_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sum` [INFO] [stdout] --> src/protocols/tcp.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let mut sum: u32 = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ph` [INFO] [stdout] --> src/protocols/tcp.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let mut ph: Vec = vec![]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/tcp.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let mut sum: u32 = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/tcp.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let mut tcp_hdr_len: u16 = 20; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/tcp.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let mut ph: Vec = vec![]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/udp.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | fn fill_udp_len_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/udp.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | fn fill_udp_len_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/udp.rs:21:61 [INFO] [stdout] | [INFO] [stdout] 21 | fn fill_udp_len_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/protocols/udp.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | me: &Udp, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/udp.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/udp.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | fn fill_udp_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/udp.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | fn fill_udp_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/udp.rs:43:64 [INFO] [stdout] | [INFO] [stdout] 43 | fn fill_udp_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sum` [INFO] [stdout] --> src/protocols/udp.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut sum: u32 = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ph` [INFO] [stdout] --> src/protocols/udp.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | let mut ph: Vec = vec![]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/udp.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut sum: u32 = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/udp.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut udp_hdr_len: u16 = 8; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/udp.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let mut ph: Vec = vec![]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/udp.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | fn fill_udp_sport(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/udp.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 119 | fn fill_udp_sport(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/udp.rs:119:58 [INFO] [stdout] | [INFO] [stdout] 119 | fn fill_udp_sport(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u16 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/vxlan.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/vxlan.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/vxlan.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ci` [INFO] [stdout] --> src/protocols/vxlan.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut ci = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/vxlan.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut ci = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::ser::SerializeTuple` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::ser::SerializeTuple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `protocolRegistriesSentinel` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | struct protocolRegistriesSentinel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ProtocolRegistriesSentinel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/protocols/arp.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/protocols/arp.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/protocols/bootp.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/protocols/bootp.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `dot1Q` should have an upper camel case name [INFO] [stdout] --> src/protocols/dot1q.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct dot1Q { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Dot1q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `erspan` should have an upper camel case name [INFO] [stdout] --> src/protocols/erspan.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct erspan { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Erspan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ether` should have an upper camel case name [INFO] [stdout] --> src/protocols/ether.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ether { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Ether` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `echo` should have an upper camel case name [INFO] [stdout] --> src/protocols/icmp.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct echo { [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Echo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `echoReply` should have an upper camel case name [INFO] [stdout] --> src/protocols/icmp.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct echoReply { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `EchoReply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/protocols/icmp.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/protocols/ip.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pcapFile` should have an upper camel case name [INFO] [stdout] --> src/protocols/pcap_file.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct pcapFile { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `PcapFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pcapFileData` should have an upper camel case name [INFO] [stdout] --> src/protocols/pcap_file.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct pcapFileData { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PcapFileData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pcapPacket` should have an upper camel case name [INFO] [stdout] --> src/protocols/pcap_file.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct pcapPacket { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PcapPacket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `raw` should have an upper camel case name [INFO] [stdout] --> src/protocols/raw.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct raw { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Raw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/protocols/tcp.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/protocols/tcp.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/protocols/udp.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/protocols/dhcpv6.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Mil_Std_188_220` should have an upper camel case name [INFO] [stdout] --> src/protocols/dhcpv6.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | Mil_Std_188_220 = 22, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MilStd188_220` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ip_Over_Iso7816_3` should have an upper camel case name [INFO] [stdout] --> src/protocols/dhcpv6.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | Ip_Over_Iso7816_3 = 29, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `IpOverIso7816_3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Hw_Exp1` should have an upper camel case name [INFO] [stdout] --> src/protocols/dhcpv6.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | Hw_Exp1 = 36, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `HwExp1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Hw_Exp2` should have an upper camel case name [INFO] [stdout] --> src/protocols/dhcpv6.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | Hw_Exp2 = 37, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `HwExp2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/protocols/dhcpv6.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/protocols/dhcpv6.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/protocols/dhcpv6.rs:567:5 [INFO] [stdout] | [INFO] [stdout] 567 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/protocols/dhcpv6.rs:834:5 [INFO] [stdout] | [INFO] [stdout] 834 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/protocols/dhcpv6.rs:2270:5 [INFO] [stdout] | [INFO] [stdout] 2270 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/dhcpv6.rs:1226:13 [INFO] [stdout] | [INFO] [stdout] 1226 | let mut offset = 4; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `option_code` [INFO] [stdout] --> src/protocols/dhcpv6.rs:1843:51 [INFO] [stdout] | [INFO] [stdout] 1843 | Dhcpv6Option::UnknownOption { option_code, .. } => panic!("covered already"), [INFO] [stdout] | ^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/dhcpv6.rs:2059:5 [INFO] [stdout] | [INFO] [stdout] 2059 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/dhcpv6.rs:2060:5 [INFO] [stdout] | [INFO] [stdout] 2060 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_data` [INFO] [stdout] --> src/protocols/dhcpv6.rs:2061:5 [INFO] [stdout] | [INFO] [stdout] 2061 | encoded_data: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_offset` [INFO] [stdout] --> src/protocols/dns.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | let mut last_offset = curr_offset; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/dns.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let mut last_offset = curr_offset; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/protocols/dns.rs:549:13 [INFO] [stdout] | [INFO] [stdout] 549 | _ => DnsRData::Unknown(buf[offset..offset + rdlength].to_vec()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/protocols/dns.rs:549:13 [INFO] [stdout] | [INFO] [stdout] 393 | DnsType::A => { [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 405 | DnsType::NS => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 412 | DnsType::CNAME => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 419 | DnsType::SOA => { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 549 | _ => DnsRData::Unknown(buf[offset..offset + rdlength].to_vec()), [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/protocols/dns.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | me: &mut Dns, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mac_vec` [INFO] [stdout] --> src/protocols/pvti.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | if let Some((mac_vec, count)) = D::decode_vec(buf, 6) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mac_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/protocols/pvti.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | if let Some((mac_vec, count)) = D::decode_vec(buf, 6) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/protocols/pvti.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut result = Vec::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_layer` [INFO] [stdout] --> src/protocols/pvti.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | my_layer: &PVTI, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/pvti.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/pvti.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/pvti.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/pvti.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let mut result = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DhcpOption` is more private than the item `Dhcp::options` [INFO] [stdout] --> src/protocols/bootp.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | pub options: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Dhcp::options` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DhcpOption` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/protocols/bootp.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | enum DhcpOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readme_test` is never used [INFO] [stdout] --> src/lib.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn readme_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_crc` is never used [INFO] [stdout] --> src/protocols/ether.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn fill_crc(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Ethertype` should have a snake case name [INFO] [stdout] --> src/lib.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 43 | #[nproto(registry(ETHERTYPE_LAYERS, Ethertype: u16))] [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ethertype` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Proto` should have a snake case name [INFO] [stdout] --> src/lib.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | #[nproto(registry(IANA_LAYERS, Proto: u8))] [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `proto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Type` should have a snake case name [INFO] [stdout] --> src/lib.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | #[nproto(registry(ICMP_TYPES, Type: u8))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 45 | #[nproto(registry(ICMP_TYPES, r#type: u8))] [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SrcPort` should have a snake case name [INFO] [stdout] --> src/lib.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | #[nproto(registry(UDP_SRC_PORT_APPS, SrcPort: u16))] [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `src_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DstPort` should have a snake case name [INFO] [stdout] --> src/lib.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | #[nproto(registry(UDP_DST_PORT_APPS, DstPort: u16))] [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `dst_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VendorCookie` should have a snake case name [INFO] [stdout] --> src/lib.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | #[nproto(registry(BOOTP_VENDORS, VendorCookie: u32))] [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `vendor_cookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__protocolRegistriesSentinel` should have a snake case name [INFO] [stdout] --> src/lib.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__protocol_registries_sentinel` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ProtocolRegistriesSentinel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__protocolRegistriesSentinel` should have a snake case name [INFO] [stdout] --> src/lib.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__protocol_registries_sentinel` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ProtocolRegistriesSentinel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__protocolRegistriesSentinel` should have a snake case name [INFO] [stdout] --> src/lib.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__protocol_registries_sentinel` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ProtocolRegistriesSentinel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Box` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:897:29 [INFO] [stdout] | [INFO] [stdout] 897 | return layer.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&dyn Layer` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:912:29 [INFO] [stdout] | [INFO] [stdout] 912 | return layer.clone().downcast_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:991:26 [INFO] [stdout] | [INFO] [stdout] 991 | data: buf.clone().to_vec(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:954:1 [INFO] [stdout] | [INFO] [stdout] 954 | #[typetag::serde(tag = "layertype")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 955 | pub trait Layer: Debug + mopa::Any + New { [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:954:1 [INFO] [stdout] | [INFO] [stdout] 954 | #[typetag::serde(tag = "layertype")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 955 | pub trait Layer: Debug + mopa::Any + New { [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:954:1 [INFO] [stdout] | [INFO] [stdout] 954 | #[typetag::serde(tag = "layertype")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 955 | pub trait Layer: Debug + mopa::Any + New { [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:954:1 [INFO] [stdout] | [INFO] [stdout] 954 | #[typetag::serde(tag = "layertype")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 955 | pub trait Layer: Debug + mopa::Any + New { [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:954:1 [INFO] [stdout] | [INFO] [stdout] 954 | #[typetag::serde(tag = "layertype")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 955 | pub trait Layer: Debug + mopa::Any + New { [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:954:1 [INFO] [stdout] | [INFO] [stdout] 954 | #[typetag::serde(tag = "layertype")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 955 | pub trait Layer: Debug + mopa::Any + New { [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:954:1 [INFO] [stdout] | [INFO] [stdout] 954 | #[typetag::serde(tag = "layertype")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 955 | pub trait Layer: Debug + mopa::Any + New { [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapFile` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_file` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1033:24 [INFO] [stdout] | [INFO] [stdout] 1033 | let mut pcap = PcapFile!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapFile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapPacket` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_packet` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1035:22 [INFO] [stdout] | [INFO] [stdout] 1035 | let pp = PcapPacket!(data = p.clone().encode()); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapPacket` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Arp` should have a snake case name [INFO] [stdout] --> src/protocols/arp.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__arp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ARP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Arp` should have a snake case name [INFO] [stdout] --> src/protocols/arp.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__arp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ARP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Arp` should have a snake case name [INFO] [stdout] --> src/protocols/arp.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__arp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ARP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Dhcp` should have a snake case name [INFO] [stdout] --> src/protocols/bootp.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dhcp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `DHCP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Dhcp` should have a snake case name [INFO] [stdout] --> src/protocols/bootp.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dhcp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `DHCP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Dhcp` should have a snake case name [INFO] [stdout] --> src/protocols/bootp.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dhcp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `DHCP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Bootp` should have a snake case name [INFO] [stdout] --> src/protocols/bootp.rs:899:10 [INFO] [stdout] | [INFO] [stdout] 899 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__bootp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `BOOTP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Bootp` should have a snake case name [INFO] [stdout] --> src/protocols/bootp.rs:899:10 [INFO] [stdout] | [INFO] [stdout] 899 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__bootp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `BOOTP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Bootp` should have a snake case name [INFO] [stdout] --> src/protocols/bootp.rs:899:10 [INFO] [stdout] | [INFO] [stdout] 899 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__bootp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `BOOTP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__dot1Q` should have a snake case name [INFO] [stdout] --> src/protocols/dot1q.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dot1_q` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `Dot1Q` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__dot1Q` should have a snake case name [INFO] [stdout] --> src/protocols/dot1q.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dot1_q` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `Dot1Q` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__dot1Q` should have a snake case name [INFO] [stdout] --> src/protocols/dot1q.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dot1_q` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `Dot1Q` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Geneve` should have a snake case name [INFO] [stdout] --> src/protocols/geneve.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__geneve` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `GENEVE` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Geneve` should have a snake case name [INFO] [stdout] --> src/protocols/geneve.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__geneve` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `GENEVE` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Geneve` should have a snake case name [INFO] [stdout] --> src/protocols/geneve.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__geneve` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `GENEVE` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Gre` should have a snake case name [INFO] [stdout] --> src/protocols/gre.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__gre` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `GRE` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Gre` should have a snake case name [INFO] [stdout] --> src/protocols/gre.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__gre` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `GRE` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Gre` should have a snake case name [INFO] [stdout] --> src/protocols/gre.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__gre` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `GRE` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Icmp` should have a snake case name [INFO] [stdout] --> src/protocols/icmp.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__icmp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ICMP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Icmp` should have a snake case name [INFO] [stdout] --> src/protocols/icmp.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__icmp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ICMP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Icmp` should have a snake case name [INFO] [stdout] --> src/protocols/icmp.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__icmp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ICMP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__echoReply` should have a snake case name [INFO] [stdout] --> src/protocols/icmp.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__echo_reply` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `EchoReply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__echoReply` should have a snake case name [INFO] [stdout] --> src/protocols/icmp.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__echo_reply` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `EchoReply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__echoReply` should have a snake case name [INFO] [stdout] --> src/protocols/icmp.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__echo_reply` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `EchoReply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Icmp` should have a snake case name [INFO] [stdout] --> src/protocols/icmp.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__icmp` [INFO] [stdout] ... [INFO] [stdout] 49 | let encoded_icmp_header = if let Some(icmp) = stack.item_at(ICMP!(), my_index) { [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ICMP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Ip` should have a snake case name [INFO] [stdout] --> src/protocols/ip.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__ip` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `IP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Ip` should have a snake case name [INFO] [stdout] --> src/protocols/ip.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__ip` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `IP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Ip` should have a snake case name [INFO] [stdout] --> src/protocols/ip.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__ip` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `IP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Ip` should have a snake case name [INFO] [stdout] --> src/protocols/ip.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__ip` [INFO] [stdout] ... [INFO] [stdout] 256 | let encoded_ip_header = if let Some(ip) = stack.item_at(IP!(), my_index) { [INFO] [stdout] | ----- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `IP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Ipv6` should have a snake case name [INFO] [stdout] --> src/protocols/ipv6.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__ipv6` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `IPV6` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Ipv6` should have a snake case name [INFO] [stdout] --> src/protocols/ipv6.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__ipv6` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `IPV6` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Ipv6` should have a snake case name [INFO] [stdout] --> src/protocols/ipv6.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__ipv6` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `IPV6` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapFile` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_file` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapFile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapFile` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_file` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapFile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapFile` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_file` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapFile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapFileData` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_file_data` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapFileData` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapFileData` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_file_data` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapFileData` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapFileData` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_file_data` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapFileData` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapPacket` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_packet` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapPacket` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapPacket` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_packet` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapPacket` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapPacket` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_packet` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapPacket` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapFileData` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_file_data` [INFO] [stdout] ... [INFO] [stdout] 80 | 0xa1b2c3d4 => PcapFileData!().decode_with_decoder::(buf), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapFileData` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapFileData` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_file_data` [INFO] [stdout] ... [INFO] [stdout] 81 | 0xd4c3b2a1 => PcapFileData!().decode_with_decoder::(buf), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapFileData` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapFileData` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_file_data` [INFO] [stdout] ... [INFO] [stdout] 86 | dec.map(|(lyr, delta)| (lyr.layers_of(PcapFileData!())[0].clone(), delta)) [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapFileData` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapPacket` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_packet` [INFO] [stdout] ... [INFO] [stdout] 113 | if let Some((stk, delta)) = PcapPacket!().decode_with_decoder::(&buf[ci..]) { [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapPacket` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapPacket` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_packet` [INFO] [stdout] ... [INFO] [stdout] 115 | .layers_of(PcapPacket!()) [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapPacket` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Tcp` should have a snake case name [INFO] [stdout] --> src/protocols/tcp.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__tcp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TCP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Tcp` should have a snake case name [INFO] [stdout] --> src/protocols/tcp.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__tcp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TCP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Tcp` should have a snake case name [INFO] [stdout] --> src/protocols/tcp.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__tcp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TCP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Tcp` should have a snake case name [INFO] [stdout] --> src/protocols/tcp.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__tcp` [INFO] [stdout] ... [INFO] [stdout] 79 | let encoded_tcp_header = if let Some(tcp) = stack.item_at(TCP!(), my_index) { [INFO] [stdout] | ------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TCP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Ip` should have a snake case name [INFO] [stdout] --> src/protocols/ip.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__ip` [INFO] [stdout] | [INFO] [stdout] ::: src/protocols/tcp.rs:98:41 [INFO] [stdout] | [INFO] [stdout] 98 | if let Some(ip) = stack.item_at(IP!(), my_index - 1) { [INFO] [stdout] | ----- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `IP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Udp` should have a snake case name [INFO] [stdout] --> src/protocols/udp.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__udp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UDP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Udp` should have a snake case name [INFO] [stdout] --> src/protocols/udp.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__udp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UDP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Udp` should have a snake case name [INFO] [stdout] --> src/protocols/udp.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__udp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UDP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Udp` should have a snake case name [INFO] [stdout] --> src/protocols/udp.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__udp` [INFO] [stdout] ... [INFO] [stdout] 58 | let encoded_udp_header = if let Some(udp) = stack.item_at(UDP!(), my_index) { [INFO] [stdout] | ------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UDP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Ip` should have a snake case name [INFO] [stdout] --> src/protocols/ip.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__ip` [INFO] [stdout] | [INFO] [stdout] ::: src/protocols/udp.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | if let Some(ip) = stack.item_at(IP!(), my_index - 1) { [INFO] [stdout] | ----- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `IP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Ipv6` should have a snake case name [INFO] [stdout] --> src/protocols/ipv6.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__ipv6` [INFO] [stdout] | [INFO] [stdout] ::: src/protocols/udp.rs:99:49 [INFO] [stdout] | [INFO] [stdout] 99 | } else if let Some(ip6) = stack.item_at(IPV6!(), my_index - 1) { [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `IPV6` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Vxlan` should have a snake case name [INFO] [stdout] --> src/protocols/vxlan.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__vxlan` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `VXLAN` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Vxlan` should have a snake case name [INFO] [stdout] --> src/protocols/vxlan.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__vxlan` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `VXLAN` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Vxlan` should have a snake case name [INFO] [stdout] --> src/protocols/vxlan.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__vxlan` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `VXLAN` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Dhcpv6` should have a snake case name [INFO] [stdout] --> src/protocols/dhcpv6.rs:2046:10 [INFO] [stdout] | [INFO] [stdout] 2046 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dhcpv6` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `DHCPV6` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Dhcpv6` should have a snake case name [INFO] [stdout] --> src/protocols/dhcpv6.rs:2046:10 [INFO] [stdout] | [INFO] [stdout] 2046 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dhcpv6` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `DHCPV6` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Dhcpv6` should have a snake case name [INFO] [stdout] --> src/protocols/dhcpv6.rs:2046:10 [INFO] [stdout] | [INFO] [stdout] 2046 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dhcpv6` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `DHCPV6` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Dns` should have a snake case name [INFO] [stdout] --> src/protocols/dns.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dns` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `DNS` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Dns` should have a snake case name [INFO] [stdout] --> src/protocols/dns.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dns` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `DNS` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Dns` should have a snake case name [INFO] [stdout] --> src/protocols/dns.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dns` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `DNS` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__PVTI` should have a snake case name [INFO] [stdout] --> src/protocols/pvti.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pvti` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PVTI` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__PVTI` should have a snake case name [INFO] [stdout] --> src/protocols/pvti.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pvti` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PVTI` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__PVTI` should have a snake case name [INFO] [stdout] --> src/protocols/pvti.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pvti` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PVTI` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:608:17 [INFO] [stdout] | [INFO] [stdout] 607 | panic!("TBD1"); [INFO] [stdout] | -------------- any code following this expression is unreachable [INFO] [stdout] 608 | formatter.write_str("Ipv4Address") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> examples/first.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::boxed::Box` [INFO] [stdout] --> examples/first.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> examples/first.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> examples/first.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let ip = Ip::default(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ip` is never read [INFO] [stdout] --> examples/first.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut ip = IP!( [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layers2` [INFO] [stdout] --> examples/first.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let layers2 = layers.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layers2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip6` [INFO] [stdout] --> examples/first.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some((idx, ip6)) = ipv6_clone.find_layer(IPV6!()) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ip6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ipv4_test` [INFO] [stdout] --> examples/first.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let ipv4_test = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ipv4_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_udp` [INFO] [stdout] --> examples/first.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | let my_udp = &layers[UDP!()]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_udp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_src_ip` [INFO] [stdout] --> examples/first.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let mut my_src_ip = layers[IP!()].src.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_src_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/first.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | let mut my_src_ip = layers[IP!()].src.clone(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/first.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | packets.write_pcap("ipv6.pcap"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 112 | let _ = packets.write_pcap("ipv6.pcap"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> examples/clean.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oside::protocols::all::*` [INFO] [stdout] --> examples/json2pcap.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use oside::protocols::all::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> examples/json2pcap.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> examples/pcap2json.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> benches/encode_benchmark.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let out = p.fill().encode(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> tests/test_gre.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let (x, len) = x.unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `testProto` should have an upper camel case name [INFO] [stdout] --> tests/test_file_pcap.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct testProto { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `TestProto` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `testProto` should have an upper camel case name [INFO] [stdout] --> tests/test1.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct testProto { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `TestProto` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oside::*` [INFO] [stdout] --> tests/test1.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | use oside::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `testProto` should have an upper camel case name [INFO] [stdout] --> tests/test_pcap.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct testProto { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `TestProto` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oside::protocols::bootp::Bootp` [INFO] [stdout] --> tests/test_pcap.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | use oside::protocols::bootp::Bootp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `num_blocks` is assigned to, but never used [INFO] [stdout] --> tests/test_pcap.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut num_blocks = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_num_blocks` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `testProto` should have an upper camel case name [INFO] [stdout] --> tests/test_encode.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct testProto { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `TestProto` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> tests/test_pcap.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | if let Some(t) = pn.get_layer_mut(TCP!()) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pn` [INFO] [stdout] --> tests/test_pcap.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | let mut pn = p.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_pcap.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | let mut pn = p.clone(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pn` [INFO] [stdout] --> tests/test_pcap.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | let mut pn = p.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_pcap.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let mut pn = p.clone(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_pcap.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_pcap.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_pcap.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `num_blocks` is assigned to, but never used [INFO] [stdout] --> tests/test_file_pcap.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let mut num_blocks = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_num_blocks` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> tests/test_file_pcap.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | for i in 0..3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_file_pcap.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_file_pcap.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_file_pcap.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test1.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test1.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test1.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test1.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] ... [INFO] [stdout] 28 | let tp = Ether!() / IP!(src = "192.0.2.1") / UDP!() / TestProto!(); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test1.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] ... [INFO] [stdout] 99 | let px = TestProto!().tos(2); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test1.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] ... [INFO] [stdout] 107 | assert_ne!(fx[TestProto!()].mac2, Value::Random); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_encode.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_encode.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__testProto` should have a snake case name [INFO] [stdout] --> tests/test_encode.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__test_proto` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TestProto` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/protocols/dns.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 139 | return result; [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 140 | break; [INFO] [stdout] | ^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/protocols/pvti.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | panic!("FIXME"); [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] 25 | self.data.to_vec() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/protocols/pvti.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | panic!("FIXME"); [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] 92 | / for chunk in &my_layer.chunks { [INFO] [stdout] 93 | | result.extend(chunk.encode::()); [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | Value::Func(f) => panic!("Serializing functions is not supported"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | Err(e) => panic!("Could not parse!"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/lib.rs:395:35 [INFO] [stdout] | [INFO] [stdout] 395 | fn visit_str(self, v: &str) -> Result [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `formatter` [INFO] [stdout] --> src/lib.rs:606:33 [INFO] [stdout] | [INFO] [stdout] 606 | fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_formatter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/lib.rs:794:31 [INFO] [stdout] | [INFO] [stdout] 794 | pub fn g(&self, idx: T) -> &T { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/lib.rs:798:37 [INFO] [stdout] | [INFO] [stdout] 798 | pub fn item_at(&self, item: T, idx: usize) -> Option<&T> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/lib.rs:802:40 [INFO] [stdout] | [INFO] [stdout] 802 | pub fn find_layer(&self, item: T) -> Option<(usize, &T)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/lib.rs:811:39 [INFO] [stdout] | [INFO] [stdout] 811 | pub fn get_layer(&self, item: T) -> Option<&T> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/lib.rs:819:49 [INFO] [stdout] | [INFO] [stdout] 819 | pub fn get_innermost_layer(&self, item: T) -> Option<&T> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/lib.rs:827:47 [INFO] [stdout] | [INFO] [stdout] 827 | pub fn get_layer_mut(&mut self, item: T) -> Option<&mut T> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/lib.rs:836:39 [INFO] [stdout] | [INFO] [stdout] 836 | pub fn layers_of(&self, item: T) -> Vec<&T> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/lib.rs:979:9 [INFO] [stdout] | [INFO] [stdout] 979 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/lib.rs:980:9 [INFO] [stdout] | [INFO] [stdout] 980 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/lib.rs:981:9 [INFO] [stdout] | [INFO] [stdout] 981 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/protocols/arp.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let (v, delta) = D::decode_vec(buf, me.hwlen.value() as usize)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/protocols/arp.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let (v, delta) = D::decode_vec(buf, me.plen.value() as usize)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/protocols/arp.rs:121:35 [INFO] [stdout] | [INFO] [stdout] 121 | fn visit_str(self, v: &str) -> Result [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/protocols/arp.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/protocols/arp.rs:212:35 [INFO] [stdout] | [INFO] [stdout] 212 | fn visit_str(self, v: &str) -> Result [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/protocols/arp.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/protocols/bootp.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | me: &mut Dhcp, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/bootp.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/bootp.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/bootp.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> src/protocols/bootp.rs:569:51 [INFO] [stdout] | [INFO] [stdout] 569 | if let Some((vendor_opts, sz)) = [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/protocols/bootp.rs:938:39 [INFO] [stdout] | [INFO] [stdout] 938 | fn sample(&self, rng: &mut R) -> BootpVendorData { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ci` [INFO] [stdout] --> src/protocols/bootp.rs:969:13 [INFO] [stdout] | [INFO] [stdout] 969 | let mut ci = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `the_vec` [INFO] [stdout] --> src/protocols/bootp.rs:973:14 [INFO] [stdout] | [INFO] [stdout] 973 | let (the_vec, _) = D::decode_vec(buf, 60)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_the_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/bootp.rs:969:9 [INFO] [stdout] | [INFO] [stdout] 969 | let mut ci = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_layer` [INFO] [stdout] --> src/protocols/bootp.rs:981:5 [INFO] [stdout] | [INFO] [stdout] 981 | my_layer: &Bootp, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/bootp.rs:982:5 [INFO] [stdout] | [INFO] [stdout] 982 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/bootp.rs:983:5 [INFO] [stdout] | [INFO] [stdout] 983 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/bootp.rs:984:5 [INFO] [stdout] | [INFO] [stdout] 984 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/dot1q.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/dot1q.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/dot1q.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/dot1q.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | fn fill_tci_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/dot1q.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | fn fill_tci_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/dot1q.rs:45:57 [INFO] [stdout] | [INFO] [stdout] 45 | fn fill_tci_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/protocols/erspan.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/protocols/erspan.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let mut out: Vec = vec![]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/erspan.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/erspan.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/erspan.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/erspan.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let mut out: Vec = vec![]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/erspan.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let mut the_u16: u16 = u16::from(7 & me.cos.value()) << 13 [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ci` [INFO] [stdout] --> src/protocols/erspan.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut ci = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/erspan.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let mut ci = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/erspan.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/erspan.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/erspan.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/erspan.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | let mut the_u16: u16 = (u16::from(me.vlan.value()) & 0xfff) | u16::from(version & 0xf) << 12; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/erspan.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/erspan.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/erspan.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/erspan.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let mut the_u32: u32 = (u32::from(me.port_index.value()) & 0xfffff) [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/ether.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | fn fill_dmac(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> MacAddr { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/ether.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | fn fill_dmac(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> MacAddr { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/ether.rs:21:53 [INFO] [stdout] | [INFO] [stdout] 21 | fn fill_dmac(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> MacAddr { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/ether.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | fn fill_crc(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/ether.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | fn fill_crc(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/ether.rs:24:52 [INFO] [stdout] | [INFO] [stdout] 24 | fn fill_crc(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/geneve.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/geneve.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/geneve.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ci` [INFO] [stdout] --> src/protocols/geneve.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut ci = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/geneve.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let mut ci = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/protocols/gre.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut out: Vec = vec![]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/gre.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/gre.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/gre.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/gre.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let mut out: Vec = vec![]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/gre.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut the_u16: u16 = u16::from(me.chksum_present.value()) << 15 [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ci` [INFO] [stdout] --> src/protocols/gre.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | let mut ci = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/gre.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut ci = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/icmp.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | fn fill_icmp_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/icmp.rs:34:45 [INFO] [stdout] | [INFO] [stdout] 34 | fn fill_icmp_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/icmp.rs:34:65 [INFO] [stdout] | [INFO] [stdout] 34 | fn fill_icmp_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/ip.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/ip.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/ip.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/protocols/ip.rs:48:57 [INFO] [stdout] | [INFO] [stdout] 48 | fn decode_flags_frag(buf: &[u8], ci: usize, me: &mut Ip) -> Option<(IpFlags, usize)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/protocols/ip.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/ip.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/ip.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/ip.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/ip.rs:215:18 [INFO] [stdout] | [INFO] [stdout] 215 | fn fill_ihl_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/ip.rs:215:37 [INFO] [stdout] | [INFO] [stdout] 215 | fn fill_ihl_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/ip.rs:215:57 [INFO] [stdout] | [INFO] [stdout] 215 | fn fill_ihl_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/ip.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | fn fill_ip_len_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/ip.rs:219:40 [INFO] [stdout] | [INFO] [stdout] 219 | fn fill_ip_len_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/ip.rs:219:60 [INFO] [stdout] | [INFO] [stdout] 219 | fn fill_ip_len_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/ip.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | fn fill_ip_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/ip.rs:223:43 [INFO] [stdout] | [INFO] [stdout] 223 | fn fill_ip_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/ip.rs:223:63 [INFO] [stdout] | [INFO] [stdout] 223 | fn fill_ip_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/protocols/ip.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | me: &Ip, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/ip.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/protocols/ipv6.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | me: &Ipv6, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/ipv6.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/ipv6.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | fn fill_ipv6_length(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/ipv6.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | fn fill_ipv6_length(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/ipv6.rs:38:60 [INFO] [stdout] | [INFO] [stdout] 38 | fn fill_ipv6_length(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/protocols/pcap_file.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let mut out: Vec = vec![]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/pcap_file.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let mut out: Vec = vec![]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vp` [INFO] [stdout] --> src/protocols/pcap_file.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut vp: Vec = vec![]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ci` [INFO] [stdout] --> src/protocols/pcap_file.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut ci = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/pcap_file.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut vp: Vec = vec![]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/pcap_file.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let mut ci = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/protocols/pcap_file.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | me: &mut pcapFileData, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/pcap_file.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let mut pkts = stk [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/pcap_file.rs:128:39 [INFO] [stdout] | [INFO] [stdout] 128 | fn fill_snaplen(layer: &pcapFileData, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/pcap_file.rs:128:59 [INFO] [stdout] | [INFO] [stdout] 128 | fn fill_snaplen(layer: &pcapFileData, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/pcap_file.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 152 | fn fill_len_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/pcap_file.rs:152:37 [INFO] [stdout] | [INFO] [stdout] 152 | fn fill_len_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/pcap_file.rs:152:57 [INFO] [stdout] | [INFO] [stdout] 152 | fn fill_len_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/raw.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn fill(&self, stack: &LayerStack, my_index: usize, out_stack: &mut LayerStack) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/raw.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn fill(&self, stack: &LayerStack, my_index: usize, out_stack: &mut LayerStack) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/raw.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/raw.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/raw.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/tcp.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | fn fill_tcp_sport(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/tcp.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | fn fill_tcp_sport(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/tcp.rs:33:58 [INFO] [stdout] | [INFO] [stdout] 33 | fn fill_tcp_sport(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u16 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/tcp.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | fn fill_tcp_dport(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/tcp.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | fn fill_tcp_dport(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/tcp.rs:37:58 [INFO] [stdout] | [INFO] [stdout] 37 | fn fill_tcp_dport(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u16 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/tcp.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/tcp.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/tcp.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/tcp.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | fn fill_tcp_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/tcp.rs:64:44 [INFO] [stdout] | [INFO] [stdout] 64 | fn fill_tcp_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/tcp.rs:64:64 [INFO] [stdout] | [INFO] [stdout] 64 | fn fill_tcp_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sum` [INFO] [stdout] --> src/protocols/tcp.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let mut sum: u32 = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ph` [INFO] [stdout] --> src/protocols/tcp.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let mut ph: Vec = vec![]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/tcp.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let mut sum: u32 = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/tcp.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let mut tcp_hdr_len: u16 = 20; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/tcp.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let mut ph: Vec = vec![]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/udp.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | fn fill_udp_len_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/udp.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | fn fill_udp_len_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/udp.rs:21:61 [INFO] [stdout] | [INFO] [stdout] 21 | fn fill_udp_len_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/protocols/udp.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | me: &Udp, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/udp.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/udp.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | fn fill_udp_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/udp.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | fn fill_udp_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/udp.rs:43:64 [INFO] [stdout] | [INFO] [stdout] 43 | fn fill_udp_chksum_auto(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> Value { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sum` [INFO] [stdout] --> src/protocols/udp.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut sum: u32 = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ph` [INFO] [stdout] --> src/protocols/udp.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | let mut ph: Vec = vec![]; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/udp.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut sum: u32 = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/udp.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut udp_hdr_len: u16 = 8; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/udp.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let mut ph: Vec = vec![]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer` [INFO] [stdout] --> src/protocols/udp.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | fn fill_udp_sport(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/udp.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 119 | fn fill_udp_sport(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u16 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/udp.rs:119:58 [INFO] [stdout] | [INFO] [stdout] 119 | fn fill_udp_sport(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u16 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/vxlan.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/vxlan.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/vxlan.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ci` [INFO] [stdout] --> src/protocols/vxlan.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut ci = 0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ci` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/vxlan.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut ci = 0; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/dhcpv6.rs:1226:13 [INFO] [stdout] | [INFO] [stdout] 1226 | let mut offset = 4; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `option_code` [INFO] [stdout] --> src/protocols/dhcpv6.rs:1843:51 [INFO] [stdout] | [INFO] [stdout] 1843 | Dhcpv6Option::UnknownOption { option_code, .. } => panic!("covered already"), [INFO] [stdout] | ^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/dhcpv6.rs:2059:5 [INFO] [stdout] | [INFO] [stdout] 2059 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/dhcpv6.rs:2060:5 [INFO] [stdout] | [INFO] [stdout] 2060 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_data` [INFO] [stdout] --> src/protocols/dhcpv6.rs:2061:5 [INFO] [stdout] | [INFO] [stdout] 2061 | encoded_data: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_offset` [INFO] [stdout] --> src/protocols/dns.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | let mut last_offset = curr_offset; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/dns.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let mut last_offset = curr_offset; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/protocols/dns.rs:549:13 [INFO] [stdout] | [INFO] [stdout] 549 | _ => DnsRData::Unknown(buf[offset..offset + rdlength].to_vec()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/protocols/dns.rs:549:13 [INFO] [stdout] | [INFO] [stdout] 393 | DnsType::A => { [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 405 | DnsType::NS => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 412 | DnsType::CNAME => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 419 | DnsType::SOA => { [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 549 | _ => DnsRData::Unknown(buf[offset..offset + rdlength].to_vec()), [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/protocols/dns.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | me: &mut Dns, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mac_vec` [INFO] [stdout] --> src/protocols/pvti.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | if let Some((mac_vec, count)) = D::decode_vec(buf, 6) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mac_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/protocols/pvti.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | if let Some((mac_vec, count)) = D::decode_vec(buf, 6) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/protocols/pvti.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut result = Vec::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_layer` [INFO] [stdout] --> src/protocols/pvti.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | my_layer: &PVTI, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stack` [INFO] [stdout] --> src/protocols/pvti.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | stack: &LayerStack, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_index` [INFO] [stdout] --> src/protocols/pvti.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | my_index: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoded_layers` [INFO] [stdout] --> src/protocols/pvti.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | encoded_layers: &EncodingVecVec, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoded_layers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/protocols/pvti.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let mut result = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DhcpOption` is more private than the item `Dhcp::options` [INFO] [stdout] --> src/protocols/bootp.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | pub options: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Dhcp::options` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DhcpOption` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/protocols/bootp.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 240 | enum DhcpOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readme_test` is never used [INFO] [stdout] --> src/lib.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn readme_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fill_crc` is never used [INFO] [stdout] --> src/protocols/ether.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn fill_crc(layer: &dyn Layer, stack: &LayerStack, my_index: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Ethertype` should have a snake case name [INFO] [stdout] --> src/lib.rs:43:37 [INFO] [stdout] | [INFO] [stdout] 43 | #[nproto(registry(ETHERTYPE_LAYERS, Ethertype: u16))] [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ethertype` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Proto` should have a snake case name [INFO] [stdout] --> src/lib.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | #[nproto(registry(IANA_LAYERS, Proto: u8))] [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `proto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Type` should have a snake case name [INFO] [stdout] --> src/lib.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | #[nproto(registry(ICMP_TYPES, Type: u8))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: rename the identifier or convert it to a snake case raw identifier [INFO] [stdout] | [INFO] [stdout] 45 | #[nproto(registry(ICMP_TYPES, r#type: u8))] [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SrcPort` should have a snake case name [INFO] [stdout] --> src/lib.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | #[nproto(registry(UDP_SRC_PORT_APPS, SrcPort: u16))] [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `src_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DstPort` should have a snake case name [INFO] [stdout] --> src/lib.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | #[nproto(registry(UDP_DST_PORT_APPS, DstPort: u16))] [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `dst_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VendorCookie` should have a snake case name [INFO] [stdout] --> src/lib.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | #[nproto(registry(BOOTP_VENDORS, VendorCookie: u32))] [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `vendor_cookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__protocolRegistriesSentinel` should have a snake case name [INFO] [stdout] --> src/lib.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__protocol_registries_sentinel` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ProtocolRegistriesSentinel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__protocolRegistriesSentinel` should have a snake case name [INFO] [stdout] --> src/lib.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__protocol_registries_sentinel` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ProtocolRegistriesSentinel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__protocolRegistriesSentinel` should have a snake case name [INFO] [stdout] --> src/lib.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(NetworkProtocol, Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__protocol_registries_sentinel` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ProtocolRegistriesSentinel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Box` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:897:29 [INFO] [stdout] | [INFO] [stdout] 897 | return layer.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&dyn Layer` instead of cloning the inner type [INFO] [stdout] --> src/lib.rs:912:29 [INFO] [stdout] | [INFO] [stdout] 912 | return layer.clone().downcast_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:991:26 [INFO] [stdout] | [INFO] [stdout] 991 | data: buf.clone().to_vec(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:954:1 [INFO] [stdout] | [INFO] [stdout] 954 | #[typetag::serde(tag = "layertype")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 955 | pub trait Layer: Debug + mopa::Any + New { [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:954:1 [INFO] [stdout] | [INFO] [stdout] 954 | #[typetag::serde(tag = "layertype")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 955 | pub trait Layer: Debug + mopa::Any + New { [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:954:1 [INFO] [stdout] | [INFO] [stdout] 954 | #[typetag::serde(tag = "layertype")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 955 | pub trait Layer: Debug + mopa::Any + New { [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:954:1 [INFO] [stdout] | [INFO] [stdout] 954 | #[typetag::serde(tag = "layertype")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Send` is not local [INFO] [stdout] | `Sync` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 955 | pub trait Layer: Debug + mopa::Any + New { [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:954:1 [INFO] [stdout] | [INFO] [stdout] 954 | #[typetag::serde(tag = "layertype")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 955 | pub trait Layer: Debug + mopa::Any + New { [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:954:1 [INFO] [stdout] | [INFO] [stdout] 954 | #[typetag::serde(tag = "layertype")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Strictest` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 955 | pub trait Layer: Debug + mopa::Any + New { [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:954:1 [INFO] [stdout] | [INFO] [stdout] 954 | #[typetag::serde(tag = "layertype")] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Box` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_Layer_registry` [INFO] [stdout] 955 | pub trait Layer: Debug + mopa::Any + New { [INFO] [stdout] | ----- `Layer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `typetag::serde` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapFile` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_file` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1033:24 [INFO] [stdout] | [INFO] [stdout] 1033 | let mut pcap = PcapFile!(); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapFile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapPacket` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_packet` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1035:22 [INFO] [stdout] | [INFO] [stdout] 1035 | let pp = PcapPacket!(data = p.clone().encode()); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapPacket` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Arp` should have a snake case name [INFO] [stdout] --> src/protocols/arp.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__arp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ARP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Arp` should have a snake case name [INFO] [stdout] --> src/protocols/arp.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__arp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ARP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Arp` should have a snake case name [INFO] [stdout] --> src/protocols/arp.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__arp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ARP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Dhcp` should have a snake case name [INFO] [stdout] --> src/protocols/bootp.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dhcp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `DHCP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Dhcp` should have a snake case name [INFO] [stdout] --> src/protocols/bootp.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dhcp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `DHCP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Dhcp` should have a snake case name [INFO] [stdout] --> src/protocols/bootp.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dhcp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `DHCP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Bootp` should have a snake case name [INFO] [stdout] --> src/protocols/bootp.rs:899:10 [INFO] [stdout] | [INFO] [stdout] 899 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__bootp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `BOOTP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Bootp` should have a snake case name [INFO] [stdout] --> src/protocols/bootp.rs:899:10 [INFO] [stdout] | [INFO] [stdout] 899 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__bootp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `BOOTP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Bootp` should have a snake case name [INFO] [stdout] --> src/protocols/bootp.rs:899:10 [INFO] [stdout] | [INFO] [stdout] 899 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__bootp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `BOOTP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__dot1Q` should have a snake case name [INFO] [stdout] --> src/protocols/dot1q.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dot1_q` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `Dot1Q` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__dot1Q` should have a snake case name [INFO] [stdout] --> src/protocols/dot1q.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dot1_q` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `Dot1Q` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__dot1Q` should have a snake case name [INFO] [stdout] --> src/protocols/dot1q.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dot1_q` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `Dot1Q` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Geneve` should have a snake case name [INFO] [stdout] --> src/protocols/geneve.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__geneve` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `GENEVE` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Geneve` should have a snake case name [INFO] [stdout] --> src/protocols/geneve.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__geneve` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `GENEVE` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Geneve` should have a snake case name [INFO] [stdout] --> src/protocols/geneve.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__geneve` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `GENEVE` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Gre` should have a snake case name [INFO] [stdout] --> src/protocols/gre.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__gre` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `GRE` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Gre` should have a snake case name [INFO] [stdout] --> src/protocols/gre.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__gre` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `GRE` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Gre` should have a snake case name [INFO] [stdout] --> src/protocols/gre.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__gre` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `GRE` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Icmp` should have a snake case name [INFO] [stdout] --> src/protocols/icmp.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__icmp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ICMP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Icmp` should have a snake case name [INFO] [stdout] --> src/protocols/icmp.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__icmp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ICMP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Icmp` should have a snake case name [INFO] [stdout] --> src/protocols/icmp.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__icmp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ICMP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__echoReply` should have a snake case name [INFO] [stdout] --> src/protocols/icmp.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__echo_reply` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `EchoReply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__echoReply` should have a snake case name [INFO] [stdout] --> src/protocols/icmp.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__echo_reply` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `EchoReply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__echoReply` should have a snake case name [INFO] [stdout] --> src/protocols/icmp.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__echo_reply` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `EchoReply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Icmp` should have a snake case name [INFO] [stdout] --> src/protocols/icmp.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__icmp` [INFO] [stdout] ... [INFO] [stdout] 49 | let encoded_icmp_header = if let Some(icmp) = stack.item_at(ICMP!(), my_index) { [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ICMP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Ip` should have a snake case name [INFO] [stdout] --> src/protocols/ip.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__ip` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `IP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Ip` should have a snake case name [INFO] [stdout] --> src/protocols/ip.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__ip` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `IP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Ip` should have a snake case name [INFO] [stdout] --> src/protocols/ip.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__ip` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `IP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Ip` should have a snake case name [INFO] [stdout] --> src/protocols/ip.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__ip` [INFO] [stdout] ... [INFO] [stdout] 256 | let encoded_ip_header = if let Some(ip) = stack.item_at(IP!(), my_index) { [INFO] [stdout] | ----- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `IP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Ipv6` should have a snake case name [INFO] [stdout] --> src/protocols/ipv6.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__ipv6` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `IPV6` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Ipv6` should have a snake case name [INFO] [stdout] --> src/protocols/ipv6.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__ipv6` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `IPV6` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Ipv6` should have a snake case name [INFO] [stdout] --> src/protocols/ipv6.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__ipv6` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `IPV6` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapFile` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_file` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapFile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapFile` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_file` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapFile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapFile` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_file` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapFile` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapFileData` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_file_data` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapFileData` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapFileData` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_file_data` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapFileData` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapFileData` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_file_data` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapFileData` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapPacket` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_packet` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapPacket` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapPacket` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_packet` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapPacket` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapPacket` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_packet` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapPacket` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapFileData` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_file_data` [INFO] [stdout] ... [INFO] [stdout] 80 | 0xa1b2c3d4 => PcapFileData!().decode_with_decoder::(buf), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapFileData` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapFileData` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_file_data` [INFO] [stdout] ... [INFO] [stdout] 81 | 0xd4c3b2a1 => PcapFileData!().decode_with_decoder::(buf), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapFileData` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapFileData` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_file_data` [INFO] [stdout] ... [INFO] [stdout] 86 | dec.map(|(lyr, delta)| (lyr.layers_of(PcapFileData!())[0].clone(), delta)) [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapFileData` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapPacket` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_packet` [INFO] [stdout] ... [INFO] [stdout] 113 | if let Some((stk, delta)) = PcapPacket!().decode_with_decoder::(&buf[ci..]) { [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapPacket` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__pcapPacket` should have a snake case name [INFO] [stdout] --> src/protocols/pcap_file.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pcap_packet` [INFO] [stdout] ... [INFO] [stdout] 115 | .layers_of(PcapPacket!()) [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PcapPacket` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Tcp` should have a snake case name [INFO] [stdout] --> src/protocols/tcp.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__tcp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TCP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Tcp` should have a snake case name [INFO] [stdout] --> src/protocols/tcp.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__tcp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TCP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Tcp` should have a snake case name [INFO] [stdout] --> src/protocols/tcp.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__tcp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TCP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Tcp` should have a snake case name [INFO] [stdout] --> src/protocols/tcp.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__tcp` [INFO] [stdout] ... [INFO] [stdout] 79 | let encoded_tcp_header = if let Some(tcp) = stack.item_at(TCP!(), my_index) { [INFO] [stdout] | ------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `TCP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Ip` should have a snake case name [INFO] [stdout] --> src/protocols/ip.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__ip` [INFO] [stdout] | [INFO] [stdout] ::: src/protocols/tcp.rs:98:41 [INFO] [stdout] | [INFO] [stdout] 98 | if let Some(ip) = stack.item_at(IP!(), my_index - 1) { [INFO] [stdout] | ----- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `IP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Udp` should have a snake case name [INFO] [stdout] --> src/protocols/udp.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__udp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UDP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Udp` should have a snake case name [INFO] [stdout] --> src/protocols/udp.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__udp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UDP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Udp` should have a snake case name [INFO] [stdout] --> src/protocols/udp.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__udp` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UDP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Udp` should have a snake case name [INFO] [stdout] --> src/protocols/udp.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__udp` [INFO] [stdout] ... [INFO] [stdout] 58 | let encoded_udp_header = if let Some(udp) = stack.item_at(UDP!(), my_index) { [INFO] [stdout] | ------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UDP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Ip` should have a snake case name [INFO] [stdout] --> src/protocols/ip.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | FromStringHashmap, NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__ip` [INFO] [stdout] | [INFO] [stdout] ::: src/protocols/udp.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | if let Some(ip) = stack.item_at(IP!(), my_index - 1) { [INFO] [stdout] | ----- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `IP` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Ipv6` should have a snake case name [INFO] [stdout] --> src/protocols/ipv6.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__ipv6` [INFO] [stdout] | [INFO] [stdout] ::: src/protocols/udp.rs:99:49 [INFO] [stdout] | [INFO] [stdout] 99 | } else if let Some(ip6) = stack.item_at(IPV6!(), my_index - 1) { [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `IPV6` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Vxlan` should have a snake case name [INFO] [stdout] --> src/protocols/vxlan.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__vxlan` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `VXLAN` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Vxlan` should have a snake case name [INFO] [stdout] --> src/protocols/vxlan.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__vxlan` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `VXLAN` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Vxlan` should have a snake case name [INFO] [stdout] --> src/protocols/vxlan.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__vxlan` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `VXLAN` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Dhcpv6` should have a snake case name [INFO] [stdout] --> src/protocols/dhcpv6.rs:2046:10 [INFO] [stdout] | [INFO] [stdout] 2046 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dhcpv6` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `DHCPV6` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Dhcpv6` should have a snake case name [INFO] [stdout] --> src/protocols/dhcpv6.rs:2046:10 [INFO] [stdout] | [INFO] [stdout] 2046 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dhcpv6` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `DHCPV6` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Dhcpv6` should have a snake case name [INFO] [stdout] --> src/protocols/dhcpv6.rs:2046:10 [INFO] [stdout] | [INFO] [stdout] 2046 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dhcpv6` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `DHCPV6` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Dns` should have a snake case name [INFO] [stdout] --> src/protocols/dns.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dns` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `DNS` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Dns` should have a snake case name [INFO] [stdout] --> src/protocols/dns.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dns` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `DNS` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__Dns` should have a snake case name [INFO] [stdout] --> src/protocols/dns.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__dns` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `DNS` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__PVTI` should have a snake case name [INFO] [stdout] --> src/protocols/pvti.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pvti` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PVTI` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__PVTI` should have a snake case name [INFO] [stdout] --> src/protocols/pvti.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pvti` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PVTI` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `__PVTI` should have a snake case name [INFO] [stdout] --> src/protocols/pvti.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(NetworkProtocol, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `__pvti` [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `PVTI` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.21s [INFO] running `Command { std: "docker" "inspect" "ba3b6b7cf8ee0c3fdcfedd9dbab4dff1a12c87ce8879a693cfc0d11943c7d25e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba3b6b7cf8ee0c3fdcfedd9dbab4dff1a12c87ce8879a693cfc0d11943c7d25e", kill_on_drop: false }` [INFO] [stdout] ba3b6b7cf8ee0c3fdcfedd9dbab4dff1a12c87ce8879a693cfc0d11943c7d25e