[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 1.60.0 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 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/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/Ongy/config-rs` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pnet_datalink v0.20.0 [INFO] [stderr] Downloaded ansi_term v0.10.2 [INFO] [stderr] Downloaded serde_derive v1.0.24 [INFO] [stderr] Downloaded syntex v0.42.2 [INFO] [stderr] Downloaded syntex_pos v0.42.0 [INFO] [stderr] Downloaded term v0.4.6 [INFO] [stderr] Downloaded syntex_errors v0.42.0 [INFO] [stderr] Downloaded syntex_syntax v0.42.0 [INFO] [stderr] Downloaded pnet_sys v0.20.0 [INFO] [stderr] Downloaded itertools v0.7.4 [INFO] [stderr] Downloaded atty v0.2.3 [INFO] [stderr] Downloaded clap v2.29.0 [INFO] [stderr] Downloaded nix v0.7.0 [INFO] [stderr] Downloaded pnet_macros v0.20.0 [INFO] [stderr] Downloaded pnet_macros_support v0.20.0 [INFO] [stderr] Downloaded pnet_packet v0.20.0 [INFO] [stderr] Downloaded caps v0.1.0 [INFO] [stderr] Downloaded ipnetwork v0.12.7 [INFO] [stderr] Downloaded privdrop v0.1.3 [INFO] [stderr] Downloaded pnet_transport v0.20.0 [INFO] [stderr] Downloaded pnet v0.20.0 [INFO] [stderr] Downloaded pnet_base v0.20.0 [INFO] [stderr] Downloaded serde_derive_internals v0.18.0 [INFO] [stderr] Downloaded quickcheck v0.5.0 [INFO] [stderr] Downloaded bitflags v0.4.0 [INFO] [stderr] Downloaded unicode-xid v0.0.3 [INFO] [stderr] Downloaded syslog v3.3.0 [INFO] [stderr] Downloaded redox_syscall v0.1.32 [INFO] [stderr] Downloaded serde v1.0.24 [INFO] [stderr] Downloaded serde_json v1.0.8 [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" "+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] fe664f9d823771ad581ecac4235326cb4572bc96b31f02c4195c3589e2514491 [INFO] running `Command { std: "docker" "start" "-a" "fe664f9d823771ad581ecac4235326cb4572bc96b31f02c4195c3589e2514491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe664f9d823771ad581ecac4235326cb4572bc96b31f02c4195c3589e2514491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe664f9d823771ad581ecac4235326cb4572bc96b31f02c4195c3589e2514491", kill_on_drop: false }` [INFO] [stdout] fe664f9d823771ad581ecac4235326cb4572bc96b31f02c4195c3589e2514491 [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" "+1.60.0" "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] e2028448ef3254f52c8d40ef20e05c040fd1d3d81c8fca171f6fb6b40cff4605 [INFO] running `Command { std: "docker" "start" "-a" "e2028448ef3254f52c8d40ef20e05c040fd1d3d81c8fca171f6fb6b40cff4605", 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 ipnetwork v0.12.7 [INFO] [stderr] Compiling pnet v0.20.0 [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 serde_derive_internals v0.18.0 [INFO] [stderr] Compiling rs-config-derive v0.1.0 (https://github.com/Ongy/config-rs#5d2e1a25) [INFO] [stderr] Compiling pnet_macros_support v0.20.0 [INFO] [stderr] Compiling itertools v0.7.4 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling pnet_sys v0.20.0 [INFO] [stderr] Compiling unix_socket v0.5.0 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling atty v0.2.3 [INFO] [stderr] Compiling caps v0.1.0 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Compiling clap v2.29.0 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling pnet_datalink v0.20.0 [INFO] [stderr] Compiling serde_derive v1.0.24 [INFO] [stderr] Compiling regex v0.2.3 [INFO] [stderr] Compiling rs-config v0.1.0 (https://github.com/Ongy/config-rs#5d2e1a25) [INFO] [stderr] Compiling syslog v3.3.0 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [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 34s [INFO] running `Command { std: "docker" "inspect" "e2028448ef3254f52c8d40ef20e05c040fd1d3d81c8fca171f6fb6b40cff4605", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2028448ef3254f52c8d40ef20e05c040fd1d3d81c8fca171f6fb6b40cff4605", kill_on_drop: false }` [INFO] [stdout] e2028448ef3254f52c8d40ef20e05c040fd1d3d81c8fca171f6fb6b40cff4605 [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" "+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] 20fbc3b00363d518b66be38da712dbd621b3593ed09af14081e73fa5e51b6eb2 [INFO] running `Command { std: "docker" "start" "-a" "20fbc3b00363d518b66be38da712dbd621b3593ed09af14081e73fa5e51b6eb2", 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 10.57s [INFO] running `Command { std: "docker" "inspect" "20fbc3b00363d518b66be38da712dbd621b3593ed09af14081e73fa5e51b6eb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20fbc3b00363d518b66be38da712dbd621b3593ed09af14081e73fa5e51b6eb2", kill_on_drop: false }` [INFO] [stdout] 20fbc3b00363d518b66be38da712dbd621b3593ed09af14081e73fa5e51b6eb2 [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" "+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] d76cd0874e686befb78154bca61d738055ff5e22e76a4094a1d1e13ef418068c [INFO] running `Command { std: "docker" "start" "-a" "d76cd0874e686befb78154bca61d738055ff5e22e76a4094a1d1e13ef418068c", 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.18s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dhcp-a524bd2965f5f29b) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test allocator::test::denies_unsuitable ... ok [INFO] [stdout] test allocationunit::test::defaults_mask ... ok [INFO] [stdout] test allocator::test::denies_requested ... ok [INFO] [stdout] test allocator::test::gets_requested_again ... ok [INFO] [stdout] test allocator::test::gets_requested ... ok [INFO] [stdout] test allocator::test::gets_first ... ok [INFO] [stdout] test pool::test::reject_invalid_range ... ok [INFO] [stdout] test pool::test::multi_iter ... ok [INFO] [stdout] test pool::test::multi_bounds ... ok [INFO] [stdout] test pool::test::multi_size ... ok [INFO] [stdout] test allocator::test::frees_oldest ... ok [INFO] [stdout] test pool::test::reject_invalid_simple ... ok [INFO] [stdout] test pool::test::rejects_identical ... ok [INFO] [stdout] test allocator::test::gets_next ... ok [INFO] [stdout] test allocator::test::gets_same ... ok [INFO] [stdout] test pool::test::rejects_overlapping ... ok [INFO] [stdout] test pool::test::simple_bounds ... ok [INFO] [stdout] test pool::test::returns_unused ... ok [INFO] [stdout] test allocator::test::frees_non_leased ... ok [INFO] [stdout] test pool::test::simple_size ... ok [INFO] [stdout] test pool::test::simple_iter ... ok [INFO] [stdout] test pool::test::skips_used ... ok [INFO] [stdout] test packet::tests::serialize_classless ... ok [INFO] [stdout] test packet::tests::serialize_type ... ok [INFO] [stdout] test pool::test::suitable_ranges ... 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.56s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d76cd0874e686befb78154bca61d738055ff5e22e76a4094a1d1e13ef418068c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d76cd0874e686befb78154bca61d738055ff5e22e76a4094a1d1e13ef418068c", kill_on_drop: false }` [INFO] [stdout] d76cd0874e686befb78154bca61d738055ff5e22e76a4094a1d1e13ef418068c