[INFO] fetching crate bip_handshake 0.7.1...
[INFO] checking bip_handshake-0.7.1 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate bip_handshake 0.7.1 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate bip_handshake 0.7.1 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate bip_handshake 0.7.1
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate bip_handshake 0.7.1
[INFO] tweaked toml for crates.io crate bip_handshake 0.7.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-timer v0.1.2
[INFO] [stderr]   Downloaded slab v0.3.0
[INFO] [stderr]   Downloaded bip_util v0.5.0
[INFO] [stderr]   Downloaded memchr v1.0.2
[INFO] [stderr]   Downloaded nom v3.2.1
[INFO] [stderr]   Downloaded chrono v0.2.25
[INFO] [stderr]   Downloaded rust-crypto v0.2.36
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1234b2b37ab8f64f20d9b5b616f8f2629835f20fbdbe75dd790ce9115c7fb858
[INFO] running `Command { std: "docker" "start" "-a" "1234b2b37ab8f64f20d9b5b616f8f2629835f20fbdbe75dd790ce9115c7fb858", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1234b2b37ab8f64f20d9b5b616f8f2629835f20fbdbe75dd790ce9115c7fb858", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1234b2b37ab8f64f20d9b5b616f8f2629835f20fbdbe75dd790ce9115c7fb858", kill_on_drop: false }`
[INFO] [stdout] 1234b2b37ab8f64f20d9b5b616f8f2629835f20fbdbe75dd790ce9115c7fb858
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3626f31fb57fb058f0b8e719f5f6b052600abad7ae99889731d140b547843645
[INFO] running `Command { std: "docker" "start" "-a" "3626f31fb57fb058f0b8e719f5f6b052600abad7ae99889731d140b547843645", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]     Checking slab v0.3.0
[INFO] [stderr]     Checking scoped-tls v0.1.2
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking tokio-current-thread v0.1.7
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking memchr v1.0.2
[INFO] [stderr]     Checking tokio-codec v0.1.2
[INFO] [stderr]     Checking tokio-fs v0.1.7
[INFO] [stderr]     Checking num-complex v0.1.43
[INFO] [stderr]     Checking nom v3.2.1
[INFO] [stderr]     Checking tokio-timer v0.1.2
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking tokio-uds v0.2.7
[INFO] [stderr]     Checking tokio-udp v0.1.6
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking num-bigint v0.1.44
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking tokio-core v0.1.18
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking chrono v0.2.25
[INFO] [stderr]     Checking bip_util v0.5.0
[INFO] [stderr]     Checking bip_handshake v0.7.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/bittorrent/framed.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         try!(item.write_bytes(self.write_buffer.by_ref().writer()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/bittorrent/message.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         try!(self.prot.write_bytes(&mut writer));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/bittorrent/message.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         try!(self.ext.write_bytes(&mut writer));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/bittorrent/message.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         try!(writer.write_all(self.hash.as_ref()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/bittorrent/message.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         try!(writer.write_all(self.pid.as_ref()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/handshake/config.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `tokio_timer` is imported redundantly
[INFO] [stdout]   --> src/handshake/handshaker.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 29 | use tokio_timer::{self};
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | extern crate tokio_timer;
[INFO] [stdout]    | ------------------------- the item `tokio_timer` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `rand` is imported redundantly
[INFO] [stdout]   --> src/handshake/handshaker.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | use rand::{self, Rng};
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | extern crate rand;
[INFO] [stdout]    | ------------------ the item `rand` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/handshake/handshaker.rs:142:24
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let listener = try!(transport.listen(&builder.bind, &handle));
[INFO] [stdout]     |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/handshake/handshaker.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |             try!(listener.local_addr()).port()
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/message/protocol.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |         try!(writer.write_all(&[len as u8][..]));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/message/protocol.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         try!(writer.write_all(bytes));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/transport.rs:46:24
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let listener = try!(TcpListener::bind(addr, handle));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/transport.rs:47:27
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let listen_addr = try!(listener.local_addr());
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/bittorrent/framed.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         try!(item.write_bytes(self.write_buffer.by_ref().writer()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/bittorrent/message.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         try!(self.prot.write_bytes(&mut writer));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/bittorrent/message.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         try!(self.ext.write_bytes(&mut writer));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/bittorrent/message.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         try!(writer.write_all(self.hash.as_ref()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/bittorrent/message.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         try!(writer.write_all(self.pid.as_ref()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/handshake/config.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `tokio_timer` is imported redundantly
[INFO] [stdout]    --> src/handshake/handler/handshaker.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |     use tokio_timer;
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:10:1
[INFO] [stdout]     |
[INFO] [stdout] 10  | extern crate tokio_timer;
[INFO] [stdout]     | ------------------------- the item `tokio_timer` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `tokio_timer` is imported redundantly
[INFO] [stdout]   --> src/handshake/handler/initiator.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     use tokio_timer;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | extern crate tokio_timer;
[INFO] [stdout]    | ------------------------- the item `tokio_timer` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `tokio_timer` is imported redundantly
[INFO] [stdout]   --> src/handshake/handler/timer.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     use tokio_timer;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | extern crate tokio_timer;
[INFO] [stdout]    | ------------------------- the item `tokio_timer` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `tokio_timer` is imported redundantly
[INFO] [stdout]   --> src/handshake/handshaker.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 29 | use tokio_timer::{self};
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | extern crate tokio_timer;
[INFO] [stdout]    | ------------------------- the item `tokio_timer` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `rand` is imported redundantly
[INFO] [stdout]   --> src/handshake/handshaker.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | use rand::{self, Rng};
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | extern crate rand;
[INFO] [stdout]    | ------------------ the item `rand` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/handshake/handshaker.rs:142:24
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let listener = try!(transport.listen(&builder.bind, &handle));
[INFO] [stdout]     |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/handshake/handshaker.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |             try!(listener.local_addr()).port()
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/message/protocol.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |         try!(writer.write_all(&[len as u8][..]));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/message/protocol.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         try!(writer.write_all(bytes));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/transport.rs:46:24
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let listener = try!(TcpListener::bind(addr, handle));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/transport.rs:47:27
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let listen_addr = try!(listener.local_addr());
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/message/extensions.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 94 | /     do_parse!(bytes,
[INFO] [stdout] 95 | |         bytes: count_fixed!(u8, be_u8, NUM_EXTENSION_BYTES) >>
[INFO] [stdout] 96 | |         (Extensions::with_bytes(bytes))
[INFO] [stdout] 97 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `count_fixed` which comes from the expansion of the macro `do_parse` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/filter/filters.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 |     filters: Arc<RwLock<Vec<Box<HandshakeFilter + Send + Sync>>>>
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 8 |     filters: Arc<RwLock<Vec<Box<dyn HandshakeFilter + Send + Sync>>>>
[INFO] [stdout]   |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/handshake/handler/handshaker.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     -> Box<Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     -> Box<dyn Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[INFO] [stdout]    |            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/handshake/handler/handshaker.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     -> Box<Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 30 |     -> Box<dyn Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[INFO] [stdout]    |            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/handshake/handler/handshaker.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 |     -> Box<Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 |     -> Box<dyn Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[INFO] [stdout]    |            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/handshake/handler/initiator.rs:12:107
[INFO] [stdout]    |
[INFO] [stdout] 12 | ...ilters, Handle, HandshakeTimer)) -> Box<Future<Item=Option<HandshakeType<T::Socket>>,Error=()>>
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn initiator_handler<T>(item: InitiateMessage, context: &(T, Filters, Handle, HandshakeTimer)) -> Box<dyn Future<Item=Option<HandshakeType<T::Socket>>,Error=()>>
[INFO] [stdout]    |                                                                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filter/mod.rs:58:26
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn as_any(&self) -> &Any;
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn as_any(&self) -> &dyn Any;
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filter/filters.rs:70:38
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn check_index<F>(ref_filters: &[Box<HandshakeFilter + Send + Sync>], filter: &F) -> Option<usize>
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn check_index<F>(ref_filters: &[Box<dyn HandshakeFilter + Send + Sync>], filter: &F) -> Option<usize>
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filter/filters.rs:41:31
[INFO] [stdout]    |
[INFO] [stdout] 41 |         where B: FnOnce(&[Box<HandshakeFilter + Send + Sync>]) {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 41 |         where B: FnOnce(&[Box<dyn HandshakeFilter + Send + Sync>]) {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filter/filters.rs:54:31
[INFO] [stdout]    |
[INFO] [stdout] 54 |         where B: FnOnce(&[Box<HandshakeFilter + Send + Sync>]) -> R {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 54 |         where B: FnOnce(&[Box<dyn HandshakeFilter + Send + Sync>]) -> R {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filter/filters.rs:62:38
[INFO] [stdout]    |
[INFO] [stdout] 62 |         where B: FnOnce(&mut Vec<Box<HandshakeFilter + Send + Sync>>) -> R {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 62 |         where B: FnOnce(&mut Vec<Box<dyn HandshakeFilter + Send + Sync>>) -> R {
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/message/extensions.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 94 | /     do_parse!(bytes,
[INFO] [stdout] 95 | |         bytes: count_fixed!(u8, be_u8, NUM_EXTENSION_BYTES) >>
[INFO] [stdout] 96 | |         (Extensions::with_bytes(bytes))
[INFO] [stdout] 97 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `count_fixed` which comes from the expansion of the macro `do_parse` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/filter/filters.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 |     filters: Arc<RwLock<Vec<Box<HandshakeFilter + Send + Sync>>>>
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 8 |     filters: Arc<RwLock<Vec<Box<dyn HandshakeFilter + Send + Sync>>>>
[INFO] [stdout]   |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/handshake/handler/handshaker.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     -> Box<Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     -> Box<dyn Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[INFO] [stdout]    |            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/handshake/handler/handshaker.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     -> Box<Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 30 |     -> Box<dyn Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[INFO] [stdout]    |            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/handshake/handler/handshaker.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 |     -> Box<Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 |     -> Box<dyn Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[INFO] [stdout]    |            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/handshake/handler/initiator.rs:12:107
[INFO] [stdout]    |
[INFO] [stdout] 12 | ...ilters, Handle, HandshakeTimer)) -> Box<Future<Item=Option<HandshakeType<T::Socket>>,Error=()>>
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn initiator_handler<T>(item: InitiateMessage, context: &(T, Filters, Handle, HandshakeTimer)) -> Box<dyn Future<Item=Option<HandshakeType<T::Socket>>,Error=()>>
[INFO] [stdout]    |                                                                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filter/mod.rs:58:26
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn as_any(&self) -> &Any;
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn as_any(&self) -> &dyn Any;
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filter/filters.rs:70:38
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn check_index<F>(ref_filters: &[Box<HandshakeFilter + Send + Sync>], filter: &F) -> Option<usize>
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn check_index<F>(ref_filters: &[Box<dyn HandshakeFilter + Send + Sync>], filter: &F) -> Option<usize>
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filter/filters.rs:41:31
[INFO] [stdout]    |
[INFO] [stdout] 41 |         where B: FnOnce(&[Box<HandshakeFilter + Send + Sync>]) {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 41 |         where B: FnOnce(&[Box<dyn HandshakeFilter + Send + Sync>]) {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filter/filters.rs:54:31
[INFO] [stdout]    |
[INFO] [stdout] 54 |         where B: FnOnce(&[Box<HandshakeFilter + Send + Sync>]) -> R {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 54 |         where B: FnOnce(&[Box<dyn HandshakeFilter + Send + Sync>]) -> R {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filter/filters.rs:62:38
[INFO] [stdout]    |
[INFO] [stdout] 62 |         where B: FnOnce(&mut Vec<Box<HandshakeFilter + Send + Sync>>) -> R {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 62 |         where B: FnOnce(&mut Vec<Box<dyn HandshakeFilter + Send + Sync>>) -> R {
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/filter/filters.rs:107:30
[INFO] [stdout]     |
[INFO] [stdout] 107 |         fn as_any(&self) -> &Any {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 107 |         fn as_any(&self) -> &dyn Any {
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/filter/filters.rs:134:30
[INFO] [stdout]     |
[INFO] [stdout] 134 |         fn as_any(&self) -> &Any {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 134 |         fn as_any(&self) -> &dyn Any {
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/filter/filters.rs:161:30
[INFO] [stdout]     |
[INFO] [stdout] 161 |         fn as_any(&self) -> &Any {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 161 |         fn as_any(&self) -> &dyn Any {
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> src/bittorrent/framed.rs:81:49
[INFO] [stdout]    |
[INFO] [stdout] 81 |                     let read_result = self.sock.read_buf(&mut Cursor::new(&mut self.read_buffer[..]));
[INFO] [stdout]    |                                                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]    = help: call with fully qualified syntax `tokio_io::AsyncRead::read_buf(...)` to keep using the current method
[INFO] [stdout]    = help: add `#![feature(read_buf)]` to the crate attributes to enable `std::io::Read::read_buf`
[INFO] [stdout]    = note: `#[warn(unstable_name_collisions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]    --> src/bittorrent/framed.rs:117:47
[INFO] [stdout]     |
[INFO] [stdout] 117 | ...                   try_nb!(self.sock.read_buf(&mut cursor))
[INFO] [stdout]     |                                         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]     = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]     = help: call with fully qualified syntax `tokio_io::AsyncRead::read_buf(...)` to keep using the current method
[INFO] [stdout]     = help: add `#![feature(read_buf)]` to the crate attributes to enable `std::io::Read::read_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> src/bittorrent/framed.rs:81:49
[INFO] [stdout]    |
[INFO] [stdout] 81 |                     let read_result = self.sock.read_buf(&mut Cursor::new(&mut self.read_buffer[..]));
[INFO] [stdout]    |                                                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]    = help: call with fully qualified syntax `tokio_io::AsyncRead::read_buf(...)` to keep using the current method
[INFO] [stdout]    = help: add `#![feature(read_buf)]` to the crate attributes to enable `std::io::Read::read_buf`
[INFO] [stdout]    = note: `#[warn(unstable_name_collisions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]    --> src/bittorrent/framed.rs:117:47
[INFO] [stdout]     |
[INFO] [stdout] 117 | ...                   try_nb!(self.sock.read_buf(&mut cursor))
[INFO] [stdout]     |                                         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]     = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]     = help: call with fully qualified syntax `tokio_io::AsyncRead::read_buf(...)` to keep using the current method
[INFO] [stdout]     = help: add `#![feature(read_buf)]` to the crate attributes to enable `std::io::Read::read_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 27 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> test/test_filter_allow_all.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn as_any(&self) -> &Any { self }
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn as_any(&self) -> &dyn Any { self }
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> test/test_filter_block_all.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn as_any(&self) -> &Any { self }
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn as_any(&self) -> &dyn Any { self }
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> test/test_filter_whitelist_same_data.rs:19:26
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn as_any(&self) -> &Any { self }
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn as_any(&self) -> &dyn Any { self }
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> test/test_filter_whitelist_same_data.rs:30:26
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn as_any(&self) -> &Any { self }
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn as_any(&self) -> &dyn Any { self }
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> test/test_filter_whitelist_diff_data.rs:19:26
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn as_any(&self) -> &Any { self }
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn as_any(&self) -> &dyn Any { self }
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> test/test_filter_whitelist_diff_data.rs:30:26
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn as_any(&self) -> &Any { self }
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn as_any(&self) -> &dyn Any { self }
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.48s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "3626f31fb57fb058f0b8e719f5f6b052600abad7ae99889731d140b547843645", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3626f31fb57fb058f0b8e719f5f6b052600abad7ae99889731d140b547843645", kill_on_drop: false }`
[INFO] [stdout] 3626f31fb57fb058f0b8e719f5f6b052600abad7ae99889731d140b547843645
[INFO] checking bip_handshake-0.7.1 against try#bfe97fcae016881ad333f0ff8cea2cadb9cf136c for pr-121848
[INFO] extracting crate bip_handshake 0.7.1 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate bip_handshake 0.7.1 on toolchain bfe97fcae016881ad333f0ff8cea2cadb9cf136c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate bip_handshake 0.7.1
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate bip_handshake 0.7.1
[INFO] tweaked toml for crates.io crate bip_handshake 0.7.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" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 69a8e016e2b93f8b41b88843251a7f04c177d9d21e07454e0a417ab127ac4d6d
[INFO] running `Command { std: "docker" "start" "-a" "69a8e016e2b93f8b41b88843251a7f04c177d9d21e07454e0a417ab127ac4d6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "69a8e016e2b93f8b41b88843251a7f04c177d9d21e07454e0a417ab127ac4d6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "69a8e016e2b93f8b41b88843251a7f04c177d9d21e07454e0a417ab127ac4d6d", kill_on_drop: false }`
[INFO] [stdout] 69a8e016e2b93f8b41b88843251a7f04c177d9d21e07454e0a417ab127ac4d6d
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8b6ead8ae28181db87d805d6d91a829d27d070c268e0bbe0303f77d3a9136f78
[INFO] running `Command { std: "docker" "start" "-a" "8b6ead8ae28181db87d805d6d91a829d27d070c268e0bbe0303f77d3a9136f78", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]     Checking scoped-tls v0.1.2
[INFO] [stderr]     Checking slab v0.3.0
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking tokio-threadpool v0.1.18
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking tokio-codec v0.1.2
[INFO] [stderr]     Checking tokio-current-thread v0.1.7
[INFO] [stderr]     Checking tokio-fs v0.1.7
[INFO] [stderr]     Checking num-complex v0.1.43
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking num-bigint v0.1.44
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking memchr v1.0.2
[INFO] [stderr]     Checking tokio-timer v0.1.2
[INFO] [stderr]     Checking nom v3.2.1
[INFO] [stderr]     Checking tokio-udp v0.1.6
[INFO] [stderr]     Checking tokio-uds v0.2.7
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking tokio-core v0.1.18
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking chrono v0.2.25
[INFO] [stderr]     Checking bip_util v0.5.0
[INFO] [stderr]     Checking bip_handshake v0.7.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/bittorrent/framed.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         try!(item.write_bytes(self.write_buffer.by_ref().writer()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/bittorrent/message.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         try!(self.prot.write_bytes(&mut writer));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/bittorrent/message.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         try!(self.ext.write_bytes(&mut writer));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/bittorrent/message.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         try!(writer.write_all(self.hash.as_ref()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/bittorrent/message.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         try!(writer.write_all(self.pid.as_ref()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/handshake/config.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `tokio_timer` is imported redundantly
[INFO] [stdout]   --> src/handshake/handshaker.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 29 | use tokio_timer::{self};
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | extern crate tokio_timer;
[INFO] [stdout]    | ------------------------- the item `tokio_timer` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `rand` is imported redundantly
[INFO] [stdout]   --> src/handshake/handshaker.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | use rand::{self, Rng};
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | extern crate rand;
[INFO] [stdout]    | ------------------ the item `rand` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/handshake/handshaker.rs:142:24
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let listener = try!(transport.listen(&builder.bind, &handle));
[INFO] [stdout]     |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/handshake/handshaker.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |             try!(listener.local_addr()).port()
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/message/protocol.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |         try!(writer.write_all(&[len as u8][..]));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/message/protocol.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         try!(writer.write_all(bytes));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/transport.rs:46:24
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let listener = try!(TcpListener::bind(addr, handle));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/transport.rs:47:27
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let listen_addr = try!(listener.local_addr());
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/bittorrent/framed.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |         try!(item.write_bytes(self.write_buffer.by_ref().writer()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/bittorrent/message.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         try!(self.prot.write_bytes(&mut writer));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/bittorrent/message.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         try!(self.ext.write_bytes(&mut writer));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/bittorrent/message.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         try!(writer.write_all(self.hash.as_ref()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/bittorrent/message.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         try!(writer.write_all(self.pid.as_ref()));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout]  --> src/handshake/config.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::default::Default;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item `Default` is already defined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `tokio_timer` is imported redundantly
[INFO] [stdout]    --> src/handshake/handler/handshaker.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |     use tokio_timer;
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:10:1
[INFO] [stdout]     |
[INFO] [stdout] 10  | extern crate tokio_timer;
[INFO] [stdout]     | ------------------------- the item `tokio_timer` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `tokio_timer` is imported redundantly
[INFO] [stdout]   --> src/handshake/handler/initiator.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     use tokio_timer;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | extern crate tokio_timer;
[INFO] [stdout]    | ------------------------- the item `tokio_timer` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `tokio_timer` is imported redundantly
[INFO] [stdout]   --> src/handshake/handler/timer.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     use tokio_timer;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | extern crate tokio_timer;
[INFO] [stdout]    | ------------------------- the item `tokio_timer` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `tokio_timer` is imported redundantly
[INFO] [stdout]   --> src/handshake/handshaker.rs:29:19
[INFO] [stdout]    |
[INFO] [stdout] 29 | use tokio_timer::{self};
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | extern crate tokio_timer;
[INFO] [stdout]    | ------------------------- the item `tokio_timer` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `rand` is imported redundantly
[INFO] [stdout]   --> src/handshake/handshaker.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | use rand::{self, Rng};
[INFO] [stdout]    |            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:6:1
[INFO] [stdout]    |
[INFO] [stdout] 6  | extern crate rand;
[INFO] [stdout]    | ------------------ the item `rand` is already imported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/handshake/handshaker.rs:142:24
[INFO] [stdout]     |
[INFO] [stdout] 142 |         let listener = try!(transport.listen(&builder.bind, &handle));
[INFO] [stdout]     |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/handshake/handshaker.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |             try!(listener.local_addr()).port()
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/message/protocol.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |         try!(writer.write_all(&[len as u8][..]));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/message/protocol.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         try!(writer.write_all(bytes));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/transport.rs:46:24
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let listener = try!(TcpListener::bind(addr, handle));
[INFO] [stdout]    |                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/transport.rs:47:27
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let listen_addr = try!(listener.local_addr());
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/message/extensions.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 94 | /     do_parse!(bytes,
[INFO] [stdout] 95 | |         bytes: count_fixed!(u8, be_u8, NUM_EXTENSION_BYTES) >>
[INFO] [stdout] 96 | |         (Extensions::with_bytes(bytes))
[INFO] [stdout] 97 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `count_fixed` which comes from the expansion of the macro `do_parse` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/filter/filters.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 |     filters: Arc<RwLock<Vec<Box<HandshakeFilter + Send + Sync>>>>
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 8 |     filters: Arc<RwLock<Vec<Box<dyn HandshakeFilter + Send + Sync>>>>
[INFO] [stdout]   |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/handshake/handler/handshaker.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     -> Box<Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     -> Box<dyn Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[INFO] [stdout]    |            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/handshake/handler/handshaker.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     -> Box<Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 30 |     -> Box<dyn Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[INFO] [stdout]    |            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/handshake/handler/handshaker.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 |     -> Box<Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 |     -> Box<dyn Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[INFO] [stdout]    |            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/handshake/handler/initiator.rs:12:107
[INFO] [stdout]    |
[INFO] [stdout] 12 | ...ilters, Handle, HandshakeTimer)) -> Box<Future<Item=Option<HandshakeType<T::Socket>>,Error=()>>
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn initiator_handler<T>(item: InitiateMessage, context: &(T, Filters, Handle, HandshakeTimer)) -> Box<dyn Future<Item=Option<HandshakeType<T::Socket>>,Error=()>>
[INFO] [stdout]    |                                                                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/message/extensions.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 94 | /     do_parse!(bytes,
[INFO] [stdout] 95 | |         bytes: count_fixed!(u8, be_u8, NUM_EXTENSION_BYTES) >>
[INFO] [stdout] 96 | |         (Extensions::with_bytes(bytes))
[INFO] [stdout] 97 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `count_fixed` which comes from the expansion of the macro `do_parse` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filter/mod.rs:58:26
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn as_any(&self) -> &Any;
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn as_any(&self) -> &dyn Any;
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filter/filters.rs:70:38
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn check_index<F>(ref_filters: &[Box<HandshakeFilter + Send + Sync>], filter: &F) -> Option<usize>
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn check_index<F>(ref_filters: &[Box<dyn HandshakeFilter + Send + Sync>], filter: &F) -> Option<usize>
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/filter/filters.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 |     filters: Arc<RwLock<Vec<Box<HandshakeFilter + Send + Sync>>>>
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 8 |     filters: Arc<RwLock<Vec<Box<dyn HandshakeFilter + Send + Sync>>>>
[INFO] [stdout]   |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filter/filters.rs:41:31
[INFO] [stdout]    |
[INFO] [stdout] 41 |         where B: FnOnce(&[Box<HandshakeFilter + Send + Sync>]) {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 41 |         where B: FnOnce(&[Box<dyn HandshakeFilter + Send + Sync>]) {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filter/filters.rs:54:31
[INFO] [stdout]    |
[INFO] [stdout] 54 |         where B: FnOnce(&[Box<HandshakeFilter + Send + Sync>]) -> R {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 54 |         where B: FnOnce(&[Box<dyn HandshakeFilter + Send + Sync>]) -> R {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filter/filters.rs:62:38
[INFO] [stdout]    |
[INFO] [stdout] 62 |         where B: FnOnce(&mut Vec<Box<HandshakeFilter + Send + Sync>>) -> R {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 62 |         where B: FnOnce(&mut Vec<Box<dyn HandshakeFilter + Send + Sync>>) -> R {
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/handshake/handler/handshaker.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     -> Box<Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     -> Box<dyn Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[INFO] [stdout]    |            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/handshake/handler/handshaker.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     -> Box<Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 30 |     -> Box<dyn Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[INFO] [stdout]    |            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/handshake/handler/handshaker.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 |     -> Box<Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 |     -> Box<dyn Future<Item=Option<CompleteMessage<S>>, Error=()>> where S: AsyncRead + AsyncWrite + 'static {
[INFO] [stdout]    |            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/handshake/handler/initiator.rs:12:107
[INFO] [stdout]    |
[INFO] [stdout] 12 | ...ilters, Handle, HandshakeTimer)) -> Box<Future<Item=Option<HandshakeType<T::Socket>>,Error=()>>
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn initiator_handler<T>(item: InitiateMessage, context: &(T, Filters, Handle, HandshakeTimer)) -> Box<dyn Future<Item=Option<HandshakeType<T::Socket>>,Error=()>>
[INFO] [stdout]    |                                                                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filter/mod.rs:58:26
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn as_any(&self) -> &Any;
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn as_any(&self) -> &dyn Any;
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filter/filters.rs:70:38
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn check_index<F>(ref_filters: &[Box<HandshakeFilter + Send + Sync>], filter: &F) -> Option<usize>
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn check_index<F>(ref_filters: &[Box<dyn HandshakeFilter + Send + Sync>], filter: &F) -> Option<usize>
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filter/filters.rs:41:31
[INFO] [stdout]    |
[INFO] [stdout] 41 |         where B: FnOnce(&[Box<HandshakeFilter + Send + Sync>]) {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 41 |         where B: FnOnce(&[Box<dyn HandshakeFilter + Send + Sync>]) {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filter/filters.rs:54:31
[INFO] [stdout]    |
[INFO] [stdout] 54 |         where B: FnOnce(&[Box<HandshakeFilter + Send + Sync>]) -> R {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 54 |         where B: FnOnce(&[Box<dyn HandshakeFilter + Send + Sync>]) -> R {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/filter/filters.rs:62:38
[INFO] [stdout]    |
[INFO] [stdout] 62 |         where B: FnOnce(&mut Vec<Box<HandshakeFilter + Send + Sync>>) -> R {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 62 |         where B: FnOnce(&mut Vec<Box<dyn HandshakeFilter + Send + Sync>>) -> R {
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/filter/filters.rs:107:30
[INFO] [stdout]     |
[INFO] [stdout] 107 |         fn as_any(&self) -> &Any {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 107 |         fn as_any(&self) -> &dyn Any {
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/filter/filters.rs:134:30
[INFO] [stdout]     |
[INFO] [stdout] 134 |         fn as_any(&self) -> &Any {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 134 |         fn as_any(&self) -> &dyn Any {
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/filter/filters.rs:161:30
[INFO] [stdout]     |
[INFO] [stdout] 161 |         fn as_any(&self) -> &Any {
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 161 |         fn as_any(&self) -> &dyn Any {
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> src/bittorrent/framed.rs:81:49
[INFO] [stdout]    |
[INFO] [stdout] 81 |                     let read_result = self.sock.read_buf(&mut Cursor::new(&mut self.read_buffer[..]));
[INFO] [stdout]    |                                                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]    = help: call with fully qualified syntax `tokio_io::AsyncRead::read_buf(...)` to keep using the current method
[INFO] [stdout]    = help: add `#![feature(read_buf)]` to the crate attributes to enable `std::io::Read::read_buf`
[INFO] [stdout]    = note: `#[warn(unstable_name_collisions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]    --> src/bittorrent/framed.rs:117:47
[INFO] [stdout]     |
[INFO] [stdout] 117 | ...                   try_nb!(self.sock.read_buf(&mut cursor))
[INFO] [stdout]     |                                         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]     = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]     = help: call with fully qualified syntax `tokio_io::AsyncRead::read_buf(...)` to keep using the current method
[INFO] [stdout]     = help: add `#![feature(read_buf)]` to the crate attributes to enable `std::io::Read::read_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> src/bittorrent/framed.rs:81:49
[INFO] [stdout]    |
[INFO] [stdout] 81 |                     let read_result = self.sock.read_buf(&mut Cursor::new(&mut self.read_buffer[..]));
[INFO] [stdout]    |                                                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]    = help: call with fully qualified syntax `tokio_io::AsyncRead::read_buf(...)` to keep using the current method
[INFO] [stdout]    = help: add `#![feature(read_buf)]` to the crate attributes to enable `std::io::Read::read_buf`
[INFO] [stdout]    = note: `#[warn(unstable_name_collisions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]    --> src/bittorrent/framed.rs:117:47
[INFO] [stdout]     |
[INFO] [stdout] 117 | ...                   try_nb!(self.sock.read_buf(&mut cursor))
[INFO] [stdout]     |                                         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]     = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]     = help: call with fully qualified syntax `tokio_io::AsyncRead::read_buf(...)` to keep using the current method
[INFO] [stdout]     = help: add `#![feature(read_buf)]` to the crate attributes to enable `std::io::Read::read_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 27 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> test/test_filter_allow_all.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn as_any(&self) -> &Any { self }
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn as_any(&self) -> &dyn Any { self }
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> test/test_filter_block_all.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn as_any(&self) -> &Any { self }
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn as_any(&self) -> &dyn Any { self }
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> test/test_filter_whitelist_same_data.rs:19:26
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn as_any(&self) -> &Any { self }
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn as_any(&self) -> &dyn Any { self }
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> test/test_filter_whitelist_same_data.rs:30:26
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn as_any(&self) -> &Any { self }
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn as_any(&self) -> &dyn Any { self }
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> test/test_filter_whitelist_diff_data.rs:19:26
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn as_any(&self) -> &Any { self }
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn as_any(&self) -> &dyn Any { self }
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> test/test_filter_whitelist_diff_data.rs:30:26
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn as_any(&self) -> &Any { self }
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn as_any(&self) -> &dyn Any { self }
[INFO] [stdout]    |                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.49s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "8b6ead8ae28181db87d805d6d91a829d27d070c268e0bbe0303f77d3a9136f78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b6ead8ae28181db87d805d6d91a829d27d070c268e0bbe0303f77d3a9136f78", kill_on_drop: false }`
[INFO] [stdout] 8b6ead8ae28181db87d805d6d91a829d27d070c268e0bbe0303f77d3a9136f78
