[INFO] fetching crate af_packet 0.3.1... [INFO] testing af_packet-0.3.1 against 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1928c6d904b6593ae201ddd8be14fbda0f67274b236661c32bef2a198c6dde19 [INFO] running `Command { std: "docker" "start" "-a" "1928c6d904b6593ae201ddd8be14fbda0f67274b236661c32bef2a198c6dde19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1928c6d904b6593ae201ddd8be14fbda0f67274b236661c32bef2a198c6dde19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1928c6d904b6593ae201ddd8be14fbda0f67274b236661c32bef2a198c6dde19", kill_on_drop: false }` [INFO] [stdout] 1928c6d904b6593ae201ddd8be14fbda0f67274b236661c32bef2a198c6dde19 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9550438d44527f9c9066a5dac28564e9f9da3d16c39033e6d2b6c1d95c85d5a7 [INFO] running `Command { std: "docker" "start" "-a" "9550438d44527f9c9066a5dac28564e9f9da3d16c39033e6d2b6c1d95c85d5a7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling lexical-core v0.7.6 [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.40s [INFO] running `Command { std: "docker" "inspect" "9550438d44527f9c9066a5dac28564e9f9da3d16c39033e6d2b6c1d95c85d5a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9550438d44527f9c9066a5dac28564e9f9da3d16c39033e6d2b6c1d95c85d5a7", kill_on_drop: false }` [INFO] [stdout] 9550438d44527f9c9066a5dac28564e9f9da3d16c39033e6d2b6c1d95c85d5a7 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7def37cfde72ee8f9f3448546fb27da7d336ce1b888f96cff3a491bb839fb36d [INFO] running `Command { std: "docker" "start" "-a" "7def37cfde72ee8f9f3448546fb27da7d336ce1b888f96cff3a491bb839fb36d", 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] [stderr] Compiling af_packet v0.3.1 (/opt/rustwide/workdir) [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] [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.59s [INFO] running `Command { std: "docker" "inspect" "7def37cfde72ee8f9f3448546fb27da7d336ce1b888f96cff3a491bb839fb36d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7def37cfde72ee8f9f3448546fb27da7d336ce1b888f96cff3a491bb839fb36d", kill_on_drop: false }` [INFO] [stdout] 7def37cfde72ee8f9f3448546fb27da7d336ce1b888f96cff3a491bb839fb36d [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 44d28202d942441ad9e0a202eff26fb7c0a4ed4c33a95f2c95adc19270aa53e1 [INFO] running `Command { std: "docker" "start" "-a" "44d28202d942441ad9e0a202eff26fb7c0a4ed4c33a95f2c95adc19270aa53e1", 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] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/af_packet-ce4f09bec5653860) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests af_packet [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] [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" "44d28202d942441ad9e0a202eff26fb7c0a4ed4c33a95f2c95adc19270aa53e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44d28202d942441ad9e0a202eff26fb7c0a4ed4c33a95f2c95adc19270aa53e1", kill_on_drop: false }` [INFO] [stdout] 44d28202d942441ad9e0a202eff26fb7c0a4ed4c33a95f2c95adc19270aa53e1