[INFO] fetching crate af_packet 0.3.1... [INFO] building af_packet-0.3.1 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate af_packet 0.3.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate af_packet 0.3.1 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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: v7.1.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7f39a1aedcfe8a5b1f8808a77b25ed2b1c2d033faea8d960f968ef806bfa12a [INFO] running `Command { std: "docker" "start" "-a" "a7f39a1aedcfe8a5b1f8808a77b25ed2b1c2d033faea8d960f968ef806bfa12a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7f39a1aedcfe8a5b1f8808a77b25ed2b1c2d033faea8d960f968ef806bfa12a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7f39a1aedcfe8a5b1f8808a77b25ed2b1c2d033faea8d960f968ef806bfa12a", kill_on_drop: false }` [INFO] [stdout] a7f39a1aedcfe8a5b1f8808a77b25ed2b1c2d033faea8d960f968ef806bfa12a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9aedfc7dcfacd0ab36f0afafe3080da8f7b90fc446ee64cbc6a6080c61e31142 [INFO] running `Command { std: "docker" "start" "-a" "9aedfc7dcfacd0ab36f0afafe3080da8f7b90fc446ee64cbc6a6080c61e31142", 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 static_assertions v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling af_packet v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | named!( [INFO] [stdout] | ^^^^^ [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)]` 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>, [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)]` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.21s [INFO] running `Command { std: "docker" "inspect" "9aedfc7dcfacd0ab36f0afafe3080da8f7b90fc446ee64cbc6a6080c61e31142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aedfc7dcfacd0ab36f0afafe3080da8f7b90fc446ee64cbc6a6080c61e31142", kill_on_drop: false }` [INFO] [stdout] 9aedfc7dcfacd0ab36f0afafe3080da8f7b90fc446ee64cbc6a6080c61e31142 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fde2328f2e7812ff1dd5fe91e0738c43935344a110539813da62286805a9d195 [INFO] running `Command { std: "docker" "start" "-a" "fde2328f2e7812ff1dd5fe91e0738c43935344a110539813da62286805a9d195", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | named!( [INFO] [stdout] | ^^^^^ [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)]` 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>, [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)]` 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] [stderr] Compiling af_packet v0.3.1 (/opt/rustwide/workdir) [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: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | named!( [INFO] [stdout] | ^^^^^ [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)]` 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>, [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)]` 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "fde2328f2e7812ff1dd5fe91e0738c43935344a110539813da62286805a9d195", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fde2328f2e7812ff1dd5fe91e0738c43935344a110539813da62286805a9d195", kill_on_drop: false }` [INFO] [stdout] fde2328f2e7812ff1dd5fe91e0738c43935344a110539813da62286805a9d195