[INFO] cloning repository https://github.com/aoikonomopoulos/wping [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aoikonomopoulos/wping" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faoikonomopoulos%2Fwping", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faoikonomopoulos%2Fwping'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d5155803811b50761baa309249aad35a9748aff [INFO] building aoikonomopoulos/wping against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faoikonomopoulos%2Fwping" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aoikonomopoulos/wping on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aoikonomopoulos/wping [INFO] finished tweaking git repo https://github.com/aoikonomopoulos/wping [INFO] tweaked toml for git repo https://github.com/aoikonomopoulos/wping written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/aoikonomopoulos/wping already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pnet_macros_support v0.1.1 [INFO] [stderr] Downloaded resolve v0.1.2 [INFO] [stderr] Downloaded regex v0.2.1 [INFO] [stderr] Downloaded thread-id v3.0.0 [INFO] [stderr] Downloaded thread_local v0.3.2 [INFO] [stderr] Downloaded term v0.4.5 [INFO] [stderr] Downloaded regex-syntax v0.4.0 [INFO] [stderr] Downloaded pnet v0.16.0 [INFO] [stderr] Downloaded aho-corasick v0.6.1 [INFO] [stderr] Downloaded pnet_macros v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56bf8753ff11d9d19d88c7921bc3fb9498a23f500ae621b98ca92eb6a22c25ad [INFO] running `Command { std: "docker" "start" "-a" "56bf8753ff11d9d19d88c7921bc3fb9498a23f500ae621b98ca92eb6a22c25ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56bf8753ff11d9d19d88c7921bc3fb9498a23f500ae621b98ca92eb6a22c25ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56bf8753ff11d9d19d88c7921bc3fb9498a23f500ae621b98ca92eb6a22c25ad", kill_on_drop: false }` [INFO] [stdout] 56bf8753ff11d9d19d88c7921bc3fb9498a23f500ae621b98ca92eb6a22c25ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8060cee669bb7a2d0c7b0e6aad38bdf2ecb47a8393fd8e6ede4a4bf51247233e [INFO] running `Command { std: "docker" "start" "-a" "8060cee669bb7a2d0c7b0e6aad38bdf2ecb47a8393fd8e6ede4a4bf51247233e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.20 [INFO] [stderr] Compiling rustc-serialize v0.3.22 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling term v0.4.5 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling matches v0.1.4 [INFO] [stderr] Compiling unicode-normalization v0.1.4 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling pnet_macros_support v0.1.1 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.2.5 [INFO] [stderr] Compiling argparse v0.2.1 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling time v0.1.36 [INFO] [stderr] Compiling thread_local v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.32 [INFO] [stderr] Compiling aho-corasick v0.6.1 [INFO] [stderr] Compiling num-iter v0.1.32 [INFO] [stderr] Compiling idna v0.1.0 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling resolve v0.1.2 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Compiling num-bigint v0.1.35 [INFO] [stderr] Compiling num-complex v0.1.35 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling num-rational v0.1.35 [INFO] [stderr] Compiling num v0.1.36 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.13.0 [INFO] [stderr] Compiling pnet v0.16.0 [INFO] [stderr] Compiling wping v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:437:25 [INFO] [stdout] | [INFO] [stdout] 437 | let addrs = try!(resolve_host(&s).map_err(|e| String::from(e.description()))); [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/main.rs:155:77 [INFO] [stdout] | [INFO] [stdout] 155 | fn send_ping (mut tx : TransportSender, dst : Ipv4Addr, len : usize) -> 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] 155 | fn send_ping (mut tx : TransportSender, dst : Ipv4Addr, len : usize) -> Box ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:404:30 [INFO] [stdout] | [INFO] [stdout] 404 | fn do_probe(probe : &mut Box ()>, stats: &mut Stats, [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] 404 | fn do_probe(probe : &mut Box ()>, stats: &mut Stats, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:500:60 [INFO] [stdout] | [INFO] [stdout] 500 | fn to_display(v : Option<&T>) -> Option<&fmt::Display> { [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] 500 | fn to_display(v : Option<&T>) -> Option<&dyn fmt::Display> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/columnar.rs:67:50 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn format(&'a self, values : Vec>) -> String { [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] 67 | pub fn format(&'a self, values : Vec>) -> String { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/columnar.rs:72:50 [INFO] [stdout] | [INFO] [stdout] 72 | (col, v) : (&'a Column, Option<&Display>)| { [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] 72 | (col, v) : (&'a Column, Option<&dyn Display>)| { [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/main.rs:437:74 [INFO] [stdout] | [INFO] [stdout] 437 | let addrs = try!(resolve_host(&s).map_err(|e| String::from(e.description()))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:501:22 [INFO] [stdout] | [INFO] [stdout] 501 | v.map (|v| v as &fmt::Display) [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] 501 | v.map (|v| v as &dyn fmt::Display) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:508:39 [INFO] [stdout] | [INFO] [stdout] 508 | let seq = resp.map(|r| &r.seq as &fmt::Display); [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] 508 | let seq = resp.map(|r| &r.seq as &dyn fmt::Display); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:509:46 [INFO] [stdout] | [INFO] [stdout] 509 | let nbytes = resp.map (|r| &r.nbytes as &fmt::Display); [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] 509 | let nbytes = resp.map (|r| &r.nbytes as &dyn fmt::Display); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:510:39 [INFO] [stdout] | [INFO] [stdout] 510 | let ttl = resp.map(|r| &r.ttl as &fmt::Display); [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] 510 | let ttl = resp.map(|r| &r.ttl as &dyn fmt::Display); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let mut ipv4_payload = ipv4.payload_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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/main.rs:339:44 [INFO] [stdout] | [INFO] [stdout] 339 | for (i, unit) in ["s", "ms", "us"].into_iter().enumerate() { [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] 339 | for (i, unit) in ["s", "ms", "us"].iter().enumerate() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 339 | for (i, unit) in IntoIterator::into_iter(["s", "ms", "us"]).enumerate() { [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 19.55s [INFO] running `Command { std: "docker" "inspect" "8060cee669bb7a2d0c7b0e6aad38bdf2ecb47a8393fd8e6ede4a4bf51247233e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8060cee669bb7a2d0c7b0e6aad38bdf2ecb47a8393fd8e6ede4a4bf51247233e", kill_on_drop: false }` [INFO] [stdout] 8060cee669bb7a2d0c7b0e6aad38bdf2ecb47a8393fd8e6ede4a4bf51247233e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5091d08cebd4bc161aa0b379c65aa1040d8b6a1df5075b192b335b19a4020fad [INFO] running `Command { std: "docker" "start" "-a" "5091d08cebd4bc161aa0b379c65aa1040d8b6a1df5075b192b335b19a4020fad", kill_on_drop: false }` [INFO] [stderr] Compiling wping v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:437:25 [INFO] [stdout] | [INFO] [stdout] 437 | let addrs = try!(resolve_host(&s).map_err(|e| String::from(e.description()))); [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/main.rs:155:77 [INFO] [stdout] | [INFO] [stdout] 155 | fn send_ping (mut tx : TransportSender, dst : Ipv4Addr, len : usize) -> 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] 155 | fn send_ping (mut tx : TransportSender, dst : Ipv4Addr, len : usize) -> Box ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:404:30 [INFO] [stdout] | [INFO] [stdout] 404 | fn do_probe(probe : &mut Box ()>, stats: &mut Stats, [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] 404 | fn do_probe(probe : &mut Box ()>, stats: &mut Stats, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:500:60 [INFO] [stdout] | [INFO] [stdout] 500 | fn to_display(v : Option<&T>) -> Option<&fmt::Display> { [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] 500 | fn to_display(v : Option<&T>) -> Option<&dyn fmt::Display> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/columnar.rs:67:50 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn format(&'a self, values : Vec>) -> String { [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] 67 | pub fn format(&'a self, values : Vec>) -> String { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/columnar.rs:72:50 [INFO] [stdout] | [INFO] [stdout] 72 | (col, v) : (&'a Column, Option<&Display>)| { [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] 72 | (col, v) : (&'a Column, Option<&dyn Display>)| { [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/main.rs:437:74 [INFO] [stdout] | [INFO] [stdout] 437 | let addrs = try!(resolve_host(&s).map_err(|e| String::from(e.description()))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:501:22 [INFO] [stdout] | [INFO] [stdout] 501 | v.map (|v| v as &fmt::Display) [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] 501 | v.map (|v| v as &dyn fmt::Display) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:508:39 [INFO] [stdout] | [INFO] [stdout] 508 | let seq = resp.map(|r| &r.seq as &fmt::Display); [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] 508 | let seq = resp.map(|r| &r.seq as &dyn fmt::Display); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:509:46 [INFO] [stdout] | [INFO] [stdout] 509 | let nbytes = resp.map (|r| &r.nbytes as &fmt::Display); [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] 509 | let nbytes = resp.map (|r| &r.nbytes as &dyn fmt::Display); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:510:39 [INFO] [stdout] | [INFO] [stdout] 510 | let ttl = resp.map(|r| &r.ttl as &fmt::Display); [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] 510 | let ttl = resp.map(|r| &r.ttl as &dyn fmt::Display); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let mut ipv4_payload = ipv4.payload_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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/main.rs:339:44 [INFO] [stdout] | [INFO] [stdout] 339 | for (i, unit) in ["s", "ms", "us"].into_iter().enumerate() { [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] 339 | for (i, unit) in ["s", "ms", "us"].iter().enumerate() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 339 | for (i, unit) in IntoIterator::into_iter(["s", "ms", "us"]).enumerate() { [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 0.79s [INFO] running `Command { std: "docker" "inspect" "5091d08cebd4bc161aa0b379c65aa1040d8b6a1df5075b192b335b19a4020fad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5091d08cebd4bc161aa0b379c65aa1040d8b6a1df5075b192b335b19a4020fad", kill_on_drop: false }` [INFO] [stdout] 5091d08cebd4bc161aa0b379c65aa1040d8b6a1df5075b192b335b19a4020fad