[INFO] fetching crate af_packet 0.3.1... [INFO] checking af_packet-0.3.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate af_packet 0.3.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate af_packet 0.3.1 [INFO] finished tweaking crates.io crate af_packet 0.3.1 [INFO] tweaked toml for crates.io crate af_packet 0.3.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate af_packet 0.3.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding nom v5.1.3 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e7bd2d8fc54051f23eacd979d076aadc6870504911f45ca058ccdcd917bd9d6 [INFO] running `Command { std: "docker" "start" "-a" "0e7bd2d8fc54051f23eacd979d076aadc6870504911f45ca058ccdcd917bd9d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e7bd2d8fc54051f23eacd979d076aadc6870504911f45ca058ccdcd917bd9d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e7bd2d8fc54051f23eacd979d076aadc6870504911f45ca058ccdcd917bd9d6", kill_on_drop: false }` [INFO] [stdout] 0e7bd2d8fc54051f23eacd979d076aadc6870504911f45ca058ccdcd917bd9d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21b2885a84e4bac621b1ba65a5cba1f2ec612bbaf447bee74d94763bd5bb06a9 [INFO] running `Command { std: "docker" "start" "-a" "21b2885a84e4bac621b1ba65a5cba1f2ec612bbaf447bee74d94763bd5bb06a9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking af_packet v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rx.rs:182:29 [INFO] [stdout] | [INFO] [stdout] 182 | if let Some(mut block) = self.get_single_block(i) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `inline` [INFO] [stdout] --> src/tpacket3.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `inline` will be ignored, since it's applied to the macro invocation `named` [INFO] [stdout] --> src/tpacket3.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | named!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `packets` is never read [INFO] [stdout] --> src/rx.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Block<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 64 | block_desc: tpacket3::TpacketBlockDesc, [INFO] [stdout] 65 | packets: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version` and `offset_to_priv` are never read [INFO] [stdout] --> src/tpacket3.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct TpacketBlockDesc { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 50 | version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 51 | offset_to_priv: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TpacketBlockDesc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_status`, `offset_to_first_pkt`, `blk_len`, `seq_num`, `ts_first_pkt`, and `ts_last_pkt` are never read [INFO] [stdout] --> src/tpacket3.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct TpacketBDHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 57 | block_status: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 58 | pub num_pkts: u32, [INFO] [stdout] 59 | offset_to_first_pkt: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | blk_len: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | seq_num: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | ts_first_pkt: TpacketBDTS, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 63 | ts_last_pkt: TpacketBDTS, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TpacketBDHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ts_sec` and `ts_nsec` are never read [INFO] [stdout] --> src/tpacket3.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | struct TpacketBDTS { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 68 | ts_sec: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 69 | ts_nsec: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TpacketBDTS` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tp_padding` is never read [INFO] [stdout] --> src/tpacket3.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct TpacketHdrVariant1 { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | tp_padding: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TpacketHdrVariant1` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rx.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn get_raw_packets(&self) -> Vec { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | pub fn get_raw_packets(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rx.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn get_block(&mut self) -> Block { [INFO] [stdout] | ^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 177 | pub fn get_block(&mut self) -> Block<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/socket.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | let bytes: [u8; 2] = unsafe { mem::transmute(i) }; [INFO] [stdout] | --------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rx.rs:182:29 [INFO] [stdout] | [INFO] [stdout] 182 | if let Some(mut block) = self.get_single_block(i) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `packets` is never read [INFO] [stdout] --> src/rx.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Block<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 64 | block_desc: tpacket3::TpacketBlockDesc, [INFO] [stdout] 65 | packets: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.65s [INFO] [stdout] warning: fields `version` and `offset_to_priv` are never read [INFO] [stdout] --> src/tpacket3.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct TpacketBlockDesc { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 50 | version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 51 | offset_to_priv: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TpacketBlockDesc` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_status`, `offset_to_first_pkt`, `blk_len`, `seq_num`, `ts_first_pkt`, and `ts_last_pkt` are never read [INFO] [stdout] --> src/tpacket3.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct TpacketBDHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 57 | block_status: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 58 | pub num_pkts: u32, [INFO] [stdout] 59 | offset_to_first_pkt: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | blk_len: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | seq_num: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | ts_first_pkt: TpacketBDTS, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 63 | ts_last_pkt: TpacketBDTS, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TpacketBDHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ts_sec` and `ts_nsec` are never read [INFO] [stdout] --> src/tpacket3.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | struct TpacketBDTS { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 68 | ts_sec: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 69 | ts_nsec: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TpacketBDTS` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tp_padding` is never read [INFO] [stdout] --> src/tpacket3.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct TpacketHdrVariant1 { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | tp_padding: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TpacketHdrVariant1` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rx.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn get_raw_packets(&self) -> Vec { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | pub fn get_raw_packets(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rx.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn get_block(&mut self) -> Block { [INFO] [stdout] | ^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 177 | pub fn get_block(&mut self) -> Block<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/socket.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | let bytes: [u8; 2] = unsafe { mem::transmute(i) }; [INFO] [stdout] | --------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "21b2885a84e4bac621b1ba65a5cba1f2ec612bbaf447bee74d94763bd5bb06a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21b2885a84e4bac621b1ba65a5cba1f2ec612bbaf447bee74d94763bd5bb06a9", kill_on_drop: false }` [INFO] [stdout] 21b2885a84e4bac621b1ba65a5cba1f2ec612bbaf447bee74d94763bd5bb06a9