[INFO] fetching crate rawsock 0.3.0...
[INFO] building rawsock-0.3.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] extracting crate rawsock 0.3.0 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate rawsock 0.3.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate rawsock 0.3.0
[INFO] tweaked toml for crates.io crate rawsock 0.3.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rawsock 0.3.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 21 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (available: v2.9.4)
[INFO] [stderr]       Adding crossbeam-utils v0.6.6 (available: v0.8.21)
[INFO] [stderr]       Adding errno v0.2.8 (available: v0.3.14)
[INFO] [stderr]       Adding time v0.1.45 (available: v0.3.44)
[INFO] [stderr]       Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 775f64cd8bf080158f9ab36ef6f4a3536791cbc0f22e1ce7bf5a8dbfbb3d6d08
[INFO] running `Command { std: "docker" "start" "-a" "775f64cd8bf080158f9ab36ef6f4a3536791cbc0f22e1ce7bf5a8dbfbb3d6d08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "775f64cd8bf080158f9ab36ef6f4a3536791cbc0f22e1ce7bf5a8dbfbb3d6d08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "775f64cd8bf080158f9ab36ef6f4a3536791cbc0f22e1ce7bf5a8dbfbb3d6d08", kill_on_drop: false }`
[INFO] [stdout] 775f64cd8bf080158f9ab36ef6f4a3536791cbc0f22e1ce7bf5a8dbfbb3d6d08
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 96c374b0ca6c154f7ff96b3f9bee127ff926c48aca83994ef8bc6c18c74a252d
[INFO] running `Command { std: "docker" "start" "-a" "96c374b0ca6c154f7ff96b3f9bee127ff926c48aca83994ef8bc6c18c74a252d", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling errno v0.2.8
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling dlopen_derive v0.1.4
[INFO] [stderr]    Compiling dlopen v0.1.8
[INFO] [stderr]    Compiling rawsock v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]  --> src/pfring/dll/constants.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | /// Equivalent of pfring macros with constants.
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]   |
[INFO] [stdout]   = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]   = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]  --> src/pcap/interface.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::mem::{uninitialized, transmute};
[INFO] [stdout]   |                ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]  --> src/wpcap/interface.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::mem::{uninitialized, transmute};
[INFO] [stdout]   |                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]  --> src/pcap_common/structs.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::mem::uninitialized;
[INFO] [stdout]   |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/wpcap/interface.rs:76:24
[INFO] [stdout]    |
[INFO] [stdout] 76 |             ts: unsafe{uninitialized()},
[INFO] [stdout]    |                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/pcap_common/structs.rs:39:28
[INFO] [stdout]    |
[INFO] [stdout] 39 |             buffer: unsafe{uninitialized()}
[INFO] [stdout]    |                            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/pcap/interface.rs:74:52
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut header: PCapPacketHeader = unsafe {uninitialized()};
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/pcap/interface.rs:93:42
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let mut stats: PCapStat = unsafe{uninitialized()};
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/wpcap/interface.rs:97:52
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let mut header: PCapPacketHeader = unsafe {uninitialized()};
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]  --> src/pfring/interface.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::mem::uninitialized;
[INFO] [stdout]   |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/pfring/interface.rs:63:40
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mut buf: * mut u8 = unsafe{uninitialized()};
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/pfring/interface.rs:64:53
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let mut header: PFRingPacketHeader = unsafe{uninitialized()};
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/pfring/interface.rs:83:43
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let mut stats:PFRingStat = unsafe{uninitialized()};
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/wpcap/interface.rs:124:42
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let mut stats: PCapStat = unsafe{uninitialized()};
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pcap/library.rs:36:63
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn open_interface<'a>(&'a self, name: &str) -> Result<Box<traits::DynamicInterface<'a> +'a>, Error> {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn open_interface<'a>(&'a self, name: &str) -> Result<Box<dyn traits::DynamicInterface<'a> +'a>, Error> {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/traits.rs:103:67
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<DynamicInterface<'a> + 'a>, Error>;
[INFO] [stdout]     |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<dyn DynamicInterface<'a> + 'a>, Error>;
[INFO] [stdout]     |                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pcap/library.rs:59:67
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<traits::DynamicInterface<'a> + 'a>, Error> {
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<dyn traits::DynamicInterface<'a> + 'a>, Error> {
[INFO] [stdout]    |                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/wpcap/library.rs:35:63
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn open_interface<'a>(&'a self, name: &str) -> Result<Box<traits::DynamicInterface<'a> + 'a>, Error> {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn open_interface<'a>(&'a self, name: &str) -> Result<Box<dyn traits::DynamicInterface<'a> + 'a>, Error> {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/wpcap/library.rs:58:67
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<traits::DynamicInterface<'a> +'a>, Error> {
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<dyn traits::DynamicInterface<'a> +'a>, Error> {
[INFO] [stdout]    |                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pfring/library.rs:32:63
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn open_interface<'a>(&'a self, name: &str) -> Result<Box<traits::DynamicInterface<'a> +'a>, Error> {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn open_interface<'a>(&'a self, name: &str) -> Result<Box<dyn traits::DynamicInterface<'a> +'a>, Error> {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pfring/library.rs:39:67
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<traits::DynamicInterface<'a> + 'a>, Error> {
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<dyn traits::DynamicInterface<'a> + 'a>, Error> {
[INFO] [stdout]    |                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pcap/library.rs:38:54
[INFO] [stdout]    |
[INFO] [stdout] 38 |             Ok(interf) => Ok(Box::new(interf) as Box<traits::DynamicInterface>),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 38 |             Ok(interf) => Ok(Box::new(interf) as Box<dyn traits::DynamicInterface>),
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pcap/library.rs:61:54
[INFO] [stdout]    |
[INFO] [stdout] 61 |             Ok(interf) => Ok(Arc::new(interf) as Arc<traits::DynamicInterface>),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 61 |             Ok(interf) => Ok(Arc::new(interf) as Arc<dyn traits::DynamicInterface>),
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pfring/library.rs:34:54
[INFO] [stdout]    |
[INFO] [stdout] 34 |             Ok(interf) => Ok(Box::new(interf) as Box<traits::DynamicInterface>),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 34 |             Ok(interf) => Ok(Box::new(interf) as Box<dyn traits::DynamicInterface>),
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pfring/library.rs:41:54
[INFO] [stdout]    |
[INFO] [stdout] 41 |             Ok(interf) => Ok(Arc::new(interf) as Arc<traits::DynamicInterface>),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 41 |             Ok(interf) => Ok(Arc::new(interf) as Arc<dyn traits::DynamicInterface>),
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/wpcap/library.rs:37:54
[INFO] [stdout]    |
[INFO] [stdout] 37 |             Ok(interf) => Ok(Box::new(interf) as Box<traits::DynamicInterface>),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 37 |             Ok(interf) => Ok(Box::new(interf) as Box<dyn traits::DynamicInterface>),
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/wpcap/library.rs:60:54
[INFO] [stdout]    |
[INFO] [stdout] 60 |             Ok(interf) => Ok(Arc::new(interf) as Arc<traits::DynamicInterface>),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 60 |             Ok(interf) => Ok(Arc::new(interf) as Arc<dyn traits::DynamicInterface>),
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/common/err.rs:30:45
[INFO] [stdout]    |
[INFO] [stdout] 30 |             Error::DllError(ref err) => err.description(),
[INFO] [stdout]    |                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/common/err.rs:31:50
[INFO] [stdout]    |
[INFO] [stdout] 31 |             Error::NullCharacter(ref err) => err.description(),
[INFO] [stdout]    |                                                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[i8; 256]` does not permit being left uninitialized
[INFO] [stdout]   --> src/pcap_common/structs.rs:39:28
[INFO] [stdout]    |
[INFO] [stdout] 39 |             buffer: unsafe{uninitialized()}
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            this code causes undefined behavior when executed
[INFO] [stdout]    |                            help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout]    = note: integers must be initialized
[INFO] [stdout]    = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/common/packet.rs:102:24
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub fn as_borrowed(&self) -> BorrowedPacket {
[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] 102 |     pub fn as_borrowed(&self) -> BorrowedPacket<'_> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pcap/library.rs:68:27
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn open_interface(&self, name: & str) -> Result<Interface, Error>{
[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] 68 |     pub fn open_interface(&self, name: & str) -> Result<Interface<'_>, Error>{
[INFO] [stdout]    |                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pfring/library.rs:77:27
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn open_interface(& self, name: &str) -> Result<Interface, Error> {
[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] 77 |     pub fn open_interface(& self, name: &str) -> Result<Interface<'_>, Error> {
[INFO] [stdout]    |                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pcap/interface.rs:73:16
[INFO] [stdout]    |
[INFO] [stdout] 73 |     fn receive(& mut self) -> Result<BorrowedPacket, Error>{
[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] 73 |     fn receive(& mut self) -> Result<BorrowedPacket<'_>, Error>{
[INFO] [stdout]    |                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pfring/interface.rs:62:16
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn receive(& mut self) -> Result<BorrowedPacket, Error> {
[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] 62 |     fn receive(& mut self) -> Result<BorrowedPacket<'_>, Error> {
[INFO] [stdout]    |                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `*mut u8` does not permit being left uninitialized
[INFO] [stdout]   --> src/pfring/interface.rs:63:40
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mut buf: * mut u8 = unsafe{uninitialized()};
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        this code causes undefined behavior when executed
[INFO] [stdout]    |                                        help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers must be initialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/wpcap/library.rs:68:27
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn open_interface(& self, name: & str) -> Result<Interface, Error>{
[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] 68 |     pub fn open_interface(& self, name: & str) -> Result<Interface<'_>, Error>{
[INFO] [stdout]    |                                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `pcap_common::structs::PCapDirection`, which is not FFI-safe
[INFO] [stdout]   --> src/pcap/dll.rs:78:24
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pcap_setdirection: unsafe extern "C" fn (p: * const PCapHandle, d: PCapDirection) -> c_int,
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/pcap_common/structs.rs:71:1
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub enum PCapDirection {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `pfring::dll::structs::PFRingPacketHeader` does not permit being left uninitialized
[INFO] [stdout]   --> src/pfring/interface.rs:64:53
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let mut header: PFRingPacketHeader = unsafe{uninitialized()};
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                                     |
[INFO] [stdout]    |                                                     this code causes undefined behavior when executed
[INFO] [stdout]    |                                                     help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]   --> src/pfring/dll/structs.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub ts: timeval,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `pfring::dll::structs::PFRingStat` does not permit being left uninitialized
[INFO] [stdout]   --> src/pfring/interface.rs:83:43
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let mut stats:PFRingStat = unsafe{uninitialized()};
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           this code causes undefined behavior when executed
[INFO] [stdout]    |                                           help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]   --> src/pfring/dll/structs.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub recv: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `timeval` does not permit being left uninitialized
[INFO] [stdout]   --> src/wpcap/interface.rs:76:24
[INFO] [stdout]    |
[INFO] [stdout] 76 |             ts: unsafe{uninitialized()},
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        this code causes undefined behavior when executed
[INFO] [stdout]    |                        help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout]    = note: integers must be initialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/wpcap/interface.rs:96:20
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn receive<'b>(& mut self) -> Result<BorrowedPacket, Error>{
[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] 96 |     fn receive<'b>(& mut self) -> Result<BorrowedPacket<'_>, Error>{
[INFO] [stdout]    |                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `pcap_common::structs::PCapPacketHeader` does not permit being left uninitialized
[INFO] [stdout]   --> src/wpcap/interface.rs:97:52
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let mut header: PCapPacketHeader = unsafe {uninitialized()};
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                                    |
[INFO] [stdout]    |                                                    this code causes undefined behavior when executed
[INFO] [stdout]    |                                                    help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]   --> src/pcap_common/structs.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub ts: timeval,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `wpcap::structs::PCapStat` does not permit being left uninitialized
[INFO] [stdout]    --> src/wpcap/interface.rs:124:42
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let mut stats: PCapStat = unsafe{uninitialized()};
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                          |
[INFO] [stdout]     |                                          this code causes undefined behavior when executed
[INFO] [stdout]     |                                          help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]    --> src/wpcap/structs.rs:6:5
[INFO] [stdout]     |
[INFO] [stdout]   6 |     pub ps_recv: c_uint,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `pcap_common::structs::PCapPacketHeader` does not permit being left uninitialized
[INFO] [stdout]   --> src/pcap/interface.rs:74:52
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut header: PCapPacketHeader = unsafe {uninitialized()};
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                                    |
[INFO] [stdout]    |                                                    this code causes undefined behavior when executed
[INFO] [stdout]    |                                                    help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]   --> src/pcap_common/structs.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub ts: timeval,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `pcap::structs::PCapStat` does not permit being left uninitialized
[INFO] [stdout]   --> src/pcap/interface.rs:93:42
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let mut stats: PCapStat = unsafe{uninitialized()};
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          this code causes undefined behavior when executed
[INFO] [stdout]    |                                          help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]   --> src/pcap/structs.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout]  6 |     pub ps_recv: c_uint,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.76s
[INFO] running `Command { std: "docker" "inspect" "96c374b0ca6c154f7ff96b3f9bee127ff926c48aca83994ef8bc6c18c74a252d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96c374b0ca6c154f7ff96b3f9bee127ff926c48aca83994ef8bc6c18c74a252d", kill_on_drop: false }`
[INFO] [stdout] 96c374b0ca6c154f7ff96b3f9bee127ff926c48aca83994ef8bc6c18c74a252d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] acef95867d6c278c445f666f0525bf4112ee4ea522c3237581f53b2430c9d05e
[INFO] running `Command { std: "docker" "start" "-a" "acef95867d6c278c445f666f0525bf4112ee4ea522c3237581f53b2430c9d05e", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]  --> src/pfring/dll/constants.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | /// Equivalent of pfring macros with constants.
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]   |
[INFO] [stdout]   = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]   = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]  --> src/pcap/interface.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::mem::{uninitialized, transmute};
[INFO] [stdout]   |                ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]  --> src/wpcap/interface.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::mem::{uninitialized, transmute};
[INFO] [stdout]   |                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]  --> src/pcap_common/structs.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::mem::uninitialized;
[INFO] [stdout]   |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/wpcap/interface.rs:76:24
[INFO] [stdout]    |
[INFO] [stdout] 76 |             ts: unsafe{uninitialized()},
[INFO] [stdout]    |                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/pcap_common/structs.rs:39:28
[INFO] [stdout]    |
[INFO] [stdout] 39 |             buffer: unsafe{uninitialized()}
[INFO] [stdout]    |                            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/pcap/interface.rs:74:52
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut header: PCapPacketHeader = unsafe {uninitialized()};
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/pcap/interface.rs:93:42
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let mut stats: PCapStat = unsafe{uninitialized()};
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/wpcap/interface.rs:97:52
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let mut header: PCapPacketHeader = unsafe {uninitialized()};
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]  --> src/pfring/interface.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::mem::uninitialized;
[INFO] [stdout]   |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/pfring/interface.rs:63:40
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mut buf: * mut u8 = unsafe{uninitialized()};
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/pfring/interface.rs:64:53
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let mut header: PFRingPacketHeader = unsafe{uninitialized()};
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/pfring/interface.rs:83:43
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let mut stats:PFRingStat = unsafe{uninitialized()};
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/wpcap/interface.rs:124:42
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let mut stats: PCapStat = unsafe{uninitialized()};
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pcap/library.rs:36:63
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn open_interface<'a>(&'a self, name: &str) -> Result<Box<traits::DynamicInterface<'a> +'a>, Error> {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn open_interface<'a>(&'a self, name: &str) -> Result<Box<dyn traits::DynamicInterface<'a> +'a>, Error> {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/traits.rs:103:67
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<DynamicInterface<'a> + 'a>, Error>;
[INFO] [stdout]     |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<dyn DynamicInterface<'a> + 'a>, Error>;
[INFO] [stdout]     |                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pcap/library.rs:59:67
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<traits::DynamicInterface<'a> + 'a>, Error> {
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<dyn traits::DynamicInterface<'a> + 'a>, Error> {
[INFO] [stdout]    |                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/wpcap/library.rs:35:63
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn open_interface<'a>(&'a self, name: &str) -> Result<Box<traits::DynamicInterface<'a> + 'a>, Error> {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn open_interface<'a>(&'a self, name: &str) -> Result<Box<dyn traits::DynamicInterface<'a> + 'a>, Error> {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/wpcap/library.rs:58:67
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<traits::DynamicInterface<'a> +'a>, Error> {
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<dyn traits::DynamicInterface<'a> +'a>, Error> {
[INFO] [stdout]    |                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pfring/library.rs:32:63
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn open_interface<'a>(&'a self, name: &str) -> Result<Box<traits::DynamicInterface<'a> +'a>, Error> {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn open_interface<'a>(&'a self, name: &str) -> Result<Box<dyn traits::DynamicInterface<'a> +'a>, Error> {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pfring/library.rs:39:67
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<traits::DynamicInterface<'a> + 'a>, Error> {
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<dyn traits::DynamicInterface<'a> + 'a>, Error> {
[INFO] [stdout]    |                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pcap/library.rs:38:54
[INFO] [stdout]    |
[INFO] [stdout] 38 |             Ok(interf) => Ok(Box::new(interf) as Box<traits::DynamicInterface>),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 38 |             Ok(interf) => Ok(Box::new(interf) as Box<dyn traits::DynamicInterface>),
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pcap/library.rs:61:54
[INFO] [stdout]    |
[INFO] [stdout] 61 |             Ok(interf) => Ok(Arc::new(interf) as Arc<traits::DynamicInterface>),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 61 |             Ok(interf) => Ok(Arc::new(interf) as Arc<dyn traits::DynamicInterface>),
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pfring/library.rs:34:54
[INFO] [stdout]    |
[INFO] [stdout] 34 |             Ok(interf) => Ok(Box::new(interf) as Box<traits::DynamicInterface>),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 34 |             Ok(interf) => Ok(Box::new(interf) as Box<dyn traits::DynamicInterface>),
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pfring/library.rs:41:54
[INFO] [stdout]    |
[INFO] [stdout] 41 |             Ok(interf) => Ok(Arc::new(interf) as Arc<traits::DynamicInterface>),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 41 |             Ok(interf) => Ok(Arc::new(interf) as Arc<dyn traits::DynamicInterface>),
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/wpcap/library.rs:37:54
[INFO] [stdout]    |
[INFO] [stdout] 37 |             Ok(interf) => Ok(Box::new(interf) as Box<traits::DynamicInterface>),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 37 |             Ok(interf) => Ok(Box::new(interf) as Box<dyn traits::DynamicInterface>),
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/wpcap/library.rs:60:54
[INFO] [stdout]    |
[INFO] [stdout] 60 |             Ok(interf) => Ok(Arc::new(interf) as Arc<traits::DynamicInterface>),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 60 |             Ok(interf) => Ok(Arc::new(interf) as Arc<dyn traits::DynamicInterface>),
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/common/err.rs:30:45
[INFO] [stdout]    |
[INFO] [stdout] 30 |             Error::DllError(ref err) => err.description(),
[INFO] [stdout]    |                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/common/err.rs:31:50
[INFO] [stdout]    |
[INFO] [stdout] 31 |             Error::NullCharacter(ref err) => err.description(),
[INFO] [stdout]    |                                                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[i8; 256]` does not permit being left uninitialized
[INFO] [stdout]   --> src/pcap_common/structs.rs:39:28
[INFO] [stdout]    |
[INFO] [stdout] 39 |             buffer: unsafe{uninitialized()}
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            this code causes undefined behavior when executed
[INFO] [stdout]    |                            help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout]    = note: integers must be initialized
[INFO] [stdout]    = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/common/packet.rs:102:24
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub fn as_borrowed(&self) -> BorrowedPacket {
[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] 102 |     pub fn as_borrowed(&self) -> BorrowedPacket<'_> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pcap/library.rs:68:27
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn open_interface(&self, name: & str) -> Result<Interface, Error>{
[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] 68 |     pub fn open_interface(&self, name: & str) -> Result<Interface<'_>, Error>{
[INFO] [stdout]    |                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pfring/library.rs:77:27
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn open_interface(& self, name: &str) -> Result<Interface, Error> {
[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] 77 |     pub fn open_interface(& self, name: &str) -> Result<Interface<'_>, Error> {
[INFO] [stdout]    |                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pcap/interface.rs:73:16
[INFO] [stdout]    |
[INFO] [stdout] 73 |     fn receive(& mut self) -> Result<BorrowedPacket, Error>{
[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] 73 |     fn receive(& mut self) -> Result<BorrowedPacket<'_>, Error>{
[INFO] [stdout]    |                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pfring/interface.rs:62:16
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn receive(& mut self) -> Result<BorrowedPacket, Error> {
[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] 62 |     fn receive(& mut self) -> Result<BorrowedPacket<'_>, Error> {
[INFO] [stdout]    |                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `*mut u8` does not permit being left uninitialized
[INFO] [stdout]   --> src/pfring/interface.rs:63:40
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mut buf: * mut u8 = unsafe{uninitialized()};
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        this code causes undefined behavior when executed
[INFO] [stdout]    |                                        help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers must be initialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/wpcap/library.rs:68:27
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn open_interface(& self, name: & str) -> Result<Interface, Error>{
[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] 68 |     pub fn open_interface(& self, name: & str) -> Result<Interface<'_>, Error>{
[INFO] [stdout]    |                                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `pcap_common::structs::PCapDirection`, which is not FFI-safe
[INFO] [stdout]   --> src/pcap/dll.rs:78:24
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pcap_setdirection: unsafe extern "C" fn (p: * const PCapHandle, d: PCapDirection) -> c_int,
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/pcap_common/structs.rs:71:1
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub enum PCapDirection {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `pfring::dll::structs::PFRingPacketHeader` does not permit being left uninitialized
[INFO] [stdout]   --> src/pfring/interface.rs:64:53
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let mut header: PFRingPacketHeader = unsafe{uninitialized()};
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                                     |
[INFO] [stdout]    |                                                     this code causes undefined behavior when executed
[INFO] [stdout]    |                                                     help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]   --> src/pfring/dll/structs.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub ts: timeval,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `pfring::dll::structs::PFRingStat` does not permit being left uninitialized
[INFO] [stdout]   --> src/pfring/interface.rs:83:43
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let mut stats:PFRingStat = unsafe{uninitialized()};
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           this code causes undefined behavior when executed
[INFO] [stdout]    |                                           help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]   --> src/pfring/dll/structs.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub recv: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `timeval` does not permit being left uninitialized
[INFO] [stdout]   --> src/wpcap/interface.rs:76:24
[INFO] [stdout]    |
[INFO] [stdout] 76 |             ts: unsafe{uninitialized()},
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        this code causes undefined behavior when executed
[INFO] [stdout]    |                        help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout]    = note: integers must be initialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/wpcap/interface.rs:96:20
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn receive<'b>(& mut self) -> Result<BorrowedPacket, Error>{
[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] 96 |     fn receive<'b>(& mut self) -> Result<BorrowedPacket<'_>, Error>{
[INFO] [stdout]    |                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `pcap_common::structs::PCapPacketHeader` does not permit being left uninitialized
[INFO] [stdout]   --> src/wpcap/interface.rs:97:52
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let mut header: PCapPacketHeader = unsafe {uninitialized()};
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                                    |
[INFO] [stdout]    |                                                    this code causes undefined behavior when executed
[INFO] [stdout]    |                                                    help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]   --> src/pcap_common/structs.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub ts: timeval,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `wpcap::structs::PCapStat` does not permit being left uninitialized
[INFO] [stdout]    --> src/wpcap/interface.rs:124:42
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let mut stats: PCapStat = unsafe{uninitialized()};
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                          |
[INFO] [stdout]     |                                          this code causes undefined behavior when executed
[INFO] [stdout]     |                                          help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]    --> src/wpcap/structs.rs:6:5
[INFO] [stdout]     |
[INFO] [stdout]   6 |     pub ps_recv: c_uint,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `pcap_common::structs::PCapPacketHeader` does not permit being left uninitialized
[INFO] [stdout]   --> src/pcap/interface.rs:74:52
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut header: PCapPacketHeader = unsafe {uninitialized()};
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                                    |
[INFO] [stdout]    |                                                    this code causes undefined behavior when executed
[INFO] [stdout]    |                                                    help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]   --> src/pcap_common/structs.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub ts: timeval,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `pcap::structs::PCapStat` does not permit being left uninitialized
[INFO] [stdout]   --> src/pcap/interface.rs:93:42
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let mut stats: PCapStat = unsafe{uninitialized()};
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          this code causes undefined behavior when executed
[INFO] [stdout]    |                                          help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]   --> src/pcap/structs.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout]  6 |     pub ps_recv: c_uint,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rawsock v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]  --> src/pfring/dll/constants.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | /// Equivalent of pfring macros with constants.
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]   |
[INFO] [stdout]   = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout]   = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]  --> src/pcap_common/structs.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::mem::uninitialized;
[INFO] [stdout]   |               ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/pcap_common/structs.rs:39:28
[INFO] [stdout]    |
[INFO] [stdout] 39 |             buffer: unsafe{uninitialized()}
[INFO] [stdout]    |                            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]  --> src/pfring/interface.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::mem::uninitialized;
[INFO] [stdout]   |               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/pfring/interface.rs:63:40
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mut buf: * mut u8 = unsafe{uninitialized()};
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/pfring/interface.rs:64:53
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let mut header: PFRingPacketHeader = unsafe{uninitialized()};
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/pfring/interface.rs:83:43
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let mut stats:PFRingStat = unsafe{uninitialized()};
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]  --> src/wpcap/interface.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::mem::{uninitialized, transmute};
[INFO] [stdout]   |                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/wpcap/interface.rs:76:24
[INFO] [stdout]    |
[INFO] [stdout] 76 |             ts: unsafe{uninitialized()},
[INFO] [stdout]    |                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/wpcap/interface.rs:97:52
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let mut header: PCapPacketHeader = unsafe {uninitialized()};
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> src/wpcap/interface.rs:124:42
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let mut stats: PCapStat = unsafe{uninitialized()};
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]  --> src/pcap/interface.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::mem::{uninitialized, transmute};
[INFO] [stdout]   |                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/pcap/interface.rs:74:52
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut header: PCapPacketHeader = unsafe {uninitialized()};
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/pcap/interface.rs:93:42
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let mut stats: PCapStat = unsafe{uninitialized()};
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/traits.rs:103:67
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<DynamicInterface<'a> + 'a>, Error>;
[INFO] [stdout]     |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 103 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<dyn DynamicInterface<'a> + 'a>, Error>;
[INFO] [stdout]     |                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pcap/library.rs:36:63
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn open_interface<'a>(&'a self, name: &str) -> Result<Box<traits::DynamicInterface<'a> +'a>, Error> {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn open_interface<'a>(&'a self, name: &str) -> Result<Box<dyn traits::DynamicInterface<'a> +'a>, Error> {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pcap/library.rs:59:67
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<traits::DynamicInterface<'a> + 'a>, Error> {
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<dyn traits::DynamicInterface<'a> + 'a>, Error> {
[INFO] [stdout]    |                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/wpcap/library.rs:35:63
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn open_interface<'a>(&'a self, name: &str) -> Result<Box<traits::DynamicInterface<'a> + 'a>, Error> {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn open_interface<'a>(&'a self, name: &str) -> Result<Box<dyn traits::DynamicInterface<'a> + 'a>, Error> {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/wpcap/library.rs:58:67
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<traits::DynamicInterface<'a> +'a>, Error> {
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<dyn traits::DynamicInterface<'a> +'a>, Error> {
[INFO] [stdout]    |                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pfring/library.rs:32:63
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn open_interface<'a>(&'a self, name: &str) -> Result<Box<traits::DynamicInterface<'a> +'a>, Error> {
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn open_interface<'a>(&'a self, name: &str) -> Result<Box<dyn traits::DynamicInterface<'a> +'a>, Error> {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pfring/library.rs:39:67
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<traits::DynamicInterface<'a> + 'a>, Error> {
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn open_interface_arc<'a>(&'a self, name: &str) -> Result<Arc<dyn traits::DynamicInterface<'a> + 'a>, Error> {
[INFO] [stdout]    |                                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/wpcap/library.rs:37:54
[INFO] [stdout]    |
[INFO] [stdout] 37 |             Ok(interf) => Ok(Box::new(interf) as Box<traits::DynamicInterface>),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 37 |             Ok(interf) => Ok(Box::new(interf) as Box<dyn traits::DynamicInterface>),
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pcap/library.rs:38:54
[INFO] [stdout]    |
[INFO] [stdout] 38 |             Ok(interf) => Ok(Box::new(interf) as Box<traits::DynamicInterface>),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 38 |             Ok(interf) => Ok(Box::new(interf) as Box<dyn traits::DynamicInterface>),
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pcap/library.rs:61:54
[INFO] [stdout]    |
[INFO] [stdout] 61 |             Ok(interf) => Ok(Arc::new(interf) as Arc<traits::DynamicInterface>),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 61 |             Ok(interf) => Ok(Arc::new(interf) as Arc<dyn traits::DynamicInterface>),
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/wpcap/library.rs:60:54
[INFO] [stdout]    |
[INFO] [stdout] 60 |             Ok(interf) => Ok(Arc::new(interf) as Arc<traits::DynamicInterface>),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 60 |             Ok(interf) => Ok(Arc::new(interf) as Arc<dyn traits::DynamicInterface>),
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pfring/library.rs:34:54
[INFO] [stdout]    |
[INFO] [stdout] 34 |             Ok(interf) => Ok(Box::new(interf) as Box<traits::DynamicInterface>),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 34 |             Ok(interf) => Ok(Box::new(interf) as Box<dyn traits::DynamicInterface>),
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pfring/library.rs:41:54
[INFO] [stdout]    |
[INFO] [stdout] 41 |             Ok(interf) => Ok(Arc::new(interf) as Arc<traits::DynamicInterface>),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 41 |             Ok(interf) => Ok(Arc::new(interf) as Arc<dyn traits::DynamicInterface>),
[INFO] [stdout]    |                                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/common/err.rs:30:45
[INFO] [stdout]    |
[INFO] [stdout] 30 |             Error::DllError(ref err) => err.description(),
[INFO] [stdout]    |                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/common/err.rs:31:50
[INFO] [stdout]    |
[INFO] [stdout] 31 |             Error::NullCharacter(ref err) => err.description(),
[INFO] [stdout]    |                                                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pcap/library.rs:68:27
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn open_interface(&self, name: & str) -> Result<Interface, Error>{
[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] 68 |     pub fn open_interface(&self, name: & str) -> Result<Interface<'_>, Error>{
[INFO] [stdout]    |                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `pcap_common::structs::PCapDirection`, which is not FFI-safe
[INFO] [stdout]   --> src/pcap/dll.rs:78:24
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pcap_setdirection: unsafe extern "C" fn (p: * const PCapHandle, d: PCapDirection) -> c_int,
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] note: the type is defined here
[INFO] [stdout]   --> src/pcap_common/structs.rs:71:1
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub enum PCapDirection {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pcap/interface.rs:73:16
[INFO] [stdout]    |
[INFO] [stdout] 73 |     fn receive(& mut self) -> Result<BorrowedPacket, Error>{
[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] 73 |     fn receive(& mut self) -> Result<BorrowedPacket<'_>, Error>{
[INFO] [stdout]    |                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `pcap_common::structs::PCapPacketHeader` does not permit being left uninitialized
[INFO] [stdout]   --> src/pcap/interface.rs:74:52
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut header: PCapPacketHeader = unsafe {uninitialized()};
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                                    |
[INFO] [stdout]    |                                                    this code causes undefined behavior when executed
[INFO] [stdout]    |                                                    help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]   --> src/pcap_common/structs.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub ts: timeval,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `pcap::structs::PCapStat` does not permit being left uninitialized
[INFO] [stdout]   --> src/pcap/interface.rs:93:42
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let mut stats: PCapStat = unsafe{uninitialized()};
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                          |
[INFO] [stdout]    |                                          this code causes undefined behavior when executed
[INFO] [stdout]    |                                          help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]   --> src/pcap/structs.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout]  6 |     pub ps_recv: c_uint,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `timeval` does not permit being left uninitialized
[INFO] [stdout]   --> src/wpcap/interface.rs:76:24
[INFO] [stdout]    |
[INFO] [stdout] 76 |             ts: unsafe{uninitialized()},
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        this code causes undefined behavior when executed
[INFO] [stdout]    |                        help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout]    = note: integers must be initialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/wpcap/interface.rs:96:20
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn receive<'b>(& mut self) -> Result<BorrowedPacket, Error>{
[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] 96 |     fn receive<'b>(& mut self) -> Result<BorrowedPacket<'_>, Error>{
[INFO] [stdout]    |                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `pcap_common::structs::PCapPacketHeader` does not permit being left uninitialized
[INFO] [stdout]   --> src/wpcap/interface.rs:97:52
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let mut header: PCapPacketHeader = unsafe {uninitialized()};
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                                    |
[INFO] [stdout]    |                                                    this code causes undefined behavior when executed
[INFO] [stdout]    |                                                    help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]   --> src/pcap_common/structs.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub ts: timeval,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `wpcap::structs::PCapStat` does not permit being left uninitialized
[INFO] [stdout]    --> src/wpcap/interface.rs:124:42
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let mut stats: PCapStat = unsafe{uninitialized()};
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^
[INFO] [stdout]     |                                          |
[INFO] [stdout]     |                                          this code causes undefined behavior when executed
[INFO] [stdout]     |                                          help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]     |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]    --> src/wpcap/structs.rs:6:5
[INFO] [stdout]     |
[INFO] [stdout]   6 |     pub ps_recv: c_uint,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/wpcap/library.rs:68:27
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn open_interface(& self, name: & str) -> Result<Interface, Error>{
[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] 68 |     pub fn open_interface(& self, name: & str) -> Result<Interface<'_>, Error>{
[INFO] [stdout]    |                                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/common/packet.rs:102:24
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub fn as_borrowed(&self) -> BorrowedPacket {
[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] 102 |     pub fn as_borrowed(&self) -> BorrowedPacket<'_> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pfring/library.rs:77:27
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn open_interface(& self, name: &str) -> Result<Interface, Error> {
[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] 77 |     pub fn open_interface(& self, name: &str) -> Result<Interface<'_>, Error> {
[INFO] [stdout]    |                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pfring/interface.rs:62:16
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn receive(& mut self) -> Result<BorrowedPacket, Error> {
[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] 62 |     fn receive(& mut self) -> Result<BorrowedPacket<'_>, Error> {
[INFO] [stdout]    |                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `*mut u8` does not permit being left uninitialized
[INFO] [stdout]   --> src/pfring/interface.rs:63:40
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mut buf: * mut u8 = unsafe{uninitialized()};
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        this code causes undefined behavior when executed
[INFO] [stdout]    |                                        help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers must be initialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `pfring::dll::structs::PFRingPacketHeader` does not permit being left uninitialized
[INFO] [stdout]   --> src/pfring/interface.rs:64:53
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let mut header: PFRingPacketHeader = unsafe{uninitialized()};
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                                     |
[INFO] [stdout]    |                                                     this code causes undefined behavior when executed
[INFO] [stdout]    |                                                     help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]   --> src/pfring/dll/structs.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub ts: timeval,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `pfring::dll::structs::PFRingStat` does not permit being left uninitialized
[INFO] [stdout]   --> src/pfring/interface.rs:83:43
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let mut stats:PFRingStat = unsafe{uninitialized()};
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           this code causes undefined behavior when executed
[INFO] [stdout]    |                                           help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout] note: integers must be initialized (in this struct field)
[INFO] [stdout]   --> src/pfring/dll/structs.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub recv: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[i8; 256]` does not permit being left uninitialized
[INFO] [stdout]   --> src/pcap_common/structs.rs:39:28
[INFO] [stdout]    |
[INFO] [stdout] 39 |             buffer: unsafe{uninitialized()}
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            this code causes undefined behavior when executed
[INFO] [stdout]    |                            help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout]    = note: integers must be initialized
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s
[INFO] running `Command { std: "docker" "inspect" "acef95867d6c278c445f666f0525bf4112ee4ea522c3237581f53b2430c9d05e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "acef95867d6c278c445f666f0525bf4112ee4ea522c3237581f53b2430c9d05e", kill_on_drop: false }`
[INFO] [stdout] acef95867d6c278c445f666f0525bf4112ee4ea522c3237581f53b2430c9d05e
