[INFO] fetching crate af_packet 0.3.1... [INFO] testing af_packet-0.3.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate af_packet 0.3.1 into /workspace/builds/worker-16/source [INFO] validating manifest of crates.io crate af_packet 0.3.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-16/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d17b83c8ba2fdb7499c8dfcea7fbf743f4d9178fa6684ac95f07cd4862c649f0 [INFO] running `Command { std: "docker" "start" "-a" "d17b83c8ba2fdb7499c8dfcea7fbf743f4d9178fa6684ac95f07cd4862c649f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d17b83c8ba2fdb7499c8dfcea7fbf743f4d9178fa6684ac95f07cd4862c649f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d17b83c8ba2fdb7499c8dfcea7fbf743f4d9178fa6684ac95f07cd4862c649f0", kill_on_drop: false }` [INFO] [stdout] d17b83c8ba2fdb7499c8dfcea7fbf743f4d9178fa6684ac95f07cd4862c649f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d1d5a3a429301f44ab0d91cf4f4628172f58eaa98af42d40df027419d457bd6 [INFO] running `Command { std: "docker" "start" "-a" "8d1d5a3a429301f44ab0d91cf4f4628172f58eaa98af42d40df027419d457bd6", kill_on_drop: false }` [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [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 6.95s [INFO] running `Command { std: "docker" "inspect" "8d1d5a3a429301f44ab0d91cf4f4628172f58eaa98af42d40df027419d457bd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d1d5a3a429301f44ab0d91cf4f4628172f58eaa98af42d40df027419d457bd6", kill_on_drop: false }` [INFO] [stdout] 8d1d5a3a429301f44ab0d91cf4f4628172f58eaa98af42d40df027419d457bd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 683011bab5ec157fde1233cac2e2af6d3614cb1b57fabb8a2e5231226ca1b19a [INFO] running `Command { std: "docker" "start" "-a" "683011bab5ec157fde1233cac2e2af6d3614cb1b57fabb8a2e5231226ca1b19a", 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] [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] 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 test [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/af_packet-1617f56e1d4e0106) [INFO] running `Command { std: "docker" "inspect" "683011bab5ec157fde1233cac2e2af6d3614cb1b57fabb8a2e5231226ca1b19a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "683011bab5ec157fde1233cac2e2af6d3614cb1b57fabb8a2e5231226ca1b19a", kill_on_drop: false }` [INFO] [stdout] 683011bab5ec157fde1233cac2e2af6d3614cb1b57fabb8a2e5231226ca1b19a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 87d61751c76100e70c4c70887e29ab4a186a628af804f8c1a8a1b481f6c96d13 [INFO] running `Command { std: "docker" "start" "-a" "87d61751c76100e70c4c70887e29ab4a186a628af804f8c1a8a1b481f6c96d13", 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.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/af_packet-1617f56e1d4e0106) [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" "87d61751c76100e70c4c70887e29ab4a186a628af804f8c1a8a1b481f6c96d13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87d61751c76100e70c4c70887e29ab4a186a628af804f8c1a8a1b481f6c96d13", kill_on_drop: false }` [INFO] [stdout] 87d61751c76100e70c4c70887e29ab4a186a628af804f8c1a8a1b481f6c96d13