[INFO] cloning repository https://github.com/kaegi/netinfo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaegi/netinfo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaegi%2Fnetinfo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaegi%2Fnetinfo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11f7c909bcfe21acbd833a0f86098a996ae94032 [INFO] checking kaegi/netinfo against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaegi%2Fnetinfo" "/workspace/builds/worker-62/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-62/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kaegi/netinfo on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kaegi/netinfo [INFO] finished tweaking git repo https://github.com/kaegi/netinfo [INFO] tweaked toml for git repo https://github.com/kaegi/netinfo written to /workspace/builds/worker-62/source/Cargo.toml [INFO] crate git repo https://github.com/kaegi/netinfo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 630e3ab6901f1266af54763a5db75d1a68c2c39281b207680eadf9061028dc43 [INFO] running `Command { std: "docker" "start" "-a" "630e3ab6901f1266af54763a5db75d1a68c2c39281b207680eadf9061028dc43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "630e3ab6901f1266af54763a5db75d1a68c2c39281b207680eadf9061028dc43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "630e3ab6901f1266af54763a5db75d1a68c2c39281b207680eadf9061028dc43", kill_on_drop: false }` [INFO] [stdout] 630e3ab6901f1266af54763a5db75d1a68c2c39281b207680eadf9061028dc43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac99b5aebed13773df863c2660ac73e9c17ff938e9cfcb4445eae04678e3270d [INFO] running `Command { std: "docker" "start" "-a" "ac99b5aebed13773df863c2660ac73e9c17ff938e9cfcb4445eae04678e3270d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Checking pnet_base v0.21.0 [INFO] [stderr] Checking ipnetwork v0.12.8 [INFO] [stderr] Compiling pnet v0.21.0 [INFO] [stderr] Compiling memchr v2.0.2 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Checking pnet_sys v0.21.0 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Checking pnet_macros_support v0.21.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking pnet_datalink v0.21.0 [INFO] [stderr] Checking error-chain v0.12.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.21.0 [INFO] [stderr] Compiling pnet_packet v0.21.0 [INFO] [stderr] Checking pnet_transport v0.21.0 [INFO] [stderr] Checking netinfo v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/netinfo/packet_capture.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | packet_info_handler: Box Result + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(PacketInfo) -> Result + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/netinfo/packet_capture.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | fn new(packet_info_handler: Box Result + Send>, local_net_ips_opt: Vec) -> CaptureParser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(PacketInfo) -> Result + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/netinfo/packet_capture.rs:214:71 [INFO] [stdout] | [INFO] [stdout] 214 | ...er: Box Result + Send>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(PacketInfo) -> Result + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/netinfo/packet_capture.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | packet_info_handler: Box Result + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(PacketInfo) -> Result + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/netinfo/netinfo.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | -> Box Result + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(PacketInfo) -> Result + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/netinfo/packet_capture.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | fn new(packet_info_handler: Box Result + Send>, local_net_ips_opt: Vec) -> CaptureParser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(PacketInfo) -> Result + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/netinfo/packet_capture.rs:214:71 [INFO] [stdout] | [INFO] [stdout] 214 | ...er: Box Result + Send>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(PacketInfo) -> Result + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/netinfo/netinfo.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | -> Box Result + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(PacketInfo) -> Result + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/netinfo/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | ParseIntError(num::ParseIntError) [INFO] [stdout] 6 | | /// Parser error [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/netinfo/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | ParseIntError(num::ParseIntError) [INFO] [stdout] 6 | | /// Parser error [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/netinfo/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | ParseIntError(num::ParseIntError) [INFO] [stdout] 6 | | /// Parser error [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/netinfo/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | ParseIntError(num::ParseIntError) [INFO] [stdout] 6 | | /// Parser error [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/netinfo/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | ParseIntError(num::ParseIntError) [INFO] [stdout] 6 | | /// Parser error [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/netinfo/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | ParseIntError(num::ParseIntError) [INFO] [stdout] 6 | | /// Parser error [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/netinfo/netinfo.rs:75:86 [INFO] [stdout] | [INFO] [stdout] 75 | for &io_attr in [None, Some(InoutType::Incoming), Some(InoutType::Outgoing)].into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 75 | for &io_attr in [None, Some(InoutType::Incoming), Some(InoutType::Outgoing)].iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 75 - for &io_attr in [None, Some(InoutType::Incoming), Some(InoutType::Outgoing)].into_iter() { [INFO] [stdout] 75 + for &io_attr in [None, Some(InoutType::Incoming), Some(InoutType::Outgoing)] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/netinfo/netinfo.rs:77:88 [INFO] [stdout] | [INFO] [stdout] 77 | for &tt_attr in [None, Some(TransportType::Tcp), Some(TransportType::Udp)].into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 77 | for &tt_attr in [None, Some(TransportType::Tcp), Some(TransportType::Udp)].iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 77 - for &tt_attr in [None, Some(TransportType::Tcp), Some(TransportType::Udp)].into_iter() { [INFO] [stdout] 77 + for &tt_attr in [None, Some(TransportType::Tcp), Some(TransportType::Udp)] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/netinfo/netinfo.rs:75:86 [INFO] [stdout] | [INFO] [stdout] 75 | for &io_attr in [None, Some(InoutType::Incoming), Some(InoutType::Outgoing)].into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 75 | for &io_attr in [None, Some(InoutType::Incoming), Some(InoutType::Outgoing)].iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 75 - for &io_attr in [None, Some(InoutType::Incoming), Some(InoutType::Outgoing)].into_iter() { [INFO] [stdout] 75 + for &io_attr in [None, Some(InoutType::Incoming), Some(InoutType::Outgoing)] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/netinfo/netinfo.rs:77:88 [INFO] [stdout] | [INFO] [stdout] 77 | for &tt_attr in [None, Some(TransportType::Tcp), Some(TransportType::Udp)].into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 77 | for &tt_attr in [None, Some(TransportType::Tcp), Some(TransportType::Udp)].iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 77 - for &tt_attr in [None, Some(TransportType::Tcp), Some(TransportType::Udp)].into_iter() { [INFO] [stdout] 77 + for &tt_attr in [None, Some(TransportType::Tcp), Some(TransportType::Udp)] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/netinfo/packet_capture.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | packet_info_handler: Box Result + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(PacketInfo) -> Result + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/netinfo/packet_capture.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | fn new(packet_info_handler: Box Result + Send>, local_net_ips_opt: Vec) -> CaptureParser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(PacketInfo) -> Result + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/netinfo/packet_capture.rs:214:71 [INFO] [stdout] | [INFO] [stdout] 214 | ...er: Box Result + Send>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(PacketInfo) -> Result + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/netinfo/netinfo.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | -> Box Result + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(PacketInfo) -> Result + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/netinfo/packet_capture.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | packet_info_handler: Box Result + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(PacketInfo) -> Result + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/netinfo/packet_capture.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | fn new(packet_info_handler: Box Result + Send>, local_net_ips_opt: Vec) -> CaptureParser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(PacketInfo) -> Result + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/netinfo/packet_capture.rs:214:71 [INFO] [stdout] | [INFO] [stdout] 214 | ...er: Box Result + Send>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(PacketInfo) -> Result + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/netinfo/netinfo.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | -> Box Result + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(PacketInfo) -> Result + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/netinfo/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | ParseIntError(num::ParseIntError) [INFO] [stdout] 6 | | /// Parser error [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/netinfo/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | ParseIntError(num::ParseIntError) [INFO] [stdout] 6 | | /// Parser error [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/netinfo/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | ParseIntError(num::ParseIntError) [INFO] [stdout] 6 | | /// Parser error [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/netinfo/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | ParseIntError(num::ParseIntError) [INFO] [stdout] 6 | | /// Parser error [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/netinfo/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | ParseIntError(num::ParseIntError) [INFO] [stdout] 6 | | /// Parser error [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/netinfo/error.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | foreign_links { [INFO] [stdout] 5 | | ParseIntError(num::ParseIntError) [INFO] [stdout] 6 | | /// Parser error [INFO] [stdout] ... | [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/netinfo/netinfo.rs:75:86 [INFO] [stdout] | [INFO] [stdout] 75 | for &io_attr in [None, Some(InoutType::Incoming), Some(InoutType::Outgoing)].into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 75 | for &io_attr in [None, Some(InoutType::Incoming), Some(InoutType::Outgoing)].iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 75 - for &io_attr in [None, Some(InoutType::Incoming), Some(InoutType::Outgoing)].into_iter() { [INFO] [stdout] 75 + for &io_attr in [None, Some(InoutType::Incoming), Some(InoutType::Outgoing)] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/netinfo/netinfo.rs:77:88 [INFO] [stdout] | [INFO] [stdout] 77 | for &tt_attr in [None, Some(TransportType::Tcp), Some(TransportType::Udp)].into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 77 | for &tt_attr in [None, Some(TransportType::Tcp), Some(TransportType::Udp)].iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 77 - for &tt_attr in [None, Some(TransportType::Tcp), Some(TransportType::Udp)].into_iter() { [INFO] [stdout] 77 + for &tt_attr in [None, Some(TransportType::Tcp), Some(TransportType::Udp)] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/netinfo/netinfo.rs:75:86 [INFO] [stdout] | [INFO] [stdout] 75 | for &io_attr in [None, Some(InoutType::Incoming), Some(InoutType::Outgoing)].into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 75 | for &io_attr in [None, Some(InoutType::Incoming), Some(InoutType::Outgoing)].iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 75 - for &io_attr in [None, Some(InoutType::Incoming), Some(InoutType::Outgoing)].into_iter() { [INFO] [stdout] 75 + for &io_attr in [None, Some(InoutType::Incoming), Some(InoutType::Outgoing)] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/netinfo/netinfo.rs:77:88 [INFO] [stdout] | [INFO] [stdout] 77 | for &tt_attr in [None, Some(TransportType::Tcp), Some(TransportType::Udp)].into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 77 | for &tt_attr in [None, Some(TransportType::Tcp), Some(TransportType::Udp)].iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 77 - for &tt_attr in [None, Some(TransportType::Tcp), Some(TransportType::Udp)].into_iter() { [INFO] [stdout] 77 + for &tt_attr in [None, Some(TransportType::Tcp), Some(TransportType::Udp)] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.60s [INFO] running `Command { std: "docker" "inspect" "ac99b5aebed13773df863c2660ac73e9c17ff938e9cfcb4445eae04678e3270d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac99b5aebed13773df863c2660ac73e9c17ff938e9cfcb4445eae04678e3270d", kill_on_drop: false }` [INFO] [stdout] ac99b5aebed13773df863c2660ac73e9c17ff938e9cfcb4445eae04678e3270d