Skip to content

refactor: simplify Repository and Serde traits, introduce AnyRepository, remove ProtobufSerde #273

refactor: simplify Repository and Serde traits, introduce AnyRepository, remove ProtobufSerde

refactor: simplify Repository and Serde traits, introduce AnyRepository, remove ProtobufSerde #273

Triggered via pull request December 11, 2023 09:54
Status Success
Total duration 2m 35s
Artifacts 1

ci.yml

on: pull_request
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

294 warnings
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/
missing documentation for a function: eventually-macros/src/lib.rs#L13
warning: missing documentation for a function --> eventually-macros/src/lib.rs:13:1 | 13 | pub fn derive_message(input: TokenStream) -> TokenStream { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> eventually-macros/src/lib.rs:4:9 | 4 | #![warn(missing_docs)] | ^^^^^^^^^^^^
docs for function which may panic missing `# Panics` section: eventually-macros/src/lib.rs#L63
warning: docs for function which may panic missing `# Panics` section --> eventually-macros/src/lib.rs:63:1 | 63 | pub fn aggregate_root(args: TokenStream, item: TokenStream) -> TokenStream { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: first possible panic found here --> eventually-macros/src/lib.rs:68:26 | 68 | let aggregate_type = args | __________________________^ 69 | | .first() 70 | | .and_then(|meta| match meta { 71 | | NestedMeta::Meta(Meta::Path(Path { segments, .. })) => Some(segments), ... | 75 | | .map(|segment| segment.ident.clone()) 76 | | .expect("the aggregate root type must be provided as macro parameter"); | |______________________________________________________________________________^ = 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-macros/src/lib.rs#L61
warning: item in documentation is missing backticks --> eventually-macros/src/lib.rs:61:36 | 61 | /// through [std::ops::Deref] and [std::ops::DerefMut]. | ^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 61 | /// through [std::ops::Deref] and [`std::ops::DerefMut`]. | ~~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually-macros/src/lib.rs#L61
warning: item in documentation is missing backticks --> eventually-macros/src/lib.rs:61:14 | 61 | /// through [std::ops::Deref] and [std::ops::DerefMut]. | ^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 61 | /// through [`std::ops::Deref`] and [std::ops::DerefMut]. | ~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually-macros/src/lib.rs#L46
warning: item in documentation is missing backticks --> eventually-macros/src/lib.rs:46:19 | 46 | /// user-defined [eventually::aggregate::Aggregate] types. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 46 | /// user-defined [`eventually::aggregate::Aggregate`] types. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually-macros/src/lib.rs#L45
warning: item in documentation is missing backticks --> eventually-macros/src/lib.rs:45:38 | 45 | /// Implements a newtype to use the [eventually::aggregate::Root] instance with | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown = note: `#[warn(clippy::doc_markdown)]` implied by `#[warn(clippy::pedantic)]` help: try | 45 | /// Implements a newtype to use the [`eventually::aggregate::Root`] instance with | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
variables can be used directly in the `format!` string: eventually-macros/src/lib.rs#L24
warning: variables can be used directly in the `format!` string --> eventually-macros/src/lib.rs:24:26 | 24 | let event_name = format!("{}{}", event_prefix, event_type); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args = note: `#[warn(clippy::uninlined_format_args)]` implied by `#[warn(clippy::pedantic)]` help: change this to | 24 - let event_name = format!("{}{}", event_prefix, event_type); 24 + let event_name = format!("{event_prefix}{event_type}"); |
docs for function which may panic missing `# Panics` section: eventually-macros/src/lib.rs#L13
warning: docs for function which may panic missing `# Panics` section --> eventually-macros/src/lib.rs:13:1 | 13 | pub fn derive_message(input: TokenStream) -> TokenStream { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: first possible panic found here --> eventually-macros/src/lib.rs:16:24 | 16 | let event_prefix = item_name | ________________________^ 17 | | .to_string() 18 | | .strip_suffix("Event") 19 | | .unwrap() | |_________________^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc note: the lint level is defined here --> eventually-macros/src/lib.rs:6:9 | 6 | #![warn(clippy::pedantic)] | ^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::missing_panics_doc)]` implied by `#[warn(clippy::pedantic)]`
this function has too many lines (112/100): /home/runner/work/eventually-rs/eventually-rs/target/debug/build/bank-accounting-7ceb85f42ea0b821/out/bankaccounting.rs#L123
warning: this function has too many lines (112/100) --> /home/runner/work/eventually-rs/eventually-rs/target/debug/build/bank-accounting-7ceb85f42ea0b821/out/bankaccounting.rs:123:9 | 123 | / fn call(&mut self, req: http::Request<B>) -> Self::Future { 124 | | let inner = self.inner.clone(); 125 | | match req.uri().path() { 126 | | "/bankaccounting.BankAccounting/OpenBankAccount" => { ... | 235 | | } 236 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_lines = note: `#[warn(clippy::too_many_lines)]` implied by `#[warn(clippy::pedantic)]`
calling `EnabledCompressionEncodings::default()` is more clear than this expression: /home/runner/work/eventually-rs/eventually-rs/target/debug/build/bank-accounting-7ceb85f42ea0b821/out/bankaccounting.rs#L65
warning: calling `EnabledCompressionEncodings::default()` is more clear than this expression --> /home/runner/work/eventually-rs/eventually-rs/target/debug/build/bank-accounting-7ceb85f42ea0b821/out/bankaccounting.rs:65:45 | 65 | send_compression_encodings: Default::default(), | ^^^^^^^^^^^^^^^^^^ help: try: `EnabledCompressionEncodings::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_trait_access
calling `EnabledCompressionEncodings::default()` is more clear than this expression: /home/runner/work/eventually-rs/eventually-rs/target/debug/build/bank-accounting-7ceb85f42ea0b821/out/bankaccounting.rs#L64
warning: calling `EnabledCompressionEncodings::default()` is more clear than this expression --> /home/runner/work/eventually-rs/eventually-rs/target/debug/build/bank-accounting-7ceb85f42ea0b821/out/bankaccounting.rs:64:47 | 64 | accept_compression_encodings: Default::default(), | ^^^^^^^^^^^^^^^^^^ help: try: `EnabledCompressionEncodings::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_trait_access = note: `#[warn(clippy::default_trait_access)]` implied by `#[warn(clippy::pedantic)]`
usage of wildcard import: /home/runner/work/eventually-rs/eventually-rs/target/debug/build/bank-accounting-7ceb85f42ea0b821/out/bankaccounting.rs#L28
warning: usage of wildcard import --> /home/runner/work/eventually-rs/eventually-rs/target/debug/build/bank-accounting-7ceb85f42ea0b821/out/bankaccounting.rs:28:9 | 28 | use tonic::codegen::*; | ^^^^^^^^^^^^^^^^^ help: try: `tonic::codegen::{Arc, Body, BoxFuture, CompressionEncoding, Context, EnabledCompressionEncodings, InterceptedService, Poll, StdError, async_trait, empty_body, http}` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_imports = note: `#[warn(clippy::wildcard_imports)]` implied by `#[warn(clippy::pedantic)]`
docs for function returning `Result` missing `# Errors` section: examples/bank-accounting/src/tracing.rs#L5
warning: docs for function returning `Result` missing `# Errors` section --> examples/bank-accounting/src/tracing.rs:5:1 | 5 | pub fn initialize(service_name: &str) -> anyhow::Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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: examples/bank-accounting/src/postgres.rs#L5
warning: docs for function returning `Result` missing `# Errors` section --> examples/bank-accounting/src/postgres.rs:5:1 | 5 | pub async fn connect() -> anyhow::Result<PgPool> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function which may panic missing `# Panics` section: examples/bank-accounting/src/postgres.rs#L5
warning: docs for function which may panic missing `# Panics` section --> examples/bank-accounting/src/postgres.rs:5:1 | 5 | pub async fn connect() -> anyhow::Result<PgPool> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: first possible panic found here --> examples/bank-accounting/src/postgres.rs:9:17 | 9 | / std::env::var("DATABASE_HOST") 10 | | .expect("env var DATABASE_HOST is required") | |________________________________________________________________^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc = note: `#[warn(clippy::missing_panics_doc)]` implied by `#[warn(clippy::pedantic)]`
usage of wildcard import for enum variants: examples/bank-accounting/src/grpc.rs#L80
warning: usage of wildcard import for enum variants --> examples/bank-accounting/src/grpc.rs:80:21 | 80 | use BankAccountError::*; | ^^^^^^^^^^^^^^^^^^^ help: try: `BankAccountError::{Closed, NegativeDepositAttempted, NoMoneyDeposited}` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_glob_use
matching over `()` is more explicit: examples/bank-accounting/src/grpc.rs#L78
warning: matching over `()` is more explicit --> examples/bank-accounting/src/grpc.rs:78:19 | 78 | .map(|_| tonic::Response::new(proto::DepositInBankAccountResponse {})) | ^ help: use `()` instead of `_`: `()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ignored_unit_patterns
usage of wildcard import for enum variants: examples/bank-accounting/src/grpc.rs#L45
warning: usage of wildcard import for enum variants --> examples/bank-accounting/src/grpc.rs:45:21 | 45 | use BankAccountError::*; | ^^^^^^^^^^^^^^^^^^^ help: try: `BankAccountError::{AlreadyOpened, EmptyAccountHolderId, EmptyAccountId}` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_glob_use = note: `#[warn(clippy::enum_glob_use)]` implied by `#[warn(clippy::pedantic)]`
matching over `()` is more explicit: examples/bank-accounting/src/grpc.rs#L43
warning: matching over `()` is more explicit --> examples/bank-accounting/src/grpc.rs:43:19 | 43 | .map(|_| tonic::Response::new(proto::OpenBankAccountResponse {})) | ^ help: use `()` instead of `_`: `()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ignored_unit_patterns = note: `#[warn(clippy::ignored_unit_patterns)]` implied by `#[warn(clippy::pedantic)]`
docs for function returning `Result` missing `# Errors` section: examples/bank-accounting/src/domain.rs#L278
warning: docs for function returning `Result` missing `# Errors` section --> examples/bank-accounting/src/domain.rs:278:5 | 278 | pub fn reopen(&mut self, reopening_balance: Option<Decimal>) -> Result<(), BankAccountError> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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: examples/bank-accounting/src/domain.rs#L270
warning: docs for function returning `Result` missing `# Errors` section --> examples/bank-accounting/src/domain.rs:270:5 | 270 | pub fn close(&mut self) -> Result<(), BankAccountError> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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: examples/bank-accounting/src/domain.rs#L258
warning: docs for function returning `Result` missing `# Errors` section --> examples/bank-accounting/src/domain.rs:258:5 | 258 | / pub fn record_transfer_success( 259 | | &mut self, 260 | | transaction_id: TransactionId, 261 | | ) -> Result<(), BankAccountError> { | |_____________________________________^ | = 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: examples/bank-accounting/src/domain.rs#L234
warning: docs for function returning `Result` missing `# Errors` section --> examples/bank-accounting/src/domain.rs:234:5 | 234 | / pub fn receive_transfer( 235 | | &mut self, 236 | | transaction: Transaction, 237 | | message: Option<String>, 238 | | ) -> Result<(), BankAccountError> { | |_____________________________________^ | = 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: examples/bank-accounting/src/domain.rs#L201
warning: docs for function returning `Result` missing `# Errors` section --> examples/bank-accounting/src/domain.rs:201:5 | 201 | / pub fn send_transfer( 202 | | &mut self, 203 | | mut transaction: Transaction, 204 | | message: Option<String>, 205 | | ) -> Result<(), BankAccountError> { | |_____________________________________^ | = 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: examples/bank-accounting/src/domain.rs#L185
warning: docs for function returning `Result` missing `# Errors` section --> examples/bank-accounting/src/domain.rs:185:5 | 185 | pub fn deposit(&mut self, money: Decimal) -> Result<(), BankAccountError> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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: examples/bank-accounting/src/domain.rs#L161
warning: docs for function returning `Result` missing `# Errors` section --> examples/bank-accounting/src/domain.rs:161:5 | 161 | / pub fn open( 162 | | id: BankAccountId, 163 | | account_holder_id: BankAccountHolderId, 164 | | opening_balance: Option<Decimal>, 165 | | ) -> Result<Self, BankAccountError> { | |_______________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc = note: `#[warn(clippy::missing_errors_doc)]` implied by `#[warn(clippy::pedantic)]`
unused variable: `e`: examples/bank-accounting/src/grpc.rs#L52
warning: unused variable: `e` --> examples/bank-accounting/src/grpc.rs:52:36 | 52 | } else if let Some(e) = conflict_error { | ^ help: if this is intentional, prefix it with an underscore: `_e` | = note: `#[warn(unused_variables)]` on by default
binding's name is too similar to existing binding: /home/runner/work/eventually-rs/eventually-rs/target/debug/build/bank-accounting-7ceb85f42ea0b821/out/bankaccounting.rs#L218
warning: binding's name is too similar to existing binding --> /home/runner/work/eventually-rs/eventually-rs/target/debug/build/bank-accounting-7ceb85f42ea0b821/out/bankaccounting.rs:218:29 | 218 | let res = grpc.unary(method, req).await; | ^^^ | note: existing binding defined here --> /home/runner/work/eventually-rs/eventually-rs/target/debug/build/bank-accounting-7ceb85f42ea0b821/out/bankaccounting.rs:123:28 | 123 | fn call(&mut self, req: http::Request<B>) -> Self::Future { | ^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#similar_names
binding's name is too similar to existing binding: /home/runner/work/eventually-rs/eventually-rs/target/debug/build/bank-accounting-7ceb85f42ea0b821/out/bankaccounting.rs#L168
warning: binding's name is too similar to existing binding --> /home/runner/work/eventually-rs/eventually-rs/target/debug/build/bank-accounting-7ceb85f42ea0b821/out/bankaccounting.rs:168:29 | 168 | let res = grpc.unary(method, req).await; | ^^^ | note: existing binding defined here --> /home/runner/work/eventually-rs/eventually-rs/target/debug/build/bank-accounting-7ceb85f42ea0b821/out/bankaccounting.rs:123:28 | 123 | fn call(&mut self, req: http::Request<B>) -> Self::Future { | ^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#similar_names note: the lint level is defined here --> examples/bank-accounting/src/lib.rs:3:9 | 3 | #![warn(clippy::pedantic)] | ^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::similar_names)]` implied by `#[warn(clippy::pedantic)]`
missing documentation for a method: eventually/src/message.rs#L25
warning: missing documentation for a method --> eventually/src/message.rs:25:5 | 25 | / pub fn and_metadata<F>(mut self, f: F) -> Self 26 | | where 27 | | F: Fn(&mut Metadata), | |_____________________________^
missing documentation for a struct field: eventually/src/message.rs#L17
warning: missing documentation for a struct field --> eventually/src/message.rs:17:5 | 17 | pub metadata: Metadata, | ^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: eventually/src/message.rs#L16
warning: missing documentation for a struct field --> eventually/src/message.rs:16:5 | 16 | pub message: T, | ^^^^^^^^^^^^^^
missing documentation for a struct: eventually/src/message.rs#L12
warning: missing documentation for a struct --> eventually/src/message.rs:12:1 | 12 | pub struct Envelope<T> | ^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a type alias: eventually/src/message.rs#L9
warning: missing documentation for a type alias --> eventually/src/message.rs:9:1 | 9 | pub type Metadata = HashMap<String, String>; | ^^^^^^^^^^^^^^^^^
missing documentation for a method: eventually/src/message.rs#L6
warning: missing documentation for a method --> eventually/src/message.rs:6:5 | 6 | fn name(&self) -> &'static str; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a trait: eventually/src/message.rs#L5
warning: missing documentation for a trait --> eventually/src/message.rs:5:1 | 5 | pub trait Message { | ^^^^^^^^^^^^^^^^^
missing documentation for a module: eventually/src/lib.rs#L10
warning: missing documentation for a module --> eventually/src/lib.rs:10:1 | 10 | pub mod serde; | ^^^^^^^^^^^^^
missing documentation for a module: eventually/src/lib.rs#L9
warning: missing documentation for a module --> eventually/src/lib.rs:9:1 | 9 | pub mod message; | ^^^^^^^^^^^^^^^
missing documentation for the crate: eventually/src/lib.rs#L1
warning: missing documentation for the crate --> eventually/src/lib.rs:1:1 | 1 | / #![deny(unsafe_code, unused_qualifications, trivial_casts)] 2 | | #![deny(clippy::all)] 3 | | #![warn(clippy::pedantic)] 4 | | #![warn(missing_docs)] ... | 12 | | pub mod tracing; 13 | | pub mod version; | |________________^ | note: the lint level is defined here --> eventually/src/lib.rs:4:9 | 4 | #![warn(missing_docs)] | ^^^^^^^^^^^^
item in documentation is missing backticks: eventually/src/version.rs#L6
warning: 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
warning: 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, | ~~~~~~~~~~~~~~~~~~~~~~~~
docs for function returning `Result` missing `# Errors` section: eventually/src/serde/mod.rs#L17
warning: docs for function returning `Result` missing `# Errors` section --> eventually/src/serde/mod.rs:17:5 | 17 | fn deserialize(&self, data: Vec<u8>) -> Result<T, Self::Error>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc = note: `#[warn(clippy::missing_errors_doc)]` implied by `#[warn(clippy::pedantic)]`
item in documentation is missing backticks: eventually/src/serde/mod.rs#L9
warning: item in documentation is missing backticks --> eventually/src/serde/mod.rs:9:36 | 9 | /// The error returned by the [Serde::deserialize] method. | ^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 9 | /// The error returned by the [`Serde::deserialize`] method. | ~~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/event/store.rs#L251
warning: item in documentation is missing backticks --> eventually/src/event/store.rs:251:68 | 251 | /// 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 | 251 | /// Returns a [Tracking] instance that decorates the original [`event::Store`] | ~~~~~~~~~~~~~~
docs for function which may panic missing `# Panics` section: eventually/src/event/store.rs#L176
warning: docs for function which may panic missing `# Panics` section --> eventually/src/event/store.rs:176:5 | 176 | pub fn reset_recorded_events(&self) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: first possible panic found here --> eventually/src/event/store.rs:177:9 | 177 | / self.events 178 | | .write() 179 | | .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#L168
warning: docs for function which may panic missing `# Panics` section --> eventually/src/event/store.rs:168:5 | 168 | pub fn recorded_events(&self) -> Vec<event::Persisted<StreamId, Event>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: first possible panic found here --> eventually/src/event/store.rs:169:9 | 169 | / self.events 170 | | .read() 171 | | .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 = note: `#[warn(clippy::missing_panics_doc)]` implied by `#[warn(clippy::pedantic)]`
item in documentation is missing backticks: eventually/src/event/store.rs#L143
warning: item in documentation is missing backticks --> eventually/src/event/store.rs:143:28 | 143 | /// 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 | 143 | /// Decorator type for an [`event::Store`] implementation that tracks the list of | ~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/event/store.rs#L35
warning: item in documentation is missing backticks --> eventually/src/event/store.rs:35:30 | 35 | /// 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 | 35 | /// backed by a thread-safe [`std::collections::HashMap`]. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/event/store.rs#L34
warning: item in documentation is missing backticks --> eventually/src/event/store.rs:34:34 | 34 | /// 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 | 34 | /// In-memory implementation of [`event::Store`] trait, | ~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/event/store.rs#L2
warning: 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
warning: 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
warning: 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/repository/mod.rs#L21
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/mod.rs:21:34 | 21 | /// Error returned by a call to [Repository::get]. | ^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 21 | /// Error returned by a call to [`Repository::get`]. | ~~~~~~~~~~~~~~~~~
item name ends with its containing module's name: eventually/src/aggregate/repository/mod.rs#L15
warning: item name ends with its containing module's name --> eventually/src/aggregate/repository/mod.rs:15:21 | 15 | pub use self::any::{AnyRepository, AnyRepositoryExt}; | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions
item in documentation is missing backticks: eventually/src/aggregate/repository/event_sourced.rs#L34
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/event_sourced.rs:34:54 | 34 | /// List of possible errors that can be returned by [EventSourced::save]. | ^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 34 | /// List of possible errors that can be returned by [`EventSourced::save`]. | ~~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/event_sourced.rs#L15
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/event_sourced.rs:15:54 | 15 | /// List of possible errors that can be returned by [EventSourced::get]. | ^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 15 | /// List of possible errors that can be returned by [`EventSourced::get`]. | ~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/event_sourced.rs#L3
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/event_sourced.rs:3:21 | 3 | //! state using an [event::Store]. | ^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 3 | //! state using an [`event::Store`]. | ~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/event_sourced.rs#L1
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/event_sourced.rs:1:40 | 1 | //! Contains the impementation of the [EventSourced] [Repository] trait, | ^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 1 | //! Contains the impementation of the [`EventSourced`] [Repository] trait, | ~~~~~~~~~~~~~~
missing documentation for an associated function: eventually-postgres/src/event.rs#L149
warning: missing documentation for an associated function --> eventually-postgres/src/event.rs:149:5 | 149 | pub async fn new(pool: PgPool, serde: S) -> Result<Self, sqlx::migrate::MigrateError> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: eventually-postgres/src/event.rs#L128
warning: missing documentation for a struct --> eventually-postgres/src/event.rs:128:1 | 128 | pub struct Store<Id, Evt, OutEvt, S> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L47
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:47:5 | 47 | Database(#[from] sqlx::Error), | ^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L45
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:45:5 | 45 | CommitTransaction(#[source] sqlx::Error), | ^^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L43
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:43:5 | 43 | AppendEvent(#[source] sqlx::Error), | ^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L41
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:41:5 | 41 | UpsertEventStream(#[source] sqlx::Error), | ^^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L39
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:39:5 | 39 | BeginTransaction(#[source] sqlx::Error), | ^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L37
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:37:5 | 37 | Concurrency(#[source] version::ConflictError), | ^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L35
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:35:5 | 35 | Conflict(#[source] version::ConflictError), | ^^^^^^^^
missing documentation for an enum: eventually-postgres/src/event.rs#L33
warning: missing documentation for an enum --> eventually-postgres/src/event.rs:33:1 | 33 | pub enum AppendError { | ^^^^^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L29
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:29:5 | 29 | Database(#[source] sqlx::Error), | ^^^^^^^^
missing documentation for a struct field: eventually-postgres/src/event.rs#L26
warning: missing documentation for a struct field --> eventually-postgres/src/event.rs:26:9 | 26 | error: sqlx::Error, | ^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: eventually-postgres/src/event.rs#L24
warning: missing documentation for a struct field --> eventually-postgres/src/event.rs:24:9 | 24 | name: &'static str, | ^^^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L23
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:23:5 | 23 | ReadColumn { | ^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L21
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:21:5 | 21 | DeserializeEvent(#[source] Box<dyn std::error::Error + Send + Sync + 'static>), | ^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L19
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:19:5 | 19 | ConvertEvent(#[source] Box<dyn std::error::Error + Send + Sync + 'static>), | ^^^^^^^^^^^^
missing documentation for an enum: eventually-postgres/src/event.rs#L17
warning: missing documentation for an enum --> eventually-postgres/src/event.rs:17:1 | 17 | pub enum StreamError { | ^^^^^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/aggregate.rs#L83
warning: missing documentation for a variant --> eventually-postgres/src/aggregate.rs:83:5 | 83 | Database(#[from] sqlx::Error), | ^^^^^^^^
missing documentation for a variant: eventually-postgres/src/aggregate.rs#L81
warning: missing documentation for a variant --> eventually-postgres/src/aggregate.rs:81:5 | 81 | CommitTransaction(#[source] sqlx::Error), | ^^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/aggregate.rs#L79
warning: missing documentation for a variant --> eventually-postgres/src/aggregate.rs:79:5 | 79 | AppendEvent(#[source] sqlx::Error), | ^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/aggregate.rs#L77
warning: missing documentation for a variant --> eventually-postgres/src/aggregate.rs:77:5 | 77 | SaveAggregateState(#[source] sqlx::Error), | ^^^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/aggregate.rs#L75
warning: missing documentation for a variant --> eventually-postgres/src/aggregate.rs:75:5 | 75 | Concurrency(#[source] version::ConflictError), | ^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/aggregate.rs#L73
warning: missing documentation for a variant --> eventually-postgres/src/aggregate.rs:73:5 | 73 | Conflict(#[source] version::ConflictError), | ^^^^^^^^
missing documentation for a variant: eventually-postgres/src/aggregate.rs#L71
warning: missing documentation for a variant --> eventually-postgres/src/aggregate.rs:71:5 | 71 | BeginTransaction(#[source] sqlx::Error), | ^^^^^^^^^^^^^^^^
missing documentation for an enum: eventually-postgres/src/aggregate.rs#L69
warning: missing documentation for an enum --> eventually-postgres/src/aggregate.rs:69:1 | 69 | pub enum SaveError { | ^^^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/aggregate.rs#L65
warning: missing documentation for a variant --> eventually-postgres/src/aggregate.rs:65:5 | 65 | Database(#[from] sqlx::Error), | ^^^^^^^^
missing documentation for a variant: eventually-postgres/src/aggregate.rs#L63
warning: missing documentation for a variant --> eventually-postgres/src/aggregate.rs:63:5 | 63 | ConvertAggregate(#[source] Box<dyn std::error::Error + Send + Sync + 'static>), | ^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/aggregate.rs#L61
warning: missing documentation for a variant --> eventually-postgres/src/aggregate.rs:61:5 | 61 | DeserializeAggregate(#[source] Box<dyn std::error::Error + Send + Sync + 'static>), | ^^^^^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/aggregate.rs#L59
warning: missing documentation for a variant --> eventually-postgres/src/aggregate.rs:59:5 | 59 | FetchAggregateRow(#[source] sqlx::Error), | ^^^^^^^^^^^^^^^^^
missing documentation for an enum: eventually-postgres/src/aggregate.rs#L57
warning: missing documentation for an enum --> eventually-postgres/src/aggregate.rs:57:1 | 57 | pub enum GetError { | ^^^^^^^^^^^^^^^^^
missing documentation for an associated function: eventually-postgres/src/aggregate.rs#L37
warning: missing documentation for an associated function --> eventually-postgres/src/aggregate.rs:37:5 | 37 | / pub async fn new( 38 | | pool: PgPool, 39 | | aggregate_serde: TSerde, 40 | | event_serde: EvtSerde, 41 | | ) -> Result<Self, sqlx::migrate::MigrateError> { | |__________________________________________________^
item name starts with its containing module's name: eventually/src/aggregate/repository/any.rs#L63
warning: item name starts with its containing module's name --> eventually/src/aggregate/repository/any.rs:63:12 | 63 | pub struct AnyRepositoryImpl<T, R> | ^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions
missing documentation for a struct: eventually-postgres/src/aggregate.rs#L11
warning: missing documentation for a struct --> eventually-postgres/src/aggregate.rs:11:1 | 11 | pub struct Repository<T, OutT, OutEvt, TSerde, EvtSerde> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L61
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:61:19 | 61 | /// Must use the [AnyRepositoryExt] super-trait extension to obtain an instance | ^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 61 | /// Must use the [`AnyRepositoryExt`] super-trait extension to obtain an instance | ~~~~~~~~~~~~~~~~~~
missing documentation for a static: eventually-postgres/src/lib.rs#L9
warning: missing documentation for a static --> eventually-postgres/src/lib.rs:9:1 | 9 | pub static MIGRATIONS: sqlx::migrate::Migrator = sqlx::migrate!("./migrations"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L59
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:59:36 | 59 | /// to return opaque errors using [AnyError]. | ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 59 | /// to return opaque errors using [`AnyError`]. | ~~~~~~~~~~
missing documentation for a module: eventually-postgres/src/lib.rs#L7
warning: missing documentation for a module --> eventually-postgres/src/lib.rs:7:1 | 7 | pub mod event; | ^^^^^^^^^^^^^
missing documentation for a module: eventually-postgres/src/lib.rs#L6
warning: missing documentation for a module --> eventually-postgres/src/lib.rs:6:1 | 6 | pub mod aggregate; | ^^^^^^^^^^^^^^^^^
missing documentation for the crate: eventually-postgres/src/lib.rs#L1
warning: missing documentation for the crate --> eventually-postgres/src/lib.rs:1:1 | 1 | / #![deny(unsafe_code, unused_qualifications, trivial_casts)] 2 | | #![deny(clippy::all)] 3 | | #![warn(clippy::pedantic)] 4 | | #![warn(missing_docs)] ... | 42 | | None 43 | | } | |_^ | note: the lint level is defined here --> eventually-postgres/src/lib.rs:4:9 | 4 | #![warn(missing_docs)] | ^^^^^^^^^^^^
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L39
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:39:61 | 39 | /// Converts the current [Repository] instance into an [AnyRepository] implementation. | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 39 | /// Converts the current [Repository] instance into an [`AnyRepository`] implementation. | ~~~~~~~~~~~~~~~
item name starts with its containing module's name: eventually/src/aggregate/repository/any.rs#L33
warning: item name starts with its containing module's name --> eventually/src/aggregate/repository/any.rs:33:11 | 33 | pub trait AnyRepositoryExt<T>: Sized + Repository<T> | ^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L32
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:32:40 | 32 | /// that can be used to convert to an [AnyRepository] instance instead. | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 32 | /// that can be used to convert to an [`AnyRepository`] instance instead. | ~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L31
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:31:72 | 31 | /// Extension trait for [Repository] instances which errors implement [std::error::Error], | ^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 31 | /// Extension trait for [Repository] instances which errors implement [`std::error::Error`], | ~~~~~~~~~~~~~~~~~~~
item name starts with its containing module's name: eventually/src/aggregate/repository/any.rs#L25
warning: item name starts with its containing module's name --> eventually/src/aggregate/repository/any.rs:25:11 | 25 | pub trait AnyRepository<T>: Repository<T, GetError = AnyError, SaveError = AnyError> | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L24
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:24:10 | 24 | /// Use [AnyRepositoryExt::with_any_errors] to make use of this trait. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 24 | /// Use [`AnyRepositoryExt::with_any_errors`] to make use of this trait. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L20
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:20:75 | 20 | /// rather than requiring concrete error types for [Repository::get] and [Repository::save]. | ^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 20 | /// rather than requiring concrete error types for [Repository::get] and [`Repository::save`]. | ~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L20
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:20:53 | 20 | /// rather than requiring concrete error types for [Repository::get] and [Repository::save]. | ^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 20 | /// rather than requiring concrete error types for [`Repository::get`] and [Repository::save]. | ~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L19
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:19:59 | 19 | /// A [Repository] trait that uses opaque errors through [AnyError], | ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 19 | /// A [Repository] trait that uses opaque errors through [`AnyError`], | ~~~~~~~~~~
item name starts with its containing module's name: eventually/src/aggregate/repository/any.rs#L17
warning: item name starts with its containing module's name --> eventually/src/aggregate/repository/any.rs:17:12 | 17 | pub struct AnyError(#[from] anyhow::Error); | ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions = note: `#[warn(clippy::module_name_repetitions)]` implied by `#[warn(clippy::pedantic)]`
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L14
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:14:49 | 14 | /// but implemented in its own type to satisfy [std::error::Error] trait. | ^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 14 | /// but implemented in its own type to satisfy [`std::error::Error`] trait. | ~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L13
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:13:61 | 13 | /// Represents a generic, opaque kind of error. Powered by [anyhow::Error], | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 13 | /// Represents a generic, opaque kind of error. Powered by [`anyhow::Error`], | ~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L4
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:4:16 | 4 | //! Check out [AnyRepository] for more information. | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 4 | //! Check out [`AnyRepository`] for more information. | ~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L2
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:2:36 | 2 | //! to return opaque errors using [anyhow::Error]. | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 2 | //! to return opaque errors using [`anyhow::Error`]. | ~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/mod.rs#L5
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/mod.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:3:9 | 3 | #![warn(clippy::pedantic)] | ^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::doc_markdown)]` implied by `#[warn(clippy::pedantic)]` help: try | 5 | //! take a look at [`EventSourced`]. | ~~~~~~~~~~~~~~
casting `i32` to `u64` may lose the sign of the value: eventually-postgres/src/lib.rs#L30
warning: casting `i32` to `u64` may lose the sign of the value --> eventually-postgres/src/lib.rs:30:9 | 30 | v as Version | ^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_sign_loss
casting `i32` to `u64` may lose the sign of the value: eventually-postgres/src/event.rs#L316
warning: casting `i32` to `u64` may lose the sign of the value --> eventually-postgres/src/event.rs:316:12 | 316 | Ok(new_version as Version) | ^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_sign_loss
casting `u64` to `i32` may truncate the value: eventually-postgres/src/event.rs#L306
warning: casting `u64` to `i32` may truncate the value --> eventually-postgres/src/event.rs:306:30 | 306 | .map(|_| new_version as i32)? | ^^^^^^^^^^^^^^^^^^ | = help: if this is intentional allow the lint with `#[allow(clippy::cast_possible_truncation)]` ... = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_truncation help: ... or use `try_from` and handle the error accordingly | 306 | .map(|_| i32::try_from(new_version))? | ~~~~~~~~~~~~~~~~~~~~~~~~~~
redundant closure: eventually-postgres/src/event.rs#L296
warning: redundant closure --> eventually-postgres/src/event.rs:296:72 | 296 | None => match err.as_database_error().and_then(|err| err.code()) { | ^^^^^^^^^^^^^^^^ help: replace the closure with the method itself: `sqlx::error::DatabaseError::code` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_for_method_calls
casting `u64` to `i32` may truncate the value: eventually-postgres/src/event.rs#L291
warning: casting `u64` to `i32` may truncate the value --> eventually-postgres/src/event.rs:291:27 | 291 | .bind(new_version as i32) | ^^^^^^^^^^^^^^^^^^ | = help: if this is intentional allow the lint with `#[allow(clippy::cast_possible_truncation)]` ... = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_truncation help: ... or use `try_from` and handle the error accordingly | 291 | .bind(i32::try_from(new_version)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~
casting `u64` to `i32` may truncate the value: eventually-postgres/src/event.rs#L290
warning: casting `u64` to `i32` may truncate the value --> eventually-postgres/src/event.rs:290:27 | 290 | .bind(v as i32) | ^^^^^^^^ | = help: if this is intentional allow the lint with `#[allow(clippy::cast_possible_truncation)]` ... = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_truncation help: ... or use `try_from` and handle the error accordingly | 290 | .bind(i32::try_from(v)) | ~~~~~~~~~~~~~~~~
casting `usize` to `i32` may wrap around the value on targets with 32-bit wide pointers: eventually-postgres/src/event.rs#L276
warning: casting `usize` to `i32` may wrap around the value on targets with 32-bit wide pointers --> eventually-postgres/src/event.rs:276:34 | 276 | let events_len = events.len() as i32; | ^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_wrap
casting `usize` to `i32` may truncate the value on targets with 64-bit wide pointers: eventually-postgres/src/event.rs#L276
warning: casting `usize` to `i32` may truncate the value on targets with 64-bit wide pointers --> eventually-postgres/src/event.rs:276:34 | 276 | let events_len = events.len() as i32; | ^^^^^^^^^^^^^^^^^^^ | = help: if this is intentional allow the lint with `#[allow(clippy::cast_possible_truncation)]` ... = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_truncation help: ... or use `try_from` and handle the error accordingly | 276 | let events_len = i32::try_from(events.len()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
casting `u64` to `i32` may truncate the value: eventually-postgres/src/event.rs#L222
warning: casting `u64` to `i32` may truncate the value --> eventually-postgres/src/event.rs:222:46 | 222 | event::VersionSelect::From(v) => v as i32, | ^^^^^^^^ | = help: if this is intentional allow the lint with `#[allow(clippy::cast_possible_truncation)]` ... = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_truncation help: ... or use `try_from` and handle the error accordingly | 222 | event::VersionSelect::From(v) => i32::try_from(v), | ~~~~~~~~~~~~~~~~
casting `i32` to `u64` may lose the sign of the value: eventually-postgres/src/event.rs#L199
warning: casting `i32` to `u64` may lose the sign of the value --> eventually-postgres/src/event.rs:199:22 | 199 | version: version_column as Version, | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_sign_loss
this argument is passed by value, but not consumed in the function body: eventually-postgres/src/event.rs#L183
warning: this argument is passed by value, but not consumed in the function body --> eventually-postgres/src/event.rs:183:14 | 183 | row: PgRow, | ^^^^^ help: consider taking a reference instead: `&PgRow` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value = note: `#[warn(clippy::needless_pass_by_value)]` implied by `#[warn(clippy::pedantic)]`
docs for function returning `Result` missing `# Errors` section: eventually-postgres/src/event.rs#L149
warning: docs for function returning `Result` missing `# Errors` section --> eventually-postgres/src/event.rs:149:5 | 149 | pub async fn new(pool: PgPool, serde: S) -> Result<Self, sqlx::migrate::MigrateError> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
casting `usize` to `i32` may wrap around the value on targets with 32-bit wide pointers: eventually-postgres/src/event.rs#L111
warning: casting `usize` to `i32` may wrap around the value on targets with 32-bit wide pointers --> eventually-postgres/src/event.rs:111:60 | 111 | let event_version = current_event_stream_version + (i as i32) + 1; | ^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_wrap
casting `usize` to `i32` may truncate the value on targets with 64-bit wide pointers: eventually-postgres/src/event.rs#L111
warning: casting `usize` to `i32` may truncate the value on targets with 64-bit wide pointers --> eventually-postgres/src/event.rs:111:60 | 111 | let event_version = current_event_stream_version + (i as i32) + 1; | ^^^^^^^^^^ | = help: if this is intentional allow the lint with `#[allow(clippy::cast_possible_truncation)]` ... = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_truncation help: ... or use `try_from` and handle the error accordingly | 111 | let event_version = current_event_stream_version + i32::try_from(i) + 1; | ~~~~~~~~~~~~~~~~
casting `usize` to `i32` may wrap around the value on targets with 32-bit wide pointers: eventually-postgres/src/event.rs#L108
warning: casting `usize` to `i32` may wrap around the value on targets with 32-bit wide pointers --> eventually-postgres/src/event.rs:108:54 | 108 | let current_event_stream_version = new_version - (events.len() as i32); | ^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_wrap = note: `#[warn(clippy::cast_possible_wrap)]` implied by `#[warn(clippy::pedantic)]`
casting `usize` to `i32` may truncate the value on targets with 64-bit wide pointers: eventually-postgres/src/event.rs#L108
warning: casting `usize` to `i32` may truncate the value on targets with 64-bit wide pointers --> eventually-postgres/src/event.rs:108:54 | 108 | let current_event_stream_version = new_version - (events.len() as i32); | ^^^^^^^^^^^^^^^^^^^^^ | = help: if this is intentional allow the lint with `#[allow(clippy::cast_possible_truncation)]` ... = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_truncation help: ... or use `try_from` and handle the error accordingly | 108 | let current_event_stream_version = new_version - i32::try_from(events.len()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
this match arm has an identical body to another arm: eventually-postgres/src/event.rs#L54
warning: this match arm has an identical body to another arm --> eventually-postgres/src/event.rs:54:13 | 54 | AppendError::Concurrency(v) => Some(v), | ---------------------------^^^^^^^^^^^ | | | help: try merging the arm patterns: `AppendError::Concurrency(v) | AppendError::Conflict(v)` | = help: or try changing either arm body note: other arm here --> eventually-postgres/src/event.rs:53:13 | 53 | AppendError::Conflict(v) => Some(v), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_same_arms
casting `u64` to `i32` may truncate the value: eventually-postgres/src/aggregate.rs#L220
warning: casting `u64` to `i32` may truncate the value --> eventually-postgres/src/aggregate.rs:220:13 | 220 | root.version() as i32, | ^^^^^^^^^^^^^^^^^^^^^ | = help: if this is intentional allow the lint with `#[allow(clippy::cast_possible_truncation)]` ... = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_truncation help: ... or use `try_from` and handle the error accordingly | 220 | i32::try_from(root.version()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
casting `i32` to `u64` may lose the sign of the value: eventually-postgres/src/aggregate.rs#L188
warning: casting `i32` to `u64` may lose the sign of the value --> eventually-postgres/src/aggregate.rs:188:13 | 188 | version as Version, | ^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_sign_loss = note: `#[warn(clippy::cast_sign_loss)]` implied by `#[warn(clippy::pedantic)]`
redundant closure: eventually-postgres/src/aggregate.rs#L125
warning: redundant closure --> eventually-postgres/src/aggregate.rs:125:64 | 125 | None => match err.as_database_error().and_then(|err| err.code()) { | ^^^^^^^^^^^^^^^^ help: replace the closure with the method itself: `sqlx::error::DatabaseError::code` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_for_method_calls = note: `#[warn(clippy::redundant_closure_for_method_calls)]` implied by `#[warn(clippy::pedantic)]`
casting `u64` to `i32` may truncate the value: eventually-postgres/src/aggregate.rs#L119
warning: casting `u64` to `i32` may truncate the value --> eventually-postgres/src/aggregate.rs:119:19 | 119 | .bind(root.version() as i32) | ^^^^^^^^^^^^^^^^^^^^^ | = help: if this is intentional allow the lint with `#[allow(clippy::cast_possible_truncation)]` ... = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_truncation help: ... or use `try_from` and handle the error accordingly | 119 | .bind(i32::try_from(root.version())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
casting `u64` to `i32` may truncate the value: eventually-postgres/src/aggregate.rs#L118
warning: casting `u64` to `i32` may truncate the value --> eventually-postgres/src/aggregate.rs:118:19 | 118 | .bind(expected_version as i32) | ^^^^^^^^^^^^^^^^^^^^^^^ | = help: if this is intentional allow the lint with `#[allow(clippy::cast_possible_truncation)]` ... = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_possible_truncation = note: `#[warn(clippy::cast_possible_truncation)]` implied by `#[warn(clippy::pedantic)]` help: ... or use `try_from` and handle the error accordingly | 118 | .bind(i32::try_from(expected_version)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this match arm has an identical body to another arm: eventually-postgres/src/aggregate.rs#L90
warning: this match arm has an identical body to another arm --> eventually-postgres/src/aggregate.rs:90:13 | 90 | SaveError::Concurrency(v) => Some(v), | -------------------------^^^^^^^^^^^ | | | help: try merging the arm patterns: `SaveError::Concurrency(v) | SaveError::Conflict(v)` | = help: or try changing either arm body note: other arm here --> eventually-postgres/src/aggregate.rs:89:13 | 89 | SaveError::Conflict(v) => Some(v), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_same_arms = note: `#[warn(clippy::match_same_arms)]` implied by `#[warn(clippy::pedantic)]`
unnecessary hashes around raw string literal: eventually-postgres/src/lib.rs#L17
warning: unnecessary hashes around raw string literal --> eventually-postgres/src/lib.rs:17:20 | 17 | Regex::new(r#"version check failed, expected: (?P<expected>\d), got: (?P<got>\d)"#) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes help: remove all the hashes around the string literal | 17 - Regex::new(r#"version check failed, expected: (?P<expected>\d), got: (?P<got>\d)"#) 17 + Regex::new(r"version check failed, expected: (?P<expected>\d), got: (?P<got>\d)") |
unnecessary hashes around raw string literal: eventually-postgres/src/event.rs#L226
warning: unnecessary hashes around raw string literal --> eventually-postgres/src/event.rs:226:13 | 226 | / r#"SELECT version, event, metadata 227 | | FROM events 228 | | WHERE event_stream_id = $1 AND version >= $2 229 | | ORDER BY version"#, | |_________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes note: the lint level is defined here --> eventually-postgres/src/lib.rs:3:9 | 3 | #![warn(clippy::pedantic)] | ^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::needless_raw_string_hashes)]` implied by `#[warn(clippy::pedantic)]` help: remove all the hashes around the string literal | 226 ~ r"SELECT version, event, metadata 227 | FROM events 228 | WHERE event_stream_id = $1 AND version >= $2 229 ~ ORDER BY version", |
unused import: `PgDatabaseError`: eventually-postgres/src/event.rs#L13
warning: unused import: `PgDatabaseError` --> eventually-postgres/src/event.rs:13:22 | 13 | use sqlx::postgres::{PgDatabaseError, PgRow}; | ^^^^^^^^^^^^^^^
unused import: `regex::Regex`: eventually-postgres/src/event.rs#L12
warning: unused import: `regex::Regex` --> eventually-postgres/src/event.rs:12:5 | 12 | use regex::Regex; | ^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
missing documentation for a function: eventually-macros/src/lib.rs#L13
warning: missing documentation for a function --> eventually-macros/src/lib.rs:13:1 | 13 | pub fn derive_message(input: TokenStream) -> TokenStream { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> eventually-macros/src/lib.rs:4:9 | 4 | #![warn(missing_docs)] | ^^^^^^^^^^^^
docs for function which may panic missing `# Panics` section: eventually-macros/src/lib.rs#L63
warning: docs for function which may panic missing `# Panics` section --> eventually-macros/src/lib.rs:63:1 | 63 | pub fn aggregate_root(args: TokenStream, item: TokenStream) -> TokenStream { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: first possible panic found here --> eventually-macros/src/lib.rs:68:26 | 68 | let aggregate_type = args | __________________________^ 69 | | .first() 70 | | .and_then(|meta| match meta { 71 | | NestedMeta::Meta(Meta::Path(Path { segments, .. })) => Some(segments), ... | 75 | | .map(|segment| segment.ident.clone()) 76 | | .expect("the aggregate root type must be provided as macro parameter"); | |______________________________________________________________________________^ = 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-macros/src/lib.rs#L61
warning: item in documentation is missing backticks --> eventually-macros/src/lib.rs:61:36 | 61 | /// through [std::ops::Deref] and [std::ops::DerefMut]. | ^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 61 | /// through [std::ops::Deref] and [`std::ops::DerefMut`]. | ~~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually-macros/src/lib.rs#L61
warning: item in documentation is missing backticks --> eventually-macros/src/lib.rs:61:14 | 61 | /// through [std::ops::Deref] and [std::ops::DerefMut]. | ^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 61 | /// through [`std::ops::Deref`] and [std::ops::DerefMut]. | ~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually-macros/src/lib.rs#L46
warning: item in documentation is missing backticks --> eventually-macros/src/lib.rs:46:19 | 46 | /// user-defined [eventually::aggregate::Aggregate] types. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 46 | /// user-defined [`eventually::aggregate::Aggregate`] types. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually-macros/src/lib.rs#L45
warning: item in documentation is missing backticks --> eventually-macros/src/lib.rs:45:38 | 45 | /// Implements a newtype to use the [eventually::aggregate::Root] instance with | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown = note: `#[warn(clippy::doc_markdown)]` implied by `#[warn(clippy::pedantic)]` help: try | 45 | /// Implements a newtype to use the [`eventually::aggregate::Root`] instance with | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
variables can be used directly in the `format!` string: eventually-macros/src/lib.rs#L24
warning: variables can be used directly in the `format!` string --> eventually-macros/src/lib.rs:24:26 | 24 | let event_name = format!("{}{}", event_prefix, event_type); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args = note: `#[warn(clippy::uninlined_format_args)]` implied by `#[warn(clippy::pedantic)]` help: change this to | 24 - let event_name = format!("{}{}", event_prefix, event_type); 24 + let event_name = format!("{event_prefix}{event_type}"); |
docs for function which may panic missing `# Panics` section: eventually-macros/src/lib.rs#L13
warning: docs for function which may panic missing `# Panics` section --> eventually-macros/src/lib.rs:13:1 | 13 | pub fn derive_message(input: TokenStream) -> TokenStream { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: first possible panic found here --> eventually-macros/src/lib.rs:16:24 | 16 | let event_prefix = item_name | ________________________^ 17 | | .to_string() 18 | | .strip_suffix("Event") 19 | | .unwrap() | |_________________^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc note: the lint level is defined here --> eventually-macros/src/lib.rs:6:9 | 6 | #![warn(clippy::pedantic)] | ^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::missing_panics_doc)]` implied by `#[warn(clippy::pedantic)]`
missing documentation for a method: eventually/src/message.rs#L25
warning: missing documentation for a method --> eventually/src/message.rs:25:5 | 25 | / pub fn and_metadata<F>(mut self, f: F) -> Self 26 | | where 27 | | F: Fn(&mut Metadata), | |_____________________________^
missing documentation for a struct field: eventually/src/message.rs#L17
warning: missing documentation for a struct field --> eventually/src/message.rs:17:5 | 17 | pub metadata: Metadata, | ^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: eventually/src/message.rs#L16
warning: missing documentation for a struct field --> eventually/src/message.rs:16:5 | 16 | pub message: T, | ^^^^^^^^^^^^^^
missing documentation for a struct: eventually/src/message.rs#L12
warning: missing documentation for a struct --> eventually/src/message.rs:12:1 | 12 | pub struct Envelope<T> | ^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a type alias: eventually/src/message.rs#L9
warning: missing documentation for a type alias --> eventually/src/message.rs:9:1 | 9 | pub type Metadata = HashMap<String, String>; | ^^^^^^^^^^^^^^^^^
missing documentation for a method: eventually/src/message.rs#L6
warning: missing documentation for a method --> eventually/src/message.rs:6:5 | 6 | fn name(&self) -> &'static str; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a trait: eventually/src/message.rs#L5
warning: missing documentation for a trait --> eventually/src/message.rs:5:1 | 5 | pub trait Message { | ^^^^^^^^^^^^^^^^^
missing documentation for a module: eventually/src/lib.rs#L10
warning: missing documentation for a module --> eventually/src/lib.rs:10:1 | 10 | pub mod serde; | ^^^^^^^^^^^^^
missing documentation for a module: eventually/src/lib.rs#L9
warning: missing documentation for a module --> eventually/src/lib.rs:9:1 | 9 | pub mod message; | ^^^^^^^^^^^^^^^
missing documentation for the crate: eventually/src/lib.rs#L1
warning: missing documentation for the crate --> eventually/src/lib.rs:1:1 | 1 | / #![deny(unsafe_code, unused_qualifications, trivial_casts)] 2 | | #![deny(clippy::all)] 3 | | #![warn(clippy::pedantic)] 4 | | #![warn(missing_docs)] ... | 12 | | pub mod tracing; 13 | | pub mod version; | |________________^ | note: the lint level is defined here --> eventually/src/lib.rs:4:9 | 4 | #![warn(missing_docs)] | ^^^^^^^^^^^^
item in documentation is missing backticks: eventually/src/version.rs#L6
warning: 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
warning: 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, | ~~~~~~~~~~~~~~~~~~~~~~~~
docs for function returning `Result` missing `# Errors` section: eventually/src/serde/mod.rs#L17
warning: docs for function returning `Result` missing `# Errors` section --> eventually/src/serde/mod.rs:17:5 | 17 | fn deserialize(&self, data: Vec<u8>) -> Result<T, Self::Error>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc = note: `#[warn(clippy::missing_errors_doc)]` implied by `#[warn(clippy::pedantic)]`
item in documentation is missing backticks: eventually/src/serde/mod.rs#L9
warning: item in documentation is missing backticks --> eventually/src/serde/mod.rs:9:36 | 9 | /// The error returned by the [Serde::deserialize] method. | ^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 9 | /// The error returned by the [`Serde::deserialize`] method. | ~~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/event/store.rs#L251
warning: item in documentation is missing backticks --> eventually/src/event/store.rs:251:68 | 251 | /// 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 | 251 | /// Returns a [Tracking] instance that decorates the original [`event::Store`] | ~~~~~~~~~~~~~~
docs for function which may panic missing `# Panics` section: eventually/src/event/store.rs#L176
warning: docs for function which may panic missing `# Panics` section --> eventually/src/event/store.rs:176:5 | 176 | pub fn reset_recorded_events(&self) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: first possible panic found here --> eventually/src/event/store.rs:177:9 | 177 | / self.events 178 | | .write() 179 | | .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#L168
warning: docs for function which may panic missing `# Panics` section --> eventually/src/event/store.rs:168:5 | 168 | pub fn recorded_events(&self) -> Vec<event::Persisted<StreamId, Event>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: first possible panic found here --> eventually/src/event/store.rs:169:9 | 169 | / self.events 170 | | .read() 171 | | .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 = note: `#[warn(clippy::missing_panics_doc)]` implied by `#[warn(clippy::pedantic)]`
item in documentation is missing backticks: eventually/src/event/store.rs#L143
warning: item in documentation is missing backticks --> eventually/src/event/store.rs:143:28 | 143 | /// 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 | 143 | /// Decorator type for an [`event::Store`] implementation that tracks the list of | ~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/event/store.rs#L35
warning: item in documentation is missing backticks --> eventually/src/event/store.rs:35:30 | 35 | /// 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 | 35 | /// backed by a thread-safe [`std::collections::HashMap`]. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/event/store.rs#L34
warning: item in documentation is missing backticks --> eventually/src/event/store.rs:34:34 | 34 | /// 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 | 34 | /// In-memory implementation of [`event::Store`] trait, | ~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/event/store.rs#L2
warning: 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
warning: 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
warning: 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/repository/mod.rs#L21
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/mod.rs:21:34 | 21 | /// Error returned by a call to [Repository::get]. | ^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 21 | /// Error returned by a call to [`Repository::get`]. | ~~~~~~~~~~~~~~~~~
item name ends with its containing module's name: eventually/src/aggregate/repository/mod.rs#L15
warning: item name ends with its containing module's name --> eventually/src/aggregate/repository/mod.rs:15:21 | 15 | pub use self::any::{AnyRepository, AnyRepositoryExt}; | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions
item in documentation is missing backticks: eventually/src/aggregate/repository/event_sourced.rs#L34
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/event_sourced.rs:34:54 | 34 | /// List of possible errors that can be returned by [EventSourced::save]. | ^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 34 | /// List of possible errors that can be returned by [`EventSourced::save`]. | ~~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/event_sourced.rs#L15
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/event_sourced.rs:15:54 | 15 | /// List of possible errors that can be returned by [EventSourced::get]. | ^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 15 | /// List of possible errors that can be returned by [`EventSourced::get`]. | ~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/event_sourced.rs#L3
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/event_sourced.rs:3:21 | 3 | //! state using an [event::Store]. | ^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 3 | //! state using an [`event::Store`]. | ~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/event_sourced.rs#L1
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/event_sourced.rs:1:40 | 1 | //! Contains the impementation of the [EventSourced] [Repository] trait, | ^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 1 | //! Contains the impementation of the [`EventSourced`] [Repository] trait, | ~~~~~~~~~~~~~~
item name starts with its containing module's name: eventually/src/aggregate/repository/any.rs#L63
warning: item name starts with its containing module's name --> eventually/src/aggregate/repository/any.rs:63:12 | 63 | pub struct AnyRepositoryImpl<T, R> | ^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L61
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:61:19 | 61 | /// Must use the [AnyRepositoryExt] super-trait extension to obtain an instance | ^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 61 | /// Must use the [`AnyRepositoryExt`] super-trait extension to obtain an instance | ~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L59
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:59:36 | 59 | /// to return opaque errors using [AnyError]. | ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 59 | /// to return opaque errors using [`AnyError`]. | ~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L39
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:39:61 | 39 | /// Converts the current [Repository] instance into an [AnyRepository] implementation. | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 39 | /// Converts the current [Repository] instance into an [`AnyRepository`] implementation. | ~~~~~~~~~~~~~~~
item name starts with its containing module's name: eventually/src/aggregate/repository/any.rs#L33
warning: item name starts with its containing module's name --> eventually/src/aggregate/repository/any.rs:33:11 | 33 | pub trait AnyRepositoryExt<T>: Sized + Repository<T> | ^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L32
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:32:40 | 32 | /// that can be used to convert to an [AnyRepository] instance instead. | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 32 | /// that can be used to convert to an [`AnyRepository`] instance instead. | ~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L31
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:31:72 | 31 | /// Extension trait for [Repository] instances which errors implement [std::error::Error], | ^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 31 | /// Extension trait for [Repository] instances which errors implement [`std::error::Error`], | ~~~~~~~~~~~~~~~~~~~
item name starts with its containing module's name: eventually/src/aggregate/repository/any.rs#L25
warning: item name starts with its containing module's name --> eventually/src/aggregate/repository/any.rs:25:11 | 25 | pub trait AnyRepository<T>: Repository<T, GetError = AnyError, SaveError = AnyError> | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L24
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:24:10 | 24 | /// Use [AnyRepositoryExt::with_any_errors] to make use of this trait. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 24 | /// Use [`AnyRepositoryExt::with_any_errors`] to make use of this trait. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L20
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:20:75 | 20 | /// rather than requiring concrete error types for [Repository::get] and [Repository::save]. | ^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 20 | /// rather than requiring concrete error types for [Repository::get] and [`Repository::save`]. | ~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L20
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:20:53 | 20 | /// rather than requiring concrete error types for [Repository::get] and [Repository::save]. | ^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 20 | /// rather than requiring concrete error types for [`Repository::get`] and [Repository::save]. | ~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L19
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:19:59 | 19 | /// A [Repository] trait that uses opaque errors through [AnyError], | ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 19 | /// A [Repository] trait that uses opaque errors through [`AnyError`], | ~~~~~~~~~~
item name starts with its containing module's name: eventually/src/aggregate/repository/any.rs#L17
warning: item name starts with its containing module's name --> eventually/src/aggregate/repository/any.rs:17:12 | 17 | pub struct AnyError(#[from] anyhow::Error); | ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions = note: `#[warn(clippy::module_name_repetitions)]` implied by `#[warn(clippy::pedantic)]`
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L14
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:14:49 | 14 | /// but implemented in its own type to satisfy [std::error::Error] trait. | ^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 14 | /// but implemented in its own type to satisfy [`std::error::Error`] trait. | ~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L13
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:13:61 | 13 | /// Represents a generic, opaque kind of error. Powered by [anyhow::Error], | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 13 | /// Represents a generic, opaque kind of error. Powered by [`anyhow::Error`], | ~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L4
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:4:16 | 4 | //! Check out [AnyRepository] for more information. | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 4 | //! Check out [`AnyRepository`] for more information. | ~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L2
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:2:36 | 2 | //! to return opaque errors using [anyhow::Error]. | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 2 | //! to return opaque errors using [`anyhow::Error`]. | ~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/mod.rs#L5
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/mod.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:3:9 | 3 | #![warn(clippy::pedantic)] | ^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::doc_markdown)]` implied by `#[warn(clippy::pedantic)]` help: try | 5 | //! take a look at [`EventSourced`]. | ~~~~~~~~~~~~~~
missing documentation for a method: eventually/src/message.rs#L25
warning: missing documentation for a method --> eventually/src/message.rs:25:5 | 25 | / pub fn and_metadata<F>(mut self, f: F) -> Self 26 | | where 27 | | F: Fn(&mut Metadata), | |_____________________________^
missing documentation for a struct field: eventually/src/message.rs#L17
warning: missing documentation for a struct field --> eventually/src/message.rs:17:5 | 17 | pub metadata: Metadata, | ^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: eventually/src/message.rs#L16
warning: missing documentation for a struct field --> eventually/src/message.rs:16:5 | 16 | pub message: T, | ^^^^^^^^^^^^^^
missing documentation for a struct: eventually/src/message.rs#L12
warning: missing documentation for a struct --> eventually/src/message.rs:12:1 | 12 | pub struct Envelope<T> | ^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a type alias: eventually/src/message.rs#L9
warning: missing documentation for a type alias --> eventually/src/message.rs:9:1 | 9 | pub type Metadata = HashMap<String, String>; | ^^^^^^^^^^^^^^^^^
missing documentation for a method: eventually/src/message.rs#L6
warning: missing documentation for a method --> eventually/src/message.rs:6:5 | 6 | fn name(&self) -> &'static str; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a trait: eventually/src/message.rs#L5
warning: missing documentation for a trait --> eventually/src/message.rs:5:1 | 5 | pub trait Message { | ^^^^^^^^^^^^^^^^^
missing documentation for a module: eventually/src/lib.rs#L10
warning: missing documentation for a module --> eventually/src/lib.rs:10:1 | 10 | pub mod serde; | ^^^^^^^^^^^^^
missing documentation for a module: eventually/src/lib.rs#L9
warning: missing documentation for a module --> eventually/src/lib.rs:9:1 | 9 | pub mod message; | ^^^^^^^^^^^^^^^
missing documentation for the crate: eventually/src/lib.rs#L1
warning: missing documentation for the crate --> eventually/src/lib.rs:1:1 | 1 | / #![deny(unsafe_code, unused_qualifications, trivial_casts)] 2 | | #![deny(clippy::all)] 3 | | #![warn(clippy::pedantic)] 4 | | #![warn(missing_docs)] ... | 12 | | pub mod tracing; 13 | | pub mod version; | |________________^ | note: the lint level is defined here --> eventually/src/lib.rs:4:9 | 4 | #![warn(missing_docs)] | ^^^^^^^^^^^^
item in documentation is missing backticks: eventually/src/version.rs#L6
warning: 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
warning: 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#L152
warning: item in documentation is missing backticks --> eventually/src/tracing.rs:152:49 | 152 | /// 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 | 152 | /// Returns an instrumented version of the [`event::Store`] instance. | ~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/tracing.rs#L144
warning: item in documentation is missing backticks --> eventually/src/tracing.rs:144:30 | 144 | /// 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 | 144 | /// Extension trait for any [`event::Store`] type to provide | ~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/tracing.rs#L87
warning: item in documentation is missing backticks --> eventually/src/tracing.rs:87:6 | 87 | /// [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 | 87 | /// [`event::Store`] type wrapper that provides instrumentation | ~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/tracing.rs#L67
warning: 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#L57
warning: item in documentation is missing backticks --> eventually/src/tracing.rs:57:30 | 57 | /// 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 | 57 | /// Extension trait for any [`aggregate::Repository`] type to provide | ~~~~~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/tracing.rs#L14
warning: 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 | ~~~~~~~~~~~~~~~~~~~~~~~
docs for function returning `Result` missing `# Errors` section: eventually/src/serde/mod.rs#L17
warning: docs for function returning `Result` missing `# Errors` section --> eventually/src/serde/mod.rs:17:5 | 17 | fn deserialize(&self, data: Vec<u8>) -> Result<T, Self::Error>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc = note: `#[warn(clippy::missing_errors_doc)]` implied by `#[warn(clippy::pedantic)]`
item in documentation is missing backticks: eventually/src/serde/mod.rs#L9
warning: item in documentation is missing backticks --> eventually/src/serde/mod.rs:9:36 | 9 | /// The error returned by the [Serde::deserialize] method. | ^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 9 | /// The error returned by the [`Serde::deserialize`] method. | ~~~~~~~~~~~~~~~~~~~~
item name starts with its containing module's name: eventually/src/serde/json.rs#L13
warning: item name starts with its containing module's name --> eventually/src/serde/json.rs:13:12 | 13 | pub struct JsonSerde<T>(PhantomData<T>) | ^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions
item in documentation is missing backticks: eventually/src/serde/json.rs#L10
warning: item in documentation is missing backticks --> eventually/src/serde/json.rs:10:65 | 10 | /// Implements the [Serializer] and [Deserializer] traits from [crate::serde] module, | ^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 10 | /// Implements the [Serializer] and [Deserializer] traits from [`crate::serde`] module, | ~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/event/store.rs#L251
warning: item in documentation is missing backticks --> eventually/src/event/store.rs:251:68 | 251 | /// 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 | 251 | /// Returns a [Tracking] instance that decorates the original [`event::Store`] | ~~~~~~~~~~~~~~
docs for function which may panic missing `# Panics` section: eventually/src/event/store.rs#L176
warning: docs for function which may panic missing `# Panics` section --> eventually/src/event/store.rs:176:5 | 176 | pub fn reset_recorded_events(&self) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: first possible panic found here --> eventually/src/event/store.rs:177:9 | 177 | / self.events 178 | | .write() 179 | | .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#L168
warning: docs for function which may panic missing `# Panics` section --> eventually/src/event/store.rs:168:5 | 168 | pub fn recorded_events(&self) -> Vec<event::Persisted<StreamId, Event>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: first possible panic found here --> eventually/src/event/store.rs:169:9 | 169 | / self.events 170 | | .read() 171 | | .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 = note: `#[warn(clippy::missing_panics_doc)]` implied by `#[warn(clippy::pedantic)]`
item in documentation is missing backticks: eventually/src/event/store.rs#L143
warning: item in documentation is missing backticks --> eventually/src/event/store.rs:143:28 | 143 | /// 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 | 143 | /// Decorator type for an [`event::Store`] implementation that tracks the list of | ~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/event/store.rs#L35
warning: item in documentation is missing backticks --> eventually/src/event/store.rs:35:30 | 35 | /// 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 | 35 | /// backed by a thread-safe [`std::collections::HashMap`]. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/event/store.rs#L34
warning: item in documentation is missing backticks --> eventually/src/event/store.rs:34:34 | 34 | /// 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 | 34 | /// In-memory implementation of [`event::Store`] trait, | ~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/event/store.rs#L2
warning: 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
warning: 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
warning: 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/repository/mod.rs#L21
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/mod.rs:21:34 | 21 | /// Error returned by a call to [Repository::get]. | ^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 21 | /// Error returned by a call to [`Repository::get`]. | ~~~~~~~~~~~~~~~~~
item name ends with its containing module's name: eventually/src/aggregate/repository/mod.rs#L15
warning: item name ends with its containing module's name --> eventually/src/aggregate/repository/mod.rs:15:21 | 15 | pub use self::any::{AnyRepository, AnyRepositoryExt}; | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions
item in documentation is missing backticks: eventually/src/aggregate/repository/event_sourced.rs#L34
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/event_sourced.rs:34:54 | 34 | /// List of possible errors that can be returned by [EventSourced::save]. | ^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 34 | /// List of possible errors that can be returned by [`EventSourced::save`]. | ~~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/event_sourced.rs#L15
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/event_sourced.rs:15:54 | 15 | /// List of possible errors that can be returned by [EventSourced::get]. | ^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 15 | /// List of possible errors that can be returned by [`EventSourced::get`]. | ~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/event_sourced.rs#L3
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/event_sourced.rs:3:21 | 3 | //! state using an [event::Store]. | ^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 3 | //! state using an [`event::Store`]. | ~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/event_sourced.rs#L1
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/event_sourced.rs:1:40 | 1 | //! Contains the impementation of the [EventSourced] [Repository] trait, | ^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 1 | //! Contains the impementation of the [`EventSourced`] [Repository] trait, | ~~~~~~~~~~~~~~
item name starts with its containing module's name: eventually/src/aggregate/repository/any.rs#L63
warning: item name starts with its containing module's name --> eventually/src/aggregate/repository/any.rs:63:12 | 63 | pub struct AnyRepositoryImpl<T, R> | ^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L61
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:61:19 | 61 | /// Must use the [AnyRepositoryExt] super-trait extension to obtain an instance | ^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 61 | /// Must use the [`AnyRepositoryExt`] super-trait extension to obtain an instance | ~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L59
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:59:36 | 59 | /// to return opaque errors using [AnyError]. | ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 59 | /// to return opaque errors using [`AnyError`]. | ~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L39
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:39:61 | 39 | /// Converts the current [Repository] instance into an [AnyRepository] implementation. | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 39 | /// Converts the current [Repository] instance into an [`AnyRepository`] implementation. | ~~~~~~~~~~~~~~~
item name starts with its containing module's name: eventually/src/aggregate/repository/any.rs#L33
warning: item name starts with its containing module's name --> eventually/src/aggregate/repository/any.rs:33:11 | 33 | pub trait AnyRepositoryExt<T>: Sized + Repository<T> | ^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L32
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:32:40 | 32 | /// that can be used to convert to an [AnyRepository] instance instead. | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 32 | /// that can be used to convert to an [`AnyRepository`] instance instead. | ~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L31
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:31:72 | 31 | /// Extension trait for [Repository] instances which errors implement [std::error::Error], | ^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 31 | /// Extension trait for [Repository] instances which errors implement [`std::error::Error`], | ~~~~~~~~~~~~~~~~~~~
item name starts with its containing module's name: eventually/src/aggregate/repository/any.rs#L25
warning: item name starts with its containing module's name --> eventually/src/aggregate/repository/any.rs:25:11 | 25 | pub trait AnyRepository<T>: Repository<T, GetError = AnyError, SaveError = AnyError> | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L24
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:24:10 | 24 | /// Use [AnyRepositoryExt::with_any_errors] to make use of this trait. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 24 | /// Use [`AnyRepositoryExt::with_any_errors`] to make use of this trait. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L20
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:20:75 | 20 | /// rather than requiring concrete error types for [Repository::get] and [Repository::save]. | ^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 20 | /// rather than requiring concrete error types for [Repository::get] and [`Repository::save`]. | ~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L20
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:20:53 | 20 | /// rather than requiring concrete error types for [Repository::get] and [Repository::save]. | ^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 20 | /// rather than requiring concrete error types for [`Repository::get`] and [Repository::save]. | ~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L19
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:19:59 | 19 | /// A [Repository] trait that uses opaque errors through [AnyError], | ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 19 | /// A [Repository] trait that uses opaque errors through [`AnyError`], | ~~~~~~~~~~
item name starts with its containing module's name: eventually/src/aggregate/repository/any.rs#L17
warning: item name starts with its containing module's name --> eventually/src/aggregate/repository/any.rs:17:12 | 17 | pub struct AnyError(#[from] anyhow::Error); | ^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions = note: `#[warn(clippy::module_name_repetitions)]` implied by `#[warn(clippy::pedantic)]`
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L14
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:14:49 | 14 | /// but implemented in its own type to satisfy [std::error::Error] trait. | ^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 14 | /// but implemented in its own type to satisfy [`std::error::Error`] trait. | ~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L13
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:13:61 | 13 | /// Represents a generic, opaque kind of error. Powered by [anyhow::Error], | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 13 | /// Represents a generic, opaque kind of error. Powered by [`anyhow::Error`], | ~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L4
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:4:16 | 4 | //! Check out [AnyRepository] for more information. | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 4 | //! Check out [`AnyRepository`] for more information. | ~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/any.rs#L2
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/any.rs:2:36 | 2 | //! to return opaque errors using [anyhow::Error]. | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown help: try | 2 | //! to return opaque errors using [`anyhow::Error`]. | ~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository/mod.rs#L5
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository/mod.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:3:9 | 3 | #![warn(clippy::pedantic)] | ^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::doc_markdown)]` implied by `#[warn(clippy::pedantic)]` help: try | 5 | //! take a look at [`EventSourced`]. | ~~~~~~~~~~~~~~
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 (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/src/lib.rs#L1
missing documentation for the crate
Test (nightly): eventually/src/lib.rs#L9
missing documentation for a module
Test (nightly): eventually/src/lib.rs#L10
missing documentation for a module
Test (nightly): eventually/src/message.rs#L5
missing documentation for a trait
Test (nightly): eventually/src/message.rs#L6
missing documentation for a method
Test (nightly): eventually/src/message.rs#L9
missing documentation for a type alias
Test (nightly): eventually/src/message.rs#L12
missing documentation for a struct
Test (nightly): eventually/src/message.rs#L16
missing documentation for a struct field
Test (nightly): eventually/src/message.rs#L17
missing documentation for a struct field
Test (nightly): eventually/src/message.rs#L25
missing documentation for a method
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/src/lib.rs#L1
missing documentation for the crate
Test (stable): eventually/src/lib.rs#L9
missing documentation for a module
Test (stable): eventually/src/lib.rs#L10
missing documentation for a module
Test (stable): eventually/src/message.rs#L5
missing documentation for a trait
Test (stable): eventually/src/message.rs#L6
missing documentation for a method
Test (stable): eventually/src/message.rs#L9
missing documentation for a type alias
Test (stable): eventually/src/message.rs#L12
missing documentation for a struct
Test (stable): eventually/src/message.rs#L16
missing documentation for a struct field
Test (stable): eventually/src/message.rs#L17
missing documentation for a struct field
Test (stable): eventually/src/message.rs#L25
missing documentation for a method
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
235 KB