.github/workflows/workspace.yml #611
Annotations
10 warnings
python-packed-resources/src/parser.rs#L65
warning: variable does not need to be mutable
--> python-packed-resources/src/parser.rs:65:13
|
65 | let mut state = self.blob_sections[resource_field as usize]
| ----^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
python-packed-resources/src/parser.rs#L516
warning: the following explicit lifetimes could be elided: 'a
--> python-packed-resources/src/parser.rs:516:1
|
516 | pub fn load_resources<'a>(data: &'a [u8]) -> Result<ResourceParserIterator<'a>, &'static str> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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
|
516 - pub fn load_resources<'a>(data: &'a [u8]) -> Result<ResourceParserIterator<'a>, &'static str> {
516 + pub fn load_resources(data: &[u8]) -> Result<ResourceParserIterator<'_>, &'static str> {
|
|
python-packed-resources/src/parser.rs#L530
warning: the following explicit lifetimes could be elided: 'a
--> python-packed-resources/src/parser.rs:530:1
|
530 | fn load_resources_v3<'a>(data: &'a [u8]) -> Result<ResourceParserIterator<'a>, &'static str> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
530 - fn load_resources_v3<'a>(data: &'a [u8]) -> Result<ResourceParserIterator<'a>, &'static str> {
530 + fn load_resources_v3(data: &[u8]) -> Result<ResourceParserIterator<'_>, &'static str> {
|
|
python-packaging/src/interpreter.rs#L44
warning: this `impl` can be derived
--> python-packaging/src/interpreter.rs:44:1
|
44 | / impl Default for PythonInterpreterProfile {
45 | | fn default() -> Self {
46 | | PythonInterpreterProfile::Isolated
47 | | }
48 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
= note: `#[warn(clippy::derivable_impls)]` on by default
= help: remove the manual implementation...
help: ...and instead derive it...
|
28 + #[derive(Default)]
29 | pub enum PythonInterpreterProfile {
|
help: ...and mark the default variant
|
34 ~ #[default]
35 ~ Isolated,
|
|
tugger-code-signing/src/lib.rs#L259
warning: this lifetime isn't used in the impl
--> tugger-code-signing/src/lib.rs:259:6
|
259 | impl<'a> From<PathBuf> for SignableCandidate<'static> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
= note: `#[warn(clippy::extra_unused_lifetimes)]` on by default
|
tugger-code-signing/src/lib.rs#L271
warning: this lifetime isn't used in the impl
--> tugger-code-signing/src/lib.rs:271:6
|
271 | impl<'a> From<Vec<u8>> for SignableCandidate<'static> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
tugger-code-signing/src/lib.rs#L277
warning: this lifetime isn't used in the impl
--> tugger-code-signing/src/lib.rs:277:6
|
277 | impl<'a> TryFrom<FileData> for SignableCandidate<'static> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
tugger-code-signing/src/lib.rs#L285
warning: this lifetime isn't used in the impl
--> tugger-code-signing/src/lib.rs:285:6
|
285 | impl<'a> TryFrom<&FileData> for SignableCandidate<'static> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
tugger-code-signing/src/lib.rs#L293
warning: this lifetime isn't used in the impl
--> tugger-code-signing/src/lib.rs:293:6
|
293 | impl<'a> TryFrom<FileEntry> for SignableCandidate<'static> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
tugger-code-signing/src/lib.rs#L301
warning: this lifetime isn't used in the impl
--> tugger-code-signing/src/lib.rs:301:6
|
301 | impl<'a> TryFrom<&FileEntry> for SignableCandidate<'static> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
The logs for this run have expired and are no longer available.
Loading