refactor: changes to aggregate::Repository, event::Store, documentation and more #294
Annotations
94 errors and 50 warnings
item in documentation is missing backticks:
eventually/src/version.rs#L6
error: item in documentation is missing backticks
--> eventually/src/version.rs:6:10
|
6 | /// and [crate::event::Store] to implement stream-local ordering to the messages.
| ^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
6 | /// and [`crate::event::Store`] to implement stream-local ordering to the messages.
| ~~~~~~~~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/version.rs#L5
error: item in documentation is missing backticks
--> eventually/src/version.rs:5:18
|
5 | /// Used by the [crate::aggregate::Root] to avoid concurrency issues,
| ^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
5 | /// Used by the [`crate::aggregate::Root`] to avoid concurrency issues,
| ~~~~~~~~~~~~~~~~~~~~~~~~
|
question mark operator is useless here:
eventually/src/serde.rs#L92
error: question mark operator is useless here
--> eventually/src/serde.rs:92:9
|
92 | / Ok(inn
93 | | .try_into()
94 | | .map_err(|err| anyhow!("failed to convert type values: {}", err))?)
| |_______________________________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark
note: the lint level is defined here
--> eventually/src/lib.rs:6:9
|
6 | #![deny(clippy::all, clippy::pedantic, clippy::cargo)]
| ^^^^^^^^^^^
= note: `#[deny(clippy::needless_question_mark)]` implied by `#[deny(clippy::all)]`
help: try removing question mark and `Ok()`
|
92 ~ inn
93 + .try_into()
94 + .map_err(|err| anyhow!("failed to convert type values: {}", err))
|
|
docs for function returning `Result` missing `# Errors` section:
eventually/src/serde.rs#L26
error: docs for function returning `Result` missing `# Errors` section
--> eventually/src/serde.rs:26:5
|
26 | fn deserialize(&self, data: &[u8]) -> anyhow::Result<T>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
docs for function returning `Result` missing `# Errors` section:
eventually/src/serde.rs#L18
error: docs for function returning `Result` missing `# Errors` section
--> eventually/src/serde.rs:18:5
|
18 | fn serialize(&self, value: T) -> anyhow::Result<Vec<u8>>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
= note: `#[deny(clippy::missing_errors_doc)]` implied by `#[deny(clippy::pedantic)]`
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L315
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:315:68
|
315 | /// Returns a [Tracking] instance that decorates the original [event::Store]
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
315 | /// Returns a [Tracking] instance that decorates the original [`event::Store`]
| ~~~~~~~~~~~~~~
|
docs for function which may panic missing `# Panics` section:
eventually/src/event/store.rs#L243
error: docs for function which may panic missing `# Panics` section
--> eventually/src/event/store.rs:243:5
|
243 | pub fn reset_recorded_events(&self) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: first possible panic found here
--> eventually/src/event/store.rs:244:9
|
244 | / self.events
245 | | .write()
246 | | .expect("acquire lock on recorded events list")
| |___________________________________________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc
|
docs for function which may panic missing `# Panics` section:
eventually/src/event/store.rs#L235
error: docs for function which may panic missing `# Panics` section
--> eventually/src/event/store.rs:235:5
|
235 | pub fn recorded_events(&self) -> Vec<event::Persisted<StreamId, Event>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: first possible panic found here
--> eventually/src/event/store.rs:236:9
|
236 | / self.events
237 | | .read()
238 | | .expect("acquire lock on recorded events list")
| |___________________________________________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L210
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:210:28
|
210 | /// Decorator type for an [event::Store] implementation that tracks the list of
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
210 | /// Decorator type for an [`event::Store`] implementation that tracks the list of
| ~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L104
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:104:30
|
104 | /// backed by a thread-safe [std::collections::HashMap].
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
104 | /// backed by a thread-safe [`std::collections::HashMap`].
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L103
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:103:34
|
103 | /// In-memory implementation of [event::Store] trait,
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
103 | /// In-memory implementation of [`event::Store`] trait,
| ~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L33
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:33:43
|
33 | /// All possible error types returned by [Appender::append].
| ^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
33 | /// All possible error types returned by [`Appender::append`].
| ~~~~~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L2
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:2:54
|
2 | //! such as the [std::collections::HashMap]'s based [InMemory] Event Store implementation.
| ^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
2 | //! such as the [std::collections::HashMap]'s based [`InMemory`] Event Store implementation.
| ~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L2
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:2:18
|
2 | //! such as the [std::collections::HashMap]'s based [InMemory] Event Store implementation.
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
2 | //! such as the [`std::collections::HashMap`]'s based [InMemory] Event Store implementation.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L1
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:1:38
|
1 | //! Contains implementations of the [event::Store] trait and connected abstractions,
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
1 | //! Contains implementations of the [`event::Store`] trait and connected abstractions,
| ~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/aggregate/mod.rs#L245
error: item in documentation is missing backticks
--> eventually/src/aggregate/mod.rs:245:54
|
245 | /// List of possible errors that can be returned by [Root::rehydrate_async].
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
245 | /// List of possible errors that can be returned by [`Root::rehydrate_async`].
| ~~~~~~~~~~~~~~~~~~~~~~~
|
docs for function which may panic missing `# Panics` section:
eventually/src/aggregate/test.rs#L85
error: docs for function which may panic missing `# Panics` section
--> eventually/src/aggregate/test.rs:85:5
|
85 | / pub fn when<R, F, Err>(self, f: F) -> ScenarioWhen<T, R, impl Fn() -> Result<R, Err>, Err>
86 | | where
87 | | R: From<Root<T>>,
88 | | F: Fn(&mut R) -> Result<(), Err>,
| |_________________________________________^
|
note: first possible panic found here
--> eventually/src/aggregate/test.rs:97:35
|
97 | let mut root: R = Root::<T>::rehydrate(events.iter().cloned())
| ___________________________________^
98 | | .expect(
99 | | "no error is expected when applying domain events from a 'given' clause",
100 | | )
101 | | .expect("an aggregate root instance is expected, but none was produced")
| |____________________________________________________________________________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc
= note: `#[deny(clippy::missing_panics_doc)]` implied by `#[deny(clippy::pedantic)]`
|
item in documentation is missing backticks:
eventually/src/aggregate/test.rs#L83
error: item in documentation is missing backticks
--> eventually/src/aggregate/test.rs:83:30
|
83 | /// current state using [Scenario::given].
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
83 | /// current state using [`Scenario::given`].
| ~~~~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/aggregate/repository.rs#L39
error: item in documentation is missing backticks
--> eventually/src/aggregate/repository.rs:39:38
|
39 | /// All possible errors returned by [Saver::save].
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
39 | /// All possible errors returned by [`Saver::save`].
| ~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/aggregate/repository.rs#L16
error: item in documentation is missing backticks
--> eventually/src/aggregate/repository.rs:16:38
|
16 | /// All possible errors returned by [Getter::get].
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
16 | /// All possible errors returned by [`Getter::get`].
| ~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/aggregate/repository.rs#L5
error: item in documentation is missing backticks
--> eventually/src/aggregate/repository.rs:5:21
|
5 | //! take a look at [EventSourced].
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/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
|
5 | //! take a look at [`EventSourced`].
| ~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/version.rs#L6
error: item in documentation is missing backticks
--> eventually/src/version.rs:6:10
|
6 | /// and [crate::event::Store] to implement stream-local ordering to the messages.
| ^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
6 | /// and [`crate::event::Store`] to implement stream-local ordering to the messages.
| ~~~~~~~~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/version.rs#L5
error: item in documentation is missing backticks
--> eventually/src/version.rs:5:18
|
5 | /// Used by the [crate::aggregate::Root] to avoid concurrency issues,
| ^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
5 | /// Used by the [`crate::aggregate::Root`] to avoid concurrency issues,
| ~~~~~~~~~~~~~~~~~~~~~~~~
|
question mark operator is useless here:
eventually/src/serde.rs#L92
error: question mark operator is useless here
--> eventually/src/serde.rs:92:9
|
92 | / Ok(inn
93 | | .try_into()
94 | | .map_err(|err| anyhow!("failed to convert type values: {}", err))?)
| |_______________________________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark
note: the lint level is defined here
--> eventually/src/lib.rs:6:9
|
6 | #![deny(clippy::all, clippy::pedantic, clippy::cargo)]
| ^^^^^^^^^^^
= note: `#[deny(clippy::needless_question_mark)]` implied by `#[deny(clippy::all)]`
help: try removing question mark and `Ok()`
|
92 ~ inn
93 + .try_into()
94 + .map_err(|err| anyhow!("failed to convert type values: {}", err))
|
|
docs for function returning `Result` missing `# Errors` section:
eventually/src/serde.rs#L26
error: docs for function returning `Result` missing `# Errors` section
--> eventually/src/serde.rs:26:5
|
26 | fn deserialize(&self, data: &[u8]) -> anyhow::Result<T>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
docs for function returning `Result` missing `# Errors` section:
eventually/src/serde.rs#L18
error: docs for function returning `Result` missing `# Errors` section
--> eventually/src/serde.rs:18:5
|
18 | fn serialize(&self, value: T) -> anyhow::Result<Vec<u8>>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
= note: `#[deny(clippy::missing_errors_doc)]` implied by `#[deny(clippy::pedantic)]`
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L315
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:315:68
|
315 | /// Returns a [Tracking] instance that decorates the original [event::Store]
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
315 | /// Returns a [Tracking] instance that decorates the original [`event::Store`]
| ~~~~~~~~~~~~~~
|
docs for function which may panic missing `# Panics` section:
eventually/src/event/store.rs#L243
error: docs for function which may panic missing `# Panics` section
--> eventually/src/event/store.rs:243:5
|
243 | pub fn reset_recorded_events(&self) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: first possible panic found here
--> eventually/src/event/store.rs:244:9
|
244 | / self.events
245 | | .write()
246 | | .expect("acquire lock on recorded events list")
| |___________________________________________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc
|
docs for function which may panic missing `# Panics` section:
eventually/src/event/store.rs#L235
error: docs for function which may panic missing `# Panics` section
--> eventually/src/event/store.rs:235:5
|
235 | pub fn recorded_events(&self) -> Vec<event::Persisted<StreamId, Event>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: first possible panic found here
--> eventually/src/event/store.rs:236:9
|
236 | / self.events
237 | | .read()
238 | | .expect("acquire lock on recorded events list")
| |___________________________________________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L210
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:210:28
|
210 | /// Decorator type for an [event::Store] implementation that tracks the list of
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
210 | /// Decorator type for an [`event::Store`] implementation that tracks the list of
| ~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L104
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:104:30
|
104 | /// backed by a thread-safe [std::collections::HashMap].
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
104 | /// backed by a thread-safe [`std::collections::HashMap`].
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L103
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:103:34
|
103 | /// In-memory implementation of [event::Store] trait,
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
103 | /// In-memory implementation of [`event::Store`] trait,
| ~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L33
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:33:43
|
33 | /// All possible error types returned by [Appender::append].
| ^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
33 | /// All possible error types returned by [`Appender::append`].
| ~~~~~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L2
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:2:54
|
2 | //! such as the [std::collections::HashMap]'s based [InMemory] Event Store implementation.
| ^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
2 | //! such as the [std::collections::HashMap]'s based [`InMemory`] Event Store implementation.
| ~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L2
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:2:18
|
2 | //! such as the [std::collections::HashMap]'s based [InMemory] Event Store implementation.
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
2 | //! such as the [`std::collections::HashMap`]'s based [InMemory] Event Store implementation.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L1
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:1:38
|
1 | //! Contains implementations of the [event::Store] trait and connected abstractions,
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
1 | //! Contains implementations of the [`event::Store`] trait and connected abstractions,
| ~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/version.rs#L6
error: item in documentation is missing backticks
--> eventually/src/version.rs:6:10
|
6 | /// and [crate::event::Store] to implement stream-local ordering to the messages.
| ^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
6 | /// and [`crate::event::Store`] to implement stream-local ordering to the messages.
| ~~~~~~~~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/version.rs#L5
error: item in documentation is missing backticks
--> eventually/src/version.rs:5:18
|
5 | /// Used by the [crate::aggregate::Root] to avoid concurrency issues,
| ^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
5 | /// Used by the [`crate::aggregate::Root`] to avoid concurrency issues,
| ~~~~~~~~~~~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/tracing.rs#L144
error: item in documentation is missing backticks
--> eventually/src/tracing.rs:144:49
|
144 | /// Returns an instrumented version of the [event::Store] instance.
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
144 | /// Returns an instrumented version of the [`event::Store`] instance.
| ~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/tracing.rs#L137
error: item in documentation is missing backticks
--> eventually/src/tracing.rs:137:30
|
137 | /// Extension trait for any [event::Store] type to provide
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
137 | /// Extension trait for any [`event::Store`] type to provide
| ~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/aggregate/mod.rs#L245
error: item in documentation is missing backticks
--> eventually/src/aggregate/mod.rs:245:54
|
245 | /// List of possible errors that can be returned by [Root::rehydrate_async].
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
245 | /// List of possible errors that can be returned by [`Root::rehydrate_async`].
| ~~~~~~~~~~~~~~~~~~~~~~~
|
in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`:
eventually/src/tracing.rs#L132
error: in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
--> eventually/src/tracing.rs:132:53
|
132 | ) -> Result<Version, event::store::AppendError> {
| _____________________________________________________^
133 | | self.store.append(id, version_check, events).await
134 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions
|
item in documentation is missing backticks:
eventually/src/tracing.rs#L85
error: item in documentation is missing backticks
--> eventually/src/tracing.rs:85:6
|
85 | /// [event::Store] type wrapper that provides instrumentation
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
85 | /// [`event::Store`] type wrapper that provides instrumentation
| ~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/tracing.rs#L67
error: item in documentation is missing backticks
--> eventually/src/tracing.rs:67:49
|
67 | /// Returns an instrumented version of the [aggregate::Repository] instance.
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
67 | /// Returns an instrumented version of the [`aggregate::Repository`] instance.
| ~~~~~~~~~~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/tracing.rs#L59
error: item in documentation is missing backticks
--> eventually/src/tracing.rs:59:30
|
59 | /// Extension trait for any [aggregate::Repository] type to provide
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
59 | /// Extension trait for any [`aggregate::Repository`] type to provide
| ~~~~~~~~~~~~~~~~~~~~~~~
|
docs for function which may panic missing `# Panics` section:
eventually/src/aggregate/test.rs#L85
error: docs for function which may panic missing `# Panics` section
--> eventually/src/aggregate/test.rs:85:5
|
85 | / pub fn when<R, F, Err>(self, f: F) -> ScenarioWhen<T, R, impl Fn() -> Result<R, Err>, Err>
86 | | where
87 | | R: From<Root<T>>,
88 | | F: Fn(&mut R) -> Result<(), Err>,
| |_________________________________________^
|
note: first possible panic found here
--> eventually/src/aggregate/test.rs:97:35
|
97 | let mut root: R = Root::<T>::rehydrate(events.iter().cloned())
| ___________________________________^
98 | | .expect(
99 | | "no error is expected when applying domain events from a 'given' clause",
100 | | )
101 | | .expect("an aggregate root instance is expected, but none was produced")
| |____________________________________________________________________________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc
= note: `#[deny(clippy::missing_panics_doc)]` implied by `#[deny(clippy::pedantic)]`
|
item in documentation is missing backticks:
eventually/src/aggregate/test.rs#L83
error: item in documentation is missing backticks
--> eventually/src/aggregate/test.rs:83:30
|
83 | /// current state using [Scenario::given].
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
83 | /// current state using [`Scenario::given`].
| ~~~~~~~~~~~~~~~~~
|
in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`:
eventually/src/tracing.rs#L54
error: in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
--> eventually/src/tracing.rs:54:55
|
54 | ) -> Result<(), aggregate::repository::SaveError> {
| _______________________________________________________^
55 | | self.inner.save(root).await
56 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions
|
item in documentation is missing backticks:
eventually/src/aggregate/repository.rs#L39
error: item in documentation is missing backticks
--> eventually/src/aggregate/repository.rs:39:38
|
39 | /// All possible errors returned by [Saver::save].
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
39 | /// All possible errors returned by [`Saver::save`].
| ~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/aggregate/repository.rs#L16
error: item in documentation is missing backticks
--> eventually/src/aggregate/repository.rs:16:38
|
16 | /// All possible errors returned by [Getter::get].
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
16 | /// All possible errors returned by [`Getter::get`].
| ~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/aggregate/repository.rs#L5
error: item in documentation is missing backticks
--> eventually/src/aggregate/repository.rs:5:21
|
5 | //! take a look at [EventSourced].
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/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
|
5 | //! take a look at [`EventSourced`].
| ~~~~~~~~~~~~~~
|
in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`:
eventually/src/tracing.rs#L37
error: in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
--> eventually/src/tracing.rs:37:100
|
37 | async fn get(&self, id: &T::Id) -> Result<aggregate::Root<T>, aggregate::repository::GetError> {
| ____________________________________________________________________________________________________^
38 | | self.inner.get(id).await
39 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions
= note: `#[deny(clippy::blocks_in_conditions)]` implied by `#[deny(clippy::all)]`
|
item in documentation is missing backticks:
eventually/src/tracing.rs#L14
error: item in documentation is missing backticks
--> eventually/src/tracing.rs:14:6
|
14 | /// [aggregate::Repository] type wrapper that provides instrumentation
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
14 | /// [`aggregate::Repository`] type wrapper that provides instrumentation
| ~~~~~~~~~~~~~~~~~~~~~~~
|
calling `PhantomData::default()` is more clear than this expression:
eventually/src/serde.rs#L190
error: calling `PhantomData::default()` is more clear than this expression
--> eventually/src/serde.rs:190:14
|
190 | Self(Default::default())
| ^^^^^^^^^^^^^^^^^^ help: try: `PhantomData::default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_trait_access
= note: `#[deny(clippy::default_trait_access)]` implied by `#[deny(clippy::pedantic)]`
|
item in documentation is missing backticks:
eventually/src/serde.rs#L173
error: item in documentation is missing backticks
--> eventually/src/serde.rs:173:48
|
173 | /// Implementation of [Serde] traits that uses ProtoJson as wire protocol.
| ^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
173 | /// Implementation of [Serde] traits that uses `ProtoJson` as wire protocol.
| ~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/serde.rs#L143
error: item in documentation is missing backticks
--> eventually/src/serde.rs:143:52
|
143 | /// the message using Protobuf format through the [prost::Message] trait.
| ^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
143 | /// the message using Protobuf format through the [`prost::Message`] trait.
| ~~~~~~~~~~~~~~~~
|
question mark operator is useless here:
eventually/src/serde.rs#L92
error: question mark operator is useless here
--> eventually/src/serde.rs:92:9
|
92 | / Ok(inn
93 | | .try_into()
94 | | .map_err(|err| anyhow!("failed to convert type values: {}", err))?)
| |_______________________________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_question_mark
note: the lint level is defined here
--> eventually/src/lib.rs:6:9
|
6 | #![deny(clippy::all, clippy::pedantic, clippy::cargo)]
| ^^^^^^^^^^^
= note: `#[deny(clippy::needless_question_mark)]` implied by `#[deny(clippy::all)]`
help: try removing question mark and `Ok()`
|
92 ~ inn
93 + .try_into()
94 + .map_err(|err| anyhow!("failed to convert type values: {}", err))
|
|
docs for function returning `Result` missing `# Errors` section:
eventually/src/serde.rs#L26
error: docs for function returning `Result` missing `# Errors` section
--> eventually/src/serde.rs:26:5
|
26 | fn deserialize(&self, data: &[u8]) -> anyhow::Result<T>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
docs for function returning `Result` missing `# Errors` section:
eventually/src/serde.rs#L18
error: docs for function returning `Result` missing `# Errors` section
--> eventually/src/serde.rs:18:5
|
18 | fn serialize(&self, value: T) -> anyhow::Result<Vec<u8>>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
= note: `#[deny(clippy::missing_errors_doc)]` implied by `#[deny(clippy::pedantic)]`
|
package `eventually-macros` is missing `package.categories` metadata:
eventually/src/lib.rs#L1
error: package `eventually-macros` is missing `package.categories` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `eventually-macros` is missing `package.keywords` metadata:
eventually/src/lib.rs#L1
error: package `eventually-macros` is missing `package.keywords` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `eventually-macros` is missing `package.readme` metadata:
eventually/src/lib.rs#L1
error: package `eventually-macros` is missing `package.readme` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `eventually-macros` is missing `package.repository` metadata:
eventually/src/lib.rs#L1
error: package `eventually-macros` is missing `package.repository` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `eventually-macros` is missing `either package.license or package.license_file` metadata:
eventually/src/lib.rs#L1
error: package `eventually-macros` is missing `either package.license or package.license_file` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `eventually-macros` is missing `package.description` metadata:
eventually/src/lib.rs#L1
error: package `eventually-macros` is missing `package.description` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
note: the lint level is defined here
--> eventually/src/lib.rs:6:40
|
6 | #![deny(clippy::all, clippy::pedantic, clippy::cargo)]
| ^^^^^^^^^^^^^
= note: `#[deny(clippy::cargo_common_metadata)]` implied by `#[deny(clippy::cargo)]`
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L315
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:315:68
|
315 | /// Returns a [Tracking] instance that decorates the original [event::Store]
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
315 | /// Returns a [Tracking] instance that decorates the original [`event::Store`]
| ~~~~~~~~~~~~~~
|
docs for function which may panic missing `# Panics` section:
eventually/src/event/store.rs#L243
error: docs for function which may panic missing `# Panics` section
--> eventually/src/event/store.rs:243:5
|
243 | pub fn reset_recorded_events(&self) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: first possible panic found here
--> eventually/src/event/store.rs:244:9
|
244 | / self.events
245 | | .write()
246 | | .expect("acquire lock on recorded events list")
| |___________________________________________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc
|
docs for function which may panic missing `# Panics` section:
eventually/src/event/store.rs#L235
error: docs for function which may panic missing `# Panics` section
--> eventually/src/event/store.rs:235:5
|
235 | pub fn recorded_events(&self) -> Vec<event::Persisted<StreamId, Event>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: first possible panic found here
--> eventually/src/event/store.rs:236:9
|
236 | / self.events
237 | | .read()
238 | | .expect("acquire lock on recorded events list")
| |___________________________________________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L210
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:210:28
|
210 | /// Decorator type for an [event::Store] implementation that tracks the list of
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
210 | /// Decorator type for an [`event::Store`] implementation that tracks the list of
| ~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L104
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:104:30
|
104 | /// backed by a thread-safe [std::collections::HashMap].
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
104 | /// backed by a thread-safe [`std::collections::HashMap`].
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L103
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:103:34
|
103 | /// In-memory implementation of [event::Store] trait,
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
103 | /// In-memory implementation of [`event::Store`] trait,
| ~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L33
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:33:43
|
33 | /// All possible error types returned by [Appender::append].
| ^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
33 | /// All possible error types returned by [`Appender::append`].
| ~~~~~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L2
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:2:54
|
2 | //! such as the [std::collections::HashMap]'s based [InMemory] Event Store implementation.
| ^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
2 | //! such as the [std::collections::HashMap]'s based [`InMemory`] Event Store implementation.
| ~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L2
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:2:18
|
2 | //! such as the [std::collections::HashMap]'s based [InMemory] Event Store implementation.
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
2 | //! such as the [`std::collections::HashMap`]'s based [InMemory] Event Store implementation.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/event/store.rs#L1
error: item in documentation is missing backticks
--> eventually/src/event/store.rs:1:38
|
1 | //! Contains implementations of the [event::Store] trait and connected abstractions,
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
1 | //! Contains implementations of the [`event::Store`] trait and connected abstractions,
| ~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/aggregate/mod.rs#L245
error: item in documentation is missing backticks
--> eventually/src/aggregate/mod.rs:245:54
|
245 | /// List of possible errors that can be returned by [Root::rehydrate_async].
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
245 | /// List of possible errors that can be returned by [`Root::rehydrate_async`].
| ~~~~~~~~~~~~~~~~~~~~~~~
|
docs for function which may panic missing `# Panics` section:
eventually/src/aggregate/test.rs#L85
error: docs for function which may panic missing `# Panics` section
--> eventually/src/aggregate/test.rs:85:5
|
85 | / pub fn when<R, F, Err>(self, f: F) -> ScenarioWhen<T, R, impl Fn() -> Result<R, Err>, Err>
86 | | where
87 | | R: From<Root<T>>,
88 | | F: Fn(&mut R) -> Result<(), Err>,
| |_________________________________________^
|
note: first possible panic found here
--> eventually/src/aggregate/test.rs:97:35
|
97 | let mut root: R = Root::<T>::rehydrate(events.iter().cloned())
| ___________________________________^
98 | | .expect(
99 | | "no error is expected when applying domain events from a 'given' clause",
100 | | )
101 | | .expect("an aggregate root instance is expected, but none was produced")
| |____________________________________________________________________________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc
= note: `#[deny(clippy::missing_panics_doc)]` implied by `#[deny(clippy::pedantic)]`
|
item in documentation is missing backticks:
eventually/src/aggregate/test.rs#L83
error: item in documentation is missing backticks
--> eventually/src/aggregate/test.rs:83:30
|
83 | /// current state using [Scenario::given].
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
83 | /// current state using [`Scenario::given`].
| ~~~~~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/aggregate/repository.rs#L39
error: item in documentation is missing backticks
--> eventually/src/aggregate/repository.rs:39:38
|
39 | /// All possible errors returned by [Saver::save].
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
39 | /// All possible errors returned by [`Saver::save`].
| ~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/aggregate/repository.rs#L16
error: item in documentation is missing backticks
--> eventually/src/aggregate/repository.rs:16:38
|
16 | /// All possible errors returned by [Getter::get].
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
help: try
|
16 | /// All possible errors returned by [`Getter::get`].
| ~~~~~~~~~~~~~
|
item in documentation is missing backticks:
eventually/src/aggregate/repository.rs#L5
error: item in documentation is missing backticks
--> eventually/src/aggregate/repository.rs:5:21
|
5 | //! take a look at [EventSourced].
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/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
|
5 | //! take a look at [`EventSourced`].
| ~~~~~~~~~~~~~~
|
package `eventually-macros` is missing `package.categories` metadata:
eventually/src/lib.rs#L1
error: package `eventually-macros` is missing `package.categories` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `eventually-macros` is missing `package.keywords` metadata:
eventually/src/lib.rs#L1
error: package `eventually-macros` is missing `package.keywords` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `eventually-macros` is missing `package.readme` metadata:
eventually/src/lib.rs#L1
error: package `eventually-macros` is missing `package.readme` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `eventually-macros` is missing `package.repository` metadata:
eventually/src/lib.rs#L1
error: package `eventually-macros` is missing `package.repository` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `eventually-macros` is missing `either package.license or package.license_file` metadata:
eventually/src/lib.rs#L1
error: package `eventually-macros` is missing `either package.license or package.license_file` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `eventually-macros` is missing `package.description` metadata:
eventually/src/lib.rs#L1
error: package `eventually-macros` is missing `package.description` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
note: the lint level is defined here
--> eventually/src/lib.rs:6:40
|
6 | #![deny(clippy::all, clippy::pedantic, clippy::cargo)]
| ^^^^^^^^^^^^^
= note: `#[deny(clippy::cargo_common_metadata)]` implied by `#[deny(clippy::cargo)]`
|
package `eventually-macros` is missing `package.categories` metadata:
eventually/src/lib.rs#L1
error: package `eventually-macros` is missing `package.categories` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `eventually-macros` is missing `package.keywords` metadata:
eventually/src/lib.rs#L1
error: package `eventually-macros` is missing `package.keywords` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `eventually-macros` is missing `package.readme` metadata:
eventually/src/lib.rs#L1
error: package `eventually-macros` is missing `package.readme` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `eventually-macros` is missing `package.repository` metadata:
eventually/src/lib.rs#L1
error: package `eventually-macros` is missing `package.repository` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `eventually-macros` is missing `either package.license or package.license_file` metadata:
eventually/src/lib.rs#L1
error: package `eventually-macros` is missing `either package.license or package.license_file` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `eventually-macros` is missing `package.description` metadata:
eventually/src/lib.rs#L1
error: package `eventually-macros` is missing `package.description` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
note: the lint level is defined here
--> eventually/src/lib.rs:6:40
|
6 | #![deny(clippy::all, clippy::pedantic, clippy::cargo)]
| ^^^^^^^^^^^^^
= note: `#[deny(clippy::cargo_common_metadata)]` implied by `#[deny(clippy::cargo)]`
|
Clippy Lint
Clippy had exited with the 101 exit code
|
Rustfmt Check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Rustfmt Check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Rustfmt Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Rustfmt Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Rustfmt Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Rustfmt Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Clippy Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: arduino/setup-protoc@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Clippy Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Clippy Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Clippy Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Clippy Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Clippy Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (stable)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: arduino/setup-protoc@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test (stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (stable):
eventually-postgres/src/lib.rs#L12
missing documentation for a module
|
Test (stable):
eventually-postgres/src/lib.rs#L14
missing documentation for a static
|
Test (stable):
eventually-postgres/src/aggregate.rs#L38
missing documentation for an associated function
|
Test (stable):
eventually-postgres/src/event.rs#L16
missing documentation for an enum
|
Test (stable):
eventually-postgres/src/event.rs#L18
missing documentation for a variant
|
Test (stable):
eventually-postgres/src/event.rs#L20
missing documentation for a variant
|
Test (stable):
eventually-postgres/src/event.rs#L21
missing documentation for a struct field
|
Test (stable):
eventually-postgres/src/event.rs#L23
missing documentation for a struct field
|
Test (stable):
eventually-postgres/src/event.rs#L26
missing documentation for a variant
|
Test (stable):
eventually-postgres/src/event.rs#L96
missing documentation for a struct
|
Test (nightly)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: arduino/setup-protoc@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test (nightly)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (nightly):
eventually-postgres/src/event.rs#L2
the item `ToString` is imported redundantly
|
Test (nightly):
eventually-postgres/src/lib.rs#L12
missing documentation for a module
|
Test (nightly):
eventually-postgres/src/lib.rs#L14
missing documentation for a static
|
Test (nightly):
eventually-postgres/src/aggregate.rs#L38
missing documentation for an associated function
|
Test (nightly):
eventually-postgres/src/event.rs#L16
missing documentation for an enum
|
Test (nightly):
eventually-postgres/src/event.rs#L18
missing documentation for a variant
|
Test (nightly):
eventually-postgres/src/event.rs#L20
missing documentation for a variant
|
Test (nightly):
eventually-postgres/src/event.rs#L21
missing documentation for a struct field
|
Test (nightly):
eventually-postgres/src/event.rs#L23
missing documentation for a struct field
|
Test (nightly):
eventually-postgres/src/event.rs#L26
missing documentation for a variant
|
Code Coverage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: arduino/setup-protoc@v2, actions-rs/toolchain@v1, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Code Coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Code Coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Code Coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Code Coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Code Coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
code-coverage-report
Expired
|
15.7 KB |
|