[INFO] cloning repository https://github.com/KeeMenKlean/eshorizon
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KeeMenKlean/eshorizon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeeMenKlean%2Feshorizon", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeeMenKlean%2Feshorizon'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 686107eb5bf40122ee576b6237a532da19eb2516
[INFO] testing KeeMenKlean/eshorizon against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeeMenKlean%2Feshorizon" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KeeMenKlean/eshorizon
[INFO] finished tweaking git repo https://github.com/KeeMenKlean/eshorizon
[INFO] tweaked toml for git repo https://github.com/KeeMenKlean/eshorizon written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KeeMenKlean/eshorizon on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KeeMenKlean/eshorizon already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] aa3158d2fbd2f310ebdbcf2b4199653a094d9046fb84ae80df521b3e0dfce321
[INFO] running `Command { std: "docker" "start" "aa3158d2fbd2f310ebdbcf2b4199653a094d9046fb84ae80df521b3e0dfce321", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aa3158d2fbd2f310ebdbcf2b4199653a094d9046fb84ae80df521b3e0dfce321", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "aa3158d2fbd2f310ebdbcf2b4199653a094d9046fb84ae80df521b3e0dfce321" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aa3158d2fbd2f310ebdbcf2b4199653a094d9046fb84ae80df521b3e0dfce321", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "aa3158d2fbd2f310ebdbcf2b4199653a094d9046fb84ae80df521b3e0dfce321" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling serde v1.0.213
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling bytes v1.8.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling thiserror v1.0.65
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling typeid v1.0.2
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling sha1_smol v1.0.1
[INFO] [stderr]    Compiling rustc_version_runtime v0.3.0
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling syn v2.0.85
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling anyhow v1.0.91
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling sha-1 v0.10.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling crossbeam-channel v0.5.13
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling serde_derive v1.0.213
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.65
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling mongodb-internal-macros v3.1.0
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling serde_with_macros v3.11.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling hickory-proto v0.24.1
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling uuid v1.11.0
[INFO] [stderr]    Compiling serde_bytes v0.11.15
[INFO] [stderr]    Compiling serde_with v3.11.0
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling erased-serde v0.4.5
[INFO] [stderr]    Compiling bson v2.13.0
[INFO] [stderr]    Compiling hickory-resolver v0.24.1
[INFO] [stderr]    Compiling mongodb v3.1.0
[INFO] [stderr]    Compiling eshorizon v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/eventbus.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::oneshot`
[INFO] [stdout]  --> src/eventbus.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::sync::oneshot;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::task`
[INFO] [stdout]  --> src/eventbus.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::task;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]  --> src/eventhandler.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::any::Any;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/eventhandler.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `UUID` is never used
[INFO] [stdout]  --> src/uuid/uuid.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub type UUID = Uuid;
[INFO] [stdout]   |          ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NIL` is never used
[INFO] [stdout]  --> src/uuid/uuid.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const NIL: UUID = Uuid::nil();
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new` is never used
[INFO] [stdout]   --> src/uuid/uuid.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new() -> UUID {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse` is never used
[INFO] [stdout]   --> src/uuid/uuid.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn parse(s: &str) -> Result<UUID, uuid::Error> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `must_parse` is never used
[INFO] [stdout]   --> src/uuid/uuid.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn must_parse(s: &str) -> UUID {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]  --> src/codec_main.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait Event: Send + Sync + fmt::Debug + Any {}
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Command` is never used
[INFO] [stdout]   --> src/codec_main.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait Command: Send + Sync + fmt::Debug + Any {}
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CodecError` is never constructed
[INFO] [stdout]   --> src/codec_main.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct CodecError(String);
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventCodec` is never used
[INFO] [stdout]   --> src/codec_main.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub trait EventCodec: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CommandCodec` is never used
[INFO] [stdout]   --> src/codec_main.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub trait CommandCodec: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyEventCodec` is never constructed
[INFO] [stdout]   --> src/codec_main.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct MyEventCodec;
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyCommandCodec` is never constructed
[INFO] [stdout]   --> src/codec_main.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub struct MyCommandCodec;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Aggregate` is never used
[INFO] [stdout]   --> src/aggregate.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub trait Aggregate: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AggregateError` is never constructed
[INFO] [stdout]   --> src/aggregate.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct AggregateError {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/aggregate.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl AggregateError {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 28 |     pub fn new<E>(err: E) -> Self
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_aggregate` is never used
[INFO] [stdout]   --> src/aggregate.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn register_aggregate(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_aggregate` is never used
[INFO] [stdout]   --> src/aggregate.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn create_aggregate(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyAggregate` is never constructed
[INFO] [stdout]   --> src/aggregate.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct MyAggregate {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/aggregate.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 74 | impl MyAggregate {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 75 |     pub fn new(id: Uuid) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Entity` is never used
[INFO] [stdout]  --> src/entity.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub trait Entity {
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Versionable` is never used
[INFO] [stdout]   --> src/entity.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait Versionable {
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyEntity` is never constructed
[INFO] [stdout]   --> src/entity.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct MyEntity {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/entity.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl MyEntity {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 22 |     // Constructor for creating a new MyEntity.
[INFO] [stdout] 23 |     pub fn new(id: Uuid, version: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventData` is never used
[INFO] [stdout]  --> src/event.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait EventData: Send + Sync {}
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyEventData` is never constructed
[INFO] [stdout]   --> src/event.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct MyEventData {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]   --> src/event.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub trait Event {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyEvent` is never constructed
[INFO] [stdout]   --> src/event.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct MyEvent {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/event.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl MyEvent {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 47 |     pub fn new(event_type: String, data:
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventDataNotRegistered` is never constructed
[INFO] [stdout]   --> src/event.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct EventDataNotRegistered;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_event_data` is never used
[INFO] [stdout]    --> src/event.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub fn register_event_data(event_type: String, factory: Box<dyn Fn() -> Box<dyn EventData + Send + Sync> + Send + Sync>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_event_data` is never used
[INFO] [stdout]    --> src/event.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub fn create_event_data(event_type: &str) -> Result<Box<dyn EventData + Send + Sync>, EventDataNotRegistered> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Command` is never used
[INFO] [stdout]  --> src/command_main.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait Command: Send + Sync {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommandError` is never constructed
[INFO] [stdout]   --> src/command_main.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct CommandError {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/command_main.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl CommandError {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 22 |     pub fn new<E>(err: E) -> Self
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_command` is never used
[INFO] [stdout]   --> src/command_main.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn register_command(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_command` is never used
[INFO] [stdout]   --> src/command_main.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn create_command(command_type: &str) -> Result<Box<dyn Command + Send + Sync>, CommandError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyCommand` is never constructed
[INFO] [stdout]   --> src/command_main.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct MyCommand {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/command_main.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 71 | impl MyCommand {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 72 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommandCheckError` is never constructed
[INFO] [stdout]  --> src/command_check.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct CommandCheckError {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/command_check.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl CommandCheckError {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn new(field: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ERR_MISSING_COMMAND` is never used
[INFO] [stdout]   --> src/command_check.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub const ERR_MISSING_COMMAND: &str = "missing command";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ERR_MISSING_AGGREGATE_ID` is never used
[INFO] [stdout]   --> src/command_check.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub const ERR_MISSING_AGGREGATE_ID: &str = "missing aggregate ID";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Command` is never used
[INFO] [stdout]   --> src/command_check.rs:33:11
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub trait Command {
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `IsZero` is never used
[INFO] [stdout]   --> src/command_check.rs:38:11
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub trait IsZero {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_command` is never used
[INFO] [stdout]   --> src/command_check.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn check_command(cmd: &dyn Command) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Command` is never used
[INFO] [stdout]  --> src/commandhandler.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait Command: Send + Sync {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommandHandlerError` is never constructed
[INFO] [stdout]   --> src/commandhandler.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct CommandHandlerError {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/commandhandler.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl CommandHandlerError {
[INFO] [stdout]    | ------------------------ associated function in this implementation
[INFO] [stdout] 20 |     pub fn new(msg: &str) -> CommandHandlerError {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CommandHandler` is never used
[INFO] [stdout]   --> src/commandhandler.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub trait CommandHandler: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CommandHandlerFn` is never used
[INFO] [stdout]   --> src/commandhandler.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub type CommandHandlerFn = Arc<dyn Fn(Arc<Mutex<()>>, Arc<dyn Command>) -> Result<(), Box<dyn Error>> + Send + Sync>;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CloneableAny` is never constructed
[INFO] [stdout]   --> src/compare.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct CloneableAny(Box<dyn Any + Send + Sync>);
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/compare.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl CloneableAny {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 26 |     pub fn new<T: Any + Clone + Send + Sync>(value: T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]   --> src/compare.rs:32:11
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub trait Event: Send + Sync {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CompareConfig` is never constructed
[INFO] [stdout]   --> src/compare.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct CompareConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/compare.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl CompareConfig {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 50 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CompareOption` is never used
[INFO] [stdout]   --> src/compare.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub type CompareOption = Box<dyn Fn(&mut CompareConfig)>;
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ignore_timestamp` is never used
[INFO] [stdout]   --> src/compare.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub fn ignore_timestamp() -> CompareOption {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ignore_version` is never used
[INFO] [stdout]   --> src/compare.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn ignore_version() -> CompareOption {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ignore_position_metadata` is never used
[INFO] [stdout]   --> src/compare.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn ignore_position_metadata() -> CompareOption {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CompareError` is never constructed
[INFO] [stdout]   --> src/compare.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct CompareError {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/compare.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 89 | impl CompareError {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 90 |     fn new(msg: &str) -> CompareError {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare_metadata` is never used
[INFO] [stdout]    --> src/compare.rs:106:4
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn compare_metadata(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare_events` is never used
[INFO] [stdout]    --> src/compare.rs:139:8
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub fn compare_events(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare_event_slices` is never used
[INFO] [stdout]    --> src/compare.rs:203:8
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub fn compare_event_slices(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CloneableAny` is never constructed
[INFO] [stdout]  --> src/context.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct CloneableAny(Box<dyn Any + Send + Sync>);
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/context.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl CloneableAny {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 25 |     pub fn new<T: Any + Clone + Send + Sync>(value: T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Context` is never used
[INFO] [stdout]   --> src/context.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub type Context = HashMap<String, CloneableAny>;
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ContextMarshalFunc` is never used
[INFO] [stdout]   --> src/context.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 | type ContextMarshalFunc = Box<dyn Fn(&Context) -> Result<HashMap<String, CloneableAny>, String> + Send + Sync>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ContextUnmarshalFunc` is never used
[INFO] [stdout]   --> src/context.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 | type ContextUnmarshalFunc = Box<dyn Fn(&mut Context, HashMap<String, CloneableAny>) -> Result<(), String> + Send + Sync>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_context_marshaler` is never used
[INFO] [stdout]   --> src/context.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn register_context_marshaler(f: ContextMarshalFunc) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_context_unmarshaler` is never used
[INFO] [stdout]   --> src/context.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub fn register_context_unmarshaler(f: ContextUnmarshalFunc) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `marshal_context` is never used
[INFO] [stdout]   --> src/context.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub fn marshal_context(ctx: &Context) -> Result<HashMap<String, CloneableAny>, String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unmarshal_context` is never used
[INFO] [stdout]   --> src/context.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn unmarshal_context(ctx: &mut Context, vals: HashMap<String, CloneableAny>) -> Result<(), String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `copy_context` is never used
[INFO] [stdout]   --> src/context.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn copy_context(from: &Context, to: &mut Context) -> Result<(), String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]   --> src/eventbus.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait Event: fmt::Display + Send + Sync {}
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventHandler` is never used
[INFO] [stdout]   --> src/eventbus.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub trait EventHandler: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventMatcher` is never used
[INFO] [stdout]   --> src/eventbus.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait EventMatcher: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `EventBusError` is never used
[INFO] [stdout]   --> src/eventbus.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum EventBusError {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventBus` is never constructed
[INFO] [stdout]   --> src/eventbus.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct EventBus {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_handler`, `errors`, and `close` are never used
[INFO] [stdout]   --> src/eventbus.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl EventBus {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 46 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn add_handler(&self, matcher: Arc<dyn EventMatcher>, handler: Arc<dyn EventHandler>) -> Result<(), EventBusError> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn errors(&self) -> Receiver<EventBusError> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub async fn close(&self) -> Result<(), EventBusError> {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]  --> src/eventhandler.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait Event: fmt::Display + Send + Sync {}
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventHandlerType` is never constructed
[INFO] [stdout]   --> src/eventhandler.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct EventHandlerType(String);
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventHandler` is never used
[INFO] [stdout]   --> src/eventhandler.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub trait EventHandler: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventHandlerFunc` is never constructed
[INFO] [stdout]   --> src/eventhandler.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct EventHandlerFunc<F: Fn(&task::JoinHandle<()>,
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/eventhandler.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | / impl<F> EventHandlerFunc<F>
[INFO] [stdout] 37 | | where
[INFO] [stdout] 38 | |     F: Fn(&task::JoinHandle<()>, Arc<dyn Event>) -> Result<(), EventHandlerError> + Send + Sync
[INFO] [stdout]    | |_______________________________________________________________________________________________- associated function in this implementation
[INFO] [stdout] 39 |   {
[INFO] [stdout] 40 |       pub fn new(handler_type: String, handler_fn: F) -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `EventHandlerError` is never used
[INFO] [stdout]   --> src/eventhandler.rs:63:10
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub enum EventHandlerError {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]  --> src/eventmaintenance.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub trait Event: Send + Sync + std::fmt::Display {
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventStoreMaintenance` is never used
[INFO] [stdout]   --> src/eventmaintenance.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait EventStoreMaintenance {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BasicEventStoreMaintenance` is never constructed
[INFO] [stdout]   --> src/eventmaintenance.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct BasicEventStoreMaintenance {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/eventmaintenance.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl BasicEventStoreMaintenance {
[INFO] [stdout]    | ------------------------------- associated function in this implementation
[INFO] [stdout] 27 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]  --> src/eventsource.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait Event: Send + Sync + std::fmt::Display {}
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventSource` is never used
[INFO] [stdout]  --> src/eventsource.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub trait EventSource {
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BasicEventSource` is never constructed
[INFO] [stdout]   --> src/eventsource.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct BasicEventSource {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/eventsource.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl BasicEventSource {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 21 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]  --> src/eventstore.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub trait Event: Send + Sync + fmt::Display {}
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventStore` is never used
[INFO] [stdout]   --> src/eventstore.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait EventStore {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SnapshotStore` is never used
[INFO] [stdout]   --> src/eventstore.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub trait SnapshotStore {
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Snapshot` is never constructed
[INFO] [stdout]   --> src/eventstore.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Snapshot;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventStoreError` is never constructed
[INFO] [stdout]   --> src/eventstore.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct EventStoreError {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/eventstore.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl EventStoreError {
[INFO] [stdout]     | -------------------- associated function in this implementation
[INFO] [stdout] 113 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventType` is never constructed
[INFO] [stdout]  --> src/matcher.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct EventType(Uuid);
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AggregateType` is never constructed
[INFO] [stdout]  --> src/matcher.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct AggregateType(Uuid);
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]   --> src/matcher.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait Event {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventMatcher` is never used
[INFO] [stdout]   --> src/matcher.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub trait EventMatcher {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MatchEvents` is never constructed
[INFO] [stdout]   --> src/matcher.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct MatchEvents {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/matcher.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl MatchEvents {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 27 |     pub fn new(event_types: Vec<EventType>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MatchAggregates` is never constructed
[INFO] [stdout]   --> src/matcher.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct MatchAggregates {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/matcher.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl MatchAggregates {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 44 |     pub fn new(aggregate_types: Vec<AggregateType>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MatchAny` is never constructed
[INFO] [stdout]   --> src/matcher.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct MatchAny {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/matcher.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | impl MatchAny {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 61 |     pub fn new(matchers: Vec<Box<dyn EventMatcher>>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MatchAll` is never constructed
[INFO] [stdout]   --> src/matcher.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct MatchAll {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/matcher.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 77 | impl MatchAll {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 78 |     pub fn new(matchers: Vec<Box<dyn EventMatcher>>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TestEvent` is never constructed
[INFO] [stdout]   --> src/matcher.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub struct TestEvent {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/matcher.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 96 | impl TestEvent {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 97 |     pub fn new(event_type: EventType, aggregate_type: AggregateType) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CommandHandler` is never used
[INFO] [stdout]  --> src/middleware.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub trait CommandHandler {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommandHandlerMiddlewareStruct` is never constructed
[INFO] [stdout]  --> src/middleware.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct CommandHandlerMiddlewareStruct<F>
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/middleware.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | / impl<F> CommandHandlerMiddlewareStruct<F>
[INFO] [stdout] 15 | | where
[INFO] [stdout] 16 | |     F: Fn(&str),
[INFO] [stdout]    | |________________- associated function in this implementation
[INFO] [stdout] 17 |   {
[INFO] [stdout] 18 |       pub fn new(func: F) -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `use_command_handler_middleware` is never used
[INFO] [stdout]   --> src/middleware.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn use_command_handler_middleware(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventHandler` is never used
[INFO] [stdout]   --> src/middleware.rs:45:11
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub trait EventHandler {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventHandlerMiddlewareStruct` is never constructed
[INFO] [stdout]   --> src/middleware.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct EventHandlerMiddlewareStruct<F>
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/middleware.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | / impl<F> EventHandlerMiddlewareStruct<F>
[INFO] [stdout] 58 | | where
[INFO] [stdout] 59 | |     F: Fn(&str),
[INFO] [stdout]    | |________________- associated function in this implementation
[INFO] [stdout] 60 |   {
[INFO] [stdout] 61 |       pub fn new(func: F) -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `use_event_handler_middleware` is never used
[INFO] [stdout]   --> src/middleware.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn use_event_handler_middleware(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventMatcher` is never used
[INFO] [stdout]   --> src/outbox.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub trait EventMatcher {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventHandler` is never used
[INFO] [stdout]   --> src/outbox.rs:39:11
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub trait EventHandler {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Outbox` is never used
[INFO] [stdout]   --> src/outbox.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub trait Outbox: EventHandler {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OutboxError` is never constructed
[INFO] [stdout]   --> src/outbox.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct OutboxError {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleOutbox` is never constructed
[INFO] [stdout]   --> src/outbox.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub struct SimpleOutbox {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `send_error` are never used
[INFO] [stdout]    --> src/outbox.rs:90:12
[INFO] [stdout]     |
[INFO] [stdout]  89 | impl SimpleOutbox {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  90 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     fn send_error(&self, err: Box<dyn Error>) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ReadRepo` is never used
[INFO] [stdout]   --> src/repo.rs:33:11
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub trait ReadRepo {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `WriteRepo` is never used
[INFO] [stdout]   --> src/repo.rs:41:11
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub trait WriteRepo {
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ReadWriteRepo` is never used
[INFO] [stdout]   --> src/repo.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub trait ReadWriteRepo: ReadRepo + WriteRepo {}
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Iter` is never used
[INFO] [stdout]   --> src/repo.rs:50:11
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub trait Iter {
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RepoError` is never constructed
[INFO] [stdout]   --> src/repo.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct RepoError {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RepoOperation` is never used
[INFO] [stdout]   --> src/repo.rs:66:10
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub enum RepoOperation {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/repo.rs:98:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | impl RepoError {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 98 |     pub fn new(op: RepoOperation, err: Option<Box<dyn Error>>, entity_id: Option<Uuid>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Snapshotable` is never used
[INFO] [stdout]  --> src/snapshot.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait Snapshotable {
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Snapshot` is never constructed
[INFO] [stdout]   --> src/snapshot.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Snapshot {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AggregateType` is never constructed
[INFO] [stdout]   --> src/snapshot.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct AggregateType(String);
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SnapshotFactoryRegistry` is never constructed
[INFO] [stdout]   --> src/snapshot.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct SnapshotFactoryRegistry {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `register_snapshot_data`, and `create_snapshot_data` are never used
[INFO] [stdout]   --> src/snapshot.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | impl SnapshotFactoryRegistry {
[INFO] [stdout]    | ---------------------------- associated items in this implementation
[INFO] [stdout] 67 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn register_snapshot_data<F>(&self, aggregate_type: AggregateType, factory: F)
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 93 |     pub fn create_snapshot_data(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s
[INFO] running `Command { std: "docker" "inspect" "aa3158d2fbd2f310ebdbcf2b4199653a094d9046fb84ae80df521b3e0dfce321", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "aa3158d2fbd2f310ebdbcf2b4199653a094d9046fb84ae80df521b3e0dfce321" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/eventbus.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::oneshot`
[INFO] [stdout]  --> src/eventbus.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::sync::oneshot;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::task`
[INFO] [stdout]  --> src/eventbus.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::task;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]  --> src/eventhandler.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::any::Any;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/eventhandler.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `UUID` is never used
[INFO] [stdout]  --> src/uuid/uuid.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub type UUID = Uuid;
[INFO] [stdout]   |          ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NIL` is never used
[INFO] [stdout]  --> src/uuid/uuid.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const NIL: UUID = Uuid::nil();
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new` is never used
[INFO] [stdout]   --> src/uuid/uuid.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new() -> UUID {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse` is never used
[INFO] [stdout]   --> src/uuid/uuid.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn parse(s: &str) -> Result<UUID, uuid::Error> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `must_parse` is never used
[INFO] [stdout]   --> src/uuid/uuid.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn must_parse(s: &str) -> UUID {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]  --> src/codec_main.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait Event: Send + Sync + fmt::Debug + Any {}
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Command` is never used
[INFO] [stdout]   --> src/codec_main.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait Command: Send + Sync + fmt::Debug + Any {}
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CodecError` is never constructed
[INFO] [stdout]   --> src/codec_main.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct CodecError(String);
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventCodec` is never used
[INFO] [stdout]   --> src/codec_main.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub trait EventCodec: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CommandCodec` is never used
[INFO] [stdout]   --> src/codec_main.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub trait CommandCodec: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyEventCodec` is never constructed
[INFO] [stdout]   --> src/codec_main.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct MyEventCodec;
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyCommandCodec` is never constructed
[INFO] [stdout]   --> src/codec_main.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub struct MyCommandCodec;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Aggregate` is never used
[INFO] [stdout]   --> src/aggregate.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub trait Aggregate: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AggregateError` is never constructed
[INFO] [stdout]   --> src/aggregate.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct AggregateError {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/aggregate.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl AggregateError {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] 28 |     pub fn new<E>(err: E) -> Self
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_aggregate` is never used
[INFO] [stdout]   --> src/aggregate.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn register_aggregate(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_aggregate` is never used
[INFO] [stdout]   --> src/aggregate.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn create_aggregate(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyAggregate` is never constructed
[INFO] [stdout]   --> src/aggregate.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct MyAggregate {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/aggregate.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 74 | impl MyAggregate {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 75 |     pub fn new(id: Uuid) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Entity` is never used
[INFO] [stdout]  --> src/entity.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub trait Entity {
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Versionable` is never used
[INFO] [stdout]   --> src/entity.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait Versionable {
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyEntity` is never constructed
[INFO] [stdout]   --> src/entity.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct MyEntity {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/entity.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl MyEntity {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 22 |     // Constructor for creating a new MyEntity.
[INFO] [stdout] 23 |     pub fn new(id: Uuid, version: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventData` is never used
[INFO] [stdout]  --> src/event.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait EventData: Send + Sync {}
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyEventData` is never constructed
[INFO] [stdout]   --> src/event.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct MyEventData {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]   --> src/event.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub trait Event {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyEvent` is never constructed
[INFO] [stdout]   --> src/event.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct MyEvent {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/event.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl MyEvent {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 47 |     pub fn new(event_type: String, data:
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventDataNotRegistered` is never constructed
[INFO] [stdout]   --> src/event.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct EventDataNotRegistered;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_event_data` is never used
[INFO] [stdout]    --> src/event.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub fn register_event_data(event_type: String, factory: Box<dyn Fn() -> Box<dyn EventData + Send + Sync> + Send + Sync>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_event_data` is never used
[INFO] [stdout]    --> src/event.rs:115:8
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub fn create_event_data(event_type: &str) -> Result<Box<dyn EventData + Send + Sync>, EventDataNotRegistered> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Command` is never used
[INFO] [stdout]  --> src/command_main.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait Command: Send + Sync {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommandError` is never constructed
[INFO] [stdout]   --> src/command_main.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct CommandError {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/command_main.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl CommandError {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 22 |     pub fn new<E>(err: E) -> Self
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_command` is never used
[INFO] [stdout]   --> src/command_main.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn register_command(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_command` is never used
[INFO] [stdout]   --> src/command_main.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn create_command(command_type: &str) -> Result<Box<dyn Command + Send + Sync>, CommandError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyCommand` is never constructed
[INFO] [stdout]   --> src/command_main.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct MyCommand {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/command_main.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 71 | impl MyCommand {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 72 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommandCheckError` is never constructed
[INFO] [stdout]  --> src/command_check.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct CommandCheckError {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/command_check.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl CommandCheckError {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn new(field: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ERR_MISSING_COMMAND` is never used
[INFO] [stdout]   --> src/command_check.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub const ERR_MISSING_COMMAND: &str = "missing command";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ERR_MISSING_AGGREGATE_ID` is never used
[INFO] [stdout]   --> src/command_check.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub const ERR_MISSING_AGGREGATE_ID: &str = "missing aggregate ID";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Command` is never used
[INFO] [stdout]   --> src/command_check.rs:33:11
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub trait Command {
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `IsZero` is never used
[INFO] [stdout]   --> src/command_check.rs:38:11
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub trait IsZero {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_command` is never used
[INFO] [stdout]   --> src/command_check.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn check_command(cmd: &dyn Command) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Command` is never used
[INFO] [stdout]  --> src/commandhandler.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait Command: Send + Sync {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommandHandlerError` is never constructed
[INFO] [stdout]   --> src/commandhandler.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct CommandHandlerError {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/commandhandler.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl CommandHandlerError {
[INFO] [stdout]    | ------------------------ associated function in this implementation
[INFO] [stdout] 20 |     pub fn new(msg: &str) -> CommandHandlerError {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CommandHandler` is never used
[INFO] [stdout]   --> src/commandhandler.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub trait CommandHandler: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CommandHandlerFn` is never used
[INFO] [stdout]   --> src/commandhandler.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub type CommandHandlerFn = Arc<dyn Fn(Arc<Mutex<()>>, Arc<dyn Command>) -> Result<(), Box<dyn Error>> + Send + Sync>;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CloneableAny` is never constructed
[INFO] [stdout]   --> src/compare.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct CloneableAny(Box<dyn Any + Send + Sync>);
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/compare.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl CloneableAny {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 26 |     pub fn new<T: Any + Clone + Send + Sync>(value: T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]   --> src/compare.rs:32:11
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub trait Event: Send + Sync {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CompareConfig` is never constructed
[INFO] [stdout]   --> src/compare.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct CompareConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/compare.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl CompareConfig {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 50 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CompareOption` is never used
[INFO] [stdout]   --> src/compare.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub type CompareOption = Box<dyn Fn(&mut CompareConfig)>;
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ignore_timestamp` is never used
[INFO] [stdout]   --> src/compare.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub fn ignore_timestamp() -> CompareOption {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ignore_version` is never used
[INFO] [stdout]   --> src/compare.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn ignore_version() -> CompareOption {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ignore_position_metadata` is never used
[INFO] [stdout]   --> src/compare.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn ignore_position_metadata() -> CompareOption {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CompareError` is never constructed
[INFO] [stdout]   --> src/compare.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct CompareError {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/compare.rs:90:8
[INFO] [stdout]    |
[INFO] [stdout] 89 | impl CompareError {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 90 |     fn new(msg: &str) -> CompareError {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare_metadata` is never used
[INFO] [stdout]    --> src/compare.rs:106:4
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn compare_metadata(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare_events` is never used
[INFO] [stdout]    --> src/compare.rs:139:8
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub fn compare_events(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare_event_slices` is never used
[INFO] [stdout]    --> src/compare.rs:203:8
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub fn compare_event_slices(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CloneableAny` is never constructed
[INFO] [stdout]  --> src/context.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct CloneableAny(Box<dyn Any + Send + Sync>);
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/context.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl CloneableAny {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 25 |     pub fn new<T: Any + Clone + Send + Sync>(value: T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Context` is never used
[INFO] [stdout]   --> src/context.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub type Context = HashMap<String, CloneableAny>;
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ContextMarshalFunc` is never used
[INFO] [stdout]   --> src/context.rs:34:6
[INFO] [stdout]    |
[INFO] [stdout] 34 | type ContextMarshalFunc = Box<dyn Fn(&Context) -> Result<HashMap<String, CloneableAny>, String> + Send + Sync>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ContextUnmarshalFunc` is never used
[INFO] [stdout]   --> src/context.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 | type ContextUnmarshalFunc = Box<dyn Fn(&mut Context, HashMap<String, CloneableAny>) -> Result<(), String> + Send + Sync>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_context_marshaler` is never used
[INFO] [stdout]   --> src/context.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn register_context_marshaler(f: ContextMarshalFunc) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_context_unmarshaler` is never used
[INFO] [stdout]   --> src/context.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub fn register_context_unmarshaler(f: ContextUnmarshalFunc) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `marshal_context` is never used
[INFO] [stdout]   --> src/context.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub fn marshal_context(ctx: &Context) -> Result<HashMap<String, CloneableAny>, String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unmarshal_context` is never used
[INFO] [stdout]   --> src/context.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn unmarshal_context(ctx: &mut Context, vals: HashMap<String, CloneableAny>) -> Result<(), String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `copy_context` is never used
[INFO] [stdout]   --> src/context.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn copy_context(from: &Context, to: &mut Context) -> Result<(), String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]   --> src/eventbus.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait Event: fmt::Display + Send + Sync {}
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventHandler` is never used
[INFO] [stdout]   --> src/eventbus.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub trait EventHandler: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventMatcher` is never used
[INFO] [stdout]   --> src/eventbus.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait EventMatcher: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `EventBusError` is never used
[INFO] [stdout]   --> src/eventbus.rs:25:10
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum EventBusError {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventBus` is never constructed
[INFO] [stdout]   --> src/eventbus.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct EventBus {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_handler`, `errors`, and `close` are never used
[INFO] [stdout]   --> src/eventbus.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl EventBus {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 46 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn add_handler(&self, matcher: Arc<dyn EventMatcher>, handler: Arc<dyn EventHandler>) -> Result<(), EventBusError> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn errors(&self) -> Receiver<EventBusError> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub async fn close(&self) -> Result<(), EventBusError> {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]  --> src/eventhandler.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait Event: fmt::Display + Send + Sync {}
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventHandlerType` is never constructed
[INFO] [stdout]   --> src/eventhandler.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct EventHandlerType(String);
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventHandler` is never used
[INFO] [stdout]   --> src/eventhandler.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub trait EventHandler: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventHandlerFunc` is never constructed
[INFO] [stdout]   --> src/eventhandler.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct EventHandlerFunc<F: Fn(&task::JoinHandle<()>,
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/eventhandler.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | / impl<F> EventHandlerFunc<F>
[INFO] [stdout] 37 | | where
[INFO] [stdout] 38 | |     F: Fn(&task::JoinHandle<()>, Arc<dyn Event>) -> Result<(), EventHandlerError> + Send + Sync
[INFO] [stdout]    | |_______________________________________________________________________________________________- associated function in this implementation
[INFO] [stdout] 39 |   {
[INFO] [stdout] 40 |       pub fn new(handler_type: String, handler_fn: F) -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `EventHandlerError` is never used
[INFO] [stdout]   --> src/eventhandler.rs:63:10
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub enum EventHandlerError {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]  --> src/eventmaintenance.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub trait Event: Send + Sync + std::fmt::Display {
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventStoreMaintenance` is never used
[INFO] [stdout]   --> src/eventmaintenance.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait EventStoreMaintenance {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BasicEventStoreMaintenance` is never constructed
[INFO] [stdout]   --> src/eventmaintenance.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct BasicEventStoreMaintenance {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/eventmaintenance.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl BasicEventStoreMaintenance {
[INFO] [stdout]    | ------------------------------- associated function in this implementation
[INFO] [stdout] 27 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]  --> src/eventsource.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait Event: Send + Sync + std::fmt::Display {}
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventSource` is never used
[INFO] [stdout]  --> src/eventsource.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub trait EventSource {
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BasicEventSource` is never constructed
[INFO] [stdout]   --> src/eventsource.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct BasicEventSource {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/eventsource.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl BasicEventSource {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 21 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]  --> src/eventstore.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub trait Event: Send + Sync + fmt::Display {}
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventStore` is never used
[INFO] [stdout]   --> src/eventstore.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait EventStore {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SnapshotStore` is never used
[INFO] [stdout]   --> src/eventstore.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub trait SnapshotStore {
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Snapshot` is never constructed
[INFO] [stdout]   --> src/eventstore.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Snapshot;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventStoreError` is never constructed
[INFO] [stdout]   --> src/eventstore.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct EventStoreError {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/eventstore.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl EventStoreError {
[INFO] [stdout]     | -------------------- associated function in this implementation
[INFO] [stdout] 113 |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventType` is never constructed
[INFO] [stdout]  --> src/matcher.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct EventType(Uuid);
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AggregateType` is never constructed
[INFO] [stdout]  --> src/matcher.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct AggregateType(Uuid);
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]   --> src/matcher.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait Event {
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventMatcher` is never used
[INFO] [stdout]   --> src/matcher.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub trait EventMatcher {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MatchEvents` is never constructed
[INFO] [stdout]   --> src/matcher.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct MatchEvents {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/matcher.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl MatchEvents {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 27 |     pub fn new(event_types: Vec<EventType>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MatchAggregates` is never constructed
[INFO] [stdout]   --> src/matcher.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct MatchAggregates {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/matcher.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl MatchAggregates {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 44 |     pub fn new(aggregate_types: Vec<AggregateType>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MatchAny` is never constructed
[INFO] [stdout]   --> src/matcher.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct MatchAny {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/matcher.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | impl MatchAny {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 61 |     pub fn new(matchers: Vec<Box<dyn EventMatcher>>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MatchAll` is never constructed
[INFO] [stdout]   --> src/matcher.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct MatchAll {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/matcher.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 77 | impl MatchAll {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 78 |     pub fn new(matchers: Vec<Box<dyn EventMatcher>>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TestEvent` is never constructed
[INFO] [stdout]   --> src/matcher.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub struct TestEvent {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/matcher.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 96 | impl TestEvent {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 97 |     pub fn new(event_type: EventType, aggregate_type: AggregateType) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling eshorizon v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait `CommandHandler` is never used
[INFO] [stdout]  --> src/middleware.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub trait CommandHandler {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommandHandlerMiddlewareStruct` is never constructed
[INFO] [stdout]  --> src/middleware.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct CommandHandlerMiddlewareStruct<F>
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/middleware.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | / impl<F> CommandHandlerMiddlewareStruct<F>
[INFO] [stdout] 15 | | where
[INFO] [stdout] 16 | |     F: Fn(&str),
[INFO] [stdout]    | |________________- associated function in this implementation
[INFO] [stdout] 17 |   {
[INFO] [stdout] 18 |       pub fn new(func: F) -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `use_command_handler_middleware` is never used
[INFO] [stdout]   --> src/middleware.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn use_command_handler_middleware(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventHandler` is never used
[INFO] [stdout]   --> src/middleware.rs:45:11
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub trait EventHandler {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventHandlerMiddlewareStruct` is never constructed
[INFO] [stdout]   --> src/middleware.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct EventHandlerMiddlewareStruct<F>
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/middleware.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | / impl<F> EventHandlerMiddlewareStruct<F>
[INFO] [stdout] 58 | | where
[INFO] [stdout] 59 | |     F: Fn(&str),
[INFO] [stdout]    | |________________- associated function in this implementation
[INFO] [stdout] 60 |   {
[INFO] [stdout] 61 |       pub fn new(func: F) -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `use_event_handler_middleware` is never used
[INFO] [stdout]   --> src/middleware.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn use_event_handler_middleware(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventMatcher` is never used
[INFO] [stdout]   --> src/outbox.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub trait EventMatcher {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventHandler` is never used
[INFO] [stdout]   --> src/outbox.rs:39:11
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub trait EventHandler {
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Outbox` is never used
[INFO] [stdout]   --> src/outbox.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub trait Outbox: EventHandler {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OutboxError` is never constructed
[INFO] [stdout]   --> src/outbox.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct OutboxError {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleOutbox` is never constructed
[INFO] [stdout]   --> src/outbox.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub struct SimpleOutbox {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `send_error` are never used
[INFO] [stdout]    --> src/outbox.rs:90:12
[INFO] [stdout]     |
[INFO] [stdout]  89 | impl SimpleOutbox {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout]  90 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     fn send_error(&self, err: Box<dyn Error>) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ReadRepo` is never used
[INFO] [stdout]   --> src/repo.rs:33:11
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub trait ReadRepo {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `WriteRepo` is never used
[INFO] [stdout]   --> src/repo.rs:41:11
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub trait WriteRepo {
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ReadWriteRepo` is never used
[INFO] [stdout]   --> src/repo.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub trait ReadWriteRepo: ReadRepo + WriteRepo {}
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Iter` is never used
[INFO] [stdout]   --> src/repo.rs:50:11
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub trait Iter {
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RepoError` is never constructed
[INFO] [stdout]   --> src/repo.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub struct RepoError {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RepoOperation` is never used
[INFO] [stdout]   --> src/repo.rs:66:10
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub enum RepoOperation {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/repo.rs:98:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | impl RepoError {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 98 |     pub fn new(op: RepoOperation, err: Option<Box<dyn Error>>, entity_id: Option<Uuid>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Snapshotable` is never used
[INFO] [stdout]  --> src/snapshot.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait Snapshotable {
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Snapshot` is never constructed
[INFO] [stdout]   --> src/snapshot.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Snapshot {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AggregateType` is never constructed
[INFO] [stdout]   --> src/snapshot.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct AggregateType(String);
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SnapshotFactoryRegistry` is never constructed
[INFO] [stdout]   --> src/snapshot.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct SnapshotFactoryRegistry {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `register_snapshot_data`, and `create_snapshot_data` are never used
[INFO] [stdout]   --> src/snapshot.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | impl SnapshotFactoryRegistry {
[INFO] [stdout]    | ---------------------------- associated items in this implementation
[INFO] [stdout] 67 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn register_snapshot_data<F>(&self, aggregate_type: AggregateType, factory: F)
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 93 |     pub fn create_snapshot_data(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/eventbus.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::oneshot`
[INFO] [stdout]  --> src/eventbus.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::sync::oneshot;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::task`
[INFO] [stdout]  --> src/eventbus.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::task;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]  --> src/eventhandler.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::any::Any;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/eventhandler.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/context.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let mut ctx: Context = HashMap::new();
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entity`
[INFO] [stdout]    --> src/repo.rs:186:24
[INFO] [stdout]     |
[INFO] [stdout] 186 |         fn save(&self, entity: Box<dyn Entity>) -> Result<(), RepoError> {
[INFO] [stdout]     |                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/repo.rs:191:26
[INFO] [stdout]     |
[INFO] [stdout] 191 |         fn remove(&self, id: Uuid) -> Result<(), RepoError> {
[INFO] [stdout]     |                          ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `UUID` is never used
[INFO] [stdout]  --> src/uuid/uuid.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub type UUID = Uuid;
[INFO] [stdout]   |          ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NIL` is never used
[INFO] [stdout]  --> src/uuid/uuid.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const NIL: UUID = Uuid::nil();
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new` is never used
[INFO] [stdout]   --> src/uuid/uuid.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn new() -> UUID {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse` is never used
[INFO] [stdout]   --> src/uuid/uuid.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn parse(s: &str) -> Result<UUID, uuid::Error> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `must_parse` is never used
[INFO] [stdout]   --> src/uuid/uuid.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn must_parse(s: &str) -> UUID {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `unmarshal_event` is never used
[INFO] [stdout]   --> src/codec_main.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub trait EventCodec: Send + Sync {
[INFO] [stdout]    |           ---------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 31 |     async fn unmarshal_event(&self,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `unmarshal_command` is never used
[INFO] [stdout]   --> src/codec_main.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub trait CommandCodec: Send + Sync {
[INFO] [stdout]    |           ------------ method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 41 |     async fn unmarshal_command(&self,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `handle_command` is never used
[INFO] [stdout]   --> src/aggregate.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub trait Aggregate: Send + Sync {
[INFO] [stdout]    |           --------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn handle_command(&self);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `field` is never read
[INFO] [stdout]   --> src/event.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct MyEventData {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 14 |     pub field: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MyEventData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `data`, `timestamp`, `aggregate_id`, `metadata`, and `to_string` are never used
[INFO] [stdout]   --> src/event.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub trait Event {
[INFO] [stdout]    |           ----- methods in this trait
[INFO] [stdout] 26 |     fn event_type(&self) -> String;
[INFO] [stdout] 27 |     fn data(&self) -> &dyn EventData;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 28 |     fn timestamp(&self) -> SystemTime;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 29 |     fn aggregate_type(&self) -> String;
[INFO] [stdout] 30 |     fn aggregate_id(&self) -> Uuid;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 31 |     fn version(&self) -> i32;
[INFO] [stdout] 32 |     fn metadata(&self) -> &HashMap<String, String>;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 33 |     fn to_string(&self) -> String;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `data`, `timestamp`, `aggregate_id`, and `metadata` are never read
[INFO] [stdout]   --> src/event.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct MyEvent {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 37 |     event_type: String,
[INFO] [stdout] 38 |     data: Box<dyn EventData + Send + Sync>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 39 |     timestamp: SystemTime,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 40 |     aggregate_type: String,
[INFO] [stdout] 41 |     aggregate_id: Uuid,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 42 |     version: i32,
[INFO] [stdout] 43 |     metadata: HashMap<String, String>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `aggregate_id` and `aggregate_type` are never used
[INFO] [stdout]   --> src/command_main.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub trait Command: Send + Sync {
[INFO] [stdout]    |           ------- methods in this trait
[INFO] [stdout] 10 |     fn aggregate_id(&self) -> Uuid;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 11 |     fn aggregate_type(&self) -> String;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/command_main.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct MyCommand {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 68 |     id: Uuid,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ERR_MISSING_COMMAND` is never used
[INFO] [stdout]   --> src/command_check.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub const ERR_MISSING_COMMAND: &str = "missing command";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ignore_version` is never used
[INFO] [stdout]   --> src/compare.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn ignore_version() -> CompareOption {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ignore_position_metadata` is never used
[INFO] [stdout]   --> src/compare.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn ignore_position_metadata() -> CompareOption {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compare_event_slices` is never used
[INFO] [stdout]    --> src/compare.rs:203:8
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub fn compare_event_slices(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `matches` is never used
[INFO] [stdout]   --> src/eventbus.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait EventMatcher: Send + Sync {
[INFO] [stdout]    |           ------------ method in this trait
[INFO] [stdout] 20 |     fn matches(&self, event: &dyn Event) -> bool;
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `HandlingError` is never constructed
[INFO] [stdout]   --> src/eventbus.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum EventBusError {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 36 |     HandlingError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EventBusError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `error_tx` is never read
[INFO] [stdout]   --> src/eventbus.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct EventBus {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 41 |     handlers: Arc<Mutex<HashMap<usize, Arc<dyn EventHandler>>>>, // Using usize as a key for unique handler address.
[INFO] [stdout] 42 |     error_tx: Sender<EventBusError>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `errors` and `close` are never used
[INFO] [stdout]   --> src/eventbus.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | impl EventBus {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn errors(&self) -> Receiver<EventBusError> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub async fn close(&self) -> Result<(), EventBusError> {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `handler_type` is never used
[INFO] [stdout]   --> src/eventhandler.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub trait EventHandler: Send + Sync {
[INFO] [stdout]    |           ------------ method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn handler_type(&self) -> EventHandlerType;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `handler_type` is never read
[INFO] [stdout]   --> src/eventhandler.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct EventHandlerFunc<F: Fn(&task::JoinHandle<()>,
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 33 |     handler_type: EventHandlerType,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `MissingEvent` and `HandlingError` are never constructed
[INFO] [stdout]   --> src/eventhandler.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub enum EventHandlerError {
[INFO] [stdout]    |          ----------------- variants in this enum
[INFO] [stdout] 64 |     #[error("missing event")]
[INFO] [stdout] 65 |     MissingEvent,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     HandlingError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EventHandlerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `close` is never used
[INFO] [stdout]   --> src/eventstore.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait EventStore {
[INFO] [stdout]    |           ---------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 23 |     async fn close(&self) -> Result<(), Box<dyn Error + Send + Sync>>;
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SnapshotStore` is never used
[INFO] [stdout]   --> src/eventstore.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub trait SnapshotStore {
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Snapshot` is never constructed
[INFO] [stdout]   --> src/eventstore.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Snapshot;
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `errors` is never used
[INFO] [stdout]   --> src/outbox.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub trait Outbox: EventHandler {
[INFO] [stdout]    |           ------ method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 55 |     fn errors(&self) -> Receiver<Box<dyn Error>>;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `error_receiver` is never read
[INFO] [stdout]   --> src/outbox.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub struct SimpleOutbox {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 86 |     error_receiver: Receiver<Box<dyn Error>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `inner_repo`, `find_all`, and `close` are never used
[INFO] [stdout]   --> src/repo.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub trait ReadRepo {
[INFO] [stdout]    |           -------- methods in this trait
[INFO] [stdout] 34 |     fn inner_repo(&self) -> Option<Box<dyn ReadRepo>>; // Return the inner repo if any.
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 35 |     fn find(&self, id: Uuid) -> Result<Box<dyn Entity>, RepoError>;
[INFO] [stdout] 36 |     fn find_all(&self) -> Result<Vec<Box<dyn Entity>>, RepoError>;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 37 |     fn close(&self) -> Result<(), RepoError>;
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `remove` is never used
[INFO] [stdout]   --> src/repo.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub trait WriteRepo {
[INFO] [stdout]    |           --------- method in this trait
[INFO] [stdout] 42 |     fn save(&self, entity: Box<dyn Entity>) -> Result<(), RepoError>;
[INFO] [stdout] 43 |     fn remove(&self, id: Uuid) -> Result<(), RepoError>;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ReadWriteRepo` is never used
[INFO] [stdout]   --> src/repo.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub trait ReadWriteRepo: ReadRepo + WriteRepo {}
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Iter` is never used
[INFO] [stdout]   --> src/repo.rs:50:11
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub trait Iter {
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `FindAll`, `FindQuery`, `Save`, `Remove`, and `Clear` are never constructed
[INFO] [stdout]   --> src/repo.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub enum RepoOperation {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] 67 |     Find,
[INFO] [stdout] 68 |     FindAll,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 69 |     FindQuery,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 70 |     Save,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 71 |     Remove,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 72 |     Clear,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RepoOperation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/repo.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 113 |     pub struct MyEntity {
[INFO] [stdout]     |                -------- field in this struct
[INFO] [stdout] 114 |         pub id: Uuid,
[INFO] [stdout] 115 |         pub name: String,
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MyEntity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Snapshotable` is never used
[INFO] [stdout]  --> src/snapshot.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait Snapshotable {
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `timestamp` and `state` are never read
[INFO] [stdout]   --> src/snapshot.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Snapshot {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub timestamp: SystemTime,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 20 |     pub state: Box<dyn SnapshotData>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Snapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]    --> src/snapshot.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |     struct MySnapshotData {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] 116 |         pub id: Uuid,
[INFO] [stdout]     |             ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MySnapshotData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.12s
[INFO] running `Command { std: "docker" "inspect" "aa3158d2fbd2f310ebdbcf2b4199653a094d9046fb84ae80df521b3e0dfce321", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "aa3158d2fbd2f310ebdbcf2b4199653a094d9046fb84ae80df521b3e0dfce321" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::error::Error`
[INFO] [stderr]  --> src/eventbus.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::error::Error;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio::sync::oneshot`
[INFO] [stderr]  --> src/eventbus.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use tokio::sync::oneshot;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio::task`
[INFO] [stderr]  --> src/eventbus.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use tokio::task;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::any::Any`
[INFO] [stderr]  --> src/eventhandler.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::any::Any;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::error::Error`
[INFO] [stderr]  --> src/eventhandler.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::error::Error;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `UUID` is never used
[INFO] [stderr]  --> src/uuid/uuid.rs:6:10
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub type UUID = Uuid;
[INFO] [stderr]   |          ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `NIL` is never used
[INFO] [stderr]  --> src/uuid/uuid.rs:9:11
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub const NIL: UUID = Uuid::nil();
[INFO] [stderr]   |           ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `new` is never used
[INFO] [stderr]   --> src/uuid/uuid.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub fn new() -> UUID {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `parse` is never used
[INFO] [stderr]   --> src/uuid/uuid.rs:17:8
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub fn parse(s: &str) -> Result<UUID, uuid::Error> {
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `must_parse` is never used
[INFO] [stderr]   --> src/uuid/uuid.rs:22:8
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub fn must_parse(s: &str) -> UUID {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Event` is never used
[INFO] [stderr]  --> src/codec_main.rs:9:11
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub trait Event: Send + Sync + fmt::Debug + Any {}
[INFO] [stderr]   |           ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Command` is never used
[INFO] [stderr]   --> src/codec_main.rs:12:11
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub trait Command: Send + Sync + fmt::Debug + Any {}
[INFO] [stderr]    |           ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CodecError` is never constructed
[INFO] [stderr]   --> src/codec_main.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct CodecError(String);
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `EventCodec` is never used
[INFO] [stderr]   --> src/codec_main.rs:27:11
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub trait EventCodec: Send + Sync {
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `CommandCodec` is never used
[INFO] [stderr]   --> src/codec_main.rs:37:11
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub trait CommandCodec: Send + Sync {
[INFO] [stderr]    |           ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MyEventCodec` is never constructed
[INFO] [stderr]   --> src/codec_main.rs:47:12
[INFO] [stderr]    |
[INFO] [stderr] 47 | pub struct MyEventCodec;
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MyCommandCodec` is never constructed
[INFO] [stderr]   --> src/codec_main.rs:71:12
[INFO] [stderr]    |
[INFO] [stderr] 71 | pub struct MyCommandCodec;
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Aggregate` is never used
[INFO] [stderr]   --> src/aggregate.rs:15:11
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub trait Aggregate: Send + Sync {
[INFO] [stderr]    |           ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AggregateError` is never constructed
[INFO] [stderr]   --> src/aggregate.rs:23:12
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub struct AggregateError {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/aggregate.rs:28:12
[INFO] [stderr]    |
[INFO] [stderr] 27 | impl AggregateError {
[INFO] [stderr]    | ------------------- associated function in this implementation
[INFO] [stderr] 28 |     pub fn new<E>(err: E) -> Self
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `register_aggregate` is never used
[INFO] [stderr]   --> src/aggregate.rs:45:8
[INFO] [stderr]    |
[INFO] [stderr] 45 | pub fn register_aggregate(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_aggregate` is never used
[INFO] [stderr]   --> src/aggregate.rs:57:8
[INFO] [stderr]    |
[INFO] [stderr] 57 | pub fn create_aggregate(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MyAggregate` is never constructed
[INFO] [stderr]   --> src/aggregate.rs:70:12
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub struct MyAggregate {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/aggregate.rs:75:12
[INFO] [stderr]    |
[INFO] [stderr] 74 | impl MyAggregate {
[INFO] [stderr]    | ---------------- associated function in this implementation
[INFO] [stderr] 75 |     pub fn new(id: Uuid) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Entity` is never used
[INFO] [stderr]  --> src/entity.rs:6:11
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub trait Entity {
[INFO] [stderr]   |           ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Versionable` is never used
[INFO] [stderr]   --> src/entity.rs:11:11
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub trait Versionable {
[INFO] [stderr]    |           ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MyEntity` is never constructed
[INFO] [stderr]   --> src/entity.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct MyEntity {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/entity.rs:23:12
[INFO] [stderr]    |
[INFO] [stderr] 21 | impl MyEntity {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 22 |     // Constructor for creating a new MyEntity.
[INFO] [stderr] 23 |     pub fn new(id: Uuid, version: i32) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `EventData` is never used
[INFO] [stderr]  --> src/event.rs:9:11
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub trait EventData: Send + Sync {}
[INFO] [stderr]   |           ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MyEventData` is never constructed
[INFO] [stderr]   --> src/event.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct MyEventData {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Event` is never used
[INFO] [stderr]   --> src/event.rs:25:11
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub trait Event {
[INFO] [stderr]    |           ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MyEvent` is never constructed
[INFO] [stderr]   --> src/event.rs:36:12
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub struct MyEvent {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/event.rs:47:12
[INFO] [stderr]    |
[INFO] [stderr] 46 | impl MyEvent {
[INFO] [stderr]    | ------------ associated function in this implementation
[INFO] [stderr] 47 |     pub fn new(event_type: String, data:
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `EventDataNotRegistered` is never constructed
[INFO] [stderr]   --> src/event.rs:97:12
[INFO] [stderr]    |
[INFO] [stderr] 97 | pub struct EventDataNotRegistered;
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `register_event_data` is never used
[INFO] [stderr]    --> src/event.rs:106:8
[INFO] [stderr]     |
[INFO] [stderr] 106 | pub fn register_event_data(event_type: String, factory: Box<dyn Fn() -> Box<dyn EventData + Send + Sync> + Send + Sync>) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_event_data` is never used
[INFO] [stderr]    --> src/event.rs:115:8
[INFO] [stderr]     |
[INFO] [stderr] 115 | pub fn create_event_data(event_type: &str) -> Result<Box<dyn EventData + Send + Sync>, EventDataNotRegistered> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Command` is never used
[INFO] [stderr]  --> src/command_main.rs:9:11
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub trait Command: Send + Sync {
[INFO] [stderr]   |           ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CommandError` is never constructed
[INFO] [stderr]   --> src/command_main.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct CommandError {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/command_main.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 21 | impl CommandError {
[INFO] [stderr]    | ----------------- associated function in this implementation
[INFO] [stderr] 22 |     pub fn new<E>(err: E) -> Self
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `register_command` is never used
[INFO] [stderr]   --> src/command_main.rs:45:8
[INFO] [stderr]    |
[INFO] [stderr] 45 | pub fn register_command(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_command` is never used
[INFO] [stderr]   --> src/command_main.rs:57:8
[INFO] [stderr]    |
[INFO] [stderr] 57 | pub fn create_command(command_type: &str) -> Result<Box<dyn Command + Send + Sync>, CommandError> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MyCommand` is never constructed
[INFO] [stderr]   --> src/command_main.rs:67:12
[INFO] [stderr]    |
[INFO] [stderr] 67 | pub struct MyCommand {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/command_main.rs:72:12
[INFO] [stderr]    |
[INFO] [stderr] 71 | impl MyCommand {
[INFO] [stderr]    | -------------- associated function in this implementation
[INFO] [stderr] 72 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CommandCheckError` is never constructed
[INFO] [stderr]  --> src/command_check.rs:8:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub struct CommandCheckError {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/command_check.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | impl CommandCheckError {
[INFO] [stderr]    | ---------------------- associated function in this implementation
[INFO] [stderr] 13 |     pub fn new(field: &str) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `ERR_MISSING_COMMAND` is never used
[INFO] [stderr]   --> src/command_check.rs:29:11
[INFO] [stderr]    |
[INFO] [stderr] 29 | pub const ERR_MISSING_COMMAND: &str = "missing command";
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `ERR_MISSING_AGGREGATE_ID` is never used
[INFO] [stderr]   --> src/command_check.rs:30:11
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub const ERR_MISSING_AGGREGATE_ID: &str = "missing aggregate ID";
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Command` is never used
[INFO] [stderr]   --> src/command_check.rs:33:11
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub trait Command {
[INFO] [stderr]    |           ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `IsZero` is never used
[INFO] [stderr]   --> src/command_check.rs:38:11
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub trait IsZero {
[INFO] [stderr]    |           ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `check_command` is never used
[INFO] [stderr]   --> src/command_check.rs:57:8
[INFO] [stderr]    |
[INFO] [stderr] 57 | pub fn check_command(cmd: &dyn Command) -> Result<(), Box<dyn Error>> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Command` is never used
[INFO] [stderr]  --> src/commandhandler.rs:9:11
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub trait Command: Send + Sync {
[INFO] [stderr]   |           ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CommandHandlerError` is never constructed
[INFO] [stderr]   --> src/commandhandler.rs:15:12
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub struct CommandHandlerError {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/commandhandler.rs:20:12
[INFO] [stderr]    |
[INFO] [stderr] 19 | impl CommandHandlerError {
[INFO] [stderr]    | ------------------------ associated function in this implementation
[INFO] [stderr] 20 |     pub fn new(msg: &str) -> CommandHandlerError {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `CommandHandler` is never used
[INFO] [stderr]   --> src/commandhandler.rs:37:11
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub trait CommandHandler: Send + Sync {
[INFO] [stderr]    |           ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `CommandHandlerFn` is never used
[INFO] [stderr]   --> src/commandhandler.rs:42:10
[INFO] [stderr]    |
[INFO] [stderr] 42 | pub type CommandHandlerFn = Arc<dyn Fn(Arc<Mutex<()>>, Arc<dyn Command>) -> Result<(), Box<dyn Error>> + Send + Sync>;
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CloneableAny` is never constructed
[INFO] [stderr]   --> src/compare.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub struct CloneableAny(Box<dyn Any + Send + Sync>);
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/compare.rs:26:12
[INFO] [stderr]    |
[INFO] [stderr] 25 | impl CloneableAny {
[INFO] [stderr]    | ----------------- associated function in this implementation
[INFO] [stderr] 26 |     pub fn new<T: Any + Clone + Send + Sync>(value: T) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Event` is never used
[INFO] [stderr]   --> src/compare.rs:32:11
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub trait Event: Send + Sync {
[INFO] [stderr]    |           ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CompareConfig` is never constructed
[INFO] [stderr]   --> src/compare.rs:43:12
[INFO] [stderr]    |
[INFO] [stderr] 43 | pub struct CompareConfig {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/compare.rs:50:12
[INFO] [stderr]    |
[INFO] [stderr] 49 | impl CompareConfig {
[INFO] [stderr]    | ------------------ associated function in this implementation
[INFO] [stderr] 50 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `CompareOption` is never used
[INFO] [stderr]   --> src/compare.rs:60:10
[INFO] [stderr]    |
[INFO] [stderr] 60 | pub type CompareOption = Box<dyn Fn(&mut CompareConfig)>;
[INFO] [stderr]    |          ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `ignore_timestamp` is never used
[INFO] [stderr]   --> src/compare.rs:63:8
[INFO] [stderr]    |
[INFO] [stderr] 63 | pub fn ignore_timestamp() -> CompareOption {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `ignore_version` is never used
[INFO] [stderr]   --> src/compare.rs:70:8
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub fn ignore_version() -> CompareOption {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `ignore_position_metadata` is never used
[INFO] [stderr]   --> src/compare.rs:77:8
[INFO] [stderr]    |
[INFO] [stderr] 77 | pub fn ignore_position_metadata() -> CompareOption {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CompareError` is never constructed
[INFO] [stderr]   --> src/compare.rs:85:12
[INFO] [stderr]    |
[INFO] [stderr] 85 | pub struct CompareError {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/compare.rs:90:8
[INFO] [stderr]    |
[INFO] [stderr] 89 | impl CompareError {
[INFO] [stderr]    | ----------------- associated function in this implementation
[INFO] [stderr] 90 |     fn new(msg: &str) -> CompareError {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `compare_metadata` is never used
[INFO] [stderr]    --> src/compare.rs:106:4
[INFO] [stderr]     |
[INFO] [stderr] 106 | fn compare_metadata(
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `compare_events` is never used
[INFO] [stderr]    --> src/compare.rs:139:8
[INFO] [stderr]     |
[INFO] [stderr] 139 | pub fn compare_events(
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `compare_event_slices` is never used
[INFO] [stderr]    --> src/compare.rs:203:8
[INFO] [stderr]     |
[INFO] [stderr] 203 | pub fn compare_event_slices(
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CloneableAny` is never constructed
[INFO] [stderr]  --> src/context.rs:9:12
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub struct CloneableAny(Box<dyn Any + Send + Sync>);
[INFO] [stderr]   |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/context.rs:25:12
[INFO] [stderr]    |
[INFO] [stderr] 24 | impl CloneableAny {
[INFO] [stderr]    | ----------------- associated function in this implementation
[INFO] [stderr] 25 |     pub fn new<T: Any + Clone + Send + Sync>(value: T) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `Context` is never used
[INFO] [stderr]   --> src/context.rs:31:10
[INFO] [stderr]    |
[INFO] [stderr] 31 | pub type Context = HashMap<String, CloneableAny>;
[INFO] [stderr]    |          ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `ContextMarshalFunc` is never used
[INFO] [stderr]   --> src/context.rs:34:6
[INFO] [stderr]    |
[INFO] [stderr] 34 | type ContextMarshalFunc = Box<dyn Fn(&Context) -> Result<HashMap<String, CloneableAny>, String> + Send + Sync>;
[INFO] [stderr]    |      ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `ContextUnmarshalFunc` is never used
[INFO] [stderr]   --> src/context.rs:35:6
[INFO] [stderr]    |
[INFO] [stderr] 35 | type ContextUnmarshalFunc = Box<dyn Fn(&mut Context, HashMap<String, CloneableAny>) -> Result<(), String> + Send + Sync>;
[INFO] [stderr]    |      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `register_context_marshaler` is never used
[INFO] [stderr]   --> src/context.rs:44:8
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub fn register_context_marshaler(f: ContextMarshalFunc) {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `register_context_unmarshaler` is never used
[INFO] [stderr]   --> src/context.rs:50:8
[INFO] [stderr]    |
[INFO] [stderr] 50 | pub fn register_context_unmarshaler(f: ContextUnmarshalFunc) {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `marshal_context` is never used
[INFO] [stderr]   --> src/context.rs:56:8
[INFO] [stderr]    |
[INFO] [stderr] 56 | pub fn marshal_context(ctx: &Context) -> Result<HashMap<String, CloneableAny>, String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `unmarshal_context` is never used
[INFO] [stderr]   --> src/context.rs:73:8
[INFO] [stderr]    |
[INFO] [stderr] 73 | pub fn unmarshal_context(ctx: &mut Context, vals: HashMap<String, CloneableAny>) -> Result<(), String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `copy_context` is never used
[INFO] [stderr]   --> src/context.rs:82:8
[INFO] [stderr]    |
[INFO] [stderr] 82 | pub fn copy_context(from: &Context, to: &mut Context) -> Result<(), String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Event` is never used
[INFO] [stderr]   --> src/eventbus.rs:11:11
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub trait Event: fmt::Display + Send + Sync {}
[INFO] [stderr]    |           ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `EventHandler` is never used
[INFO] [stderr]   --> src/eventbus.rs:14:11
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub trait EventHandler: Send + Sync {
[INFO] [stderr]    |           ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `EventMatcher` is never used
[INFO] [stderr]   --> src/eventbus.rs:19:11
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub trait EventMatcher: Send + Sync {
[INFO] [stderr]    |           ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `EventBusError` is never used
[INFO] [stderr]   --> src/eventbus.rs:25:10
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub enum EventBusError {
[INFO] [stderr]    |          ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `EventBus` is never constructed
[INFO] [stderr]   --> src/eventbus.rs:40:12
[INFO] [stderr]    |
[INFO] [stderr] 40 | pub struct EventBus {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `add_handler`, `errors`, and `close` are never used
[INFO] [stderr]   --> src/eventbus.rs:46:12
[INFO] [stderr]    |
[INFO] [stderr] 45 | impl EventBus {
[INFO] [stderr]    | ------------- associated items in this implementation
[INFO] [stderr] 46 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 54 |     pub fn add_handler(&self, matcher: Arc<dyn EventMatcher>, handler: Arc<dyn EventHandler>) -> Result<(), EventBusError> {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 74 |     pub fn errors(&self) -> Receiver<EventBusError> {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 79 |     pub async fn close(&self) -> Result<(), EventBusError> {
[INFO] [stderr]    |                  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Event` is never used
[INFO] [stderr]  --> src/eventhandler.rs:9:11
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub trait Event: fmt::Display + Send + Sync {}
[INFO] [stderr]   |           ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `EventHandlerType` is never constructed
[INFO] [stderr]   --> src/eventhandler.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct EventHandlerType(String);
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `EventHandler` is never used
[INFO] [stderr]   --> src/eventhandler.rs:22:11
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub trait EventHandler: Send + Sync {
[INFO] [stderr]    |           ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `EventHandlerFunc` is never constructed
[INFO] [stderr]   --> src/eventhandler.rs:30:12
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub struct EventHandlerFunc<F: Fn(&task::JoinHandle<()>,
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/eventhandler.rs:40:12
[INFO] [stderr]    |
[INFO] [stderr] 36 | / impl<F> EventHandlerFunc<F>
[INFO] [stderr] 37 | | where
[INFO] [stderr] 38 | |     F: Fn(&task::JoinHandle<()>, Arc<dyn Event>) -> Result<(), EventHandlerError> + Send + Sync
[INFO] [stderr]    | |_______________________________________________________________________________________________- associated function in this implementation
[INFO] [stderr] 39 |   {
[INFO] [stderr] 40 |       pub fn new(handler_type: String, handler_fn: F) -> Self {
[INFO] [stderr]    |              ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `EventHandlerError` is never used
[INFO] [stderr]   --> src/eventhandler.rs:63:10
[INFO] [stderr]    |
[INFO] [stderr] 63 | pub enum EventHandlerError {
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Event` is never used
[INFO] [stderr]  --> src/eventmaintenance.rs:7:11
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub trait Event: Send + Sync + std::fmt::Display {
[INFO] [stderr]   |           ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `EventStoreMaintenance` is never used
[INFO] [stderr]   --> src/eventmaintenance.rs:13:11
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub trait EventStoreMaintenance {
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BasicEventStoreMaintenance` is never constructed
[INFO] [stderr]   --> src/eventmaintenance.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub struct BasicEventStoreMaintenance {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/eventmaintenance.rs:27:12
[INFO] [stderr]    |
[INFO] [stderr] 26 | impl BasicEventStoreMaintenance {
[INFO] [stderr]    | ------------------------------- associated function in this implementation
[INFO] [stderr] 27 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Event` is never used
[INFO] [stderr]  --> src/eventsource.rs:4:11
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub trait Event: Send + Sync + std::fmt::Display {}
[INFO] [stderr]   |           ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `EventSource` is never used
[INFO] [stderr]  --> src/eventsource.rs:7:11
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub trait EventSource {
[INFO] [stderr]   |           ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BasicEventSource` is never constructed
[INFO] [stderr]   --> src/eventsource.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct BasicEventSource {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/eventsource.rs:21:12
[INFO] [stderr]    |
[INFO] [stderr] 20 | impl BasicEventSource {
[INFO] [stderr]    | --------------------- associated function in this implementation
[INFO] [stderr] 21 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Event` is never used
[INFO] [stderr]  --> src/eventstore.rs:8:11
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub trait Event: Send + Sync + fmt::Display {}
[INFO] [stderr]   |           ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `EventStore` is never used
[INFO] [stderr]   --> src/eventstore.rs:12:11
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub trait EventStore {
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `SnapshotStore` is never used
[INFO] [stderr]   --> src/eventstore.rs:28:11
[INFO] [stderr]    |
[INFO] [stderr] 28 | pub trait SnapshotStore {
[INFO] [stderr]    |           ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Snapshot` is never constructed
[INFO] [stderr]   --> src/eventstore.rs:34:12
[INFO] [stderr]    |
[INFO] [stderr] 34 | pub struct Snapshot;
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `EventStoreError` is never constructed
[INFO] [stderr]   --> src/eventstore.rs:37:12
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub struct EventStoreError {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]    --> src/eventstore.rs:113:12
[INFO] [stderr]     |
[INFO] [stderr] 112 | impl EventStoreError {
[INFO] [stderr]     | -------------------- associated function in this implementation
[INFO] [stderr] 113 |     pub fn new(
[INFO] [stderr]     |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `EventType` is never constructed
[INFO] [stderr]  --> src/matcher.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct EventType(Uuid);
[INFO] [stderr]   |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AggregateType` is never constructed
[INFO] [stderr]  --> src/matcher.rs:8:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub struct AggregateType(Uuid);
[INFO] [stderr]   |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Event` is never used
[INFO] [stderr]   --> src/matcher.rs:11:11
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub trait Event {
[INFO] [stderr]    |           ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `EventMatcher` is never used
[INFO] [stderr]   --> src/matcher.rs:17:11
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub trait EventMatcher {
[INFO] [stderr]    |           ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MatchEvents` is never constructed
[INFO] [stderr]   --> src/matcher.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub struct MatchEvents {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/matcher.rs:27:12
[INFO] [stderr]    |
[INFO] [stderr] 26 | impl MatchEvents {
[INFO] [stderr]    | ---------------- associated function in this implementation
[INFO] [stderr] 27 |     pub fn new(event_types: Vec<EventType>) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MatchAggregates` is never constructed
[INFO] [stderr]   --> src/matcher.rs:39:12
[INFO] [stderr]    |
[INFO] [stderr] 39 | pub struct MatchAggregates {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/matcher.rs:44:12
[INFO] [stderr]    |
[INFO] [stderr] 43 | impl MatchAggregates {
[INFO] [stderr]    | -------------------- associated function in this implementation
[INFO] [stderr] 44 |     pub fn new(aggregate_types: Vec<AggregateType>) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MatchAny` is never constructed
[INFO] [stderr]   --> src/matcher.rs:56:12
[INFO] [stderr]    |
[INFO] [stderr] 56 | pub struct MatchAny {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/matcher.rs:61:12
[INFO] [stderr]    |
[INFO] [stderr] 60 | impl MatchAny {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 61 |     pub fn new(matchers: Vec<Box<dyn EventMatcher>>) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MatchAll` is never constructed
[INFO] [stderr]   --> src/matcher.rs:73:12
[INFO] [stderr]    |
[INFO] [stderr] 73 | pub struct MatchAll {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/matcher.rs:78:12
[INFO] [stderr]    |
[INFO] [stderr] 77 | impl MatchAll {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] 78 |     pub fn new(matchers: Vec<Box<dyn EventMatcher>>) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TestEvent` is never constructed
[INFO] [stderr]   --> src/matcher.rs:91:12
[INFO] [stderr]    |
[INFO] [stderr] 91 | pub struct TestEvent {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/matcher.rs:97:12
[INFO] [stderr]    |
[INFO] [stderr] 96 | impl TestEvent {
[INFO] [stderr]    | -------------- associated function in this implementation
[INFO] [stderr] 97 |     pub fn new(event_type: EventType, aggregate_type: AggregateType) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `CommandHandler` is never used
[INFO] [stderr]  --> src/middleware.rs:2:11
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub trait CommandHandler {
[INFO] [stderr]   |           ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CommandHandlerMiddlewareStruct` is never constructed
[INFO] [stderr]  --> src/middleware.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct CommandHandlerMiddlewareStruct<F>
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/middleware.rs:18:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | / impl<F> CommandHandlerMiddlewareStruct<F>
[INFO] [stderr] 15 | | where
[INFO] [stderr] 16 | |     F: Fn(&str),
[INFO] [stderr]    | |________________- associated function in this implementation
[INFO] [stderr] 17 |   {
[INFO] [stderr] 18 |       pub fn new(func: F) -> Self {
[INFO] [stderr]    |              ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `use_command_handler_middleware` is never used
[INFO] [stderr]   --> src/middleware.rs:33:8
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub fn use_command_handler_middleware(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `EventHandler` is never used
[INFO] [stderr]   --> src/middleware.rs:45:11
[INFO] [stderr]    |
[INFO] [stderr] 45 | pub trait EventHandler {
[INFO] [stderr]    |           ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `EventHandlerMiddlewareStruct` is never constructed
[INFO] [stderr]   --> src/middleware.rs:50:12
[INFO] [stderr]    |
[INFO] [stderr] 50 | pub struct EventHandlerMiddlewareStruct<F>
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/middleware.rs:61:12
[INFO] [stderr]    |
[INFO] [stderr] 57 | / impl<F> EventHandlerMiddlewareStruct<F>
[INFO] [stderr] 58 | | where
[INFO] [stderr] 59 | |     F: Fn(&str),
[INFO] [stderr]    | |________________- associated function in this implementation
[INFO] [stderr] 60 |   {
[INFO] [stderr] 61 |       pub fn new(func: F) -> Self {
[INFO] [stderr]    |              ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `use_event_handler_middleware` is never used
[INFO] [stderr]   --> src/middleware.rs:76:8
[INFO] [stderr]    |
[INFO] [stderr] 76 | pub fn use_event_handler_middleware(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `EventMatcher` is never used
[INFO] [stderr]   --> src/outbox.rs:34:11
[INFO] [stderr]    |
[INFO] [stderr] 34 | pub trait EventMatcher {
[INFO] [stderr]    |           ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `EventHandler` is never used
[INFO] [stderr]   --> src/outbox.rs:39:11
[INFO] [stderr]    |
[INFO] [stderr] 39 | pub trait EventHandler {
[INFO] [stderr]    |           ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Outbox` is never used
[INFO] [stderr]   --> src/outbox.rs:44:11
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub trait Outbox: EventHandler {
[INFO] [stderr]    |           ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `OutboxError` is never constructed
[INFO] [stderr]   --> src/outbox.rs:59:12
[INFO] [stderr]    |
[INFO] [stderr] 59 | pub struct OutboxError {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SimpleOutbox` is never constructed
[INFO] [stderr]   --> src/outbox.rs:83:12
[INFO] [stderr]    |
[INFO] [stderr] 83 | pub struct SimpleOutbox {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `send_error` are never used
[INFO] [stderr]    --> src/outbox.rs:90:12
[INFO] [stderr]     |
[INFO] [stderr]  89 | impl SimpleOutbox {
[INFO] [stderr]     | ----------------- associated items in this implementation
[INFO] [stderr]  90 |     pub fn new() -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 100 |     fn send_error(&self, err: Box<dyn Error>) {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `ReadRepo` is never used
[INFO] [stderr]   --> src/repo.rs:33:11
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub trait ReadRepo {
[INFO] [stderr]    |           ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `WriteRepo` is never used
[INFO] [stderr]   --> src/repo.rs:41:11
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub trait WriteRepo {
[INFO] [stderr]    |           ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `ReadWriteRepo` is never used
[INFO] [stderr]   --> src/repo.rs:47:11
[INFO] [stderr]    |
[INFO] [stderr] 47 | pub trait ReadWriteRepo: ReadRepo + WriteRepo {}
[INFO] [stderr]    |           ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Iter` is never used
[INFO] [stderr]   --> src/repo.rs:50:11
[INFO] [stderr]    |
[INFO] [stderr] 50 | pub trait Iter {
[INFO] [stderr]    |           ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RepoError` is never constructed
[INFO] [stderr]   --> src/repo.rs:58:12
[INFO] [stderr]    |
[INFO] [stderr] 58 | pub struct RepoError {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `RepoOperation` is never used
[INFO] [stderr]   --> src/repo.rs:66:10
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub enum RepoOperation {
[INFO] [stderr]    |          ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/repo.rs:98:12
[INFO] [stderr]    |
[INFO] [stderr] 97 | impl RepoError {
[INFO] [stderr]    | -------------- associated function in this implementation
[INFO] [stderr] 98 |     pub fn new(op: RepoOperation, err: Option<Box<dyn Error>>, entity_id: Option<Uuid>) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Snapshotable` is never used
[INFO] [stderr]  --> src/snapshot.rs:9:11
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub trait Snapshotable {
[INFO] [stderr]   |           ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Snapshot` is never constructed
[INFO] [stderr]   --> src/snapshot.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct Snapshot {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AggregateType` is never constructed
[INFO] [stderr]   --> src/snapshot.rs:59:12
[INFO] [stderr]    |
[INFO] [stderr] 59 | pub struct AggregateType(String);
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SnapshotFactoryRegistry` is never constructed
[INFO] [stderr]   --> src/snapshot.rs:62:12
[INFO] [stderr]    |
[INFO] [stderr] 62 | pub struct SnapshotFactoryRegistry {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `register_snapshot_data`, and `create_snapshot_data` are never used
[INFO] [stderr]   --> src/snapshot.rs:67:12
[INFO] [stderr]    |
[INFO] [stderr] 66 | impl SnapshotFactoryRegistry {
[INFO] [stderr]    | ---------------------------- associated items in this implementation
[INFO] [stderr] 67 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 74 |     pub fn register_snapshot_data<F>(&self, aggregate_type: AggregateType, factory: F)
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 93 |     pub fn create_snapshot_data(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/context.rs:125:13
[INFO] [stderr]     |
[INFO] [stderr] 125 |         let mut ctx: Context = HashMap::new();
[INFO] [stderr]     |             ----^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `entity`
[INFO] [stderr]    --> src/repo.rs:186:24
[INFO] [stderr]     |
[INFO] [stderr] 186 |         fn save(&self, entity: Box<dyn Entity>) -> Result<(), RepoError> {
[INFO] [stderr]     |                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `id`
[INFO] [stderr]    --> src/repo.rs:191:26
[INFO] [stderr]     |
[INFO] [stderr] 191 |         fn remove(&self, id: Uuid) -> Result<(), RepoError> {
[INFO] [stderr]     |                          ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stderr] 
[INFO] [stderr] warning: method `unmarshal_event` is never used
[INFO] [stderr]   --> src/codec_main.rs:31:14
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub trait EventCodec: Send + Sync {
[INFO] [stderr]    |           ---------- method in this trait
[INFO] [stderr] ...
[INFO] [stderr] 31 |     async fn unmarshal_event(&self,
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `unmarshal_command` is never used
[INFO] [stderr]   --> src/codec_main.rs:41:14
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub trait CommandCodec: Send + Sync {
[INFO] [stderr]    |           ------------ method in this trait
[INFO] [stderr] ...
[INFO] [stderr] 41 |     async fn unmarshal_command(&self,
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `handle_command` is never used
[INFO] [stderr]   --> src/aggregate.rs:18:8
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub trait Aggregate: Send + Sync {
[INFO] [stderr]    |           --------- method in this trait
[INFO] [stderr] ...
[INFO] [stderr] 18 |     fn handle_command(&self);
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `field` is never read
[INFO] [stderr]   --> src/event.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct MyEventData {
[INFO] [stderr]    |            ----------- field in this struct
[INFO] [stderr] 14 |     pub field: String,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `MyEventData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `data`, `timestamp`, `aggregate_id`, `metadata`, and `to_string` are never used
[INFO] [stderr]   --> src/event.rs:27:8
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub trait Event {
[INFO] [stderr]    |           ----- methods in this trait
[INFO] [stderr] 26 |     fn event_type(&self) -> String;
[INFO] [stderr] 27 |     fn data(&self) -> &dyn EventData;
[INFO] [stderr]    |        ^^^^
[INFO] [stderr] 28 |     fn timestamp(&self) -> SystemTime;
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 29 |     fn aggregate_type(&self) -> String;
[INFO] [stderr] 30 |     fn aggregate_id(&self) -> Uuid;
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 31 |     fn version(&self) -> i32;
[INFO] [stderr] 32 |     fn metadata(&self) -> &HashMap<String, String>;
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] 33 |     fn to_string(&self) -> String;
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `data`, `timestamp`, `aggregate_id`, and `metadata` are never read
[INFO] [stderr]   --> src/event.rs:38:5
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub struct MyEvent {
[INFO] [stderr]    |            ------- fields in this struct
[INFO] [stderr] 37 |     event_type: String,
[INFO] [stderr] 38 |     data: Box<dyn EventData + Send + Sync>,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 39 |     timestamp: SystemTime,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 40 |     aggregate_type: String,
[INFO] [stderr] 41 |     aggregate_id: Uuid,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 42 |     version: i32,
[INFO] [stderr] 43 |     metadata: HashMap<String, String>,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `aggregate_id` and `aggregate_type` are never used
[INFO] [stderr]   --> src/command_main.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr]  9 | pub trait Command: Send + Sync {
[INFO] [stderr]    |           ------- methods in this trait
[INFO] [stderr] 10 |     fn aggregate_id(&self) -> Uuid;
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 11 |     fn aggregate_type(&self) -> String;
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `id` is never read
[INFO] [stderr]   --> src/command_main.rs:68:5
[INFO] [stderr]    |
[INFO] [stderr] 67 | pub struct MyCommand {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] 68 |     id: Uuid,
[INFO] [stderr]    |     ^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `matches` is never used
[INFO] [stderr]   --> src/eventbus.rs:20:8
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub trait EventMatcher: Send + Sync {
[INFO] [stderr]    |           ------------ method in this trait
[INFO] [stderr] 20 |     fn matches(&self, event: &dyn Event) -> bool;
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `HandlingError` is never constructed
[INFO] [stderr]   --> src/eventbus.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub enum EventBusError {
[INFO] [stderr]    |          ------------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 36 |     HandlingError(String),
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `EventBusError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `error_tx` is never read
[INFO] [stderr]   --> src/eventbus.rs:42:5
[INFO] [stderr]    |
[INFO] [stderr] 40 | pub struct EventBus {
[INFO] [stderr]    |            -------- field in this struct
[INFO] [stderr] 41 |     handlers: Arc<Mutex<HashMap<usize, Arc<dyn EventHandler>>>>, // Using usize as a key for unique handler address.
[INFO] [stderr] 42 |     error_tx: Sender<EventBusError>,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `errors` and `close` are never used
[INFO] [stderr]   --> src/eventbus.rs:74:12
[INFO] [stderr]    |
[INFO] [stderr] 45 | impl EventBus {
[INFO] [stderr]    | ------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 74 |     pub fn errors(&self) -> Receiver<EventBusError> {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 79 |     pub async fn close(&self) -> Result<(), EventBusError> {
[INFO] [stderr]    |                  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `handler_type` is never used
[INFO] [stderr]   --> src/eventhandler.rs:26:8
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub trait EventHandler: Send + Sync {
[INFO] [stderr]    |           ------------ method in this trait
[INFO] [stderr] ...
[INFO] [stderr] 26 |     fn handler_type(&self) -> EventHandlerType;
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `handler_type` is never read
[INFO] [stderr]   --> src/eventhandler.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub struct EventHandlerFunc<F: Fn(&task::JoinHandle<()>,
[INFO] [stderr]    |            ---------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 33 |     handler_type: EventHandlerType,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `MissingEvent` and `HandlingError` are never constructed
[INFO] [stderr]   --> src/eventhandler.rs:65:5
[INFO] [stderr]    |
[INFO] [stderr] 63 | pub enum EventHandlerError {
[INFO] [stderr]    |          ----------------- variants in this enum
[INFO] [stderr] 64 |     #[error("missing event")]
[INFO] [stderr] 65 |     MissingEvent,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 68 |     HandlingError(String),
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `EventHandlerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `close` is never used
[INFO] [stderr]   --> src/eventstore.rs:23:14
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub trait EventStore {
[INFO] [stderr]    |           ---------- method in this trait
[INFO] [stderr] ...
[INFO] [stderr] 23 |     async fn close(&self) -> Result<(), Box<dyn Error + Send + Sync>>;
[INFO] [stderr]    |              ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `errors` is never used
[INFO] [stderr]   --> src/outbox.rs:55:8
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub trait Outbox: EventHandler {
[INFO] [stderr]    |           ------ method in this trait
[INFO] [stderr] ...
[INFO] [stderr] 55 |     fn errors(&self) -> Receiver<Box<dyn Error>>;
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `error_receiver` is never read
[INFO] [stderr]   --> src/outbox.rs:86:5
[INFO] [stderr]    |
[INFO] [stderr] 83 | pub struct SimpleOutbox {
[INFO] [stderr]    |            ------------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 86 |     error_receiver: Receiver<Box<dyn Error>>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `inner_repo`, `find_all`, and `close` are never used
[INFO] [stderr]   --> src/repo.rs:34:8
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub trait ReadRepo {
[INFO] [stderr]    |           -------- methods in this trait
[INFO] [stderr] 34 |     fn inner_repo(&self) -> Option<Box<dyn ReadRepo>>; // Return the inner repo if any.
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 35 |     fn find(&self, id: Uuid) -> Result<Box<dyn Entity>, RepoError>;
[INFO] [stderr] 36 |     fn find_all(&self) -> Result<Vec<Box<dyn Entity>>, RepoError>;
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] 37 |     fn close(&self) -> Result<(), RepoError>;
[INFO] [stderr]    |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `remove` is never used
[INFO] [stderr]   --> src/repo.rs:43:8
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub trait WriteRepo {
[INFO] [stderr]    |           --------- method in this trait
[INFO] [stderr] 42 |     fn save(&self, entity: Box<dyn Entity>) -> Result<(), RepoError>;
[INFO] [stderr] 43 |     fn remove(&self, id: Uuid) -> Result<(), RepoError>;
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `FindAll`, `FindQuery`, `Save`, `Remove`, and `Clear` are never constructed
[INFO] [stderr]   --> src/repo.rs:68:5
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub enum RepoOperation {
[INFO] [stderr]    |          ------------- variants in this enum
[INFO] [stderr] 67 |     Find,
[INFO] [stderr] 68 |     FindAll,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 69 |     FindQuery,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 70 |     Save,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 71 |     Remove,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 72 |     Clear,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `RepoOperation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `name` is never read
[INFO] [stderr]    --> src/repo.rs:115:13
[INFO] [stderr]     |
[INFO] [stderr] 113 |     pub struct MyEntity {
[INFO] [stderr]     |                -------- field in this struct
[INFO] [stderr] 114 |         pub id: Uuid,
[INFO] [stderr] 115 |         pub name: String,
[INFO] [stderr]     |             ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `MyEntity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `timestamp` and `state` are never read
[INFO] [stderr]   --> src/snapshot.rs:19:9
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct Snapshot {
[INFO] [stderr]    |            -------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 19 |     pub timestamp: SystemTime,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr] 20 |     pub state: Box<dyn SnapshotData>,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Snapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `id` is never read
[INFO] [stderr]    --> src/snapshot.rs:116:13
[INFO] [stderr]     |
[INFO] [stderr] 115 |     struct MySnapshotData {
[INFO] [stderr]     |            -------------- field in this struct
[INFO] [stderr] 116 |         pub id: Uuid,
[INFO] [stderr]     |             ^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `MySnapshotData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `eshorizon` (lib) generated 145 warnings (run `cargo fix --lib -p eshorizon` to apply 5 suggestions)
[INFO] [stderr] warning: `eshorizon` (lib test) generated 46 warnings (19 duplicates) (run `cargo fix --lib -p eshorizon --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/eshorizon-a5b1c88dfb9e4fab)
[INFO] [stdout] 
[INFO] [stdout] running 50 tests
[INFO] [stdout] test aggregate::tests::test_create_unregistered_aggregate ... ok
[INFO] [stdout] test aggregate::tests::test_register_and_create_aggregate ... ok
[INFO] [stdout] test command_check::tests::test_missing_aggregate_id ... ok
[INFO] [stdout] test command_main::tests::test_create_unregistered_command ... ok
[INFO] [stdout] test command_main::tests::test_register_and_create_command ... ok
[INFO] [stdout] test command_check::tests::test_valid_command ... ok
[INFO] [stdout] test commandhandler::tests::test_command_handler_func ... ok
[INFO] [stdout] test compare::tests::test_compare_events_different_aggregate_type ... ok
[INFO] [stdout] test commandhandler::tests::test_command_handler_error ... ok
[INFO] [stdout] test compare::tests::test_compare_events_different_metadata ... ok
[INFO] [stdout] test compare::tests::test_compare_events_different_timestamp ... ok
[INFO] [stdout] test compare::tests::test_compare_events_different_data ... ok
[INFO] [stdout] test compare::tests::test_compare_events_different_version ... ok
[INFO] [stdout] test compare::tests::test_compare_events_equal ... ok
[INFO] [stdout] test eventmaintenance::tests::test_event_store_maintenance ... ok
[INFO] [stdout] test eventstore::tests::test_debug_implementation ... ok
[INFO] [stdout] test entity::tests::test_aggregate_version ... ok
[INFO] [stdout] test eventhandler::tests::test_event_handler_func ... ok
[INFO] [stdout] test eventsource::tests::test_event_source ... ok
[INFO] [stdout] test event::tests::test_event_creation ... ok
[INFO] [stdout] test eventstore::tests::test_event_store_save_and_load ... ok
[INFO] [stdout] test event::tests::test_event_data_not_registered ... ok
[INFO] [stdout] test event::tests::test_register_and_create_event_data ... ok
[INFO] [stdout] test entity::tests::test_entity_id ... ok
[INFO] [stdout] test eventbus::tests::test_event_bus ... ok
[INFO] [stdout] test context::tests::test_register_context_marshaler ... ok
[INFO] [stdout] test compare::tests::test_compare_events_ignore_timestamp ... ok
[INFO] [stdout] test matcher::tests::test_match_all ... ok
[INFO] [stdout] test context::tests::test_register_context_unmarshaler ... ok
[INFO] [stdout] test middleware::tests::test_command_handler_middleware ... ok
[INFO] [stdout] test matcher::tests::test_match_any ... ok
[INFO] [stdout] test matcher::tests::test_match_events ... ok
[INFO] [stdout] test eventstore::tests::test_load_aggregate_not_found ... ok
[INFO] [stdout] test eventstore::tests::test_save_missing_events_error ... ok
[INFO] [stdout] test context::tests::test_marshal_unmarshal_context ... ok
[INFO] [stdout] test outbox::tests::test_add_handler_and_event_processing ... ok
[INFO] [stdout] test outbox::tests::test_error_handling_in_outbox ... ok
[INFO] [stdout] test matcher::tests::test_match_aggregates ... ok
[INFO] [stdout] test repo::tests::test_find_entity_not_found ... ok
[INFO] [stdout] test eventstore::tests::test_load_from_version_mismatch ... ok
[INFO] [stdout] test outbox::tests::test_start_and_close_outbox ... ok
[INFO] [stdout] test middleware::tests::test_event_handler_middleware ... ok
[INFO] [stdout] test repo::tests::test_find_entity ... ok
[INFO] [stdout] test snapshot::tests::test_snapshot_creation ... ok
[INFO] [stdout] test repo::tests::test_save_entity_in_read_write_repo ... ok
[INFO] [stdout] test snapshot::tests::test_snapshot_factory_registration ... ok
[INFO] [stdout] test tests::it_works ... ok
[INFO] [stdout] test outbox::tests::test_event_not_matching ... ok
[INFO] [stdout] test codec_main::tests::test_marshal_command ... ok
[INFO] [stdout] test codec_main::tests::test_marshal_event ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 50 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests eshorizon
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "aa3158d2fbd2f310ebdbcf2b4199653a094d9046fb84ae80df521b3e0dfce321", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa3158d2fbd2f310ebdbcf2b4199653a094d9046fb84ae80df521b3e0dfce321", kill_on_drop: false }`
[INFO] [stdout] aa3158d2fbd2f310ebdbcf2b4199653a094d9046fb84ae80df521b3e0dfce321
