chore(deps): update codecov/codecov-action digest to 671740a #346
clippy
14 errors, 6 warnings
Details
Results
| Message level | Amount |
|---|---|
| Internal compiler error | 0 |
| Error | 14 |
| Warning | 6 |
| Note | 0 |
| Help | 0 |
Versions
- rustc 1.91.1 (ed61e7d7e 2025-11-07)
- cargo 1.91.1 (ea2d97820 2025-10-10)
- clippy 0.1.91 (ed61e7d7e2 2025-11-07)
Annotations
Check warning on line 112 in eventually/src/tracing.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> eventually/src/tracing.rs:112:9
|
112 | &self,
| ^^^^^ the lifetime is elided here
...
115 | ) -> event::Stream<StreamId, Event, Self::Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
115 | ) -> event::Stream<'_, StreamId, Event, Self::Error> {
| +++
Check warning on line 270 in eventually/src/event/store.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> eventually/src/event/store.rs:270:9
|
270 | &self,
| ^^^^^ the lifetime is elided here
...
273 | ) -> event::Stream<StreamId, Event, Self::Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
273 | ) -> event::Stream<'_, StreamId, Event, Self::Error> {
| +++
Check warning on line 131 in eventually/src/event/store.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> eventually/src/event/store.rs:131:15
|
131 | fn stream(&self, id: &Id, select: event::VersionSelect) -> event::Stream<Id, Evt, Self::Error> {
| ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
131 | fn stream(&self, id: &Id, select: event::VersionSelect) -> event::Stream<'_, Id, Evt, Self::Error> {
| +++
Check failure on line 178 in eventually/src/serde.rs
github-actions / clippy
variables can be used directly in the `format!` string
error: variables can be used directly in the `format!` string
--> eventually/src/serde.rs:178:28
|
178 | .map_err(|err| anyhow!("failed to deserialize protobuf message into value: {}", err))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#uninlined_format_args
help: change this to
|
178 - .map_err(|err| anyhow!("failed to deserialize protobuf message into value: {}", err))
178 + .map_err(|err| anyhow!("failed to deserialize protobuf message into value: {err}"))
|
Check warning on line 270 in eventually/src/event/store.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> eventually/src/event/store.rs:270:9
|
270 | &self,
| ^^^^^ the lifetime is elided here
...
273 | ) -> event::Stream<StreamId, Event, Self::Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
273 | ) -> event::Stream<'_, StreamId, Event, Self::Error> {
| +++
Check warning on line 131 in eventually/src/event/store.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> eventually/src/event/store.rs:131:15
|
131 | fn stream(&self, id: &Id, select: event::VersionSelect) -> event::Stream<Id, Evt, Self::Error> {
| ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
131 | fn stream(&self, id: &Id, select: event::VersionSelect) -> event::Stream<'_, Id, Evt, Self::Error> {
| +++
Check failure on line 147 in eventually/src/serde.rs
github-actions / clippy
variables can be used directly in the `format!` string
error: variables can be used directly in the `format!` string
--> eventually/src/serde.rs:147:28
|
147 | .map_err(|err| anyhow!("failed to deserialize value from json: {}", err))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#uninlined_format_args
help: change this to
|
147 - .map_err(|err| anyhow!("failed to deserialize value from json: {}", err))
147 + .map_err(|err| anyhow!("failed to deserialize value from json: {err}"))
|
Check failure on line 135 in eventually/src/serde.rs
github-actions / clippy
variables can be used directly in the `format!` string
error: variables can be used directly in the `format!` string
--> eventually/src/serde.rs:135:28
|
135 | .map_err(|err| anyhow!("failed to serialize value to json: {}", err))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#uninlined_format_args
help: change this to
|
135 - .map_err(|err| anyhow!("failed to serialize value to json: {}", err))
135 + .map_err(|err| anyhow!("failed to serialize value to json: {err}"))
|
Check warning on line 27 in eventually/src/event/store.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> eventually/src/event/store.rs:27:9
|
27 | &self,
| ^^^^^ the lifetime is elided here
...
30 | ) -> event::Stream<StreamId, Event, Self::Error>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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
|
30 | ) -> event::Stream<'_, StreamId, Event, Self::Error>;
| +++
Check failure on line 103 in eventually/src/serde.rs
github-actions / clippy
variables can be used directly in the `format!` string
error: variables can be used directly in the `format!` string
--> eventually/src/serde.rs:103:28
|
103 | .map_err(|err| anyhow!("failed to convert type values: {}", err))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#uninlined_format_args
help: change this to
|
103 - .map_err(|err| anyhow!("failed to convert type values: {}", err))
103 + .map_err(|err| anyhow!("failed to convert type values: {err}"))
|
Check failure on line 103 in eventually/src/serde.rs
github-actions / clippy
variables can be used directly in the `format!` string
error: variables can be used directly in the `format!` string
--> eventually/src/serde.rs:103:28
|
103 | .map_err(|err| anyhow!("failed to convert type values: {}", err))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#uninlined_format_args
help: change this to
|
103 - .map_err(|err| anyhow!("failed to convert type values: {}", err))
103 + .map_err(|err| anyhow!("failed to convert type values: {err}"))
|
Check failure on line 87 in eventually/src/serde.rs
github-actions / clippy
variables can be used directly in the `format!` string
error: variables can be used directly in the `format!` string
--> eventually/src/serde.rs:87:32
|
87 | .map_err(|err| anyhow!("failed to convert type values: {}", err))?,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#uninlined_format_args
= note: `#[deny(clippy::uninlined_format_args)]` implied by `#[deny(clippy::pedantic)]`
help: change this to
|
87 - .map_err(|err| anyhow!("failed to convert type values: {}", err))?,
87 + .map_err(|err| anyhow!("failed to convert type values: {err}"))?,
|
Check failure on line 87 in eventually/src/serde.rs
github-actions / clippy
variables can be used directly in the `format!` string
error: variables can be used directly in the `format!` string
--> eventually/src/serde.rs:87:32
|
87 | .map_err(|err| anyhow!("failed to convert type values: {}", err))?,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#uninlined_format_args
= note: `#[deny(clippy::uninlined_format_args)]` implied by `#[deny(clippy::pedantic)]`
help: change this to
|
87 - .map_err(|err| anyhow!("failed to convert type values: {}", err))?,
87 + .map_err(|err| anyhow!("failed to convert type values: {err}"))?,
|
Check failure on line 57 in eventually/src/aggregate/repository.rs
github-actions / clippy
item in documentation is missing backticks
error: item in documentation is missing backticks
--> eventually/src/aggregate/repository.rs:57:36
|
57 | /// Saves a new version of an [aggregate::Root] instance to the data store.
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#doc_markdown
help: try
|
57 - /// Saves a new version of an [aggregate::Root] instance to the data store.
57 + /// Saves a new version of an [`aggregate::Root`] instance to the data store.
|
Check failure on line 57 in eventually/src/aggregate/repository.rs
github-actions / clippy
item in documentation is missing backticks
error: item in documentation is missing backticks
--> eventually/src/aggregate/repository.rs:57:36
|
57 | /// Saves a new version of an [aggregate::Root] instance to the data store.
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#doc_markdown
help: try
|
57 - /// Saves a new version of an [aggregate::Root] instance to the data store.
57 + /// Saves a new version of an [`aggregate::Root`] instance to the data store.
|
Check failure on line 51 in eventually/src/aggregate/repository.rs
github-actions / clippy
item in documentation is missing backticks
error: item in documentation is missing backticks
--> eventually/src/aggregate/repository.rs:51:37
|
51 | /// to save the latest state of an [aggregate::Root] instance.
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#doc_markdown
help: try
|
51 - /// to save the latest state of an [aggregate::Root] instance.
51 + /// to save the latest state of an [`aggregate::Root`] instance.
|
Check failure on line 51 in eventually/src/aggregate/repository.rs
github-actions / clippy
item in documentation is missing backticks
error: item in documentation is missing backticks
--> eventually/src/aggregate/repository.rs:51:37
|
51 | /// to save the latest state of an [aggregate::Root] instance.
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#doc_markdown
help: try
|
51 - /// to save the latest state of an [aggregate::Root] instance.
51 + /// to save the latest state of an [`aggregate::Root`] instance.
|
Check failure on line 34 in eventually/src/aggregate/repository.rs
github-actions / clippy
item in documentation is missing backticks
error: item in documentation is missing backticks
--> eventually/src/aggregate/repository.rs:34:19
|
34 | /// Loads an [aggregate::Root] instance from the data store,
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#doc_markdown
help: try
|
34 - /// Loads an [aggregate::Root] instance from the data store,
34 + /// Loads an [`aggregate::Root`] instance from the data store,
|
Check failure on line 34 in eventually/src/aggregate/repository.rs
github-actions / clippy
item in documentation is missing backticks
error: item in documentation is missing backticks
--> eventually/src/aggregate/repository.rs:34:19
|
34 | /// Loads an [aggregate::Root] instance from the data store,
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#doc_markdown
help: try
|
34 - /// Loads an [aggregate::Root] instance from the data store,
34 + /// Loads an [`aggregate::Root`] instance from the data store,
|
Check failure on line 28 in eventually/src/aggregate/repository.rs
github-actions / clippy
item in documentation is missing backticks
error: item in documentation is missing backticks
--> eventually/src/aggregate/repository.rs:28:17
|
28 | /// to load an [aggregate::Root] instance, given its id.
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#doc_markdown
note: the lint level is defined here
--> eventually/src/lib.rs:6:22
|
6 | #![deny(clippy::all, clippy::pedantic, clippy::cargo)]
| ^^^^^^^^^^^^^^^^
= note: `#[deny(clippy::doc_markdown)]` implied by `#[deny(clippy::pedantic)]`
help: try
|
28 - /// to load an [aggregate::Root] instance, given its id.
28 + /// to load an [`aggregate::Root`] instance, given its id.
|