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
Getting this error when running cargo run / cargo doc on compiling/building dependencies for both a new cargo new project and adding the dependency to previous projects
error[E0277]: the trait bound `cid::Error: std::error::Error` is not satisfied
--> /Users/devdesign/.cargo/registry/src/github.com-1ecc6299db9ec823/multiaddr-0.3.1/src/errors.rs:50:29
|
50 | Error::ParsingError(err.into())
| ^^^ ---- required by a bound introduced by this call
| |
| the trait `std::error::Error` is not implemented for `cid::Error`
|
= note: required for `Box<dyn std::error::Error + Send + Sync>` to implement `From<cid::Error>`
= note: required for `cid::Error` to implement `Into<Box<dyn std::error::Error + Send + Sync>>`
For more information about this error, try `rustc --explain E0277`.
error: could not compile `multiaddr` due to previous error
warning: build failed, waiting for other jobs to finish...
Rust version: 1.66
toml file:
[dependencies]
fltk = "1.3.25"
tokio = { version = "1", features = ["full"] }
serde = "1.0.150"
futures = "0.3"
dotenv = "0.15.0"
num-integer = "0.1.45"
[dependencies.mongodb]
version = "2.3.0"
default-features = false
features = ["async-std-runtime"]
The text was updated successfully, but these errors were encountered:
Getting this error when running
cargo run
/cargo doc
on compiling/building dependencies for both a new cargo new project and adding the dependency to previous projectsRust version: 1.66
toml file:
[dependencies]
fltk = "1.3.25"
tokio = { version = "1", features = ["full"] }
serde = "1.0.150"
futures = "0.3"
dotenv = "0.15.0"
num-integer = "0.1.45"
[dependencies.mongodb]
version = "2.3.0"
default-features = false
features = ["async-std-runtime"]
The text was updated successfully, but these errors were encountered: