[INFO] fetching crate af_packet 0.3.1...
[INFO] testing af_packet-0.3.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate af_packet 0.3.1 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate af_packet 0.3.1
[INFO] finished tweaking crates.io crate af_packet 0.3.1
[INFO] tweaked toml for crates.io crate af_packet 0.3.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate af_packet 0.3.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 10 packages to latest compatible versions
[INFO] [stderr]       Adding nom v5.1.3 (available: v8.0.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0d4cc0c9da97dc0ee5cdae56009606320c809a0e9aaa196d96af5c651c4fcb53
[INFO] running `Command { std: "docker" "start" "-a" "0d4cc0c9da97dc0ee5cdae56009606320c809a0e9aaa196d96af5c651c4fcb53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0d4cc0c9da97dc0ee5cdae56009606320c809a0e9aaa196d96af5c651c4fcb53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d4cc0c9da97dc0ee5cdae56009606320c809a0e9aaa196d96af5c651c4fcb53", kill_on_drop: false }`
[INFO] [stdout] 0d4cc0c9da97dc0ee5cdae56009606320c809a0e9aaa196d96af5c651c4fcb53
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bbbf699e1d6eb27e27005a58fc2d0de8ac329c0721fc2c26459dcb453b4af90b
[INFO] running `Command { std: "docker" "start" "-a" "bbbf699e1d6eb27e27005a58fc2d0de8ac329c0721fc2c26459dcb453b4af90b", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]    Compiling nom v5.1.3
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling af_packet v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on macro calls
[INFO] [stdout]    --> src/tpacket3.rs:110:1
[INFO] [stdout]     |
[INFO] [stdout] 110 | #[inline]
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions
[INFO] [stdout]     = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on macro calls
[INFO] [stdout]    --> src/tpacket3.rs:123:1
[INFO] [stdout]     |
[INFO] [stdout] 123 | #[inline]
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on macro calls
[INFO] [stdout]    --> src/tpacket3.rs:141:1
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[inline]
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on macro calls
[INFO] [stdout]    --> src/tpacket3.rs:147:1
[INFO] [stdout]     |
[INFO] [stdout] 147 | #[inline]
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on macro calls
[INFO] [stdout]    --> src/tpacket3.rs:161:1
[INFO] [stdout]     |
[INFO] [stdout] 161 | #[inline]
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/rx.rs:182:29
[INFO] [stdout]     |
[INFO] [stdout] 182 |                 if let Some(mut block) = self.get_single_block(i) {
[INFO] [stdout]     |                             ----^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `packets` is never read
[INFO] [stdout]   --> src/rx.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct Block<'a> {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 64 |     block_desc: tpacket3::TpacketBlockDesc,
[INFO] [stdout] 65 |     packets: Vec<RawPacket<'a>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version` and `offset_to_priv` are never read
[INFO] [stdout]   --> src/tpacket3.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct TpacketBlockDesc {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 50 |     version: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 51 |     offset_to_priv: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TpacketBlockDesc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `block_status`, `offset_to_first_pkt`, `blk_len`, `seq_num`, `ts_first_pkt`, and `ts_last_pkt` are never read
[INFO] [stdout]   --> src/tpacket3.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct TpacketBDHeader {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 57 |     block_status: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 58 |     pub num_pkts: u32,
[INFO] [stdout] 59 |     offset_to_first_pkt: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 60 |     blk_len: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 61 |     seq_num: u64,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 62 |     ts_first_pkt: TpacketBDTS,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 63 |     ts_last_pkt: TpacketBDTS,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TpacketBDHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ts_sec` and `ts_nsec` are never read
[INFO] [stdout]   --> src/tpacket3.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | struct TpacketBDTS {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 68 |     ts_sec: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 69 |     ts_nsec: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TpacketBDTS` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tp_padding` is never read
[INFO] [stdout]   --> src/tpacket3.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub struct TpacketHdrVariant1 {
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 93 |     tp_padding: u16,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TpacketHdrVariant1` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/rx.rs:95:28
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn get_raw_packets(&self) -> Vec<RawPacket> {
[INFO] [stdout]    |                            ^^^^^         ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn get_raw_packets(&self) -> Vec<RawPacket<'_>> {
[INFO] [stdout]    |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/rx.rs:177:22
[INFO] [stdout]     |
[INFO] [stdout] 177 |     pub fn get_block(&mut self) -> Block {
[INFO] [stdout]     |                      ^^^^^^^^^     ^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 177 |     pub fn get_block(&mut self) -> Block<'_> {
[INFO] [stdout]     |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/socket.rs:47:39
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let bytes: [u8; 2] = unsafe { mem::transmute(i) };
[INFO] [stdout]    |                                       --------------^^^
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       help: replace this with: `i16::to_ne_bytes`
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.97s
[INFO] running `Command { std: "docker" "inspect" "bbbf699e1d6eb27e27005a58fc2d0de8ac329c0721fc2c26459dcb453b4af90b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bbbf699e1d6eb27e27005a58fc2d0de8ac329c0721fc2c26459dcb453b4af90b", kill_on_drop: false }`
[INFO] [stdout] bbbf699e1d6eb27e27005a58fc2d0de8ac329c0721fc2c26459dcb453b4af90b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ee4105661787823928e63997b200e27cd40daff3bc88b4d5bcec90d48b3b9cd4
[INFO] running `Command { std: "docker" "start" "-a" "ee4105661787823928e63997b200e27cd40daff3bc88b4d5bcec90d48b3b9cd4", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on macro calls
[INFO] [stdout]    --> src/tpacket3.rs:110:1
[INFO] [stdout]     |
[INFO] [stdout] 110 | #[inline]
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions
[INFO] [stdout]     = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on macro calls
[INFO] [stdout]    --> src/tpacket3.rs:123:1
[INFO] [stdout]     |
[INFO] [stdout] 123 | #[inline]
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on macro calls
[INFO] [stdout]    --> src/tpacket3.rs:141:1
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[inline]
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on macro calls
[INFO] [stdout]    --> src/tpacket3.rs:147:1
[INFO] [stdout]     |
[INFO] [stdout] 147 | #[inline]
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on macro calls
[INFO] [stdout]    --> src/tpacket3.rs:161:1
[INFO] [stdout]     |
[INFO] [stdout] 161 | #[inline]
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/rx.rs:182:29
[INFO] [stdout]     |
[INFO] [stdout] 182 |                 if let Some(mut block) = self.get_single_block(i) {
[INFO] [stdout]     |                             ----^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `packets` is never read
[INFO] [stdout]   --> src/rx.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct Block<'a> {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 64 |     block_desc: tpacket3::TpacketBlockDesc,
[INFO] [stdout] 65 |     packets: Vec<RawPacket<'a>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version` and `offset_to_priv` are never read
[INFO] [stdout]   --> src/tpacket3.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct TpacketBlockDesc {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 50 |     version: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 51 |     offset_to_priv: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TpacketBlockDesc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `block_status`, `offset_to_first_pkt`, `blk_len`, `seq_num`, `ts_first_pkt`, and `ts_last_pkt` are never read
[INFO] [stdout]   --> src/tpacket3.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct TpacketBDHeader {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 57 |     block_status: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 58 |     pub num_pkts: u32,
[INFO] [stdout] 59 |     offset_to_first_pkt: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 60 |     blk_len: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 61 |     seq_num: u64,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 62 |     ts_first_pkt: TpacketBDTS,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 63 |     ts_last_pkt: TpacketBDTS,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TpacketBDHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ts_sec` and `ts_nsec` are never read
[INFO] [stdout]   --> src/tpacket3.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | struct TpacketBDTS {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 68 |     ts_sec: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 69 |     ts_nsec: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TpacketBDTS` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tp_padding` is never read
[INFO] [stdout]   --> src/tpacket3.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub struct TpacketHdrVariant1 {
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 93 |     tp_padding: u16,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TpacketHdrVariant1` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/rx.rs:95:28
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn get_raw_packets(&self) -> Vec<RawPacket> {
[INFO] [stdout]    |                            ^^^^^         ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn get_raw_packets(&self) -> Vec<RawPacket<'_>> {
[INFO] [stdout]    |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/rx.rs:177:22
[INFO] [stdout]     |
[INFO] [stdout] 177 |     pub fn get_block(&mut self) -> Block {
[INFO] [stdout]     |                      ^^^^^^^^^     ^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 177 |     pub fn get_block(&mut self) -> Block<'_> {
[INFO] [stdout]     |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/socket.rs:47:39
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let bytes: [u8; 2] = unsafe { mem::transmute(i) };
[INFO] [stdout]    |                                       --------------^^^
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       help: replace this with: `i16::to_ne_bytes`
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling af_packet v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on macro calls
[INFO] [stdout]    --> src/tpacket3.rs:110:1
[INFO] [stdout]     |
[INFO] [stdout] 110 | #[inline]
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions
[INFO] [stdout]     = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on macro calls
[INFO] [stdout]    --> src/tpacket3.rs:123:1
[INFO] [stdout]     |
[INFO] [stdout] 123 | #[inline]
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on macro calls
[INFO] [stdout]    --> src/tpacket3.rs:141:1
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[inline]
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on macro calls
[INFO] [stdout]    --> src/tpacket3.rs:147:1
[INFO] [stdout]     |
[INFO] [stdout] 147 | #[inline]
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[inline]` attribute cannot be used on macro calls
[INFO] [stdout]    --> src/tpacket3.rs:161:1
[INFO] [stdout]     |
[INFO] [stdout] 161 | #[inline]
[INFO] [stdout]     | ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = help: `#[inline]` can only be applied to functions
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/rx.rs:182:29
[INFO] [stdout]     |
[INFO] [stdout] 182 |                 if let Some(mut block) = self.get_single_block(i) {
[INFO] [stdout]     |                             ----^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `packets` is never read
[INFO] [stdout]   --> src/rx.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct Block<'a> {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 64 |     block_desc: tpacket3::TpacketBlockDesc,
[INFO] [stdout] 65 |     packets: Vec<RawPacket<'a>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version` and `offset_to_priv` are never read
[INFO] [stdout]   --> src/tpacket3.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct TpacketBlockDesc {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 50 |     version: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 51 |     offset_to_priv: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TpacketBlockDesc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `block_status`, `offset_to_first_pkt`, `blk_len`, `seq_num`, `ts_first_pkt`, and `ts_last_pkt` are never read
[INFO] [stdout]   --> src/tpacket3.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct TpacketBDHeader {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 57 |     block_status: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 58 |     pub num_pkts: u32,
[INFO] [stdout] 59 |     offset_to_first_pkt: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 60 |     blk_len: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 61 |     seq_num: u64,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 62 |     ts_first_pkt: TpacketBDTS,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 63 |     ts_last_pkt: TpacketBDTS,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TpacketBDHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ts_sec` and `ts_nsec` are never read
[INFO] [stdout]   --> src/tpacket3.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | struct TpacketBDTS {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 68 |     ts_sec: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 69 |     ts_nsec: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TpacketBDTS` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tp_padding` is never read
[INFO] [stdout]   --> src/tpacket3.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub struct TpacketHdrVariant1 {
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 93 |     tp_padding: u16,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TpacketHdrVariant1` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/rx.rs:95:28
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn get_raw_packets(&self) -> Vec<RawPacket> {
[INFO] [stdout]    |                            ^^^^^         ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn get_raw_packets(&self) -> Vec<RawPacket<'_>> {
[INFO] [stdout]    |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/rx.rs:177:22
[INFO] [stdout]     |
[INFO] [stdout] 177 |     pub fn get_block(&mut self) -> Block {
[INFO] [stdout]     |                      ^^^^^^^^^     ^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 177 |     pub fn get_block(&mut self) -> Block<'_> {
[INFO] [stdout]     |                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/socket.rs:47:39
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let bytes: [u8; 2] = unsafe { mem::transmute(i) };
[INFO] [stdout]    |                                       --------------^^^
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       help: replace this with: `i16::to_ne_bytes`
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] running `Command { std: "docker" "inspect" "ee4105661787823928e63997b200e27cd40daff3bc88b4d5bcec90d48b3b9cd4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee4105661787823928e63997b200e27cd40daff3bc88b4d5bcec90d48b3b9cd4", kill_on_drop: false }`
[INFO] [stdout] ee4105661787823928e63997b200e27cd40daff3bc88b4d5bcec90d48b3b9cd4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 41c8b08b32d065506831cf3cea58af75f9d4329298c46c08bae6b32354f3291f
[INFO] running `Command { std: "docker" "start" "-a" "41c8b08b32d065506831cf3cea58af75f9d4329298c46c08bae6b32354f3291f", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stdout] 
[INFO] [stderr] warning: `#[inline]` attribute cannot be used on macro calls
[INFO] [stdout] running 0 tests
[INFO] [stderr]    --> src/tpacket3.rs:110:1
[INFO] [stdout] 
[INFO] [stderr]     |
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr] 110 | #[inline]
[INFO] [stdout] 
[INFO] [stderr]     | ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = help: `#[inline]` can only be applied to functions
[INFO] [stderr]     = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `#[inline]` attribute cannot be used on macro calls
[INFO] [stderr]    --> src/tpacket3.rs:123:1
[INFO] [stderr]     |
[INFO] [stderr] 123 | #[inline]
[INFO] [stderr]     | ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = help: `#[inline]` can only be applied to functions
[INFO] [stderr] 
[INFO] [stderr] warning: `#[inline]` attribute cannot be used on macro calls
[INFO] [stderr]    --> src/tpacket3.rs:141:1
[INFO] [stderr]     |
[INFO] [stderr] 141 | #[inline]
[INFO] [stderr]     | ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = help: `#[inline]` can only be applied to functions
[INFO] [stderr] 
[INFO] [stderr] warning: `#[inline]` attribute cannot be used on macro calls
[INFO] [stderr]    --> src/tpacket3.rs:147:1
[INFO] [stderr]     |
[INFO] [stderr] 147 | #[inline]
[INFO] [stderr]     | ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = help: `#[inline]` can only be applied to functions
[INFO] [stderr] 
[INFO] [stderr] warning: `#[inline]` attribute cannot be used on macro calls
[INFO] [stderr]    --> src/tpacket3.rs:161:1
[INFO] [stderr]     |
[INFO] [stderr] 161 | #[inline]
[INFO] [stderr]     | ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]     = help: `#[inline]` can only be applied to functions
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/rx.rs:182:29
[INFO] [stderr]     |
[INFO] [stderr] 182 |                 if let Some(mut block) = self.get_single_block(i) {
[INFO] [stderr]     |                             ----^^^^^
[INFO] [stderr]     |                             |
[INFO] [stderr]     |                             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `packets` is never read
[INFO] [stderr]   --> src/rx.rs:65:5
[INFO] [stderr]    |
[INFO] [stderr] 63 | pub struct Block<'a> {
[INFO] [stderr]    |            ----- field in this struct
[INFO] [stderr] 64 |     block_desc: tpacket3::TpacketBlockDesc,
[INFO] [stderr] 65 |     packets: Vec<RawPacket<'a>>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `version` and `offset_to_priv` are never read
[INFO] [stderr]   --> src/tpacket3.rs:50:5
[INFO] [stderr]    |
[INFO] [stderr] 49 | pub struct TpacketBlockDesc {
[INFO] [stderr]    |            ---------------- fields in this struct
[INFO] [stderr] 50 |     version: u32,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 51 |     offset_to_priv: u32,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `TpacketBlockDesc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `block_status`, `offset_to_first_pkt`, `blk_len`, `seq_num`, `ts_first_pkt`, and `ts_last_pkt` are never read
[INFO] [stderr]   --> src/tpacket3.rs:57:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | pub struct TpacketBDHeader {
[INFO] [stderr]    |            --------------- fields in this struct
[INFO] [stderr] 57 |     block_status: u32,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 58 |     pub num_pkts: u32,
[INFO] [stderr] 59 |     offset_to_first_pkt: u32,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 60 |     blk_len: u32,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 61 |     seq_num: u64,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 62 |     ts_first_pkt: TpacketBDTS,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 63 |     ts_last_pkt: TpacketBDTS,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `TpacketBDHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `ts_sec` and `ts_nsec` are never read
[INFO] [stderr]   --> src/tpacket3.rs:68:5
[INFO] [stderr]    |
[INFO] [stderr] 67 | struct TpacketBDTS {
[INFO] [stderr]    |        ----------- fields in this struct
[INFO] [stderr] 68 |     ts_sec: u32,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 69 |     ts_nsec: u32,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `TpacketBDTS` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `tp_padding` is never read
[INFO] [stderr]   --> src/tpacket3.rs:93:5
[INFO] [stderr]    |
[INFO] [stderr] 89 | pub struct TpacketHdrVariant1 {
[INFO] [stderr]    |            ------------------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 93 |     tp_padding: u16,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `TpacketHdrVariant1` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/rx.rs:95:28
[INFO] [stderr]    |
[INFO] [stderr] 95 |     pub fn get_raw_packets(&self) -> Vec<RawPacket> {
[INFO] [stderr]    |                            ^^^^^         ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                            |
[INFO] [stderr]    |                            the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 95 |     pub fn get_raw_packets(&self) -> Vec<RawPacket<'_>> {
[INFO] [stderr]    |                                                   ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/rx.rs:177:22
[INFO] [stderr]     |
[INFO] [stderr] 177 |     pub fn get_block(&mut self) -> Block {
[INFO] [stderr]     |                      ^^^^^^^^^     ^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                      |
[INFO] [stderr]     |                      the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 177 |     pub fn get_block(&mut self) -> Block<'_> {
[INFO] [stderr]     |                                         ++++
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary transmute
[INFO] [stderr]   --> src/socket.rs:47:39
[INFO] [stderr]    |
[INFO] [stderr] 47 |         let bytes: [u8; 2] = unsafe { mem::transmute(i) };
[INFO] [stderr]    |                                       --------------^^^
[INFO] [stderr]    |                                       |
[INFO] [stderr]    |                                       help: replace this with: `i16::to_ne_bytes`
[INFO] [stderr]    |
[INFO] [stderr]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stderr]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `af_packet` (lib) generated 14 warnings (run `cargo fix --lib -p af_packet` to apply 9 suggestions)
[INFO] [stderr] warning: `af_packet` (lib test) generated 14 warnings (14 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/af_packet-632975248800e374)
[INFO] [stderr]    Doc-tests af_packet
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "41c8b08b32d065506831cf3cea58af75f9d4329298c46c08bae6b32354f3291f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41c8b08b32d065506831cf3cea58af75f9d4329298c46c08bae6b32354f3291f", kill_on_drop: false }`
[INFO] [stdout] 41c8b08b32d065506831cf3cea58af75f9d4329298c46c08bae6b32354f3291f
