[INFO] cloning repository https://github.com/Ongy/dhcp-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ongy/dhcp-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOngy%2Fdhcp-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOngy%2Fdhcp-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c49bb9521a5e720109c7ff36eb130936fb3aedc [INFO] testing Ongy/dhcp-rs against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOngy%2Fdhcp-rs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ongy/dhcp-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ongy/dhcp-rs [INFO] finished tweaking git repo https://github.com/Ongy/dhcp-rs [INFO] tweaked toml for git repo https://github.com/Ongy/dhcp-rs written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Ongy/dhcp-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+beta-2022-04-10" "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] 8060bdd75604c3cc27dcc6b33726f2db5623c9fa767d0eb5692f15e7bee36cb5 [INFO] running `Command { std: "docker" "start" "-a" "8060bdd75604c3cc27dcc6b33726f2db5623c9fa767d0eb5692f15e7bee36cb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8060bdd75604c3cc27dcc6b33726f2db5623c9fa767d0eb5692f15e7bee36cb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8060bdd75604c3cc27dcc6b33726f2db5623c9fa767d0eb5692f15e7bee36cb5", kill_on_drop: false }` [INFO] [stdout] 8060bdd75604c3cc27dcc6b33726f2db5623c9fa767d0eb5692f15e7bee36cb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+beta-2022-04-10" "build" "--frozen" "--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] c1c034fd8637f50c80dc5c4609318a30fcdc39b25c234d1f60a091dd8ebb476a [INFO] running `Command { std: "docker" "start" "-a" "c1c034fd8637f50c80dc5c4609318a30fcdc39b25c234d1f60a091dd8ebb476a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling pnet_base v0.20.0 [INFO] [stderr] Compiling pnet v0.20.0 [INFO] [stderr] Compiling ipnetwork v0.12.7 [INFO] [stderr] Compiling serde v1.0.24 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling rs-config-derive v0.1.0 (https://github.com/Ongy/config-rs#5d2e1a25) [INFO] [stderr] Compiling serde_derive_internals v0.18.0 [INFO] [stderr] Compiling itertools v0.7.4 [INFO] [stderr] Compiling pnet_macros_support v0.20.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling pnet_sys v0.20.0 [INFO] [stderr] Compiling atty v0.2.3 [INFO] [stderr] Compiling unix_socket v0.5.0 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling caps v0.1.0 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling clap v2.29.0 [INFO] [stderr] Compiling pnet_datalink v0.20.0 [INFO] [stderr] Compiling serde_derive v1.0.24 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Compiling syslog v3.3.0 [INFO] [stderr] Compiling rs-config v0.1.0 (https://github.com/Ongy/config-rs#5d2e1a25) [INFO] [stderr] Compiling regex v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.8 [INFO] [stderr] Compiling privdrop v0.1.3 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.20.0 [INFO] [stderr] Compiling pnet_packet v0.20.0 [INFO] [stderr] Compiling pnet_transport v0.20.0 [INFO] [stderr] Compiling dhcp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/packet/mod.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | fn push_to(&self, &mut Vec); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/packet/mod.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | fn from_buffer(& [u8]) -> Self; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: & [u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/pool.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | fn from_internal(&Self::Internal) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Internal` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/pool.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | fn advance(Self::Internal) -> Self::Internal; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Internal` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/pool.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | fn diff(&Self::Internal, &Self::Internal) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Internal` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/pool.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | fn diff(&Self::Internal, &Self::Internal) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Internal` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/serialize.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | fn serialize_onto(&self, &mut Vec); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/serialize.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn deserialize_from(&[u8]) -> Result; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/allocator.rs:295:37 [INFO] [stdout] | [INFO] [stdout] 295 | fn next_ip(&mut self) -> Option<(Ipv4Addr)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 295 - fn next_ip(&mut self) -> Option<(Ipv4Addr)> { [INFO] [stdout] 295 + fn next_ip(&mut self) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/packet/name.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | -> (Interface, Box, Box) { [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] 44 - -> (Interface, Box, Box) { [INFO] [stdout] 44 + -> (Interface, Box, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:44:69 [INFO] [stdout] | [INFO] [stdout] 44 | -> (Interface, Box, Box) { [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] 44 - -> (Interface, Box, Box) { [INFO] [stdout] 44 + -> (Interface, Box, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:227:34 [INFO] [stdout] | [INFO] [stdout] 227 | tx: &mut std::boxed::Box, [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] 227 - tx: &mut std::boxed::Box, [INFO] [stdout] 227 + tx: &mut std::boxed::Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 31s [INFO] running `Command { std: "docker" "inspect" "c1c034fd8637f50c80dc5c4609318a30fcdc39b25c234d1f60a091dd8ebb476a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1c034fd8637f50c80dc5c4609318a30fcdc39b25c234d1f60a091dd8ebb476a", kill_on_drop: false }` [INFO] [stdout] c1c034fd8637f50c80dc5c4609318a30fcdc39b25c234d1f60a091dd8ebb476a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+beta-2022-04-10" "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] d7fe6e5c37fe74ac981e47ccddd0f520815642d3beb7e53046f87eedf0c883cf [INFO] running `Command { std: "docker" "start" "-a" "d7fe6e5c37fe74ac981e47ccddd0f520815642d3beb7e53046f87eedf0c883cf", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.3.18 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling quickcheck v0.5.0 [INFO] [stderr] Compiling dhcp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/packet/mod.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | fn push_to(&self, &mut Vec); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/packet/mod.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | fn from_buffer(& [u8]) -> Self; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: & [u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/pool.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | fn from_internal(&Self::Internal) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Internal` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/pool.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | fn advance(Self::Internal) -> Self::Internal; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Internal` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/pool.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | fn diff(&Self::Internal, &Self::Internal) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Internal` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/pool.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | fn diff(&Self::Internal, &Self::Internal) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Internal` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/serialize.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | fn serialize_onto(&self, &mut Vec); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/serialize.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn deserialize_from(&[u8]) -> Result; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/allocator.rs:295:37 [INFO] [stdout] | [INFO] [stdout] 295 | fn next_ip(&mut self) -> Option<(Ipv4Addr)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 295 - fn next_ip(&mut self) -> Option<(Ipv4Addr)> { [INFO] [stdout] 295 + fn next_ip(&mut self) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/packet/name.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | -> (Interface, Box, Box) { [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] 44 - -> (Interface, Box, Box) { [INFO] [stdout] 44 + -> (Interface, Box, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:44:69 [INFO] [stdout] | [INFO] [stdout] 44 | -> (Interface, Box, Box) { [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] 44 - -> (Interface, Box, Box) { [INFO] [stdout] 44 + -> (Interface, Box, Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:227:34 [INFO] [stdout] | [INFO] [stdout] 227 | tx: &mut std::boxed::Box, [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] 227 - tx: &mut std::boxed::Box, [INFO] [stdout] 227 + tx: &mut std::boxed::Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.19s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/dhcp-5bb8c0697a92fd68) [INFO] running `Command { std: "docker" "inspect" "d7fe6e5c37fe74ac981e47ccddd0f520815642d3beb7e53046f87eedf0c883cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7fe6e5c37fe74ac981e47ccddd0f520815642d3beb7e53046f87eedf0c883cf", kill_on_drop: false }` [INFO] [stdout] d7fe6e5c37fe74ac981e47ccddd0f520815642d3beb7e53046f87eedf0c883cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+beta-2022-04-10" "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] 90766fa6b061b586df43826c520035a33e46cac1507fd5864851111b38889dfd [INFO] running `Command { std: "docker" "start" "-a" "90766fa6b061b586df43826c520035a33e46cac1507fd5864851111b38889dfd", kill_on_drop: false }` [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/packet/mod.rs:119:23 [INFO] [stderr] | [INFO] [stderr] 119 | fn push_to(&self, &mut Vec); [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Vec` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/packet/mod.rs:120:20 [INFO] [stderr] | [INFO] [stderr] 120 | fn from_buffer(& [u8]) -> Self; [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: & [u8]` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/pool.rs:17:22 [INFO] [stderr] | [INFO] [stderr] 17 | fn from_internal(&Self::Internal) -> Self; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Internal` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/pool.rs:18:16 [INFO] [stderr] | [INFO] [stderr] 18 | fn advance(Self::Internal) -> Self::Internal; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Internal` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/pool.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | fn diff(&Self::Internal, &Self::Internal) -> usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Internal` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/pool.rs:19:30 [INFO] [stderr] | [INFO] [stderr] 19 | fn diff(&Self::Internal, &Self::Internal) -> usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Internal` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/serialize.rs:9:27 [INFO] [stderr] | [INFO] [stderr] 9 | fn serialize_onto(&self, &mut Vec); [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Vec` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/serialize.rs:10:22 [INFO] [stderr] | [INFO] [stderr] 10 | fn deserialize_from(&[u8]) -> Result; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/allocator.rs:295:37 [INFO] [stderr] | [INFO] [stderr] 295 | fn next_ip(&mut self) -> Option<(Ipv4Addr)> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 295 - fn next_ip(&mut self) -> Option<(Ipv4Addr)> { [INFO] [stderr] 295 + fn next_ip(&mut self) -> Option { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/packet/name.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interface.rs:44:32 [INFO] [stderr] | [INFO] [stderr] 44 | -> (Interface, Box, Box) { [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] 44 - -> (Interface, Box, Box) { [INFO] [stderr] 44 + -> (Interface, Box, Box) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interface.rs:44:69 [INFO] [stderr] | [INFO] [stderr] 44 | -> (Interface, Box, Box) { [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] 44 - -> (Interface, Box, Box) { [INFO] [stderr] 44 + -> (Interface, Box, Box) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handler.rs:227:34 [INFO] [stderr] | [INFO] [stderr] 227 | tx: &mut std::boxed::Box, [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] 227 - tx: &mut std::boxed::Box, [INFO] [stderr] 227 + tx: &mut std::boxed::Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `dhcp` (bin "dhcp" test) generated 13 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dhcp-5bb8c0697a92fd68) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test allocationunit::test::defaults_mask ... ok [INFO] [stdout] test allocator::test::denies_requested ... ok [INFO] [stdout] test allocator::test::frees_oldest ... ok [INFO] [stdout] test allocator::test::frees_non_leased ... ok [INFO] [stdout] test allocator::test::gets_first ... ok [INFO] [stdout] test allocator::test::gets_next ... ok [INFO] [stdout] test allocator::test::gets_requested ... ok [INFO] [stdout] test allocator::test::gets_requested_again ... ok [INFO] [stdout] test allocator::test::gets_same ... ok [INFO] [stdout] test allocator::test::denies_unsuitable ... ok [INFO] [stdout] test packet::tests::serialize_classless ... ok [INFO] [stdout] test pool::test::multi_bounds ... ok [INFO] [stdout] test pool::test::reject_invalid_range ... ok [INFO] [stdout] test pool::test::multi_iter ... ok [INFO] [stdout] test pool::test::rejects_overlapping ... ok [INFO] [stdout] test pool::test::simple_bounds ... ok [INFO] [stdout] test pool::test::rejects_identical ... ok [INFO] [stdout] test pool::test::simple_iter ... ok [INFO] [stdout] test pool::test::simple_size ... ok [INFO] [stdout] test pool::test::skips_used ... ok [INFO] [stdout] test pool::test::suitable_ranges ... ok [INFO] [stdout] test pool::test::returns_unused ... ok [INFO] [stdout] test pool::test::multi_size ... ok [INFO] [stdout] test pool::test::reject_invalid_simple ... ok [INFO] [stdout] test packet::tests::serialize_type ... ok [INFO] [stdout] test packet::tests::serialize_dhcpoption ... ok [INFO] [stdout] test packet::name::tests::serialize_domain_name ... ok [INFO] [stdout] test packet::tests::serialize_packet ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "90766fa6b061b586df43826c520035a33e46cac1507fd5864851111b38889dfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90766fa6b061b586df43826c520035a33e46cac1507fd5864851111b38889dfd", kill_on_drop: false }` [INFO] [stdout] 90766fa6b061b586df43826c520035a33e46cac1507fd5864851111b38889dfd