[INFO] fetching crate rlpx 0.4.1...
[INFO] testing rlpx-0.4.1 against beta-2021-08-01 for beta-1.55-1
[INFO] extracting crate rlpx 0.4.1 into /workspace/builds/worker-59/source
[INFO] validating manifest of crates.io crate rlpx 0.4.1 on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rlpx 0.4.1
[INFO] finished tweaking crates.io crate rlpx 0.4.1
[INFO] tweaked toml for crates.io crate rlpx 0.4.1 written to /workspace/builds/worker-59/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded generic-array v0.8.4
[INFO] [stderr]   Downloaded block-buffer v0.2.0
[INFO] [stderr]   Downloaded ethereum-rlp v0.2.3
[INFO] [stderr]   Downloaded ethereum-hexutil v0.2.3
[INFO] [stderr]   Downloaded sha2 v0.6.0
[INFO] [stderr]   Downloaded digest v0.6.2
[INFO] [stderr]   Downloaded libsecp256k1 v0.1.3
[INFO] [stderr]   Downloaded elastic-array-plus v0.9.1
[INFO] [stderr]   Downloaded ethereum-bigint v0.2.9
[INFO] [stderr]   Downloaded sha3 v0.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3ebdf227c9784b3eed15a44af3ad718e079762fa8b1abc89f2a041e65d11bacb
[INFO] running `Command { std: "docker" "start" "-a" "3ebdf227c9784b3eed15a44af3ad718e079762fa8b1abc89f2a041e65d11bacb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3ebdf227c9784b3eed15a44af3ad718e079762fa8b1abc89f2a041e65d11bacb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ebdf227c9784b3eed15a44af3ad718e079762fa8b1abc89f2a041e65d11bacb", kill_on_drop: false }`
[INFO] [stdout] 3ebdf227c9784b3eed15a44af3ad718e079762fa8b1abc89f2a041e65d11bacb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e32bd095b5ab620af266056420744cbcab32cbe1ae5defe067e0f14324ded16e
[INFO] running `Command { std: "docker" "start" "-a" "e32bd095b5ab620af266056420744cbcab32cbe1ae5defe067e0f14324ded16e", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling futures v0.1.31
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling nodrop v0.1.14
[INFO] [stderr]    Compiling byte-tools v0.2.0
[INFO] [stderr]    Compiling ethereum-hexutil v0.2.3
[INFO] [stderr]    Compiling elastic-array-plus v0.9.1
[INFO] [stderr]    Compiling scoped-tls v0.1.2
[INFO] [stderr]    Compiling libsecp256k1 v0.1.3
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling generic-array v0.8.4
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling ethereum-rlp v0.2.3
[INFO] [stderr]    Compiling block-buffer v0.2.0
[INFO] [stderr]    Compiling digest v0.6.2
[INFO] [stderr]    Compiling sha3 v0.6.0
[INFO] [stderr]    Compiling sha2 v0.6.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling ethereum-bigint v0.2.9
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling crossbeam-deque v0.7.4
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling tokio-uds v0.2.7
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling tokio-fs v0.1.7
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling tokio-core v0.1.18
[INFO] [stderr]    Compiling rlpx v0.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `secp256k1::SharedSecret`
[INFO] [stdout]  --> src/ecies/algorithm.rs:3:55
[INFO] [stdout]   |
[INFO] [stdout] 3 | use secp256k1::{self, Message, Signature, RecoveryId, SharedSecret, PublicKey, SecretKey};
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^ no `SharedSecret` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1`
[INFO] [stdout]   --> src/util.rs:42:56
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn id2pk(id: H512) -> Result<PublicKey, secp256k1::Error> {
[INFO] [stdout]    |                                                        ^^^^^ not found in `secp256k1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sign` in crate `secp256k1`
[INFO] [stdout]    --> src/ecies/algorithm.rs:187:37
[INFO] [stdout]     |
[INFO] [stdout] 187 |         let (sig, rec) = secp256k1::sign(&msg, &self.ephemeral_secret_key)?;
[INFO] [stdout]     |                                     ^^^^ not found in `secp256k1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1`
[INFO] [stdout]  --> src/errors.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 |     SECP256K1(secp256k1::Error),
[INFO] [stdout]   |                          ^^^^^ not found in `secp256k1`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 1 | use io::Error;
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Error;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1`
[INFO] [stdout]   --> src/errors.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl From<secp256k1::Error> for ECIESError {
[INFO] [stdout]    |                      ^^^^^ not found in `secp256k1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1`
[INFO] [stdout]   --> src/errors.rs:34:31
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn from(error: secp256k1::Error) -> ECIESError {
[INFO] [stdout]    |                               ^^^^^ not found in `secp256k1`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> src/util.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use secp256k1::{self, PublicKey, SecretKey};
[INFO] [stdout]   |                                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crypto::blockmodes::CtrMode`
[INFO] [stdout]  --> src/util.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crypto::blockmodes::CtrMode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crypto::aessafe::AesSafe128Encryptor`
[INFO] [stdout]  --> src/util.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crypto::aessafe::AesSafe128Encryptor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RefReadBuffer`, `RefWriteBuffer`
[INFO] [stdout]  --> src/util.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crypto::buffer::{RefReadBuffer, RefWriteBuffer};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rlp`
[INFO] [stdout]   --> src/ecies/algorithm.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rlp;
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncWrite`
[INFO] [stdout]  --> src/ecies/proto.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio_io::{AsyncRead, AsyncWrite};
[INFO] [stdout]   |                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Core`
[INFO] [stdout]  --> src/ecies/proto.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio_core::reactor::{Handle, Core};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufMut`
[INFO] [stdout]  --> src/ecies/proto.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use bytes::{BytesMut, BufMut};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ecies/proto.rs:156:14
[INFO] [stdout]     |
[INFO] [stdout] 156 |     ) -> Box<Future<Item = ECIESStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = ECIESStream, Error = io::Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ecies/proto.rs:161:24
[INFO] [stdout]     |
[INFO] [stdout] 161 |                 as Box<Future<Item = ECIESStream, Error = io::Error>>,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = ECIESStream, Error = io::Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ecies/proto.rs:192:14
[INFO] [stdout]     |
[INFO] [stdout] 192 |     ) -> Box<Future<Item = ECIESStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = ECIESStream, Error = io::Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/ecies/proto.rs:197:24
[INFO] [stdout]     |
[INFO] [stdout] 197 |                 as Box<Future<Item = ECIESStream, Error = io::Error>>,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = ECIESStream, Error = io::Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead`, `AsyncWrite`
[INFO] [stdout]  --> src/peer.rs:8:16
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio_io::{AsyncRead, AsyncWrite};
[INFO] [stdout]   |                ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decoder`, `Encoder`, `Framed`
[INFO] [stdout]  --> src/peer.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]   |                       ^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/peer.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use secp256k1::{self, PublicKey, SecretKey};
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/peer.rs:107:14
[INFO] [stdout]     |
[INFO] [stdout] 107 |     ) -> Box<Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = PeerStream, Error = io::Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/peer.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 121 |     ) -> Box<Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = PeerStream, Error = io::Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/peer.rs:135:14
[INFO] [stdout]     |
[INFO] [stdout] 135 |     ) -> Box<Future<Item = PeerStream, Error = io::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = PeerStream, Error = io::Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `util::pk2id`
[INFO] [stdout]   --> src/lib.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use util::pk2id;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PublicKey`
[INFO] [stdout]   --> src/lib.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 | use secp256k1::{PublicKey, SecretKey};
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::future`
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use futures::future;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/lib.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead`, `AsyncWrite`
[INFO] [stdout]   --> src/lib.rs:39:16
[INFO] [stdout]    |
[INFO] [stdout] 39 | use tokio_io::{AsyncRead, AsyncWrite};
[INFO] [stdout]    |                ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decoder`, `Encoder`, `Framed`
[INFO] [stdout]   --> src/lib.rs:40:23
[INFO] [stdout]    |
[INFO] [stdout] 40 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]    |                       ^^^^^^  ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 81 |     futures: Vec<(H512, Box<Future<Item = PeerStream, Error = io::Error>>)>,
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = PeerStream, Error = io::Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:82:31
[INFO] [stdout]    |
[INFO] [stdout] 82 |     incoming_futures: Vec<Box<Future<Item = PeerStream, Error = io::Error>>>,
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = PeerStream, Error = io::Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]   --> src/lib.rs:40:23
[INFO] [stdout]    |
[INFO] [stdout] 40 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]  --> src/ecies/proto.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]    --> src/ecies/proto.rs:145:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |     stream: Framed<TcpStream, ECIESCodec>,
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec
[INFO] [stdout]  --> src/peer.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio_io::codec::{Framed, Encoder, Decoder};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `len` found for enum `Option` in the current scope
[INFO] [stdout]   --> src/util.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |     debug_assert!(v.len() == 65);
[INFO] [stdout]    |                     ^^^ method not found in `Option<[u8; 65]>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `Option<[u8; 65]>`
[INFO] [stdout]   --> src/util.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 |     H512::from(&v[1..])
[INFO] [stdout]    |                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]   --> src/ecies/algorithm.rs:76:47
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let ephemeral_secret_key = SecretKey::random(&mut OsRng::new()?);
[INFO] [stdout]    |                                               ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]   --> src/ecies/algorithm.rs:99:47
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let ephemeral_secret_key = SecretKey::random(&mut OsRng::new()?);
[INFO] [stdout]    |                                               ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:124:37
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let secret_key = SecretKey::random(&mut OsRng::new()?);
[INFO] [stdout]     |                                     ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ecies/algorithm.rs:142:36
[INFO] [stdout]     |
[INFO] [stdout] 142 |         ret[0..65].copy_from_slice(&public_key.serialize());
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^ expected slice `[u8]`, found enum `Option`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                found reference `&Option<[u8; 65]>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/ecies/algorithm.rs:154:52
[INFO] [stdout]     |
[INFO] [stdout] 149 | /     fn decrypt_message(&self, encrypted: &[u8]) -> Result<Vec<u8>, ECIESError> {
[INFO] [stdout] 150 | |         let mut pub_raw = [0u8; 65];
[INFO] [stdout] 151 | |         for i in 0..65 {
[INFO] [stdout] 152 | |             pub_raw[i] = encrypted[i];
[INFO] [stdout] 153 | |         }
[INFO] [stdout] 154 | |         let public_key = PublicKey::parse(&pub_raw)?;
[INFO] [stdout]     | |                                                    ^ use `.ok_or(...)?` to provide an error compatible with `Result<Vec<u8>, ECIESError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 176 | |         Ok(decrypted_data)
[INFO] [stdout] 177 | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Vec<u8>, ECIESError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `RecoveryId` in the current scope
[INFO] [stdout]    --> src/ecies/algorithm.rs:212:31
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let rec = RecoveryId::parse(data[64])?;
[INFO] [stdout]     |                               ^^^^^ function or associated item not found in `RecoveryId`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ecies/algorithm.rs:228:68
[INFO] [stdout]     |
[INFO] [stdout] 228 |         self.remote_ephemeral_public_key = Some(secp256k1::recover(&msg, &sig, &rec)?);
[INFO] [stdout]     |                                                                    ^^^^ expected struct `Signature`, found struct `Message`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&Signature`
[INFO] [stdout]                found reference `&Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/ecies/algorithm.rs:228:74
[INFO] [stdout]     |
[INFO] [stdout] 228 |         self.remote_ephemeral_public_key = Some(secp256k1::recover(&msg, &sig, &rec)?);
[INFO] [stdout]     |                                                                          ^^^^ expected struct `RecoveryId`, found struct `Signature`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&RecoveryId`
[INFO] [stdout]                found reference `&Signature`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/ecies/algorithm.rs:228:85
[INFO] [stdout]     |
[INFO] [stdout] 206 | /     fn parse_auth_unencrypted(&mut self, data: [u8; AUTH_LEN]) -> Result<(), ECIESError> {
[INFO] [stdout] 207 | |         let mut sig_data = [0u8; 64];
[INFO] [stdout] 208 | |         for i in 0..64 {
[INFO] [stdout] 209 | |             sig_data[i] = data[i];
[INFO] [stdout] ...   |
[INFO] [stdout] 228 | |         self.remote_ephemeral_public_key = Some(secp256k1::recover(&msg, &sig, &rec)?);
[INFO] [stdout]     | |                                                                                     ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), ECIESError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 236 | |         Ok(())
[INFO] [stdout] 237 | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(), ECIESError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead
[INFO] [stdout]    --> src/ecies/proto.rs:168:24
[INFO] [stdout]     |
[INFO] [stdout] 168 |                 socket.framed(ecies).send(ECIESValue::Auth)
[INFO] [stdout]     |                        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead
[INFO] [stdout]    --> src/ecies/proto.rs:201:29
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let stream = stream.framed(ecies).into_future().map_err(|(e, _)| e)
[INFO] [stdout]     |                             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 17 previous errors; 32 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0425, E0432, E0599, E0608.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rlpx` due to 18 previous errors; 32 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e32bd095b5ab620af266056420744cbcab32cbe1ae5defe067e0f14324ded16e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e32bd095b5ab620af266056420744cbcab32cbe1ae5defe067e0f14324ded16e", kill_on_drop: false }`
[INFO] [stdout] e32bd095b5ab620af266056420744cbcab32cbe1ae5defe067e0f14324ded16e
