Skip to content

♻️ utilize anyhow::bail #1088

♻️ utilize anyhow::bail

♻️ utilize anyhow::bail #1088

Triggered via push December 19, 2024 20:33
Status Failure
Total duration 54s
Artifacts

ci.yml

on: push
Debounce
0s
Debounce
Matrix: Test
Matrix: Release / build
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 6 warnings
the following explicit lifetimes could be elided: 'a: src/modules/api.rs#L5
error: the following explicit lifetimes could be elided: 'a --> src/modules/api.rs:5:6 | 5 | impl<'a> Api for Box<dyn 'a + Api> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes note: the lint level is defined here --> src/main.rs:1:9 | 1 | #![deny(clippy::all)] | ^^^^^^^^^^^ = note: `#[deny(clippy::needless_lifetimes)]` implied by `#[deny(clippy::all)]` help: elide the lifetimes | 5 - impl<'a> Api for Box<dyn 'a + Api> { 5 + impl Api for Box<dyn '_ + Api> { |
the following explicit lifetimes could be elided: 'a: src/modules/api.rs#L57
error: the following explicit lifetimes could be elided: 'a --> src/modules/api.rs:57:6 | 57 | impl<'a> Default for ApiQuery<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 57 - impl<'a> Default for ApiQuery<'a> { 57 + impl Default for ApiQuery<'_> { |
the following explicit lifetimes could be elided: 'a: src/modules/api.rs#L84
error: the following explicit lifetimes could be elided: 'a --> src/modules/api.rs:84:6 | 84 | impl<'a> Api for OpenMeteoLocationQuery<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 84 - impl<'a> Api for OpenMeteoLocationQuery<'a> { 84 + impl Api for OpenMeteoLocationQuery<'_> { |
the following explicit lifetimes could be elided: 'a: src/modules/api.rs#L98
error: the following explicit lifetimes could be elided: 'a --> src/modules/api.rs:98:6 | 98 | impl<'a> Api for OpenStreetMapLocationQuery<'a> { | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 98 - impl<'a> Api for OpenStreetMapLocationQuery<'a> { 98 + impl Api for OpenStreetMapLocationQuery<'_> { |
Lint / clippy
Clippy has exited with exit code 101
Debounce
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint / fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint / actionlint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint / msrv
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint / clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint / renovate-linter
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636