[INFO] fetching crate suricata 7.0.0-alpha.5...
[INFO] checking suricata-7.0.0-alpha.5 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] extracting crate suricata 7.0.0-alpha.5 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate suricata 7.0.0-alpha.5 on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate suricata 7.0.0-alpha.5
[INFO] finished tweaking crates.io crate suricata 7.0.0-alpha.5
[INFO] tweaked toml for crates.io crate suricata 7.0.0-alpha.5 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rusticata-macros v4.1.0
[INFO] [stderr]   Downloaded aho-corasick v0.7.20
[INFO] [stderr]   Downloaded cpuid-bool v0.2.0
[INFO] [stderr]   Downloaded asn1-rs-impl v0.1.0
[INFO] [stderr]   Downloaded der-oid-macro v0.5.0
[INFO] [stderr]   Downloaded suricata-derive v7.0.0-alpha.5
[INFO] [stderr]   Downloaded ntp-parser v0.6.0
[INFO] [stderr]   Downloaded polyval v0.4.5
[INFO] [stderr]   Downloaded num v0.2.1
[INFO] [stderr]   Downloaded arrayvec v0.5.2
[INFO] [stderr]   Downloaded uuid v0.8.2
[INFO] [stderr]   Downloaded bendy v0.3.3
[INFO] [stderr]   Downloaded brotli v3.3.4
[INFO] [stderr]   Downloaded nom v5.1.3
[INFO] [stderr]   Downloaded regex v1.5.6
[INFO] [stderr]   Downloaded der-parser v8.2.0
[INFO] [stderr]   Downloaded aes-soft v0.6.4
[INFO] [stderr]   Downloaded time v0.3.13
[INFO] [stderr]   Downloaded aes v0.6.0
[INFO] [stderr]   Downloaded aesni v0.10.0
[INFO] [stderr]   Downloaded memchr v2.4.1
[INFO] [stderr]   Downloaded der-parser v6.0.1
[INFO] [stderr]   Downloaded asn1-rs v0.5.2
[INFO] [stderr]   Downloaded lexical-core v0.7.6
[INFO] [stderr]   Downloaded brotli-decompressor v2.3.5
[INFO] [stderr]   Downloaded x509-parser v0.14.0
[INFO] [stderr]   Downloaded num-bigint v0.2.6
[INFO] [stderr]   Downloaded aes-gcm v0.8.0
[INFO] [stderr]   Downloaded hkdf v0.12.4
[INFO] [stderr]   Downloaded tls-parser v0.11.0
[INFO] [stderr]   Downloaded ctr v0.6.0
[INFO] [stderr]   Downloaded half v1.7.1
[INFO] [stderr]   Downloaded lzma-rs v0.2.0
[INFO] [stderr]   Downloaded oid-registry v0.6.1
[INFO] [stderr]   Downloaded kerberos-parser v0.7.1
[INFO] [stderr]   Downloaded sawp v0.11.1
[INFO] [stderr]   Downloaded sawp-modbus v0.11.1
[INFO] [stderr]   Downloaded sawp-flags v0.11.1
[INFO] [stderr]   Downloaded snmp-parser v0.8.0
[INFO] [stderr]   Downloaded nom-derive v0.10.1
[INFO] [stderr]   Downloaded md-5 v0.10.6
[INFO] [stderr]   Downloaded num-derive v0.2.5
[INFO] [stderr]   Downloaded ghash v0.3.1
[INFO] [stderr]   Downloaded proc-macro-crate v1.1.0
[INFO] [stderr]   Downloaded num-rational v0.2.4
[INFO] [stderr]   Downloaded test-case v1.1.0
[INFO] [stderr]   Downloaded sawp-flags-derive v0.11.1
[INFO] [stderr]   Downloaded nom-derive-impl v0.10.1
[INFO] [stderr]   Downloaded aead v0.3.2
[INFO] [stderr]   Downloaded cipher v0.2.5
[INFO] [stderr]   Downloaded crc v1.8.1
[INFO] [stderr]   Downloaded enum_primitive v0.1.1
[INFO] [stderr]   Downloaded build_const v0.2.2
[INFO] [stderr]   Downloaded asn1-rs-derive v0.4.0
[INFO] [stderr]   Downloaded ipsec-parser v0.7.0
[INFO] [stderr]   Downloaded num-complex v0.2.4
[INFO] [stderr]   Downloaded time-macros v0.2.4
[INFO] [stderr]   Downloaded widestring v0.4.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 98bc214060d8a1edf5e72e7dbcd9bc26a1b6ff440b1a996744f16c8efe27a211
[INFO] running `Command { std: "docker" "start" "-a" "98bc214060d8a1edf5e72e7dbcd9bc26a1b6ff440b1a996744f16c8efe27a211", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "98bc214060d8a1edf5e72e7dbcd9bc26a1b6ff440b1a996744f16c8efe27a211", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98bc214060d8a1edf5e72e7dbcd9bc26a1b6ff440b1a996744f16c8efe27a211", kill_on_drop: false }`
[INFO] [stdout] 98bc214060d8a1edf5e72e7dbcd9bc26a1b6ff440b1a996744f16c8efe27a211
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5d149bf8d972b4ba038985820865645bc5be85d8b5d2beddb12e5f59de40ca15
[INFO] running `Command { std: "docker" "start" "-a" "5d149bf8d972b4ba038985820865645bc5be85d8b5d2beddb12e5f59de40ca15", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking num_threads v0.1.6
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking rusticata-macros v4.1.0
[INFO] [stderr]    Compiling phf_generator v0.10.0
[INFO] [stderr]     Checking cipher v0.2.5
[INFO] [stderr]    Compiling nom v5.1.3
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]    Compiling build_const v0.2.2
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling crc v1.8.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling displaydoc v0.2.4
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling phf_codegen v0.10.0
[INFO] [stderr]     Checking universal-hash v0.4.1
[INFO] [stderr]     Checking time v0.3.13
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]     Checking cpuid-bool v0.2.0
[INFO] [stderr]    Compiling oid-registry v0.6.1
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking polyval v0.4.5
[INFO] [stderr]    Compiling tls-parser v0.11.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling proc-macro-crate v1.1.0
[INFO] [stderr]     Checking aes-soft v0.6.4
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]     Checking half v1.7.1
[INFO] [stderr]     Checking enum_primitive v0.1.1
[INFO] [stderr]     Checking aes v0.6.0
[INFO] [stderr]     Checking ghash v0.3.1
[INFO] [stderr]     Checking brotli-decompressor v2.3.5
[INFO] [stderr]     Checking ctr v0.6.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking aead v0.3.2
[INFO] [stderr]     Checking aho-corasick v0.7.20
[INFO] [stderr]    Compiling test-case v1.1.0
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking data-encoding v2.5.0
[INFO] [stderr]     Checking brotli v3.3.4
[INFO] [stderr]     Checking sawp v0.11.1
[INFO] [stderr]     Checking lzma-rs v0.2.0
[INFO] [stderr]     Checking num v0.2.1
[INFO] [stderr]     Checking aes-gcm v0.8.0
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking ipsec-parser v0.7.0
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking widestring v0.4.3
[INFO] [stderr]    Compiling asn1-rs-impl v0.1.0
[INFO] [stderr]    Compiling asn1-rs-derive v0.4.0
[INFO] [stderr]    Compiling nom-derive-impl v0.10.1
[INFO] [stderr]    Compiling der-oid-macro v0.5.0
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling num_enum_derive v0.5.11
[INFO] [stderr]     Checking der-parser v6.0.1
[INFO] [stderr]    Compiling sawp-flags-derive v0.11.1
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking bendy v0.3.3
[INFO] [stderr]     Checking kerberos-parser v0.7.1
[INFO] [stderr]     Checking snmp-parser v0.8.0
[INFO] [stderr]     Checking asn1-rs v0.5.2
[INFO] [stderr]     Checking regex v1.5.6
[INFO] [stderr]    Compiling suricata-derive v7.0.0-alpha.5
[INFO] [stderr]     Checking sawp-flags v0.11.1
[INFO] [stderr]     Checking nom-derive v0.10.1
[INFO] [stderr]     Checking num_enum v0.5.11
[INFO] [stderr]     Checking ntp-parser v0.6.0
[INFO] [stderr]     Checking sawp-modbus v0.11.1
[INFO] [stderr]     Checking der-parser v8.2.0
[INFO] [stderr]     Checking x509-parser v0.14.0
[INFO] [stderr]     Checking suricata v7.0.0-alpha.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/mqtt/mqtt.rs:733:23
[INFO] [stdout]     |
[INFO] [stdout] 733 |     let max_msg_len = &mut MAX_MSG_LEN;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 733 |     let max_msg_len = addr_of_mut!(MAX_MSG_LEN);
[INFO] [stdout]     |                       ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/mqtt/mqtt.rs:733:23
[INFO] [stdout]     |
[INFO] [stdout] 733 |     let max_msg_len = &mut MAX_MSG_LEN;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 733 |     let max_msg_len = addr_of_mut!(MAX_MSG_LEN);
[INFO] [stdout]     |                       ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/smb/smb.rs:1957:9
[INFO] [stdout]      |
[INFO] [stdout] 1957 |     let mut state = cast_pointer!(state, SMBState);
[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: variable does not need to be mutable
[INFO] [stdout]     --> src/smb/smb.rs:1994:9
[INFO] [stdout]      |
[INFO] [stdout] 1994 |     let mut state = cast_pointer!(state, SMBState);
[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/dcerpc/dcerpc.rs:749:29
[INFO] [stdout]     |
[INFO] [stdout] 749 |                         for mut uuid in bind.uuid_list.iter_mut() {
[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/ike/ikev2.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     mut state: &mut IKEState, current: &[u8], isakmp_header: IsakmpHeader, direction: Direction,
[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/smb/smb.rs:1957:9
[INFO] [stdout]      |
[INFO] [stdout] 1957 |     let mut state = cast_pointer!(state, SMBState);
[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: variable does not need to be mutable
[INFO] [stdout]     --> src/smb/smb.rs:1994:9
[INFO] [stdout]      |
[INFO] [stdout] 1994 |     let mut state = cast_pointer!(state, SMBState);
[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/dcerpc/dcerpc.rs:749:29
[INFO] [stdout]     |
[INFO] [stdout] 749 |                         for mut uuid in bind.uuid_list.iter_mut() {
[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/ike/ikev2.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     mut state: &mut IKEState, current: &[u8], isakmp_header: IsakmpHeader, direction: Direction,
[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/ssh/ssh.rs:119:14
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let (mut hdr, ohdr) = if !resp {
[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/ssh/ssh.rs:249:13
[INFO] [stdout]     |
[INFO] [stdout] 249 |         let mut hdr = if !resp {
[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/http2/http2.rs:968:41
[INFO] [stdout]     |
[INFO] [stdout] 968 | ...                   let mut tx_same = &mut self.transactions[index - 1];
[INFO] [stdout]     |                           ----^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/asn1/mod.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |     BerError(Err<der_parser::error::BerError>),
[INFO] [stdout]    |     -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 34 |     BerError(()),
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ssh/ssh.rs:119:14
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let (mut hdr, ohdr) = if !resp {
[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/ssh/ssh.rs:249:13
[INFO] [stdout]     |
[INFO] [stdout] 249 |         let mut hdr = if !resp {
[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/http2/http2.rs:968:41
[INFO] [stdout]     |
[INFO] [stdout] 968 | ...                   let mut tx_same = &mut self.transactions[index - 1];
[INFO] [stdout]     |                           ----^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/asn1/mod.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |     BerError(Err<der_parser::error::BerError>),
[INFO] [stdout]    |     -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 34 |     BerError(()),
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 29.74s
[INFO] running `Command { std: "docker" "inspect" "5d149bf8d972b4ba038985820865645bc5be85d8b5d2beddb12e5f59de40ca15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d149bf8d972b4ba038985820865645bc5be85d8b5d2beddb12e5f59de40ca15", kill_on_drop: false }`
[INFO] [stdout] 5d149bf8d972b4ba038985820865645bc5be85d8b5d2beddb12e5f59de40ca15
[INFO] checking suricata-7.0.0-alpha.5 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] extracting crate suricata 7.0.0-alpha.5 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate suricata 7.0.0-alpha.5 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate suricata 7.0.0-alpha.5
[INFO] finished tweaking crates.io crate suricata 7.0.0-alpha.5
[INFO] tweaked toml for crates.io crate suricata 7.0.0-alpha.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1264fd40a743f3da18de32804b04bc360bcaabfa5a8874d1d05feb0f712d95dd
[INFO] running `Command { std: "docker" "start" "-a" "1264fd40a743f3da18de32804b04bc360bcaabfa5a8874d1d05feb0f712d95dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1264fd40a743f3da18de32804b04bc360bcaabfa5a8874d1d05feb0f712d95dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1264fd40a743f3da18de32804b04bc360bcaabfa5a8874d1d05feb0f712d95dd", kill_on_drop: false }`
[INFO] [stdout] 1264fd40a743f3da18de32804b04bc360bcaabfa5a8874d1d05feb0f712d95dd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8aca68a5f091e7974296c62299f9754941d0f483ae154a41b6144773e22cb935
[INFO] running `Command { std: "docker" "start" "-a" "8aca68a5f091e7974296c62299f9754941d0f483ae154a41b6144773e22cb935", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]     Checking num_threads v0.1.6
[INFO] [stderr]    Compiling phf_generator v0.10.0
[INFO] [stderr]     Checking cipher v0.2.5
[INFO] [stderr]    Compiling nom v5.1.3
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]     Checking rusticata-macros v4.1.0
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]    Compiling build_const v0.2.2
[INFO] [stderr]    Compiling crc v1.8.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]     Checking time v0.3.13
[INFO] [stderr]    Compiling displaydoc v0.2.4
[INFO] [stderr]    Compiling phf_codegen v0.10.0
[INFO] [stderr]     Checking universal-hash v0.4.1
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]     Checking cpuid-bool v0.2.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling oid-registry v0.6.1
[INFO] [stderr]     Checking polyval v0.4.5
[INFO] [stderr]    Compiling tls-parser v0.11.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking aes-soft v0.6.4
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling proc-macro-crate v1.1.0
[INFO] [stderr]     Checking half v1.7.1
[INFO] [stderr]     Checking enum_primitive v0.1.1
[INFO] [stderr]     Checking aes v0.6.0
[INFO] [stderr]     Checking ghash v0.3.1
[INFO] [stderr]     Checking brotli-decompressor v2.3.5
[INFO] [stderr]     Checking ctr v0.6.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking aead v0.3.2
[INFO] [stderr]     Checking aho-corasick v0.7.20
[INFO] [stderr]    Compiling test-case v1.1.0
[INFO] [stderr]     Checking data-encoding v2.5.0
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]     Checking sawp v0.11.1
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking brotli v3.3.4
[INFO] [stderr]     Checking num v0.2.1
[INFO] [stderr]     Checking aes-gcm v0.8.0
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking lzma-rs v0.2.0
[INFO] [stderr]    Compiling asn1-rs-derive v0.4.0
[INFO] [stderr]    Compiling asn1-rs-impl v0.1.0
[INFO] [stderr]    Compiling der-oid-macro v0.5.0
[INFO] [stderr]    Compiling nom-derive-impl v0.10.1
[INFO] [stderr]    Compiling sawp-flags-derive v0.11.1
[INFO] [stderr]     Checking der-parser v6.0.1
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking asn1-rs v0.5.2
[INFO] [stderr]    Compiling num_enum_derive v0.5.11
[INFO] [stderr]     Checking sawp-flags v0.11.1
[INFO] [stderr]     Checking snmp-parser v0.8.0
[INFO] [stderr]     Checking kerberos-parser v0.7.1
[INFO] [stderr]     Checking regex v1.5.6
[INFO] [stderr]    Compiling suricata-derive v7.0.0-alpha.5
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking der-parser v8.2.0
[INFO] [stderr]     Checking nom-derive v0.10.1
[INFO] [stderr]     Checking bendy v0.3.3
[INFO] [stderr]     Checking ntp-parser v0.6.0
[INFO] [stderr]     Checking num_enum v0.5.11
[INFO] [stderr]     Checking sawp-modbus v0.11.1
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking ipsec-parser v0.7.0
[INFO] [stderr]     Checking x509-parser v0.14.0
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking widestring v0.4.3
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking suricata v7.0.0-alpha.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/mqtt/mqtt.rs:733:23
[INFO] [stdout]     |
[INFO] [stdout] 733 |     let max_msg_len = &mut MAX_MSG_LEN;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 733 |     let max_msg_len = addr_of_mut!(MAX_MSG_LEN);
[INFO] [stdout]     |                       ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/mqtt/mqtt.rs:733:23
[INFO] [stdout]     |
[INFO] [stdout] 733 |     let max_msg_len = &mut MAX_MSG_LEN;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 733 |     let max_msg_len = addr_of_mut!(MAX_MSG_LEN);
[INFO] [stdout]     |                       ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/smb/smb.rs:1957:9
[INFO] [stdout]      |
[INFO] [stdout] 1957 |     let mut state = cast_pointer!(state, SMBState);
[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: variable does not need to be mutable
[INFO] [stdout]     --> src/smb/smb.rs:1994:9
[INFO] [stdout]      |
[INFO] [stdout] 1994 |     let mut state = cast_pointer!(state, SMBState);
[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/dcerpc/dcerpc.rs:749:29
[INFO] [stdout]     |
[INFO] [stdout] 749 |                         for mut uuid in bind.uuid_list.iter_mut() {
[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/ike/ikev2.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     mut state: &mut IKEState, current: &[u8], isakmp_header: IsakmpHeader, direction: Direction,
[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/smb/smb.rs:1957:9
[INFO] [stdout]      |
[INFO] [stdout] 1957 |     let mut state = cast_pointer!(state, SMBState);
[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: variable does not need to be mutable
[INFO] [stdout]     --> src/smb/smb.rs:1994:9
[INFO] [stdout]      |
[INFO] [stdout] 1994 |     let mut state = cast_pointer!(state, SMBState);
[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/ssh/ssh.rs:119:14
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let (mut hdr, ohdr) = if !resp {
[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/ssh/ssh.rs:249:13
[INFO] [stdout]     |
[INFO] [stdout] 249 |         let mut hdr = if !resp {
[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/dcerpc/dcerpc.rs:749:29
[INFO] [stdout]     |
[INFO] [stdout] 749 |                         for mut uuid in bind.uuid_list.iter_mut() {
[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/http2/http2.rs:968:41
[INFO] [stdout]     |
[INFO] [stdout] 968 | ...                   let mut tx_same = &mut self.transactions[index - 1];
[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/ike/ikev2.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     mut state: &mut IKEState, current: &[u8], isakmp_header: IsakmpHeader, direction: Direction,
[INFO] [stdout]     |     ----^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/asn1/mod.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |     BerError(Err<der_parser::error::BerError>),
[INFO] [stdout]    |     -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 34 |     BerError(()),
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/detect/iprep.rs:30:38
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[derive(Clone, Copy, PartialEq, Eq, FromPrimitive, Debug)]
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_DetectIPRepDataCmd`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/detect/stream_size.rs:28:38
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Clone, Copy, PartialEq, Eq, FromPrimitive, Debug)]
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_DetectStreamSizeDataFlags`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/nfs/nfs.rs:110:10
[INFO] [stdout]     |
[INFO] [stdout] 110 | #[derive(FromPrimitive, Debug, AppLayerEvent)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_NFSEvent`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/ike/parser.rs:29:23
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Copy, Clone, FromPrimitive)]
[INFO] [stdout]    |                       ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ExchangeType`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/ike/parser.rs:508:10
[INFO] [stdout]     |
[INFO] [stdout] 508 | #[derive(FromPrimitive, Debug)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_IsakmpPayloadType`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/mqtt/detect.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(FromPrimitive, Debug, Copy, Clone, PartialOrd, PartialEq, Eq)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_MQTTFlagState`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/mqtt/mqtt.rs:44:10
[INFO] [stdout]    |
[INFO] [stdout] 44 | #[derive(FromPrimitive, Debug, AppLayerEvent)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_MQTTEvent`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/mqtt/mqtt_message.rs:55:50
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, FromPrimitive, Debug)]
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_MQTTTypeCode`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:151:24
[INFO] [stdout]     |
[INFO] [stdout] 151 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Protocol`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:216:24
[INFO] [stdout]     |
[INFO] [stdout] 216 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_NegotiationFailureCode`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:264:24
[INFO] [stdout]     |
[INFO] [stdout] 264 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CsType`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:303:24
[INFO] [stdout]     |
[INFO] [stdout] 303 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_RdpClientVersion`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:319:24
[INFO] [stdout]     |
[INFO] [stdout] 319 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ColorDepth`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:326:24
[INFO] [stdout]     |
[INFO] [stdout] 326 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_SasSequence`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:334:24
[INFO] [stdout]     |
[INFO] [stdout] 334 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_KeyboardType`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:346:24
[INFO] [stdout]     |
[INFO] [stdout] 346 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_PostBeta2ColorDepth`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:357:24
[INFO] [stdout]     |
[INFO] [stdout] 357 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_HighColorDepth`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:397:24
[INFO] [stdout]     |
[INFO] [stdout] 397 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ConnectionHint`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:410:30
[INFO] [stdout]     |
[INFO] [stdout] 410 | #[derive(Clone, Copy, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                              ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_DesktopOrientation`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/windows.rs:486:24
[INFO] [stdout]     |
[INFO] [stdout] 486 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Build`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/http2/parser.rs:35:38
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[derive(Clone, Copy, PartialEq, Eq, FromPrimitive, Debug)]
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_HTTP2FrameType`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/http2/parser.rs:106:38
[INFO] [stdout]     |
[INFO] [stdout] 106 | #[derive(Clone, Copy, PartialEq, Eq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_HTTP2ErrorCode`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/http2/parser.rs:684:38
[INFO] [stdout]     |
[INFO] [stdout] 684 | #[derive(Clone, Copy, PartialEq, Eq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_HTTP2SettingsId`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/quic/frames.rs:50:41
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[derive(Debug, PartialEq, Clone, Copy, FromPrimitive)]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_StreamTag`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/quic/quic.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[derive(FromPrimitive, Debug, AppLayerEvent)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_QuicEvent`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 25 previous errors; 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `suricata` (lib) due to 26 previous errors; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ssh/ssh.rs:119:14
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let (mut hdr, ohdr) = if !resp {
[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/ssh/ssh.rs:249:13
[INFO] [stdout]     |
[INFO] [stdout] 249 |         let mut hdr = if !resp {
[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/http2/http2.rs:968:41
[INFO] [stdout]     |
[INFO] [stdout] 968 | ...                   let mut tx_same = &mut self.transactions[index - 1];
[INFO] [stdout]     |                           ----^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/asn1/mod.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |     BerError(Err<der_parser::error::BerError>),
[INFO] [stdout]    |     -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 34 |     BerError(()),
[INFO] [stdout]    |              ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/detect/iprep.rs:30:38
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[derive(Clone, Copy, PartialEq, Eq, FromPrimitive, Debug)]
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_DetectIPRepDataCmd`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/detect/stream_size.rs:28:38
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Clone, Copy, PartialEq, Eq, FromPrimitive, Debug)]
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_DetectStreamSizeDataFlags`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/nfs/nfs.rs:110:10
[INFO] [stdout]     |
[INFO] [stdout] 110 | #[derive(FromPrimitive, Debug, AppLayerEvent)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_NFSEvent`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/ike/parser.rs:29:23
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Copy, Clone, FromPrimitive)]
[INFO] [stdout]    |                       ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ExchangeType`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/ike/parser.rs:508:10
[INFO] [stdout]     |
[INFO] [stdout] 508 | #[derive(FromPrimitive, Debug)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_IsakmpPayloadType`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/mqtt/detect.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(FromPrimitive, Debug, Copy, Clone, PartialOrd, PartialEq, Eq)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_MQTTFlagState`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/mqtt/mqtt.rs:44:10
[INFO] [stdout]    |
[INFO] [stdout] 44 | #[derive(FromPrimitive, Debug, AppLayerEvent)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_MQTTEvent`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/mqtt/mqtt_message.rs:55:50
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, FromPrimitive, Debug)]
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_MQTTTypeCode`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:151:24
[INFO] [stdout]     |
[INFO] [stdout] 151 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Protocol`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:216:24
[INFO] [stdout]     |
[INFO] [stdout] 216 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_NegotiationFailureCode`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:264:24
[INFO] [stdout]     |
[INFO] [stdout] 264 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_CsType`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:303:24
[INFO] [stdout]     |
[INFO] [stdout] 303 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_RdpClientVersion`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:319:24
[INFO] [stdout]     |
[INFO] [stdout] 319 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ColorDepth`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:326:24
[INFO] [stdout]     |
[INFO] [stdout] 326 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_SasSequence`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:334:24
[INFO] [stdout]     |
[INFO] [stdout] 334 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_KeyboardType`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:346:24
[INFO] [stdout]     |
[INFO] [stdout] 346 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_PostBeta2ColorDepth`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:357:24
[INFO] [stdout]     |
[INFO] [stdout] 357 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_HighColorDepth`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:397:24
[INFO] [stdout]     |
[INFO] [stdout] 397 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_ConnectionHint`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/parser.rs:410:30
[INFO] [stdout]     |
[INFO] [stdout] 410 | #[derive(Clone, Copy, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                              ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_DesktopOrientation`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/rdp/windows.rs:486:24
[INFO] [stdout]     |
[INFO] [stdout] 486 | #[derive(Clone, Debug, FromPrimitive, PartialEq, Eq)]
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Build`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/http2/parser.rs:35:38
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[derive(Clone, Copy, PartialEq, Eq, FromPrimitive, Debug)]
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_HTTP2FrameType`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/http2/parser.rs:106:38
[INFO] [stdout]     |
[INFO] [stdout] 106 | #[derive(Clone, Copy, PartialEq, Eq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_HTTP2ErrorCode`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/http2/parser.rs:684:38
[INFO] [stdout]     |
[INFO] [stdout] 684 | #[derive(Clone, Copy, PartialEq, Eq, FromPrimitive, Debug)]
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_HTTP2SettingsId`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/quic/frames.rs:50:41
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[derive(Debug, PartialEq, Clone, Copy, FromPrimitive)]
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_StreamTag`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/quic/quic.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[derive(FromPrimitive, Debug, AppLayerEvent)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_QuicEvent`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 25 previous errors; 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `suricata` (lib test) due to 26 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8aca68a5f091e7974296c62299f9754941d0f483ae154a41b6144773e22cb935", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8aca68a5f091e7974296c62299f9754941d0f483ae154a41b6144773e22cb935", kill_on_drop: false }`
[INFO] [stdout] 8aca68a5f091e7974296c62299f9754941d0f483ae154a41b6144773e22cb935
