[INFO] fetching crate etclient 0.3.0... [INFO] testing etclient-0.3.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate etclient 0.3.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate etclient 0.3.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate etclient 0.3.0 [INFO] finished tweaking crates.io crate etclient 0.3.0 [INFO] tweaked toml for crates.io crate etclient 0.3.0 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4d9d29e88fd27cb1ab776c8e7db3c9d8ae078120e899ec5f0ba737f9906a7b0 [INFO] running `Command { std: "docker" "start" "-a" "c4d9d29e88fd27cb1ab776c8e7db3c9d8ae078120e899ec5f0ba737f9906a7b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4d9d29e88fd27cb1ab776c8e7db3c9d8ae078120e899ec5f0ba737f9906a7b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4d9d29e88fd27cb1ab776c8e7db3c9d8ae078120e899ec5f0ba737f9906a7b0", kill_on_drop: false }` [INFO] [stdout] c4d9d29e88fd27cb1ab776c8e7db3c9d8ae078120e899ec5f0ba737f9906a7b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78cfbda585e6d643f0a89b3ed95a52e5219cc6845097508c94d1d407fac3b74d [INFO] running `Command { std: "docker" "start" "-a" "78cfbda585e6d643f0a89b3ed95a52e5219cc6845097508c94d1d407fac3b74d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling elastic-array-plus v0.9.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling ethereum-hexutil v0.2.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling libsecp256k1 v0.1.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling blockchain v0.2.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling ethereum-rlp v0.2.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 rustc_version v0.2.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-timer-plus v0.1.3 [INFO] [stderr] Compiling generic-array v0.8.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling block-buffer v0.2.0 [INFO] [stderr] Compiling digest v0.6.1 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling sha3 v0.6.0 [INFO] [stderr] Compiling sha2 v0.6.0 [INFO] [stderr] Compiling ripemd160 v0.6.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling ethereum-bigint v0.2.9 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling ethereum-block-core v0.1.0 [INFO] [stderr] Compiling ethereum-bloom v0.2.1 [INFO] [stderr] Compiling ethereum-trie v0.3.8 [INFO] [stderr] Compiling ethash v0.3.1 [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 ethereum-block v0.3.5 [INFO] [stderr] Compiling dpt v0.3.1 [INFO] [stderr] Compiling rlpx v0.4.1 [INFO] [stdout] error[E0432]: unresolved import `secp256k1::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethereum-block-0.3.5/src/transaction.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use secp256k1::{self, Message, Error, Signature, RecoveryId, SecretKey, PublicKey}; [INFO] [stdout] | ^^^^^ no `Error` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `secp256k1::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethereum-block-0.3.5/src/address.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use secp256k1::{self, PublicKey, SecretKey, Error}; [INFO] [stdout] | ^^^^^ no `Error` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sign` in crate `secp256k1` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethereum-block-0.3.5/src/transaction.rs:160:26 [INFO] [stdout] | [INFO] [stdout] 160 | { secp256k1::sign(&msg, key).unwrap() } [INFO] [stdout] | ^^^^ not found in `secp256k1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sign` in crate `secp256k1` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/dpt-0.3.1/src/proto.rs:91:37 [INFO] [stdout] | [INFO] [stdout] 91 | let (sig, rec) = secp256k1::sign(&message, &self.secret_key).unwrap(); [INFO] [stdout] | ^^^^ not found in `secp256k1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `secp256k1` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/dpt-0.3.1/src/util.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn id2pk(id: H512) -> Result { [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[E0432]: unresolved import `secp256k1::SharedSecret` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rlpx-0.4.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rlpx-0.4.1/src/util.rs:42:56 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn id2pk(id: H512) -> Result { [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rlpx-0.4.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rlpx-0.4.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rlpx-0.4.1/src/errors.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | impl From 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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rlpx-0.4.1/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] error[E0599]: no function or associated item named `parse` found for struct `RecoveryId` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethereum-block-0.3.5/src/transaction.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | Ok((Signature::parse(&sig), RecoveryId::parse(self.standard_v() as u8)?)) [INFO] [stdout] | ^^^^^ function or associated item not found in `RecoveryId` [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/dpt-0.3.1/src/proto.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 51 | let rec_id = try_none!(RecoveryId::parse(buf[96])); [INFO] [stdout] | ^^^^^ function or associated item not found in `RecoveryId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethereum-block-0.3.5/src/transaction.rs:233:34 [INFO] [stdout] | [INFO] [stdout] 233 | secp256k1::recover(&Message::parse(&a), &sig.0, &sig.1)? [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[E0608]: cannot index into a value of type `Option<[u8; 65]>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ethereum-block-0.3.5/src/address.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | Keccak256::digest(&key.serialize()[1..]).as_slice()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0599, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ethereum-block` due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `len` found for enum `Option` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rlpx-0.4.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rlpx-0.4.1/src/util.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | H512::from(&v[1..]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/dpt-0.3.1/src/proto.rs:66:55 [INFO] [stdout] | [INFO] [stdout] 66 | let public_key = try_none!(secp256k1::recover(&message, &sig, &rec_id)); [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[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rlpx-0.4.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rlpx-0.4.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rlpx-0.4.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/dpt-0.3.1/src/proto.rs:66:65 [INFO] [stdout] | [INFO] [stdout] 66 | let public_key = try_none!(secp256k1::recover(&message, &sig, &rec_id)); [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[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/dpt-0.3.1/src/proto.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | Ok(val) => val, [INFO] [stdout] | ^^^^^^^ expected enum `Option`, found enum `Result` [INFO] [stdout] ... [INFO] [stdout] 66 | let public_key = try_none!(secp256k1::recover(&message, &sig, &rec_id)); [INFO] [stdout] | ------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `Option` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: this error originates in the macro `try_none` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/dpt-0.3.1/src/proto.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | Err(_) => return Ok(None), [INFO] [stdout] | ^^^^^^ expected enum `Option`, found enum `Result` [INFO] [stdout] ... [INFO] [stdout] 66 | let public_key = try_none!(secp256k1::recover(&message, &sig, &rec_id)); [INFO] [stdout] | ------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `Option` [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: this error originates in the macro `try_none` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for enum `Option` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/dpt-0.3.1/src/util.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | debug_assert!(v.len() == 65); [INFO] [stdout] | ^^^ method not found in `Option<[u8; 65]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rlpx-0.4.1/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[E0608]: cannot index into a value of type `Option<[u8; 65]>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/dpt-0.3.1/src/util.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | H512::from(&v[1..]) [INFO] [stdout] | ^^^^^^ [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rlpx-0.4.1/src/ecies/algorithm.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 149 | / fn decrypt_message(&self, encrypted: &[u8]) -> Result, 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, 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>` is not implemented for `Result, ECIESError>` [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rlpx-0.4.1/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: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0599, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dpt` due to 10 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rlpx-0.4.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rlpx-0.4.1/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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rlpx-0.4.1/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>` is not implemented for `Result<(), ECIESError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [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 [INFO] running `Command { std: "docker" "inspect" "78cfbda585e6d643f0a89b3ed95a52e5219cc6845097508c94d1d407fac3b74d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78cfbda585e6d643f0a89b3ed95a52e5219cc6845097508c94d1d407fac3b74d", kill_on_drop: false }` [INFO] [stdout] 78cfbda585e6d643f0a89b3ed95a52e5219cc6845097508c94d1d407fac3b74d