[INFO] fetching crate af_packet 0.3.1... [INFO] testing af_packet-0.3.1 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate af_packet 0.3.1 into /workspace/builds/worker-22/source [INFO] validating manifest of crates.io crate af_packet 0.3.1 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-22/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d4b8a0903f4a0e9bb574992710964f567a9979f8be3a9007faef9fdf4de54d2 [INFO] running `Command { std: "docker" "start" "-a" "9d4b8a0903f4a0e9bb574992710964f567a9979f8be3a9007faef9fdf4de54d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d4b8a0903f4a0e9bb574992710964f567a9979f8be3a9007faef9fdf4de54d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d4b8a0903f4a0e9bb574992710964f567a9979f8be3a9007faef9fdf4de54d2", kill_on_drop: false }` [INFO] [stdout] 9d4b8a0903f4a0e9bb574992710964f567a9979f8be3a9007faef9fdf4de54d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06340681fdae539078ddcb7713a8e180a123f351ea2de0ebe1395d2c36e0f3e4 [INFO] running `Command { std: "docker" "start" "-a" "06340681fdae539078ddcb7713a8e180a123f351ea2de0ebe1395d2c36e0f3e4", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling nom v5.1.2 [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: `#[warn(unused_attributes)]` on by default [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] [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 is never read: `packets` [INFO] [stdout] --> src/rx.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | packets: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rx.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> src/tpacket3.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | version: 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] --> src/tpacket3.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset_to_priv` [INFO] [stdout] --> src/tpacket3.rs:51:5 [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] --> src/tpacket3.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `block_status` [INFO] [stdout] --> src/tpacket3.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | block_status: u32, [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] --> src/tpacket3.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset_to_first_pkt` [INFO] [stdout] --> src/tpacket3.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | offset_to_first_pkt: u32, [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] --> src/tpacket3.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blk_len` [INFO] [stdout] --> src/tpacket3.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | blk_len: u32, [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] --> src/tpacket3.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `seq_num` [INFO] [stdout] --> src/tpacket3.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | seq_num: u64, [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] --> src/tpacket3.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ts_first_pkt` [INFO] [stdout] --> src/tpacket3.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | ts_first_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] --> src/tpacket3.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ts_last_pkt` [INFO] [stdout] --> src/tpacket3.rs:63:5 [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] --> src/tpacket3.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ts_sec` [INFO] [stdout] --> src/tpacket3.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | ts_sec: 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] --> src/tpacket3.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ts_nsec` [INFO] [stdout] --> src/tpacket3.rs:69:5 [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] --> src/tpacket3.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tp_padding` [INFO] [stdout] --> src/tpacket3.rs:93:5 [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] --> src/tpacket3.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.41s [INFO] running `Command { std: "docker" "inspect" "06340681fdae539078ddcb7713a8e180a123f351ea2de0ebe1395d2c36e0f3e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06340681fdae539078ddcb7713a8e180a123f351ea2de0ebe1395d2c36e0f3e4", kill_on_drop: false }` [INFO] [stdout] 06340681fdae539078ddcb7713a8e180a123f351ea2de0ebe1395d2c36e0f3e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44567b1909e63f0b86617d88fb0cf65155f7243e6b3c52efdcec838eb5967b0b [INFO] running `Command { std: "docker" "start" "-a" "44567b1909e63f0b86617d88fb0cf65155f7243e6b3c52efdcec838eb5967b0b", kill_on_drop: false }` [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: `#[warn(unused_attributes)]` on by default [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] [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 is never read: `packets` [INFO] [stdout] --> src/rx.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | packets: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rx.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> src/tpacket3.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | version: 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] --> src/tpacket3.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset_to_priv` [INFO] [stdout] --> src/tpacket3.rs:51:5 [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] --> src/tpacket3.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `block_status` [INFO] [stdout] --> src/tpacket3.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | block_status: u32, [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] --> src/tpacket3.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset_to_first_pkt` [INFO] [stdout] --> src/tpacket3.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | offset_to_first_pkt: u32, [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] --> src/tpacket3.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blk_len` [INFO] [stdout] --> src/tpacket3.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | blk_len: u32, [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] --> src/tpacket3.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `seq_num` [INFO] [stdout] --> src/tpacket3.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | seq_num: u64, [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] --> src/tpacket3.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ts_first_pkt` [INFO] [stdout] --> src/tpacket3.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | ts_first_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] --> src/tpacket3.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ts_last_pkt` [INFO] [stdout] --> src/tpacket3.rs:63:5 [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] --> src/tpacket3.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling af_packet v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `ts_sec` [INFO] [stdout] --> src/tpacket3.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | ts_sec: 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] --> src/tpacket3.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ts_nsec` [INFO] [stdout] --> src/tpacket3.rs:69:5 [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] --> src/tpacket3.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tp_padding` [INFO] [stdout] --> src/tpacket3.rs:93:5 [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] --> src/tpacket3.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [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: `#[warn(unused_attributes)]` on by default [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] [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 is never read: `packets` [INFO] [stdout] --> src/rx.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | packets: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rx.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> src/tpacket3.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | version: 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] --> src/tpacket3.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset_to_priv` [INFO] [stdout] --> src/tpacket3.rs:51:5 [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] --> src/tpacket3.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `block_status` [INFO] [stdout] --> src/tpacket3.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | block_status: u32, [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] --> src/tpacket3.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset_to_first_pkt` [INFO] [stdout] --> src/tpacket3.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | offset_to_first_pkt: u32, [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] --> src/tpacket3.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `blk_len` [INFO] [stdout] --> src/tpacket3.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | blk_len: u32, [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] --> src/tpacket3.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `seq_num` [INFO] [stdout] --> src/tpacket3.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | seq_num: u64, [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] --> src/tpacket3.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ts_first_pkt` [INFO] [stdout] --> src/tpacket3.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | ts_first_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] --> src/tpacket3.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ts_last_pkt` [INFO] [stdout] --> src/tpacket3.rs:63:5 [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] --> src/tpacket3.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ts_sec` [INFO] [stdout] --> src/tpacket3.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | ts_sec: 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] --> src/tpacket3.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ts_nsec` [INFO] [stdout] --> src/tpacket3.rs:69:5 [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] --> src/tpacket3.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tp_padding` [INFO] [stdout] --> src/tpacket3.rs:93:5 [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] --> src/tpacket3.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "44567b1909e63f0b86617d88fb0cf65155f7243e6b3c52efdcec838eb5967b0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44567b1909e63f0b86617d88fb0cf65155f7243e6b3c52efdcec838eb5967b0b", kill_on_drop: false }` [INFO] [stdout] 44567b1909e63f0b86617d88fb0cf65155f7243e6b3c52efdcec838eb5967b0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d96c0b791f33071aecf790ccff85203e474a8fbf35219c5edf8736d7eb1439b3 [INFO] running `Command { std: "docker" "start" "-a" "d96c0b791f33071aecf790ccff85203e474a8fbf35219c5edf8736d7eb1439b3", kill_on_drop: false }` [INFO] [stderr] warning: unused attribute `inline` [INFO] [stderr] --> src/tpacket3.rs:110:1 [INFO] [stderr] | [INFO] [stderr] 110 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stderr] --> src/tpacket3.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | named!( [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused attribute `inline` [INFO] [stderr] --> src/tpacket3.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stderr] --> src/tpacket3.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | named!( [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused attribute `inline` [INFO] [stderr] --> src/tpacket3.rs:141:1 [INFO] [stderr] | [INFO] [stderr] 141 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stderr] --> src/tpacket3.rs:142:1 [INFO] [stderr] | [INFO] [stderr] 142 | named!( [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused attribute `inline` [INFO] [stderr] --> src/tpacket3.rs:147:1 [INFO] [stderr] | [INFO] [stderr] 147 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stderr] --> src/tpacket3.rs:148:1 [INFO] [stderr] | [INFO] [stderr] 148 | named!( [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused attribute `inline` [INFO] [stderr] --> src/tpacket3.rs:161:1 [INFO] [stderr] | [INFO] [stderr] 161 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stderr] --> src/tpacket3.rs:162:1 [INFO] [stderr] | [INFO] [stderr] 162 | named!( [INFO] [stderr] | ^^^^^ [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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `packets` [INFO] [stderr] --> src/rx.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | packets: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/rx.rs:62:10 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `version` [INFO] [stderr] --> src/tpacket3.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | version: 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] --> src/tpacket3.rs:48:10 [INFO] [stderr] | [INFO] [stderr] 48 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `offset_to_priv` [INFO] [stderr] --> src/tpacket3.rs:51:5 [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] --> src/tpacket3.rs:48:10 [INFO] [stderr] | [INFO] [stderr] 48 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `block_status` [INFO] [stderr] --> src/tpacket3.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | block_status: u32, [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] --> src/tpacket3.rs:55:10 [INFO] [stderr] | [INFO] [stderr] 55 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `offset_to_first_pkt` [INFO] [stderr] --> src/tpacket3.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | offset_to_first_pkt: u32, [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] --> src/tpacket3.rs:55:10 [INFO] [stderr] | [INFO] [stderr] 55 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `blk_len` [INFO] [stderr] --> src/tpacket3.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | blk_len: u32, [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] --> src/tpacket3.rs:55:10 [INFO] [stderr] | [INFO] [stderr] 55 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `seq_num` [INFO] [stderr] --> src/tpacket3.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | seq_num: u64, [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] --> src/tpacket3.rs:55:10 [INFO] [stderr] | [INFO] [stderr] 55 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ts_first_pkt` [INFO] [stderr] --> src/tpacket3.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | ts_first_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] --> src/tpacket3.rs:55:10 [INFO] [stderr] | [INFO] [stderr] 55 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ts_last_pkt` [INFO] [stderr] --> src/tpacket3.rs:63:5 [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] --> src/tpacket3.rs:55:10 [INFO] [stderr] | [INFO] [stderr] 55 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ts_sec` [INFO] [stderr] --> src/tpacket3.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | ts_sec: 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] --> src/tpacket3.rs:66:10 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ts_nsec` [INFO] [stderr] --> src/tpacket3.rs:69:5 [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] --> src/tpacket3.rs:66:10 [INFO] [stderr] | [INFO] [stderr] 66 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `tp_padding` [INFO] [stderr] --> src/tpacket3.rs:93:5 [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] --> src/tpacket3.rs:88:10 [INFO] [stderr] | [INFO] [stderr] 88 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `af_packet` (lib) generated 18 warnings [INFO] [stderr] warning: `af_packet` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/af_packet-52d30d8ac1f4d6f6) [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] [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" "d96c0b791f33071aecf790ccff85203e474a8fbf35219c5edf8736d7eb1439b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d96c0b791f33071aecf790ccff85203e474a8fbf35219c5edf8736d7eb1439b3", kill_on_drop: false }` [INFO] [stdout] d96c0b791f33071aecf790ccff85203e474a8fbf35219c5edf8736d7eb1439b3