[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] testing kaegi/netinfo against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaegi%2Fnetinfo" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kaegi/netinfo on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking 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-10/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pnet_base v0.21.0 [INFO] [stderr] Downloaded pnet_macros v0.21.0 [INFO] [stderr] Downloaded pnet_macros_support v0.21.0 [INFO] [stderr] Downloaded pnet_packet v0.21.0 [INFO] [stderr] Downloaded pnet_datalink v0.21.0 [INFO] [stderr] Downloaded pnet_sys v0.21.0 [INFO] [stderr] Downloaded pnet_transport v0.21.0 [INFO] [stderr] Downloaded pnet v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bbdab55b4951e387be569bf9961f5fe4e626d38f8f38547bfb870664c641a4cb [INFO] running `Command { std: "docker" "start" "-a" "bbdab55b4951e387be569bf9961f5fe4e626d38f8f38547bfb870664c641a4cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbdab55b4951e387be569bf9961f5fe4e626d38f8f38547bfb870664c641a4cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbdab55b4951e387be569bf9961f5fe4e626d38f8f38547bfb870664c641a4cb", kill_on_drop: false }` [INFO] [stdout] bbdab55b4951e387be569bf9961f5fe4e626d38f8f38547bfb870664c641a4cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc82fdd9436167142ec768786d3c491f87f3c55f37a248829e04e98df67747b0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bc82fdd9436167142ec768786d3c491f87f3c55f37a248829e04e98df67747b0", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling pnet_base v0.21.0 [INFO] [stderr] Compiling pnet v0.21.0 [INFO] [stderr] Compiling ipnetwork v0.12.8 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling memchr v2.0.2 [INFO] [stderr] Compiling pnet_sys v0.21.0 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling pnet_macros_support v0.21.0 [INFO] [stderr] Compiling pnet_datalink v0.21.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling error-chain v0.12.0 [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] Compiling pnet_transport v0.21.0 [INFO] [stderr] Compiling netinfo v0.5.1 (/opt/rustwide/workdir) [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - packet_info_handler: Box Result + Send>, [INFO] [stdout] 68 + packet_info_handler: Box Result + Send>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn new(packet_info_handler: Box Result + Send>, local_net_ips_opt: Vec) -> CaptureParser { [INFO] [stdout] 84 + fn new(packet_info_handler: Box Result + Send>, local_net_ips_opt: Vec) -> CaptureParser { [INFO] [stdout] | [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 | pub fn new(interface: &NetworkInterface, packet_info_handler: Box Result + Send>) -> Result [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 214 - pub fn new(interface: &NetworkInterface, packet_info_handler: Box Result + Send>) -> Result { [INFO] [stdout] 214 + pub fn new(interface: &NetworkInterface, packet_info_handler: Box Result + Send>) -> Result { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 139 - -> Box Result + Send> { [INFO] [stdout] 139 + -> Box Result + Send> { [INFO] [stdout] | [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: 8 warnings emitted [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - packet_info_handler: Box Result + Send>, [INFO] [stdout] 68 + packet_info_handler: Box Result + Send>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn new(packet_info_handler: Box Result + Send>, local_net_ips_opt: Vec) -> CaptureParser { [INFO] [stdout] 84 + fn new(packet_info_handler: Box Result + Send>, local_net_ips_opt: Vec) -> CaptureParser { [INFO] [stdout] | [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 | pub fn new(interface: &NetworkInterface, packet_info_handler: Box Result + Send>) -> Result [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 214 - pub fn new(interface: &NetworkInterface, packet_info_handler: Box Result + Send>) -> Result { [INFO] [stdout] 214 + pub fn new(interface: &NetworkInterface, packet_info_handler: Box Result + Send>) -> Result { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 139 - -> Box Result + Send> { [INFO] [stdout] 139 + -> Box Result + Send> { [INFO] [stdout] | [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "bc82fdd9436167142ec768786d3c491f87f3c55f37a248829e04e98df67747b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc82fdd9436167142ec768786d3c491f87f3c55f37a248829e04e98df67747b0", kill_on_drop: false }` [INFO] [stdout] bc82fdd9436167142ec768786d3c491f87f3c55f37a248829e04e98df67747b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9e252c242d6faa3fe8d8d8990852bcbdba3eb1d27d10302bc02d1c3b6bc4bad8 [INFO] running `Command { std: "docker" "start" "-a" "9e252c242d6faa3fe8d8d8990852bcbdba3eb1d27d10302bc02d1c3b6bc4bad8", kill_on_drop: false }` [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - packet_info_handler: Box Result + Send>, [INFO] [stdout] 68 + packet_info_handler: Box Result + Send>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn new(packet_info_handler: Box Result + Send>, local_net_ips_opt: Vec) -> CaptureParser { [INFO] [stdout] 84 + fn new(packet_info_handler: Box Result + Send>, local_net_ips_opt: Vec) -> CaptureParser { [INFO] [stdout] | [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 | pub fn new(interface: &NetworkInterface, packet_info_handler: Box Result + Send>) -> Result [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 214 - pub fn new(interface: &NetworkInterface, packet_info_handler: Box Result + Send>) -> Result { [INFO] [stdout] 214 + pub fn new(interface: &NetworkInterface, packet_info_handler: Box Result + Send>) -> Result { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 139 - -> Box Result + Send> { [INFO] [stdout] 139 + -> Box Result + Send> { [INFO] [stdout] | [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling netinfo v0.5.1 (/opt/rustwide/workdir) [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - packet_info_handler: Box Result + Send>, [INFO] [stdout] 68 + packet_info_handler: Box Result + Send>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn new(packet_info_handler: Box Result + Send>, local_net_ips_opt: Vec) -> CaptureParser { [INFO] [stdout] 84 + fn new(packet_info_handler: Box Result + Send>, local_net_ips_opt: Vec) -> CaptureParser { [INFO] [stdout] | [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 | pub fn new(interface: &NetworkInterface, packet_info_handler: Box Result + Send>) -> Result [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 214 - pub fn new(interface: &NetworkInterface, packet_info_handler: Box Result + Send>) -> Result { [INFO] [stdout] 214 + pub fn new(interface: &NetworkInterface, packet_info_handler: Box Result + Send>) -> Result { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 139 - -> Box Result + Send> { [INFO] [stdout] 139 + -> Box Result + Send> { [INFO] [stdout] | [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - packet_info_handler: Box Result + Send>, [INFO] [stdout] 68 + packet_info_handler: Box Result + Send>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn new(packet_info_handler: Box Result + Send>, local_net_ips_opt: Vec) -> CaptureParser { [INFO] [stdout] 84 + fn new(packet_info_handler: Box Result + Send>, local_net_ips_opt: Vec) -> CaptureParser { [INFO] [stdout] | [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 | pub fn new(interface: &NetworkInterface, packet_info_handler: Box Result + Send>) -> Result [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 214 - pub fn new(interface: &NetworkInterface, packet_info_handler: Box Result + Send>) -> Result { [INFO] [stdout] 214 + pub fn new(interface: &NetworkInterface, packet_info_handler: Box Result + Send>) -> Result { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 139 - -> Box Result + Send> { [INFO] [stdout] 139 + -> Box Result + Send> { [INFO] [stdout] | [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.60s [INFO] running `Command { std: "docker" "inspect" "9e252c242d6faa3fe8d8d8990852bcbdba3eb1d27d10302bc02d1c3b6bc4bad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e252c242d6faa3fe8d8d8990852bcbdba3eb1d27d10302bc02d1c3b6bc4bad8", kill_on_drop: false }` [INFO] [stdout] 9e252c242d6faa3fe8d8d8990852bcbdba3eb1d27d10302bc02d1c3b6bc4bad8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] be3a1e644a4ebecba60894fd2e9b6c328b1687d2a3d03b533350d7ddca6756dc [INFO] running `Command { std: "docker" "start" "-a" "be3a1e644a4ebecba60894fd2e9b6c328b1687d2a3d03b533350d7ddca6756dc", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/netinfo/error.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / error_chain! { [INFO] [stderr] 4 | | foreign_links { [INFO] [stderr] 5 | | ParseIntError(num::ParseIntError) [INFO] [stderr] 6 | | /// Parser error [INFO] [stderr] ... | [INFO] [stderr] 57 | | } [INFO] [stderr] 58 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/netinfo/packet_capture.rs:68:30 [INFO] [stderr] | [INFO] [stderr] 68 | packet_info_handler: Box Result + Send>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 68 - packet_info_handler: Box Result + Send>, [INFO] [stderr] 68 + packet_info_handler: Box Result + Send>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/netinfo/packet_capture.rs:84:37 [INFO] [stderr] | [INFO] [stderr] 84 | fn new(packet_info_handler: Box Result + Send>, local_net_ips_opt: Vec) -> CaptureParser { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 84 - fn new(packet_info_handler: Box Result + Send>, local_net_ips_opt: Vec) -> CaptureParser { [INFO] [stderr] 84 + fn new(packet_info_handler: Box Result + Send>, local_net_ips_opt: Vec) -> CaptureParser { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/netinfo/packet_capture.rs:214:71 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn new(interface: &NetworkInterface, packet_info_handler: Box Result + Send>) -> Result [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 214 - pub fn new(interface: &NetworkInterface, packet_info_handler: Box Result + Send>) -> Result { [INFO] [stderr] 214 + pub fn new(interface: &NetworkInterface, packet_info_handler: Box Result + Send>) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/netinfo/netinfo.rs:139:32 [INFO] [stderr] | [INFO] [stderr] 139 | -> Box Result + Send> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 139 - -> Box Result + Send> { [INFO] [stderr] 139 + -> Box Result + Send> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/netinfo/error.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / error_chain! { [INFO] [stderr] 4 | | foreign_links { [INFO] [stderr] 5 | | ParseIntError(num::ParseIntError) [INFO] [stderr] 6 | | /// Parser error [INFO] [stderr] ... | [INFO] [stderr] 57 | | } [INFO] [stderr] 58 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/netinfo/netinfo.rs:75:86 [INFO] [stderr] | [INFO] [stderr] 75 | for &io_attr in [None, Some(InoutType::Incoming), Some(InoutType::Outgoing)].into_iter() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 75 | for &io_attr in [None, Some(InoutType::Incoming), Some(InoutType::Outgoing)].iter() { [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or remove `.into_iter()` to iterate by value [INFO] [stderr] | [INFO] [stderr] 75 - for &io_attr in [None, Some(InoutType::Incoming), Some(InoutType::Outgoing)].into_iter() { [INFO] [stderr] 75 + for &io_attr in [None, Some(InoutType::Incoming), Some(InoutType::Outgoing)] { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/netinfo/netinfo.rs:77:88 [INFO] [stderr] | [INFO] [stderr] 77 | for &tt_attr in [None, Some(TransportType::Tcp), Some(TransportType::Udp)].into_iter() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 77 | for &tt_attr in [None, Some(TransportType::Tcp), Some(TransportType::Udp)].iter() { [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or remove `.into_iter()` to iterate by value [INFO] [stderr] | [INFO] [stderr] 77 - for &tt_attr in [None, Some(TransportType::Tcp), Some(TransportType::Udp)].into_iter() { [INFO] [stderr] 77 + for &tt_attr in [None, Some(TransportType::Tcp), Some(TransportType::Udp)] { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `netinfo` (lib) generated 8 warnings [INFO] [stderr] warning: `netinfo` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] warning: `netinfo` (bin "netinfo" test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/netinfo-301757ca3271e8cc) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/netinfo-840441aac9c947f6) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests netinfo [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "be3a1e644a4ebecba60894fd2e9b6c328b1687d2a3d03b533350d7ddca6756dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be3a1e644a4ebecba60894fd2e9b6c328b1687d2a3d03b533350d7ddca6756dc", kill_on_drop: false }` [INFO] [stdout] be3a1e644a4ebecba60894fd2e9b6c328b1687d2a3d03b533350d7ddca6756dc