You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libp2p-webrtc doesn't seem to compile due to the noise feature flag on the latest version of libp2p
Expected behavior
To compile
Actual behavior
Does not compile
Relevant log output
error[E0277]: `?` couldn't convert the error to `tokio::error::Error` --> /Users/nasr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libp2p-webrtc-0.7.0-alpha/src/tokio/upgrade.rs:71:11 |71 | .await?; | ^ the trait `From<libp2p_noise::Error>` is not implemented for `tokio::error::Error` | = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait = help: the following other types implement trait `From<T>`: <tokio::error::Error as From<libp2p_noise::Error>> <tokio::error::Error as From<webrtc::Error>> <tokio::error::Error as From<std::io::Error>> = note: required for `Result<(PeerId, Connection), tokio::error::Error>` to implement `FromResidual<Result<Infallible, libp2p_noise::Error>>`error[E0277]: `?` couldn't convert the error to `tokio::error::Error`
--> /Users/nasr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libp2p-webrtc-0.7.0-alpha/src/tokio/upgrade.rs:105:11
|
105 | .await?;| ^ the trait `From<libp2p_noise::Error>` is not implemented for`tokio::error::Error`|
= note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
= help: the following other types implement trait `From<T>`:
<tokio::error::Error as From<libp2p_noise::Error>><tokio::error::Error as From<webrtc::Error>><tokio::error::Error as From<std::io::Error>>
= note: required for`Result<(PeerId, Connection), tokio::error::Error>` to implement `FromResidual<Result<Infallible, libp2p_noise::Error>>`
For more information about this error, try `rustc --explain E0277`.
error: could not compile `libp2p-webrtc` (lib) due to 2 previous errors
Possible Solution
Releasing a new version? It seems like specifying git as the target source for the libp2p crate seems to fix it so maybe a fix has been released but version hasnt been updated.
Version
0.53.2
Would you like to work on fixing this bug ?
No
The text was updated successfully, but these errors were encountered:
Summary
libp2p-webrtc doesn't seem to compile due to the noise feature flag on the latest version of libp2p
Expected behavior
To compile
Actual behavior
Does not compile
Relevant log output
Possible Solution
Releasing a new version? It seems like specifying git as the target source for the libp2p crate seems to fix it so maybe a fix has been released but version hasnt been updated.
Version
0.53.2
Would you like to work on fixing this bug ?
No
The text was updated successfully, but these errors were encountered: