♻️ utilize anyhow::bail
#1088
ci.yml
on: push
Debounce
0s
Lint
/
fmt
3s
Lint
/
clippy
26s
Lint
/
msrv
18s
Lint
/
actionlint
7s
Lint
/
renovate-linter
31s
Matrix: Test
Matrix: Release / build
Waiting for pending jobs
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
|