v0.5.1 #114
Annotations
3 errors and 5 warnings
no function or associated item named `from_pkcs8_der` found for struct `common::crypto::rust_crypto::Ed25519Key` in the current scope:
src/dkim/generate.rs#L50
error[E0599]: no function or associated item named `from_pkcs8_der` found for struct `common::crypto::rust_crypto::Ed25519Key` in the current scope
--> src/dkim/generate.rs:50:31
|
50 | let key = Ed25519Key::from_pkcs8_der(&pkcs8_der).unwrap();
| ^^^^^^^^^^^^^^ function or associated item not found in `Ed25519Key`
|
::: src/common/crypto/rust_crypto.rs:82:1
|
82 | pub struct Ed25519Key {
| --------------------- function or associated item `from_pkcs8_der` not found for this struct
|
note: if you're trying to build a new `common::crypto::rust_crypto::Ed25519Key`, consider using `common::crypto::rust_crypto::Ed25519Key::from_bytes` which returns `std::result::Result<common::crypto::rust_crypto::Ed25519Key, Error>`
--> src/common/crypto/rust_crypto.rs:88:5
|
88 | pub fn from_bytes(private_key_bytes: &[u8]) -> crate::Result<Self> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `from_pkcs8_der`, perhaps you need to implement it:
candidate #1: `rsa::pkcs8::DecodePrivateKey`
|
no function or associated item named `generate_pkcs8` found for struct `common::crypto::rust_crypto::Ed25519Key` in the current scope:
src/dkim/generate.rs#L49
error[E0599]: no function or associated item named `generate_pkcs8` found for struct `common::crypto::rust_crypto::Ed25519Key` in the current scope
--> src/dkim/generate.rs:49:25
|
49 | Ed25519Key::generate_pkcs8().map_err(|err| Error::CryptoError(err.to_string()))?;
| ^^^^^^^^^^^^^^ function or associated item not found in `Ed25519Key`
|
::: src/common/crypto/rust_crypto.rs:82:1
|
82 | pub struct Ed25519Key {
| --------------------- function or associated item `generate_pkcs8` not found for this struct
|
note: if you're trying to build a new `common::crypto::rust_crypto::Ed25519Key`, consider using `common::crypto::rust_crypto::Ed25519Key::from_bytes` which returns `std::result::Result<common::crypto::rust_crypto::Ed25519Key, Error>`
--> src/common/crypto/rust_crypto.rs:88:5
|
88 | pub fn from_bytes(private_key_bytes: &[u8]) -> crate::Result<Self> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
build
Clippy had exited with the 101 exit code
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build
Failed to download action 'https://api.github.com/repos/actions-rs/cargo/tarball/844f36862e911db73fe0815f00a4a2602c279505'. Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
|
build
Back off 19.967 seconds before retry.
|
build
Failed to download action 'https://api.github.com/repos/actions-rs/cargo/tarball/844f36862e911db73fe0815f00a4a2602c279505'. Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
|
build
Back off 14.764 seconds before retry.
|