Skip to content

Merge pull request #64 from sosthene-nitrokey/clap-v4 #41

Merge pull request #64 from sosthene-nitrokey/clap-v4

Merge pull request #64 from sosthene-nitrokey/clap-v4 #41

Triggered via push January 22, 2024 02:13
Status Success
Total duration 42s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

15 warnings
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build: src/lib.rs#L22
this function's return value is unnecessarily wrapped by `Result`
Build: src/lib.rs#L41
it is more concise to loop over references to containers instead of using explicit iteration methods
Build: src/lib.rs#L66
implicitly cloning a `Vec` by calling `to_owned` on its dereferenced type
Build: src/lib.rs#L69
implicitly cloning a `String` by calling `to_owned` on its dereferenced type
Build: src/lib.rs#L70
implicitly cloning a `Version` by calling `to_owned` on its dereferenced type
Build: src/lib.rs#L72
implicitly cloning a `Option` by calling `to_owned` on its dereferenced type
Build: src/lib.rs#L74
implicitly cloning a `Option` by calling `to_owned` on its dereferenced type
Build: src/lib.rs#L74
redundant closure
Build: src/lib.rs#L75
implicitly cloning a `Option` by calling `to_owned` on its dereferenced type
Build: src/lib.rs#L105
used `flat_map` where `filter_map` could be used instead