.github/workflows/workspace.yml #744
Annotations
8 errors and 11 warnings
build-and-test (beta, macos-12, x86_64-apple-darwin)
The macOS-12 environment is deprecated, consider switching to macOS-13, macOS-14 (macos-latest) or macOS-15. For more details, see https://github.com/actions/runner-images/issues/10721
|
build-and-test (beta, macos-12, x86_64-apple-darwin)
GitHub Actions has encountered an internal error when running your job.
|
build-and-test (1.75.0, macos-12, x86_64-apple-darwin)
The macOS-12 environment is deprecated, consider switching to macOS-13, macOS-14 (macos-latest) or macOS-15. For more details, see https://github.com/actions/runner-images/issues/10721
|
build-and-test (1.75.0, macos-12, x86_64-apple-darwin)
GitHub Actions has encountered an internal error when running your job.
|
build-and-test (nightly, macos-12, x86_64-apple-darwin)
The macOS-12 environment is deprecated, consider switching to macOS-13, macOS-14 (macos-latest) or macOS-15. For more details, see https://github.com/actions/runner-images/issues/10721
|
build-and-test (nightly, macos-12, x86_64-apple-darwin)
GitHub Actions has encountered an internal error when running your job.
|
build-and-test (stable, macos-12, x86_64-apple-darwin)
The macOS-12 environment is deprecated, consider switching to macOS-13, macOS-14 (macos-latest) or macOS-15. For more details, see https://github.com/actions/runner-images/issues/10721
|
build-and-test (stable, macos-12, x86_64-apple-darwin)
GitHub Actions has encountered an internal error when running your job.
|
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu):
x509-certificate/src/signing.rs#L54
warning: very complex type used. Consider factoring parts into `type` definitions
--> x509-certificate/src/signing.rs:54:29
|
54 | fn rsa_primes(&self) -> Result<Option<(Zeroizing<Vec<u8>>, Zeroizing<Vec<u8>>)>, Error>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu):
cryptographic-message-syntax/src/signing.rs#L216
warning: the following explicit lifetimes could be elided: 'a
--> cryptographic-message-syntax/src/signing.rs:216:6
|
216 | impl<'a> Default for SignedDataBuilder<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
216 - impl<'a> Default for SignedDataBuilder<'a> {
216 + impl Default for SignedDataBuilder<'_> {
|
|
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu):
pgp-cleartext/src/lib.rs#L327
warning: this manual char comparison can be written more succinctly
--> pgp-cleartext/src/lib.rs:327:56
|
327 | let no_eol = emit.trim_end_matches(|c| c == '\r' || c == '\n');
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using an array of `char`: `['\r', '\n']`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison
= note: `#[warn(clippy::manual_pattern_char_comparison)]` on by default
|
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu):
pgp-cleartext/src/lib.rs#L341
warning: needless call to `as_bytes()`
--> pgp-cleartext/src/lib.rs:341:50
|
341 | return match dest.len().cmp(&emit.as_bytes().len()) {
| ^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `emit.len()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_as_bytes
= note: `#[warn(clippy::needless_as_bytes)]` on by default
|
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu):
pgp-cleartext/src/lib.rs#L345
warning: needless call to `as_bytes()`
--> pgp-cleartext/src/lib.rs:345:41
|
345 | ... let count = emit.as_bytes().len();
| ^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `emit.len()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_as_bytes
|
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu):
pgp-cleartext/src/lib.rs#L359
warning: needless call to `as_bytes()`
--> pgp-cleartext/src/lib.rs:359:32
|
359 | ... Ok(to_copy.as_bytes().len())
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `to_copy.len()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_as_bytes
|
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu):
pgp-cleartext/src/lib.rs#L365
warning: needless call to `as_bytes()`
--> pgp-cleartext/src/lib.rs:365:50
|
365 | return match dest.len().cmp(&remaining.as_bytes().len()) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `remaining.len()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_as_bytes
|
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu):
pgp-cleartext/src/lib.rs#L369
warning: needless call to `as_bytes()`
--> pgp-cleartext/src/lib.rs:369:41
|
369 | ... let count = remaining.as_bytes().len();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `remaining.len()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_as_bytes
|
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu):
pgp-cleartext/src/lib.rs#L327
warning: this manual char comparison can be written more succinctly
--> pgp-cleartext/src/lib.rs:327:56
|
327 | let no_eol = emit.trim_end_matches(|c| c == '\r' || c == '\n');
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using an array of `char`: `['\r', '\n']`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_pattern_char_comparison
= note: `#[warn(clippy::manual_pattern_char_comparison)]` on by default
|
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu):
x509-certificate/src/signing.rs#L54
warning: very complex type used. Consider factoring parts into `type` definitions
--> x509-certificate/src/signing.rs:54:29
|
54 | fn rsa_primes(&self) -> Result<Option<(Zeroizing<Vec<u8>>, Zeroizing<Vec<u8>>)>, Error>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu):
cryptographic-message-syntax/src/signing.rs#L216
warning: the following explicit lifetimes could be elided: 'a
--> cryptographic-message-syntax/src/signing.rs:216:6
|
216 | impl<'a> Default for SignedDataBuilder<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
216 - impl<'a> Default for SignedDataBuilder<'a> {
216 + impl Default for SignedDataBuilder<'_> {
|
|