Skip to content

chore(deps): bump arduino/setup-protoc from 1 to 2 (#266) #270

chore(deps): bump arduino/setup-protoc from 1 to 2 (#266)

chore(deps): bump arduino/setup-protoc from 1 to 2 (#266) #270

Triggered via push November 13, 2023 12:58
Status Success
Total duration 1m 39s
Artifacts 1

ci.yml

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

Annotations

240 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/
variable does not need to be mutable: examples/bank-accounting/src/postgres.rs#L6
warning: variable does not need to be mutable --> examples/bank-accounting/src/postgres.rs:6:9 | 6 | let mut connect_options = PgConnectOptions::new() | ----^^^^^^^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default
missing documentation for an associated function: eventually-postgres/src/event.rs#L150
warning: missing documentation for an associated function --> eventually-postgres/src/event.rs:150:5 | 150 | pub async fn new(pool: PgPool, serde: S) -> Result<Self, sqlx::migrate::MigrateError> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: eventually-postgres/src/event.rs#L129
warning: missing documentation for a struct --> eventually-postgres/src/event.rs:129:1 | 129 | pub struct Store<Id, Evt, OutEvt, S> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L48
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:48:5 | 48 | Database(#[from] sqlx::Error), | ^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L46
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:46:5 | 46 | CommitTransaction(#[source] sqlx::Error), | ^^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L44
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:44:5 | 44 | AppendEvent(#[source] sqlx::Error), | ^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L42
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:42:5 | 42 | UpsertEventStream(#[source] sqlx::Error), | ^^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L40
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:40:5 | 40 | BeginTransaction(#[source] sqlx::Error), | ^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L38
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:38:5 | 38 | Concurrency(#[source] version::ConflictError), | ^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L36
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:36:5 | 36 | Conflict(#[source] version::ConflictError), | ^^^^^^^^
missing documentation for an enum: eventually-postgres/src/event.rs#L34
warning: missing documentation for an enum --> eventually-postgres/src/event.rs:34:1 | 34 | pub enum AppendError { | ^^^^^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L30
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:30:5 | 30 | Database(#[source] sqlx::Error), | ^^^^^^^^
missing documentation for a struct field: eventually-postgres/src/event.rs#L27
warning: missing documentation for a struct field --> eventually-postgres/src/event.rs:27:9 | 27 | error: sqlx::Error, | ^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: eventually-postgres/src/event.rs#L25
warning: missing documentation for a struct field --> eventually-postgres/src/event.rs:25:9 | 25 | name: &'static str, | ^^^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L24
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:24:5 | 24 | ReadColumn { | ^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L22
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:22:5 | 22 | DeserializeEvent(#[source] Box<dyn std::error::Error + Send + Sync + 'static>), | ^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually-postgres/src/event.rs#L20
warning: missing documentation for a variant --> eventually-postgres/src/event.rs:20:5 | 20 | ConvertEvent(#[source] Box<dyn std::error::Error + Send + Sync + 'static>), | ^^^^^^^^^^^^
missing documentation for an enum: eventually-postgres/src/event.rs#L18
warning: missing documentation for an enum --> eventually-postgres/src/event.rs:18:1 | 18 | 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> { | |__________________________________________________^
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> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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)] | ^^^^^^^^^^^^
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#L317
warning: casting `i32` to `u64` may lose the sign of the value --> eventually-postgres/src/event.rs:317:12 | 317 | 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#L307
warning: casting `u64` to `i32` may truncate the value --> eventually-postgres/src/event.rs:307:30 | 307 | .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 | 307 | .map(|_| i32::try_from(new_version))? | ~~~~~~~~~~~~~~~~~~~~~~~~~~
redundant closure: eventually-postgres/src/event.rs#L297
warning: redundant closure --> eventually-postgres/src/event.rs:297:72 | 297 | 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#L292
warning: casting `u64` to `i32` may truncate the value --> eventually-postgres/src/event.rs:292:27 | 292 | .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 | 292 | .bind(i32::try_from(new_version)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~
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(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 | 291 | .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#L277
warning: casting `usize` to `i32` may wrap around the value on targets with 32-bit wide pointers --> eventually-postgres/src/event.rs:277:34 | 277 | let events_len = events.len() as i32; | ^^^^^^^^^^^^^^^^^^^
casting `usize` to `i32` may truncate the value on targets with 64-bit wide pointers: eventually-postgres/src/event.rs#L277
warning: casting `usize` to `i32` may truncate the value on targets with 64-bit wide pointers --> eventually-postgres/src/event.rs:277:34 | 277 | 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 | 277 | let events_len = i32::try_from(events.len()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~
casting `u64` to `i32` may truncate the value: eventually-postgres/src/event.rs#L223
warning: casting `u64` to `i32` may truncate the value --> eventually-postgres/src/event.rs:223:46 | 223 | 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 | 223 | event::VersionSelect::From(v) => i32::try_from(v), | ~~~~~~~~~~~~~~~~
casting `i32` to `u64` may lose the sign of the value: eventually-postgres/src/event.rs#L200
warning: casting `i32` to `u64` may lose the sign of the value --> eventually-postgres/src/event.rs:200:22 | 200 | 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#L184
warning: this argument is passed by value, but not consumed in the function body --> eventually-postgres/src/event.rs:184:14 | 184 | 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#L150
warning: docs for function returning `Result` missing `# Errors` section --> eventually-postgres/src/event.rs:150:5 | 150 | 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#L112
warning: casting `usize` to `i32` may wrap around the value on targets with 32-bit wide pointers --> eventually-postgres/src/event.rs:112:60 | 112 | let event_version = current_event_stream_version + (i as i32) + 1; | ^^^^^^^^^^
casting `usize` to `i32` may truncate the value on targets with 64-bit wide pointers: eventually-postgres/src/event.rs#L112
warning: casting `usize` to `i32` may truncate the value on targets with 64-bit wide pointers --> eventually-postgres/src/event.rs:112:60 | 112 | 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 | 112 | 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#L109
warning: casting `usize` to `i32` may wrap around the value on targets with 32-bit wide pointers --> eventually-postgres/src/event.rs:109:54 | 109 | let current_event_stream_version = new_version - (events.len() as i32); | ^^^^^^^^^^^^^^^^^^^^^ | = 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#L109
warning: casting `usize` to `i32` may truncate the value on targets with 64-bit wide pointers --> eventually-postgres/src/event.rs:109:54 | 109 | 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 | 109 | 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#L55
warning: this match arm has an identical body to another arm --> eventually-postgres/src/event.rs:55:13 | 55 | 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:54:13 | 54 | 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#L235
warning: casting `u64` to `i32` may truncate the value --> eventually-postgres/src/aggregate.rs:235:13 | 235 | 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 | 235 | i32::try_from(root.version()), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
casting `i32` to `u64` may lose the sign of the value: eventually-postgres/src/aggregate.rs#L187
warning: casting `i32` to `u64` may lose the sign of the value --> eventually-postgres/src/aggregate.rs:187:13 | 187 | 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)]`
docs for function returning `Result` missing `# Errors` section: eventually-postgres/src/aggregate.rs#L37
warning: docs for function returning `Result` missing `# Errors` section --> 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> { | |__________________________________________________^ | = 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)]`
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#L227
warning: unnecessary hashes around raw string literal --> eventually-postgres/src/event.rs:227:13 | 227 | / r#"SELECT version, event, metadata 228 | | FROM events 229 | | WHERE event_stream_id = $1 AND version >= $2 230 | | 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 | 227 ~ r"SELECT version, event, metadata 228 | FROM events 229 | WHERE event_stream_id = $1 AND version >= $2 230 ~ ORDER BY version", |
unused import: `PgDatabaseError`: eventually-postgres/src/event.rs#L14
warning: unused import: `PgDatabaseError` --> eventually-postgres/src/event.rs:14:22 | 14 | use sqlx::postgres::{PgDatabaseError, PgRow}; | ^^^^^^^^^^^^^^^
unused import: `regex::Regex`: eventually-postgres/src/event.rs#L13
warning: unused import: `regex::Regex` --> eventually-postgres/src/event.rs:13:5 | 13 | use regex::Regex; | ^^^^^^^^^^^^
unused import: `lazy_static::lazy_static`: eventually-postgres/src/event.rs#L12
warning: unused import: `lazy_static::lazy_static` --> eventually-postgres/src/event.rs:12:5 | 12 | use lazy_static::lazy_static; | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
missing documentation for a struct field: eventually/src/version.rs#L7
warning: missing documentation for a struct field --> eventually/src/version.rs:7:5 | 7 | pub actual: Version, | ^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: eventually/src/version.rs#L6
warning: missing documentation for a struct field --> eventually/src/version.rs:6:5 | 6 | pub expected: Version, | ^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: eventually/src/version.rs#L5
warning: missing documentation for a struct --> eventually/src/version.rs:5:1 | 5 | pub struct ConflictError { | ^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a type alias: eventually/src/version.rs#L1
warning: missing documentation for a type alias --> eventually/src/version.rs:1:1 | 1 | pub type Version = u64; | ^^^^^^^^^^^^^^^^
missing documentation for a variant: eventually/src/serde/protobuf.rs#L73
warning: missing documentation for a variant --> eventually/src/serde/protobuf.rs:73:5 | 73 | ProtobufParse(#[source] protobuf_json_mapping::ParseError), | ^^^^^^^^^^^^^
missing documentation for a variant: eventually/src/serde/protobuf.rs#L71
warning: missing documentation for a variant --> eventually/src/serde/protobuf.rs:71:5 | 71 | Utf8Conversion(#[source] std::str::Utf8Error), | ^^^^^^^^^^^^^^
missing documentation for an enum: eventually/src/serde/protobuf.rs#L69
warning: missing documentation for an enum --> eventually/src/serde/protobuf.rs:69:1 | 69 | pub enum ProtoJsonDeserializeError { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: eventually/src/serde/protobuf.rs#L44
warning: missing documentation for a struct --> eventually/src/serde/protobuf.rs:44:1 | 44 | pub struct ProtoJsonSerde<T>(PhantomData<T>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: eventually/src/serde/protobuf.rs#L8
warning: missing documentation for a struct --> eventually/src/serde/protobuf.rs:8:1 | 8 | pub struct ProtobufSerde<T>(PhantomData<T>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: eventually/src/serde/prost.rs#L9
warning: missing documentation for a struct --> eventually/src/serde/prost.rs:9:1 | 9 | pub struct MessageSerde<T>(PhantomData<T>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: eventually/src/serde/json.rs#L8
warning: missing documentation for a struct --> eventually/src/serde/json.rs:8:1 | 8 | pub struct Json<T>(PhantomData<T>); | ^^^^^^^^^^^^^^^^^^
missing documentation for a trait: eventually/src/serde.rs#L38
warning: missing documentation for a trait --> eventually/src/serde.rs:38:1 | 38 | pub trait Serde<T>: Serializer<T> + Deserializer<T> {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: eventually/src/serde.rs#L24
warning: missing documentation for a method --> eventually/src/serde.rs:24:5 | 24 | fn deserialize(&self, data: Vec<u8>) -> Result<T, Self::Error>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated type: eventually/src/serde.rs#L22
warning: missing documentation for an associated type --> eventually/src/serde.rs:22:5 | 22 | type Error; | ^^^^^^^^^^
missing documentation for a trait: eventually/src/serde.rs#L21
warning: missing documentation for a trait --> eventually/src/serde.rs:21:1 | 21 | pub trait Deserializer<T> { | ^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: eventually/src/serde.rs#L9
warning: missing documentation for a method --> eventually/src/serde.rs:9:5 | 9 | fn serialize(&self, value: T) -> Vec<u8>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a trait: eventually/src/serde.rs#L8
warning: missing documentation for a trait --> eventually/src/serde.rs:8:1 | 8 | pub trait Serializer<T> { | ^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a module: eventually/src/serde.rs#L6
warning: missing documentation for a module --> eventually/src/serde.rs:6:1 | 6 | pub mod protobuf; | ^^^^^^^^^^^^^^^^
missing documentation for a module: eventually/src/serde.rs#L4
warning: missing documentation for a module --> eventually/src/serde.rs:4:1 | 4 | pub mod prost; | ^^^^^^^^^^^^^
missing documentation for a module: eventually/src/serde.rs#L2
warning: missing documentation for a module --> eventually/src/serde.rs:2:1 | 2 | pub mod json; | ^^^^^^^^^^^^
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#L13
warning: missing documentation for a module --> eventually/src/lib.rs:13:1 | 13 | pub mod version; | ^^^^^^^^^^^^^^^
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/tracing.rs#L164
warning: item in documentation is missing backticks --> eventually/src/tracing.rs:164:49 | 164 | /// 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 | 164 | /// Returns an instrumented version of the [`event::Store`] instance. | ~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/tracing.rs#L156
warning: item in documentation is missing backticks --> eventually/src/tracing.rs:156:30 | 156 | /// 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 | 156 | /// Extension trait for any [`event::Store`] type to provide | ~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/tracing.rs#L99
warning: item in documentation is missing backticks --> eventually/src/tracing.rs:99:6 | 99 | /// [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 | 99 | /// [`event::Store`] type wrapper that provides instrumentation | ~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/tracing.rs#L79
warning: item in documentation is missing backticks --> eventually/src/tracing.rs:79:49 | 79 | /// 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 | 79 | /// Returns an instrumented version of the [`aggregate::Repository`] instance. | ~~~~~~~~~~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/tracing.rs#L69
warning: item in documentation is missing backticks --> eventually/src/tracing.rs:69:30 | 69 | /// 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 | 69 | /// Extension trait for any [`aggregate::Repository`] type to provide | ~~~~~~~~~~~~~~~~~~~~~~~
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 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)] | ^^^^^^^^^^^^
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.rs#L24
warning: docs for function returning `Result` missing `# Errors` section --> eventually/src/serde.rs:24:5 | 24 | 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 name starts with its containing module's name: eventually/src/serde/protobuf.rs#L8
warning: item name starts with its containing module's name --> eventually/src/serde/protobuf.rs:8:12 | 8 | pub struct ProtobufSerde<T>(PhantomData<T>) | ^^^^^^^^^^^^^ | = 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)]`
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)]`
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, | ~~~~~~~~~~~~~~
missing documentation for a struct field: eventually/src/version.rs#L7
warning: missing documentation for a struct field --> eventually/src/version.rs:7:5 | 7 | pub actual: Version, | ^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: eventually/src/version.rs#L6
warning: missing documentation for a struct field --> eventually/src/version.rs:6:5 | 6 | pub expected: Version, | ^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: eventually/src/version.rs#L5
warning: missing documentation for a struct --> eventually/src/version.rs:5:1 | 5 | pub struct ConflictError { | ^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a type alias: eventually/src/version.rs#L1
warning: missing documentation for a type alias --> eventually/src/version.rs:1:1 | 1 | pub type Version = u64; | ^^^^^^^^^^^^^^^^
missing documentation for a trait: eventually/src/serde.rs#L38
warning: missing documentation for a trait --> eventually/src/serde.rs:38:1 | 38 | pub trait Serde<T>: Serializer<T> + Deserializer<T> {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: eventually/src/serde.rs#L24
warning: missing documentation for a method --> eventually/src/serde.rs:24:5 | 24 | fn deserialize(&self, data: Vec<u8>) -> Result<T, Self::Error>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated type: eventually/src/serde.rs#L22
warning: missing documentation for an associated type --> eventually/src/serde.rs:22:5 | 22 | type Error; | ^^^^^^^^^^
missing documentation for a trait: eventually/src/serde.rs#L21
warning: missing documentation for a trait --> eventually/src/serde.rs:21:1 | 21 | pub trait Deserializer<T> { | ^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: eventually/src/serde.rs#L9
warning: missing documentation for a method --> eventually/src/serde.rs:9:5 | 9 | fn serialize(&self, value: T) -> Vec<u8>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a trait: eventually/src/serde.rs#L8
warning: missing documentation for a trait --> eventually/src/serde.rs:8:1 | 8 | pub trait Serializer<T> { | ^^^^^^^^^^^^^^^^^^^^^^^
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#L13
warning: missing documentation for a module --> eventually/src/lib.rs:13:1 | 13 | pub mod version; | ^^^^^^^^^^^^^^^
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)] | ^^^^^^^^^^^^
docs for function returning `Result` missing `# Errors` section: eventually/src/serde.rs#L24
warning: docs for function returning `Result` missing `# Errors` section --> eventually/src/serde.rs:24:5 | 24 | 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/aggregate/repository.rs#L5
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository.rs:5:21 | 5 | //! take a look at [EventSourced]. | ^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown note: the lint level is defined here --> eventually/src/lib.rs: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 struct field: eventually/src/version.rs#L7
warning: missing documentation for a struct field --> eventually/src/version.rs:7:5 | 7 | pub actual: Version, | ^^^^^^^^^^^^^^^^^^^
missing documentation for a struct field: eventually/src/version.rs#L6
warning: missing documentation for a struct field --> eventually/src/version.rs:6:5 | 6 | pub expected: Version, | ^^^^^^^^^^^^^^^^^^^^^
missing documentation for a struct: eventually/src/version.rs#L5
warning: missing documentation for a struct --> eventually/src/version.rs:5:1 | 5 | pub struct ConflictError { | ^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a type alias: eventually/src/version.rs#L1
warning: missing documentation for a type alias --> eventually/src/version.rs:1:1 | 1 | pub type Version = u64; | ^^^^^^^^^^^^^^^^
missing documentation for a trait: eventually/src/serde.rs#L38
warning: missing documentation for a trait --> eventually/src/serde.rs:38:1 | 38 | pub trait Serde<T>: Serializer<T> + Deserializer<T> {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: eventually/src/serde.rs#L24
warning: missing documentation for a method --> eventually/src/serde.rs:24:5 | 24 | fn deserialize(&self, data: Vec<u8>) -> Result<T, Self::Error>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for an associated type: eventually/src/serde.rs#L22
warning: missing documentation for an associated type --> eventually/src/serde.rs:22:5 | 22 | type Error; | ^^^^^^^^^^
missing documentation for a trait: eventually/src/serde.rs#L21
warning: missing documentation for a trait --> eventually/src/serde.rs:21:1 | 21 | pub trait Deserializer<T> { | ^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a method: eventually/src/serde.rs#L9
warning: missing documentation for a method --> eventually/src/serde.rs:9:5 | 9 | fn serialize(&self, value: T) -> Vec<u8>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a trait: eventually/src/serde.rs#L8
warning: missing documentation for a trait --> eventually/src/serde.rs:8:1 | 8 | pub trait Serializer<T> { | ^^^^^^^^^^^^^^^^^^^^^^^
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#L13
warning: missing documentation for a module --> eventually/src/lib.rs:13:1 | 13 | pub mod version; | ^^^^^^^^^^^^^^^
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; | ^^^^^^^^^^^^^^^
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)]`
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/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, | ~~~~~~~~~~~~~~
docs for function returning `Result` missing `# Errors` section: eventually/src/serde.rs#L24
warning: docs for function returning `Result` missing `# Errors` section --> eventually/src/serde.rs:24:5 | 24 | 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/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.rs#L5
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository.rs:5:21 | 5 | //! take a look at [EventSourced]. | ^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown note: the lint level is defined here --> eventually/src/lib.rs:3:9 | 3 | #![warn(clippy::pedantic)] | ^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::doc_markdown)]` implied by `#[warn(clippy::pedantic)]` help: try | 5 | //! take a look at [`EventSourced`]. | ~~~~~~~~~~~~~~
item in documentation is missing backticks: eventually/src/aggregate/repository.rs#L5
warning: item in documentation is missing backticks --> eventually/src/aggregate/repository.rs:5:21 | 5 | //! take a look at [EventSourced]. | ^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown note: the lint level is defined here --> eventually/src/lib.rs: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/lib.rs#L13
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 (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/lib.rs#L13
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
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