Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.
# rustc version rustc 1.84.0-nightly (bc5cf994d 2024-11-05)
# docs.rs version docsrs 0.6.0 (fd0fad95 2024-11-04)
# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/devp2p-0.4.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/devp2p-0.4.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241105-1.84.0-nightly-bc5cf994d\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 402d429bd98e0825340a86fcc1c10526863cb907cb0ffce272f09fe5ab5a3115 [INFO] running `Command { std: "docker" "start" "-a" "402d429bd98e0825340a86fcc1c10526863cb907cb0ffce272f09fe5ab5a3115", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: eth_connect [INFO] [stderr] If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true` [INFO] [stderr] to the [[example]] target configuration of at least one example. [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Checking rlpx v0.4.1 [INFO] [stderr] Checking dpt v0.3.1 [INFO] [stderr] Checking ethereum-block v0.3.5 [INFO] [stderr] error[E0432]: unresolved import `secp256k1::Error` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ethereum-block-0.3.5/src/transaction.rs:6:32 [INFO] [stderr] | [INFO] [stderr] 6 | use secp256k1::{self, Message, Error, Signature, RecoveryId, SecretKey, PublicKey}; [INFO] [stderr] | ^^^^^ no `Error` in the root [INFO] [stderr] | [INFO] [stderr] = help: consider importing one of these items instead: [INFO] [stderr] std::error::Error [INFO] [stderr] std::fmt::Error [INFO] [stderr] std::io::Error [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `secp256k1::Error` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ethereum-block-0.3.5/src/address.rs:6:45 [INFO] [stderr] | [INFO] [stderr] 6 | use secp256k1::{self, PublicKey, SecretKey, Error}; [INFO] [stderr] | ^^^^^ no `Error` in the root [INFO] [stderr] | [INFO] [stderr] = help: consider importing one of these items instead: [INFO] [stderr] std::error::Error [INFO] [stderr] std::fmt::Error [INFO] [stderr] std::io::Error [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `sign` in crate `secp256k1` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ethereum-block-0.3.5/src/transaction.rs:160:26 [INFO] [stderr] | [INFO] [stderr] 160 | { secp256k1::sign(&msg, key).unwrap() } [INFO] [stderr] | ^^^^ not found in `secp256k1` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `sign` in crate `secp256k1` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/dpt-0.3.1/src/proto.rs:91:37 [INFO] [stderr] | [INFO] [stderr] 91 | let (sig, rec) = secp256k1::sign(&message, &self.secret_key).unwrap(); [INFO] [stderr] | ^^^^ not found in `secp256k1` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in crate `secp256k1` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/dpt-0.3.1/src/util.rs:18:56 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn id2pk(id: H512) -> Result<PublicKey, secp256k1::Error> { [INFO] [stderr] | ^^^^^ not found in `secp256k1` [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 1 + use std::error::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use std::fmt::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use io::Error; [INFO] [stderr] | [INFO] [stderr] help: if you import `Error`, refer to it directly [INFO] [stderr] | [INFO] [stderr] 18 - pub fn id2pk(id: H512) -> Result<PublicKey, secp256k1::Error> { [INFO] [stderr] 18 + pub fn id2pk(id: H512) -> Result<PublicKey, Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `secp256k1::SharedSecret` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rlpx-0.4.1/src/ecies/algorithm.rs:3:55 [INFO] [stderr] | [INFO] [stderr] 3 | use secp256k1::{self, Message, Signature, RecoveryId, SharedSecret, PublicKey, SecretKey}; [INFO] [stderr] | ^^^^^^^^^^^^ no `SharedSecret` in the root [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in crate `secp256k1` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rlpx-0.4.1/src/util.rs:42:56 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn id2pk(id: H512) -> Result<PublicKey, secp256k1::Error> { [INFO] [stderr] | ^^^^^ not found in `secp256k1` [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 1 + use std::error::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use std::fmt::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use io::Error; [INFO] [stderr] | [INFO] [stderr] help: if you import `Error`, refer to it directly [INFO] [stderr] | [INFO] [stderr] 42 - pub fn id2pk(id: H512) -> Result<PublicKey, secp256k1::Error> { [INFO] [stderr] 42 + pub fn id2pk(id: H512) -> Result<PublicKey, Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `sign` in crate `secp256k1` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rlpx-0.4.1/src/ecies/algorithm.rs:187:37 [INFO] [stderr] | [INFO] [stderr] 187 | let (sig, rec) = secp256k1::sign(&msg, &self.ephemeral_secret_key)?; [INFO] [stderr] | ^^^^ not found in `secp256k1` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in crate `secp256k1` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rlpx-0.4.1/src/errors.rs:7:26 [INFO] [stderr] | [INFO] [stderr] 7 | SECP256K1(secp256k1::Error), [INFO] [stderr] | ^^^^^ not found in `secp256k1` [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 1 + use std::error::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use std::fmt::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use io::Error; [INFO] [stderr] | [INFO] [stderr] help: if you import `Error`, refer to it directly [INFO] [stderr] | [INFO] [stderr] 7 - SECP256K1(secp256k1::Error), [INFO] [stderr] 7 + SECP256K1(Error), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in crate `secp256k1` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rlpx-0.4.1/src/errors.rs:33:22 [INFO] [stderr] | [INFO] [stderr] 33 | impl From<secp256k1::Error> for ECIESError { [INFO] [stderr] | ^^^^^ not found in `secp256k1` [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 1 + use std::error::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use std::fmt::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use io::Error; [INFO] [stderr] | [INFO] [stderr] help: if you import `Error`, refer to it directly [INFO] [stderr] | [INFO] [stderr] 33 - impl From<secp256k1::Error> for ECIESError { [INFO] [stderr] 33 + impl From<Error> for ECIESError { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in crate `secp256k1` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rlpx-0.4.1/src/errors.rs:34:31 [INFO] [stderr] | [INFO] [stderr] 34 | fn from(error: secp256k1::Error) -> ECIESError { [INFO] [stderr] | ^^^^^ not found in `secp256k1` [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 1 + use std::error::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use std::fmt::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use io::Error; [INFO] [stderr] | [INFO] [stderr] help: if you import `Error`, refer to it directly [INFO] [stderr] | [INFO] [stderr] 34 - fn from(error: secp256k1::Error) -> ECIESError { [INFO] [stderr] 34 + fn from(error: Error) -> ECIESError { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `parse` found for struct `RecoveryId` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/dpt-0.3.1/src/proto.rs:51:44 [INFO] [stderr] | [INFO] [stderr] 51 | let rec_id = try_none!(RecoveryId::parse(buf[96])); [INFO] [stderr] | ^^^^^ function or associated item not found in `RecoveryId` [INFO] [stderr] [INFO] [stderr] error[E0308]: arguments to this function are incorrect [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/dpt-0.3.1/src/proto.rs:66:36 [INFO] [stderr] | [INFO] [stderr] 66 | let public_key = try_none!(secp256k1::recover(&message, &sig, &rec_id)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ -------- ---- argument #2 of type `&RecoveryId` is missing [INFO] [stderr] | | [INFO] [stderr] | unexpected argument #1 of type `&Message` [INFO] [stderr] | [INFO] [stderr] note: function defined here [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:175:8 [INFO] [stderr] | [INFO] [stderr] 175 | pub fn recover(signature: &Signature, recovery_id: &RecoveryId, message: &Message) -> Option<PublicKey> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] help: did you mean [INFO] [stderr] | [INFO] [stderr] 66 | let public_key = try_none!(secp256k1::recover(&sig, /* &RecoveryId */, &rec_id)); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/dpt-0.3.1/src/proto.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | Ok(val) => val, [INFO] [stderr] | ^^^^^^^ expected `Option<PublicKey>`, found `Result<_, _>` [INFO] [stderr] ... [INFO] [stderr] 66 | let public_key = try_none!(secp256k1::recover(&message, &sig, &rec_id)); [INFO] [stderr] | ------------------------------------------------------ [INFO] [stderr] | | | [INFO] [stderr] | | this expression has type `Option<PublicKey>` [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected enum `Option<PublicKey>` [INFO] [stderr] found enum `Result<_, _>` [INFO] [stderr] = note: this error originates in the macro `try_none` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/dpt-0.3.1/src/proto.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | Err(_) => return Ok(None), [INFO] [stderr] | ^^^^^^ expected `Option<PublicKey>`, found `Result<_, _>` [INFO] [stderr] ... [INFO] [stderr] 66 | let public_key = try_none!(secp256k1::recover(&message, &sig, &rec_id)); [INFO] [stderr] | ------------------------------------------------------ [INFO] [stderr] | | | [INFO] [stderr] | | this expression has type `Option<PublicKey>` [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected enum `Option<PublicKey>` [INFO] [stderr] found enum `Result<_, _>` [INFO] [stderr] = note: this error originates in the macro `try_none` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `parse` found for struct `RecoveryId` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ethereum-block-0.3.5/src/transaction.rs:104:49 [INFO] [stderr] | [INFO] [stderr] 104 | Ok((Signature::parse(&sig), RecoveryId::parse(self.standard_v() as u8)?)) [INFO] [stderr] | ^^^^^ function or associated item not found in `RecoveryId` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ethereum-block-0.3.5/src/transaction.rs:233:34 [INFO] [stderr] | [INFO] [stderr] 233 | secp256k1::recover(&Message::parse(&a), &sig.0, &sig.1)? [INFO] [stderr] | ------------------ ^^^^^^^^^^^^^^^^^^^ expected `&Signature`, found `&Message` [INFO] [stderr] | | [INFO] [stderr] | arguments to this function are incorrect [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&Signature` [INFO] [stderr] found reference `&Message` [INFO] [stderr] note: function defined here [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:175:8 [INFO] [stderr] | [INFO] [stderr] 175 | pub fn recover(signature: &Signature, recovery_id: &RecoveryId, message: &Message) -> Option<PublicKey> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0624]: method `len` is private [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/dpt-0.3.1/src/util.rs:14:21 [INFO] [stderr] | [INFO] [stderr] 14 | debug_assert!(v.len() == 65); [INFO] [stderr] | ^^^ private method [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:771:5 [INFO] [stderr] | [INFO] [stderr] 771 | const fn len(&self) -> usize { [INFO] [stderr] | ---------------------------- private method defined here [INFO] [stderr] [INFO] [stderr] error[E0608]: cannot index into a value of type `Option<[u8; 65]>` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/dpt-0.3.1/src/util.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 15 | H512::from(&v[1..]) [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0608]: cannot index into a value of type `Option<[u8; 65]>` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ethereum-block-0.3.5/src/address.rs:26:47 [INFO] [stderr] | [INFO] [stderr] 26 | Keccak256::digest(&key.serialize()[1..]).as_slice()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0624]: method `len` is private [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rlpx-0.4.1/src/util.rs:38:21 [INFO] [stderr] | [INFO] [stderr] 38 | debug_assert!(v.len() == 65); [INFO] [stderr] | ^^^ private method [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:771:5 [INFO] [stderr] | [INFO] [stderr] 771 | const fn len(&self) -> usize { [INFO] [stderr] | ---------------------------- private method defined here [INFO] [stderr] [INFO] [stderr] error[E0608]: cannot index into a value of type `Option<[u8; 65]>` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rlpx-0.4.1/src/util.rs:39:18 [INFO] [stderr] | [INFO] [stderr] 39 | H512::from(&v[1..]) [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rlpx-0.4.1/src/ecies/algorithm.rs:76:47 [INFO] [stderr] | [INFO] [stderr] 76 | let ephemeral_secret_key = SecretKey::random(&mut OsRng::new()?); [INFO] [stderr] | ^^^^^^ function or associated item not found in `SecretKey` [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn parse(p: &[u8; 32]) -> Option<SecretKey> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rlpx-0.4.1/src/ecies/algorithm.rs:99:47 [INFO] [stderr] | [INFO] [stderr] 99 | let ephemeral_secret_key = SecretKey::random(&mut OsRng::new()?); [INFO] [stderr] | ^^^^^^ function or associated item not found in `SecretKey` [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn parse(p: &[u8; 32]) -> Option<SecretKey> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0432, E0599, E0608. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error[E0599]: no function or associated item named `random` found for struct `SecretKey` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rlpx-0.4.1/src/ecies/algorithm.rs:124:37 [INFO] [stderr] | [INFO] [stderr] 124 | let secret_key = SecretKey::random(&mut OsRng::new()?); [INFO] [stderr] | ^^^^^^ function or associated item not found in `SecretKey` [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `SecretKey`, consider using `SecretKey::parse` which returns `Option<SecretKey>` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn parse(p: &[u8; 32]) -> Option<SecretKey> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: could not compile `ethereum-block` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rlpx-0.4.1/src/ecies/algorithm.rs:142:36 [INFO] [stderr] | [INFO] [stderr] 142 | ret[0..65].copy_from_slice(&public_key.serialize()); [INFO] [stderr] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `&[u8]`, found `&Option<[u8; 65]>` [INFO] [stderr] | | [INFO] [stderr] | arguments to this method are incorrect [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&[u8]` [INFO] [stderr] found reference `&Option<[u8; 65]>` [INFO] [stderr] note: method defined here [INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/slice/mod.rs:3667:12 [INFO] [stderr] | [INFO] [stderr] 3667 | pub fn copy_from_slice(&mut self, src: &[T]) [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rlpx-0.4.1/src/ecies/algorithm.rs:154:52 [INFO] [stderr] | [INFO] [stderr] 149 | fn decrypt_message(&self, encrypted: &[u8]) -> Result<Vec<u8>, ECIESError> { [INFO] [stderr] | -------------------------------------------------------------------------- this function returns a `Result` [INFO] [stderr] ... [INFO] [stderr] 154 | let public_key = PublicKey::parse(&pub_raw)?; [INFO] [stderr] | ^ use `.ok_or(...)?` to provide an error compatible with `Result<Vec<u8>, ECIESError>` [INFO] [stderr] | [INFO] [stderr] = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Vec<u8>, ECIESError>` [INFO] [stderr] = help: the trait `FromResidual<Result<Infallible, E>>` is implemented for `Result<T, F>` [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0425, E0599, E0608, E0624. [INFO] [stderr] error: could not compile `dpt` (lib) due to 8 previous errors [INFO] [stderr] error[E0599]: no function or associated item named `parse` found for struct `RecoveryId` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rlpx-0.4.1/src/ecies/algorithm.rs:212:31 [INFO] [stderr] | [INFO] [stderr] 212 | let rec = RecoveryId::parse(data[64])?; [INFO] [stderr] | ^^^^^ function or associated item not found in `RecoveryId` [INFO] [stderr] [INFO] [stderr] error[E0308]: arguments to this function are incorrect [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rlpx-0.4.1/src/ecies/algorithm.rs:228:49 [INFO] [stderr] | [INFO] [stderr] 228 | self.remote_ephemeral_public_key = Some(secp256k1::recover(&msg, &sig, &rec)?); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ---- ---- argument #2 of type `&RecoveryId` is missing [INFO] [stderr] | | [INFO] [stderr] | unexpected argument #1 of type `&Message` [INFO] [stderr] | [INFO] [stderr] note: function defined here [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.1.3/src/lib.rs:175:8 [INFO] [stderr] | [INFO] [stderr] 175 | pub fn recover(signature: &Signature, recovery_id: &RecoveryId, message: &Message) -> Option<PublicKey> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] help: did you mean [INFO] [stderr] | [INFO] [stderr] 228 | self.remote_ephemeral_public_key = Some(secp256k1::recover(&sig, /* &RecoveryId */, &rec)?); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rlpx-0.4.1/src/ecies/algorithm.rs:228:85 [INFO] [stderr] | [INFO] [stderr] 206 | fn parse_auth_unencrypted(&mut self, data: [u8; AUTH_LEN]) -> Result<(), ECIESError> { [INFO] [stderr] | ------------------------------------------------------------------------------------ this function returns a `Result` [INFO] [stderr] ... [INFO] [stderr] 228 | self.remote_ephemeral_public_key = Some(secp256k1::recover(&msg, &sig, &rec)?); [INFO] [stderr] | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(), ECIESError>` [INFO] [stderr] | [INFO] [stderr] = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(), ECIESError>` [INFO] [stderr] = help: the trait `FromResidual<Result<Infallible, E>>` is implemented for `Result<T, F>` [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0412, E0425, E0432, E0599, E0608, E0624. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `rlpx` (lib) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "402d429bd98e0825340a86fcc1c10526863cb907cb0ffce272f09fe5ab5a3115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "402d429bd98e0825340a86fcc1c10526863cb907cb0ffce272f09fe5ab5a3115", kill_on_drop: false }` [INFO] [stdout] 402d429bd98e0825340a86fcc1c10526863cb907cb0ffce272f09fe5ab5a3115