.github/workflows/workspace.yml #676
Annotations
10 warnings
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy@master. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions-rs/clippy@master. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
x509-certificate/src/asn1time.rs#L310
warning: direct implementation of `ToString`
--> x509-certificate/src/asn1time.rs:310:1
|
310 | / impl ToString for GeneralizedTime {
311 | | fn to_string(&self) -> String {
312 | | format!(
313 | | "{}{}",
... |
321 | | }
322 | | }
| |_^
|
= help: prefer implementing `Display` instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
= note: `#[warn(clippy::to_string_trait_impl)]` on by default
|
x509-certificate/src/asn1time.rs#L436
warning: direct implementation of `ToString`
--> x509-certificate/src/asn1time.rs:436:1
|
436 | / impl ToString for UtcTime {
437 | | fn to_string(&self) -> String {
438 | | format!(
439 | | "{:02}{:02}{:02}{:02}{:02}{:02}Z",
... |
447 | | }
448 | | }
| |_^
|
= help: prefer implementing `Display` instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
|
x509-certificate/src/rfc3280.rs#L327
warning: direct implementation of `ToString`
--> x509-certificate/src/rfc3280.rs:327:1
|
327 | / impl ToString for DirectoryString {
328 | | fn to_string(&self) -> String {
329 | | match self {
330 | | Self::PrintableString(s) => s.to_string(),
... |
334 | | }
335 | | }
| |_^
|
= help: prefer implementing `Display` instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
|
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
|
cryptographic-message-syntax/src/lib.rs#L883
warning: accessing first element with `content_type
.values.get(0)`
--> cryptographic-message-syntax/src/lib.rs:883:32
|
883 | let content_type = content_type
| ________________________________^
884 | | .values
885 | | .get(0)
| |_______________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `#[warn(clippy::get_first)]` on by default
help: try
|
883 ~ let content_type = content_type
884 + .values.first()
|
|
cryptographic-message-syntax/src/lib.rs#L903
warning: accessing first element with `message_digest
.values.get(0)`
--> cryptographic-message-syntax/src/lib.rs:903:34
|
903 | let message_digest = message_digest
| __________________________________^
904 | | .values
905 | | .get(0)
| |_______________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
help: try
|
903 ~ let message_digest = message_digest
904 + .values.first()
|
|
cryptographic-message-syntax/src/lib.rs#L922
warning: accessing first element with `attr
.values.get(0)`
--> cryptographic-message-syntax/src/lib.rs:922:36
|
922 | let time = attr
| ____________________________________^
923 | | .values
924 | | .get(0)
| |___________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
help: try
|
922 ~ let time = attr
923 + .values.first()
|
|
cryptographic-message-syntax/src/lib.rs#L959
warning: accessing first element with `attr.values.get(0)`
--> cryptographic-message-syntax/src/lib.rs:959:36
|
959 | ... Ok(attr.values.get(0).unwrap().deref().clone().decode(|cons| {
| ^^^^^^^^^^^^^^^^^^ help: try: `attr.values.first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
|
This job succeeded
Loading