Failed to run cargo build for ockam = "0.4.1" #1198
sheltont
started this conversation in
General & Learning
Replies: 1 comment
-
Hi @sheltont thank you for reporting this and sorry about the error. Thank you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I created an empty rust project named "echo_service" and added 'ockam = "0.4.1"' to the dependencies. Then I ran 'cargo build' to get all dependencies and build the project. However, the build encountered some errors like the following. Any suggestion to resolve the error? I ran rustup update to the latest stable rustc version (1.51.0 2fd73fabe 2021-03-23)
error[E0277]:
?
couldn't convert the error toockam_core::Error
--> /Users/sheltont/.cargo/registry/src/github.com-1ecc6299db9ec823/ockam-0.4.1/src/profile/change/ctype/create_key.rs:86:61
|
86 | let data_hash = vault.sha256(data_binary.as_slice())?;
| ^ the trait
std::convert::From<ockam_core::error::Error>
is not implemented forockam_core::Error
|
= note: the question mark operation (
?
) implicitly performs a conversion on the error value using theFrom
trait= help: the following implementations were found:
<ockam_core::Error as std::convert::From<Boxbincode::error::ErrorKind>>
<ockam_core::Error as std::convert::From>
<ockam_core::Error as std::convert::Fromcredential::error::CredentialError>
<ockam_core::Error as std::convert::Fromerror::OckamError>
<ockam_core::Error as std::convert::From<ockam_node::error::Error>>
= note: required by
std::convert::From::from
Beta Was this translation helpful? Give feedback.
All reactions