[INFO] fetching crate pcap-async 0.2.1...
[INFO] checking pcap-async-0.2.1 against try#31561a63598a0f21fc74c024747ef1310fdd2eb2 for pr-133536
[INFO] extracting crate pcap-async 0.2.1 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate pcap-async 0.2.1 on toolchain 31561a63598a0f21fc74c024747ef1310fdd2eb2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pcap-async 0.2.1
[INFO] finished tweaking crates.io crate pcap-async 0.2.1
[INFO] tweaked toml for crates.io crate pcap-async 0.2.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 116 packages to latest compatible versions
[INFO] [stderr]       Adding criterion v0.2.11 (available: v0.5.1)
[INFO] [stderr]       Adding env_logger v0.6.2 (available: v0.11.5)
[INFO] [stderr]       Adding mio v0.6.23 (available: v1.0.3)
[INFO] [stderr]       Adding pin-project v0.4.30 (available: v1.1.7)
[INFO] [stderr]       Adding rand v0.3.23 (available: v0.8.5)
[INFO] [stderr]       Adding tokio v0.2.25 (available: v1.41.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 70aa84c6e3f2ed37d06f04bf24a89da7b874a67f902c8ecc631a885e4c1aaca7
[INFO] running `Command { std: "docker" "start" "-a" "70aa84c6e3f2ed37d06f04bf24a89da7b874a67f902c8ecc631a885e4c1aaca7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "70aa84c6e3f2ed37d06f04bf24a89da7b874a67f902c8ecc631a885e4c1aaca7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70aa84c6e3f2ed37d06f04bf24a89da7b874a67f902c8ecc631a885e4c1aaca7", kill_on_drop: false }`
[INFO] [stdout] 70aa84c6e3f2ed37d06f04bf24a89da7b874a67f902c8ecc631a885e4c1aaca7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b8c577401819012fd19bf45e6a653fbd0e6a359e7da87051cef17c107aa8734b
[INFO] running `Command { std: "docker" "start" "-a" "b8c577401819012fd19bf45e6a653fbd0e6a359e7da87051cef17c107aa8734b", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling pin-project-internal v0.4.30
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking addr2line v0.24.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking unicode-width v0.1.14
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking itertools v0.8.2
[INFO] [stderr]     Checking csv-core v0.1.11
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking pin-project-lite v0.1.12
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking rand_xoshiro v0.1.0
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking backtrace v0.3.74
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]    Compiling pcap-sys v0.1.3
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking env_logger v0.6.2
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking criterion-plot v0.3.1
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking serde_json v1.0.133
[INFO] [stderr]     Checking csv v1.3.1
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking criterion v0.2.11
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking pin-project v0.4.30
[INFO] [stderr]     Checking pcap-async v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/errors.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^---
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `Fail` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error`
[INFO] [stdout] 4 | pub enum Error {
[INFO] [stdout]   |          ----- `Error` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/errors.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^---
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `Display` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error`
[INFO] [stdout] 4 | pub enum Error {
[INFO] [stdout]   |          ----- `Error` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]   --> src/handle.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         drop(errbuf);
[INFO] [stdout]    |         ^^^^^------^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              argument has type `*mut i8`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dropping_copy_types)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 48 -         drop(errbuf);
[INFO] [stdout] 48 +         let _ = errbuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]   --> src/handle.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |         drop(errbuf);
[INFO] [stdout]    |         ^^^^^------^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              argument has type `*mut i8`
[INFO] [stdout]    |
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 82 -         drop(errbuf);
[INFO] [stdout] 82 +         let _ = errbuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/handle.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |         drop(errbuf);
[INFO] [stdout]     |         ^^^^^------^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `*mut i8`
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 117 -         drop(errbuf);
[INFO] [stdout] 117 +         let _ = errbuf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/handle.rs:171:49
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let bpf_str = std::ffi::CString::new(bpf.clone()).map_err(Error::Ffi)?;
[INFO] [stdout]     |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bridge_stream.rs:468:13
[INFO] [stdout]     |
[INFO] [stdout] 468 |         let mut result = bridge
[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: panic message is not a string literal
[INFO] [stdout]    --> src/bridge_stream.rs:417:13
[INFO] [stdout]     |
[INFO] [stdout] 417 |             format!("Could not build stream {}", stream.err().unwrap())
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 417 -             format!("Could not build stream {}", stream.err().unwrap())
[INFO] [stdout] 417 +             "Could not build stream {}", stream.err().unwrap()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/bridge_stream.rs:438:13
[INFO] [stdout]     |
[INFO] [stdout] 438 |             format!("Could not build stream {}", stream.err().unwrap())
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 438 -             format!("Could not build stream {}", stream.err().unwrap())
[INFO] [stdout] 438 +             "Could not build stream {}", stream.err().unwrap()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/errors.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^---
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `Fail` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error`
[INFO] [stdout] 4 | pub enum Error {
[INFO] [stdout]   |          ----- `Error` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/errors.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^---
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `Display` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error`
[INFO] [stdout] 4 | pub enum Error {
[INFO] [stdout]   |          ----- `Error` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]   --> src/handle.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         drop(errbuf);
[INFO] [stdout]    |         ^^^^^------^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              argument has type `*mut i8`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dropping_copy_types)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 48 -         drop(errbuf);
[INFO] [stdout] 48 +         let _ = errbuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]   --> src/handle.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |         drop(errbuf);
[INFO] [stdout]    |         ^^^^^------^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              argument has type `*mut i8`
[INFO] [stdout]    |
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 82 -         drop(errbuf);
[INFO] [stdout] 82 +         let _ = errbuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/handle.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |         drop(errbuf);
[INFO] [stdout]     |         ^^^^^------^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `*mut i8`
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 117 -         drop(errbuf);
[INFO] [stdout] 117 +         let _ = errbuf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/handle.rs:171:49
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let bpf_str = std::ffi::CString::new(bpf.clone()).map_err(Error::Ffi)?;
[INFO] [stdout]     |                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/stream.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |             format!("Could not build stream {}", stream.err().unwrap())
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 201 -             format!("Could not build stream {}", stream.err().unwrap())
[INFO] [stdout] 201 +             "Could not build stream {}", stream.err().unwrap()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/stream.rs:229:13
[INFO] [stdout]     |
[INFO] [stdout] 229 |             format!("Could not build stream {}", stream.err().unwrap())
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 229 -             format!("Could not build stream {}", stream.err().unwrap())
[INFO] [stdout] 229 +             "Could not build stream {}", stream.err().unwrap()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `retry_after` found for struct `Config` in the current scope
[INFO] [stdout]   --> benches/bench_capture.rs:84:67
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let packet_provider = BridgeStream::new(Config::default().retry_after().clone(), streams)
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^ method not found in `Config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: a value of type `Duration` cannot be built from an iterator over elements of type `PacketStream`
[INFO] [stdout]   --> benches/bench_capture.rs:82:14
[INFO] [stdout]    |
[INFO] [stdout] 82 |             .collect();
[INFO] [stdout]    |              ^^^^^^^ value of type `Duration` cannot be built from `std::iter::Iterator<Item=PacketStream>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromIterator<PacketStream>` is not implemented for `Duration`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]   --> benches/bench_capture.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let streams = vec![handle1.clone(), handle2.clone()]
[INFO] [stdout]    |                       -------------------------------------- this expression has type `Vec<Arc<Handle>>`
[INFO] [stdout] 80 |             .into_iter()
[INFO] [stdout]    |              ----------- `Iterator::Item` is `Arc<Handle>` here
[INFO] [stdout] 81 |             .map(|h| PacketStream::new(Config::default(), h).unwrap())
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `PacketStream` here
[INFO] [stdout] note: required by a bound in `std::iter::Iterator::collect`
[INFO] [stdout]   --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/core/src/iter/traits/iterator.rs:1967:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]    --> benches/bench_capture.rs:84:31
[INFO] [stdout]     |
[INFO] [stdout] 84  |         let packet_provider = BridgeStream::new(Config::default().retry_after().clone(), streams)
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^-------------------------------------------------- argument #3 of type `usize` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/bridge_stream.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout] 118 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 84  |         let packet_provider = BridgeStream::new(Config::default().retry_after().clone(), streams, /* usize */)
[INFO] [stdout]     |                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pcap-async` (bench "bench_capture") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "b8c577401819012fd19bf45e6a653fbd0e6a359e7da87051cef17c107aa8734b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8c577401819012fd19bf45e6a653fbd0e6a359e7da87051cef17c107aa8734b", kill_on_drop: false }`
[INFO] [stdout] b8c577401819012fd19bf45e6a653fbd0e6a359e7da87051cef17c107aa8734b
