chore(deps): bump zip from 5.1.1 to 7.0.0 #108
Annotations
10 warnings
|
Run clechasseur/rs-clippy-check@v5.0.1:
gitlab-runner/src/job.rs#L321
warning: hiding a lifetime that's elided elsewhere is confusing
--> gitlab-runner/src/job.rs:321:22
|
321 | pub fn variables(&self) -> impl Iterator<Item = Variable> {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
321 | pub fn variables(&self) -> impl Iterator<Item = Variable<'_>> {
| ++++
|
|
Run clechasseur/rs-clippy-check@v5.0.1:
gitlab-runner/src/job.rs#L316
warning: hiding a lifetime that's elided elsewhere is confusing
--> gitlab-runner/src/job.rs:316:21
|
316 | pub fn variable(&self, key: &str) -> Option<Variable> {
| ^^^^^ ^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
316 | pub fn variable(&self, key: &str) -> Option<Variable<'_>> {
| ++++
|
|
Run clechasseur/rs-clippy-check@v5.0.1:
gitlab-runner/src/artifact.rs#L65
warning: hiding a lifetime that's elided elsewhere is confusing
--> gitlab-runner/src/artifact.rs:65:21
|
65 | pub fn by_index(&mut self, i: usize) -> Option<ArtifactFile> {
| ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
65 | pub fn by_index(&mut self, i: usize) -> Option<ArtifactFile<'_>> {
| ++++
|
|
Run clechasseur/rs-clippy-check@v5.0.1:
gitlab-runner/src/artifact.rs#L60
warning: hiding a lifetime that's elided elsewhere is confusing
--> gitlab-runner/src/artifact.rs:60:17
|
60 | pub fn file(&mut self, name: &str) -> Option<ArtifactFile> {
| ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
60 | pub fn file(&mut self, name: &str) -> Option<ArtifactFile<'_>> {
| ++++
|
|
Run clechasseur/rs-clippy-check@v5.0.1:
gitlab-runner/src/artifact.rs#L65
warning: hiding a lifetime that's elided elsewhere is confusing
--> gitlab-runner/src/artifact.rs:65:21
|
65 | pub fn by_index(&mut self, i: usize) -> Option<ArtifactFile> {
| ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
65 | pub fn by_index(&mut self, i: usize) -> Option<ArtifactFile<'_>> {
| ++++
|
|
Run clechasseur/rs-clippy-check@v5.0.1:
gitlab-runner/src/artifact.rs#L60
warning: hiding a lifetime that's elided elsewhere is confusing
--> gitlab-runner/src/artifact.rs:60:17
|
60 | pub fn file(&mut self, name: &str) -> Option<ArtifactFile> {
| ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
60 | pub fn file(&mut self, name: &str) -> Option<ArtifactFile<'_>> {
| ++++
|
|
Run clechasseur/rs-clippy-check@v5.0.1:
gitlab-runner/src/client.rs#L190
warning: this `impl` can be derived
--> gitlab-runner/src/client.rs:190:1
|
190 | / impl Default for ArtifactFormat {
191 | | fn default() -> Self {
192 | | Self::Zip
193 | | }
194 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#derivable_impls
help: replace the manual implementation with a derive attribute and mark the default variant
|
184 + #[derive(Default)]
185 | pub enum ArtifactFormat {
186 ~ #[default]
187 ~ Zip,
|
|
|
Run clechasseur/rs-clippy-check@v5.0.1:
gitlab-runner/src/client.rs#L190
warning: this `impl` can be derived
--> gitlab-runner/src/client.rs:190:1
|
190 | / impl Default for ArtifactFormat {
191 | | fn default() -> Self {
192 | | Self::Zip
193 | | }
194 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#derivable_impls
help: replace the manual implementation with a derive attribute and mark the default variant
|
184 + #[derive(Default)]
185 | pub enum ArtifactFormat {
186 ~ #[default]
187 ~ Zip,
|
|
|
Run clechasseur/rs-clippy-check@v5.0.1:
gitlab-runner/src/client.rs#L176
warning: this `impl` can be derived
--> gitlab-runner/src/client.rs:176:1
|
176 | / impl Default for ArtifactWhen {
177 | | fn default() -> Self {
178 | | Self::OnSuccess
179 | | }
180 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#derivable_impls
= note: `#[warn(clippy::derivable_impls)]` on by default
help: replace the manual implementation with a derive attribute and mark the default variant
|
170 + #[derive(Default)]
171 | pub enum ArtifactWhen {
172 | Always,
173 | OnFailure,
174 ~ #[default]
175 ~ OnSuccess,
|
|
|
Run clechasseur/rs-clippy-check@v5.0.1:
gitlab-runner/src/client.rs#L176
warning: this `impl` can be derived
--> gitlab-runner/src/client.rs:176:1
|
176 | / impl Default for ArtifactWhen {
177 | | fn default() -> Self {
178 | | Self::OnSuccess
179 | | }
180 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#derivable_impls
= note: `#[warn(clippy::derivable_impls)]` on by default
help: replace the manual implementation with a derive attribute and mark the default variant
|
170 + #[derive(Default)]
171 | pub enum ArtifactWhen {
172 | Always,
173 | OnFailure,
174 ~ #[default]
175 ~ OnSuccess,
|
|
Loading