[INFO] fetching crate wping 0.3.0... [INFO] testing wping-0.3.0 against 1.55.0 for beta-1.56-1 [INFO] extracting crate wping 0.3.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate wping 0.3.0 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wping 0.3.0 [INFO] finished tweaking crates.io crate wping 0.3.0 [INFO] tweaked toml for crates.io crate wping 0.3.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8ded7962dee2d0d7ae227041957a1feee2cc2bb71de921a8ab306a79be7bdf2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d8ded7962dee2d0d7ae227041957a1feee2cc2bb71de921a8ab306a79be7bdf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8ded7962dee2d0d7ae227041957a1feee2cc2bb71de921a8ab306a79be7bdf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8ded7962dee2d0d7ae227041957a1feee2cc2bb71de921a8ab306a79be7bdf2", kill_on_drop: false }` [INFO] [stdout] d8ded7962dee2d0d7ae227041957a1feee2cc2bb71de921a8ab306a79be7bdf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.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] 2c11ea76de9010e62f5df4a0c7db52fcbbfb03bfb317e44d439dfefb86341084 [INFO] running `Command { std: "docker" "start" "-a" "2c11ea76de9010e62f5df4a0c7db52fcbbfb03bfb317e44d439dfefb86341084", kill_on_drop: false }` [INFO] [stderr] Compiling pnet_base v0.28.0 [INFO] [stderr] Compiling pnet_macros_support v0.1.1 [INFO] [stderr] Compiling argparse v0.2.2 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling resolve v0.1.2 [INFO] [stderr] Compiling pnet_macros_support v0.28.0 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.15.0 [INFO] [stderr] Compiling pnet v0.16.0 [INFO] [stderr] Compiling wping v0.3.0 (/opt/rustwide/workdir) [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] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(u16) -> ()` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(u16) -> ()` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [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:500:60 [INFO] [stdout] | [INFO] [stdout] 500 | fn to_display(v : Option<&T>) -> Option<&fmt::Display> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [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: 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 issue #66145 [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 56.71s [INFO] running `Command { std: "docker" "inspect" "2c11ea76de9010e62f5df4a0c7db52fcbbfb03bfb317e44d439dfefb86341084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c11ea76de9010e62f5df4a0c7db52fcbbfb03bfb317e44d439dfefb86341084", kill_on_drop: false }` [INFO] [stdout] 2c11ea76de9010e62f5df4a0c7db52fcbbfb03bfb317e44d439dfefb86341084 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbf4846d25e0bcff0a0ca76776c92cc7fead3363842b06ce4b46b7a24081eb2f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cbf4846d25e0bcff0a0ca76776c92cc7fead3363842b06ce4b46b7a24081eb2f", kill_on_drop: false }` [INFO] [stderr] Compiling wping v0.3.0 (/opt/rustwide/workdir) [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] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(u16) -> ()` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(u16) -> ()` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [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:500:60 [INFO] [stdout] | [INFO] [stdout] 500 | fn to_display(v : Option<&T>) -> Option<&fmt::Display> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [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: 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 issue #66145 [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 1.80s [INFO] running `Command { std: "docker" "inspect" "cbf4846d25e0bcff0a0ca76776c92cc7fead3363842b06ce4b46b7a24081eb2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbf4846d25e0bcff0a0ca76776c92cc7fead3363842b06ce4b46b7a24081eb2f", kill_on_drop: false }` [INFO] [stdout] cbf4846d25e0bcff0a0ca76776c92cc7fead3363842b06ce4b46b7a24081eb2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cf7f59e8e576a3c254cd002324643def727e32b4491e22b1f0e918ab3656c7cf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cf7f59e8e576a3c254cd002324643def727e32b4491e22b1f0e918ab3656c7cf", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/columnar.rs:67:50 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn format(&'a self, values : Vec>) -> String { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/columnar.rs:72:50 [INFO] [stderr] | [INFO] [stderr] 72 | (col, v) : (&'a Column, Option<&Display>)| { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Display` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:155:77 [INFO] [stderr] | [INFO] [stderr] 155 | fn send_ping (mut tx : TransportSender, dst : Ipv4Addr, len : usize) -> Box ()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(u16) -> ()` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:404:30 [INFO] [stderr] | [INFO] [stderr] 404 | fn do_probe(probe : &mut Box ()>, stats: &mut Stats, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(u16) -> ()` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:437:25 [INFO] [stderr] | [INFO] [stderr] 437 | let addrs = try!(resolve_host(&s).map_err(|e| String::from(e.description()))); [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/main.rs:500:60 [INFO] [stderr] | [INFO] [stderr] 500 | fn to_display(v : Option<&T>) -> Option<&fmt::Display> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:501:22 [INFO] [stderr] | [INFO] [stderr] 501 | v.map (|v| v as &fmt::Display) [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:508:39 [INFO] [stderr] | [INFO] [stderr] 508 | let seq = resp.map(|r| &r.seq as &fmt::Display); [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:509:46 [INFO] [stderr] | [INFO] [stderr] 509 | let nbytes = resp.map (|r| &r.nbytes as &fmt::Display); [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:510:39 [INFO] [stderr] | [INFO] [stderr] 510 | let ttl = resp.map(|r| &r.ttl as &fmt::Display); [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:437:74 [INFO] [stderr] | [INFO] [stderr] 437 | let addrs = try!(resolve_host(&s).map_err(|e| String::from(e.description()))); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:115:9 [INFO] [stderr] | [INFO] [stderr] 115 | let mut ipv4_payload = ipv4.payload_mut(); [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stderr] --> src/main.rs:339:44 [INFO] [stderr] | [INFO] [stderr] 339 | for (i, unit) in ["s", "ms", "us"].into_iter().enumerate() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see issue #66145 [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 339 | for (i, unit) in ["s", "ms", "us"].iter().enumerate() { [INFO] [stderr] | ^^^^ [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 339 | for (i, unit) in IntoIterator::into_iter(["s", "ms", "us"]).enumerate() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^ [INFO] [stderr] [INFO] [stderr] warning: `wping` (bin "wping" test) generated 13 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/wping-ab21dab62996185b) [INFO] [stdout] running 1 test [INFO] [stdout] test test_nanoseconds_display ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cf7f59e8e576a3c254cd002324643def727e32b4491e22b1f0e918ab3656c7cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf7f59e8e576a3c254cd002324643def727e32b4491e22b1f0e918ab3656c7cf", kill_on_drop: false }` [INFO] [stdout] cf7f59e8e576a3c254cd002324643def727e32b4491e22b1f0e918ab3656c7cf