Skip to content

IPv6 parsing bug in SPF parser (fixes #32) #97

IPv6 parsing bug in SPF parser (fixes #32)

IPv6 parsing bug in SPF parser (fixes #32) #97

Triggered via push May 29, 2024 16:15
Status Failure
Total duration 49s
Artifacts

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 4 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
bound is defined in more than one place: src/common/lru.rs#L40
warning: bound is defined in more than one place --> src/common/lru.rs:40:12 | 40 | fn get<Q: ?Sized>(&self, name: &Q) -> Option<V> | ^ ... 43 | Q: Hash + Eq, | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
bound is defined in more than one place: src/common/lru.rs#L25
warning: bound is defined in more than one place --> src/common/lru.rs:25:12 | 25 | fn get<Q: ?Sized>(&self, name: &Q) -> Option<V> | ^ ... 28 | Q: Hash + Eq; | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations = note: `#[warn(clippy::multiple_bound_locations)]` on by default
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/