[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] checking aoikonomopoulos/wping against master#00bfd6b2734d9c28a147bf237490995731781fdd for pr-117984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faoikonomopoulos%2Fwping" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aoikonomopoulos/wping on toolchain 00bfd6b2734d9c28a147bf237490995731781fdd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "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-5-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "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 thread-id v3.0.0 [INFO] [stderr] Downloaded resolve v0.1.2 [INFO] [stderr] Downloaded term v0.4.5 [INFO] [stderr] Downloaded redox_syscall v0.1.16 [INFO] [stderr] Downloaded num v0.1.36 [INFO] [stderr] Downloaded argparse v0.2.1 [INFO] [stderr] Downloaded aho-corasick v0.6.1 [INFO] [stderr] Downloaded regex v0.2.1 [INFO] [stderr] Downloaded regex-syntax v0.4.0 [INFO] [stderr] Downloaded thread_local v0.3.2 [INFO] [stderr] Downloaded pnet_macros v0.13.0 [INFO] [stderr] Downloaded pnet v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 841f5b3af97cf0f129415f931e46a95c7e93f204cd32479f1e6d2cda5ce2ca89 [INFO] running `Command { std: "docker" "start" "-a" "841f5b3af97cf0f129415f931e46a95c7e93f204cd32479f1e6d2cda5ce2ca89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "841f5b3af97cf0f129415f931e46a95c7e93f204cd32479f1e6d2cda5ce2ca89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "841f5b3af97cf0f129415f931e46a95c7e93f204cd32479f1e6d2cda5ce2ca89", kill_on_drop: false }` [INFO] [stdout] 841f5b3af97cf0f129415f931e46a95c7e93f204cd32479f1e6d2cda5ce2ca89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a29de25ae0fcb330b1aefb6ed1dccb8265839c7532c9bd33d1ee14fe2ed954e1 [INFO] running `Command { std: "docker" "start" "-a" "a29de25ae0fcb330b1aefb6ed1dccb8265839c7532c9bd33d1ee14fe2ed954e1", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.20 [INFO] [stderr] Checking rustc-serialize v0.3.22 [INFO] [stderr] Checking 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 log v0.3.6 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Compiling aho-corasick v0.6.1 [INFO] [stderr] Compiling thread_local v0.3.2 [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 ws2_32-sys v0.2.1 [INFO] [stderr] Checking matches v0.1.4 [INFO] [stderr] Checking num-iter v0.1.32 [INFO] [stderr] Checking unicode-bidi v0.2.5 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking unicode-normalization v0.1.4 [INFO] [stderr] Checking time v0.1.36 [INFO] [stderr] Checking pnet_macros_support v0.1.1 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Checking argparse v0.2.1 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Checking syntex_pos v0.42.0 [INFO] [stderr] Checking num-bigint v0.1.35 [INFO] [stderr] Checking num-complex v0.1.35 [INFO] [stderr] Checking syntex_errors v0.42.0 [INFO] [stderr] Checking idna v0.1.0 [INFO] [stderr] Checking num-rational v0.1.35 [INFO] [stderr] Checking syntex_syntax v0.42.0 [INFO] [stderr] Checking num v0.1.36 [INFO] [stderr] Checking chrono v0.3.0 [INFO] [stderr] Checking resolve v0.1.2 [INFO] [stderr] Checking syntex v0.42.2 [INFO] [stderr] Checking pnet_macros v0.13.0 [INFO] [stderr] Compiling pnet v0.16.0 [INFO] [stderr] Checking 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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [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: 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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [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: 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 method `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: use of deprecated method `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: 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] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [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] [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] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [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 13.00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.22 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "a29de25ae0fcb330b1aefb6ed1dccb8265839c7532c9bd33d1ee14fe2ed954e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a29de25ae0fcb330b1aefb6ed1dccb8265839c7532c9bd33d1ee14fe2ed954e1", kill_on_drop: false }` [INFO] [stdout] a29de25ae0fcb330b1aefb6ed1dccb8265839c7532c9bd33d1ee14fe2ed954e1 [INFO] checking aoikonomopoulos/wping against try#aa7c6ba69acce8b10a275eabfe6157ea72c8b599 for pr-117984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faoikonomopoulos%2Fwping" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aoikonomopoulos/wping on toolchain aa7c6ba69acce8b10a275eabfe6157ea72c8b599 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "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-5-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5c3bcd08077c7a1eb9de6af908f8e9467ce440d0b8fa8c7ff868323970ee7f5 [INFO] running `Command { std: "docker" "start" "-a" "e5c3bcd08077c7a1eb9de6af908f8e9467ce440d0b8fa8c7ff868323970ee7f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5c3bcd08077c7a1eb9de6af908f8e9467ce440d0b8fa8c7ff868323970ee7f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5c3bcd08077c7a1eb9de6af908f8e9467ce440d0b8fa8c7ff868323970ee7f5", kill_on_drop: false }` [INFO] [stdout] e5c3bcd08077c7a1eb9de6af908f8e9467ce440d0b8fa8c7ff868323970ee7f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2213b1f403133f84631c8f5fe54df08eec7e7c3a8ea09ff86bfda0be3cfab9a8 [INFO] running `Command { std: "docker" "start" "-a" "2213b1f403133f84631c8f5fe54df08eec7e7c3a8ea09ff86bfda0be3cfab9a8", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.20 [INFO] [stderr] Checking rustc-serialize v0.3.22 [INFO] [stderr] Compiling term v0.4.5 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Checking num-traits v0.1.36 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.22/src/serialize.rs:1155:5 [INFO] [stdout] | [INFO] [stdout] 1155 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/aa7c6ba69acce8b10a275eabfe6157ea72c8b599/library/alloc/src/borrow.rs:180:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.22/src/serialize.rs:1155:5 [INFO] [stdout] | [INFO] [stdout] 1155 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/aa7c6ba69acce8b10a275eabfe6157ea72c8b599/library/alloc/src/borrow.rs:180:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thread_local v0.3.2 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Compiling aho-corasick v0.6.1 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "2213b1f403133f84631c8f5fe54df08eec7e7c3a8ea09ff86bfda0be3cfab9a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2213b1f403133f84631c8f5fe54df08eec7e7c3a8ea09ff86bfda0be3cfab9a8", kill_on_drop: false }` [INFO] [stdout] 2213b1f403133f84631c8f5fe54df08eec7e7c3a8ea09ff86bfda0be3cfab9a8