.github/workflows/workspace.yml #610
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
3 errors and 40 warnings
build-and-test (nightly, ubuntu-22.04, x86_64-unknown-linux-gnu)
Process completed with exit code 101.
|
build-and-test (nightly, windows-2022, x86_64-pc-windows-msvc)
Process completed with exit code 1.
|
build-and-test (nightly, macos-12, x86_64-apple-darwin)
Process completed with exit code 101.
|
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu):
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> {
|
|
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu):
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> {
|
|
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu):
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,
|
|
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu):
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
|
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu):
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
|
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu):
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
|
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu):
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
|
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu):
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
|
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu):
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
|
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu):
tugger-code-signing/src/lib.rs#L309
warning: this lifetime isn't used in the impl
--> tugger-code-signing/src/lib.rs:309:6
|
309 | impl<'a> TryFrom<File> for SignableCandidate<'static> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu):
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
|
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu):
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> {
|
|
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu):
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> {
|
|
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu):
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,
|
|
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu):
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
|
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu):
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
|
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu):
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
|
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu):
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
|
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu):
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
|
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu):
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
|
build-and-test (beta, macos-12, x86_64-apple-darwin):
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
|
build-and-test (beta, macos-12, x86_64-apple-darwin):
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> {
|
|
build-and-test (beta, macos-12, x86_64-apple-darwin):
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> {
|
|
build-and-test (beta, macos-12, x86_64-apple-darwin):
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,
|
|
build-and-test (beta, macos-12, x86_64-apple-darwin):
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
|
build-and-test (beta, macos-12, x86_64-apple-darwin):
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
|
build-and-test (beta, macos-12, x86_64-apple-darwin):
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
|
build-and-test (beta, macos-12, x86_64-apple-darwin):
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
|
build-and-test (beta, macos-12, x86_64-apple-darwin):
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
|
build-and-test (beta, macos-12, x86_64-apple-darwin):
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
|
build-and-test (stable, macos-12, x86_64-apple-darwin):
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> {
|
|
build-and-test (stable, macos-12, x86_64-apple-darwin):
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> {
|
|
build-and-test (stable, macos-12, x86_64-apple-darwin):
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,
|
|
build-and-test (stable, macos-12, x86_64-apple-darwin):
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
|
build-and-test (stable, macos-12, x86_64-apple-darwin):
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
|
build-and-test (stable, macos-12, x86_64-apple-darwin):
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
|
build-and-test (stable, macos-12, x86_64-apple-darwin):
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
|
build-and-test (stable, macos-12, x86_64-apple-darwin):
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
|
build-and-test (stable, macos-12, x86_64-apple-darwin):
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
|
build-and-test (stable, macos-12, x86_64-apple-darwin):
tugger-code-signing/src/lib.rs#L309
warning: this lifetime isn't used in the impl
--> tugger-code-signing/src/lib.rs:309:6
|
309 | impl<'a> TryFrom<File> for SignableCandidate<'static> {
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
|