[INFO] fetching crate kotoba-event-stream 0.1.22...
[INFO] testing kotoba-event-stream-0.1.22 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8
[INFO] extracting crate kotoba-event-stream 0.1.22 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate kotoba-event-stream 0.1.22
[INFO] finished tweaking crates.io crate kotoba-event-stream 0.1.22
[INFO] tweaked toml for crates.io crate kotoba-event-stream 0.1.22 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate kotoba-event-stream 0.1.22 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate kotoba-event-stream 0.1.22 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded metrics v0.23.1
[INFO] [stderr]   Downloaded iso8601 v0.6.3
[INFO] [stderr]   Downloaded bytecount v0.6.9
[INFO] [stderr]   Downloaded kotoba-core v0.1.22
[INFO] [stderr]   Downloaded serde_core v1.0.225
[INFO] [stderr]   Downloaded clap v4.5.47
[INFO] [stderr]   Downloaded fraction v0.13.1
[INFO] [stderr]   Downloaded fancy-regex v0.11.0
[INFO] [stderr]   Downloaded jsonschema v0.17.1
[INFO] [stderr]   Downloaded serde v1.0.225
[INFO] [stderr]   Downloaded clap_builder v4.5.47
[INFO] [stderr]   Downloaded kotoba-errors v0.1.2
[INFO] [stderr]   Downloaded kotoba-storage v0.1.22
[INFO] [stderr]   Downloaded num-cmp v0.1.0
[INFO] [stderr]   Downloaded serde_derive v1.0.225
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 64ed87bad55421fc6d5edd921177171e723db3a6adb04a98a9a3b39b0f0910e2
[INFO] running `Command { std: "docker" "start" "-a" "64ed87bad55421fc6d5edd921177171e723db3a6adb04a98a9a3b39b0f0910e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "64ed87bad55421fc6d5edd921177171e723db3a6adb04a98a9a3b39b0f0910e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64ed87bad55421fc6d5edd921177171e723db3a6adb04a98a9a3b39b0f0910e2", kill_on_drop: false }`
[INFO] [stdout] 64ed87bad55421fc6d5edd921177171e723db3a6adb04a98a9a3b39b0f0910e2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9847c2f55b8b54c7de972ceb91c9c448e2e6268c381057120c498fa34cda4ea7
[INFO] running `Command { std: "docker" "start" "-a" "9847c2f55b8b54c7de972ceb91c9c448e2e6268c381057120c498fa34cda4ea7", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.225
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling serde v1.0.225
[INFO] [stderr]    Compiling serde_derive v1.0.225
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling cc v1.2.38
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling clap_builder v4.5.47
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling nom v8.0.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling schemars v0.8.22
[INFO] [stderr]    Compiling dyn-clone v1.0.20
[INFO] [stderr]    Compiling bytecount v0.6.9
[INFO] [stderr]    Compiling arrayref v0.3.9
[INFO] [stderr]    Compiling constant_time_eq v0.3.1
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling num-cmp v0.1.0
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling blake3 v1.8.2
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling schemars_derive v0.8.22
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling clap v4.5.47
[INFO] [stderr]    Compiling fancy-regex v0.11.0
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling fraction v0.13.1
[INFO] [stderr]    Compiling iso8601 v0.6.3
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling metrics v0.23.1
[INFO] [stderr]    Compiling kotoba-errors v0.1.2
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling kotoba-storage v0.1.22
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling jsonschema v0.17.1
[INFO] [stderr]    Compiling kotoba-core v0.1.22
[INFO] [stderr]    Compiling kotoba-event-stream v0.1.22 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[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 imports: `Mutex` and `mpsc`
[INFO] [stdout]  --> src/lib.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::sync::{Mutex, mpsc};
[INFO] [stdout]   |                   ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]   --> src/lib.rs:11:22
[INFO] [stdout]    |
[INFO] [stdout] 11 | use anyhow::{Result, Context};
[INFO] [stdout]    |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `instrument`
[INFO] [stdout]   --> src/lib.rs:12:34
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tracing::{info, warn, error, instrument};
[INFO] [stdout]    |                                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bincode`
[INFO] [stdout]   --> src/lib.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use bincode;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use uuid::Uuid;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/storage.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use anyhow::{Result, Context};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/storage.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `instrument`, and `warn`
[INFO] [stdout]   --> src/storage.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tracing::{info, warn, error, instrument};
[INFO] [stdout]    |                     ^^^^  ^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EventStreamConfig`
[INFO] [stdout]   --> src/storage.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::{TopicStats, EventStreamConfig};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `storage::*`
[INFO] [stdout]   --> src/lib.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub use storage::*;
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `aggregate_id`
[INFO] [stdout]    --> src/lib.rs:189:45
[INFO] [stdout]     |
[INFO] [stdout] 189 |     async fn get_events_by_aggregate(&self, aggregate_id: &AggregateId) -> Result<Vec<EventEnvelope>> {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aggregate_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `config` and `consumer_offsets` are never read
[INFO] [stdout]    --> src/lib.rs:115:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct EventStream<T: KeyValueStore> {
[INFO] [stdout]     |            ----------- fields in this struct
[INFO] [stdout] 115 |     config: EventStreamConfig,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     consumer_offsets: Arc<DashMap<String, ConsumerOffset>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `max_topics` and `topic_metadata` are never read
[INFO] [stdout]   --> src/storage.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct EventStorage<T: KeyValueStore> {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     max_topics: usize,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 37 |     /// Topic metadata cache
[INFO] [stdout] 38 |     topic_metadata: Arc<std::sync::RwLock<HashMap<String, TopicMetadata>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.62s
[INFO] running `Command { std: "docker" "inspect" "9847c2f55b8b54c7de972ceb91c9c448e2e6268c381057120c498fa34cda4ea7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9847c2f55b8b54c7de972ceb91c9c448e2e6268c381057120c498fa34cda4ea7", kill_on_drop: false }`
[INFO] [stdout] 9847c2f55b8b54c7de972ceb91c9c448e2e6268c381057120c498fa34cda4ea7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 48c185728491b0bda1b2948bc261880e03166c0d7f4caf67da2ed4682a187f6d
[INFO] running `Command { std: "docker" "start" "-a" "48c185728491b0bda1b2948bc261880e03166c0d7f4caf67da2ed4682a187f6d", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[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 imports: `Mutex` and `mpsc`
[INFO] [stdout]  --> src/lib.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::sync::{Mutex, mpsc};
[INFO] [stdout]   |                   ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]   --> src/lib.rs:11:22
[INFO] [stdout]    |
[INFO] [stdout] 11 | use anyhow::{Result, Context};
[INFO] [stdout]    |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `instrument`
[INFO] [stdout]   --> src/lib.rs:12:34
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tracing::{info, warn, error, instrument};
[INFO] [stdout]    |                                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling kotoba-event-stream v0.1.22 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `bincode`
[INFO] [stdout]   --> src/lib.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use bincode;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use uuid::Uuid;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/storage.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use anyhow::{Result, Context};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/storage.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `instrument`, and `warn`
[INFO] [stdout]   --> src/storage.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tracing::{info, warn, error, instrument};
[INFO] [stdout]    |                     ^^^^  ^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EventStreamConfig`
[INFO] [stdout]   --> src/storage.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::{TopicStats, EventStreamConfig};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `storage::*`
[INFO] [stdout]   --> src/lib.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub use storage::*;
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `aggregate_id`
[INFO] [stdout]    --> src/lib.rs:189:45
[INFO] [stdout]     |
[INFO] [stdout] 189 |     async fn get_events_by_aggregate(&self, aggregate_id: &AggregateId) -> Result<Vec<EventEnvelope>> {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aggregate_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `config` and `consumer_offsets` are never read
[INFO] [stdout]    --> src/lib.rs:115:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct EventStream<T: KeyValueStore> {
[INFO] [stdout]     |            ----------- fields in this struct
[INFO] [stdout] 115 |     config: EventStreamConfig,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     consumer_offsets: Arc<DashMap<String, ConsumerOffset>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `max_topics` and `topic_metadata` are never read
[INFO] [stdout]   --> src/storage.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct EventStorage<T: KeyValueStore> {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     max_topics: usize,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 37 |     /// Topic metadata cache
[INFO] [stdout] 38 |     topic_metadata: Arc<std::sync::RwLock<HashMap<String, TopicMetadata>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Mutex` and `mpsc`
[INFO] [stdout]  --> src/lib.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio::sync::{Mutex, mpsc};
[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: `Context`
[INFO] [stdout]   --> src/lib.rs:11:22
[INFO] [stdout]    |
[INFO] [stdout] 11 | use anyhow::{Result, Context};
[INFO] [stdout]    |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `instrument`
[INFO] [stdout]   --> src/lib.rs:12:34
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tracing::{info, warn, error, instrument};
[INFO] [stdout]    |                                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bincode`
[INFO] [stdout]   --> src/lib.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use bincode;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/storage.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use anyhow::{Result, Context};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_trait::async_trait`
[INFO] [stdout]  --> src/storage.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error`, `instrument`, and `warn`
[INFO] [stdout]   --> src/storage.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tracing::{info, warn, error, instrument};
[INFO] [stdout]    |                     ^^^^  ^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EventStreamConfig`
[INFO] [stdout]   --> src/storage.rs:16:25
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::{TopicStats, EventStreamConfig};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `storage::*`
[INFO] [stdout]   --> src/lib.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub use storage::*;
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_send` found for struct `Box<(dyn Fn(event::EventEnvelope) -> Result<(), anyhow::Error> + Send + Sync + 'static)>` in the current scope
[INFO] [stdout]    --> src/lib.rs:454:25
[INFO] [stdout]     |
[INFO] [stdout] 454 |         assert!(handler.is_send());
[INFO] [stdout]     |                         ^^^^^^^ method not found in `Box<(dyn Fn(event::EventEnvelope) -> Result<(), anyhow::Error> + Send + Sync + 'static)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_sync` found for struct `Box<(dyn Fn(event::EventEnvelope) -> Result<(), anyhow::Error> + Send + Sync + 'static)>` in the current scope
[INFO] [stdout]    --> src/lib.rs:455:25
[INFO] [stdout]     |
[INFO] [stdout] 455 |         assert!(handler.is_sync());
[INFO] [stdout]     |                         ^^^^^^^ method not found in `Box<(dyn Fn(event::EventEnvelope) -> Result<(), anyhow::Error> + Send + Sync + 'static)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:494:25
[INFO] [stdout]     |
[INFO] [stdout] 494 |             id: EventId(Uuid::new_v4()),
[INFO] [stdout]     |                 ------- ^^^^^^^^^^^^^^ expected `String`, found `Uuid`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this struct are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: tuple struct defined here
[INFO] [stdout]    --> src/event.rs:8:12
[INFO] [stdout]     |
[INFO] [stdout]   8 | pub struct EventId(pub String);
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 494 |             id: EventId(Uuid::new_v4().to_string()),
[INFO] [stdout]     |                                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:495:39
[INFO] [stdout]     |
[INFO] [stdout] 495 |             aggregate_id: AggregateId(Uuid::new_v4()),
[INFO] [stdout]     |                           ----------- ^^^^^^^^^^^^^^ expected `String`, found `Uuid`
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           arguments to this struct are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: tuple struct defined here
[INFO] [stdout]    --> src/event.rs:18:12
[INFO] [stdout]     |
[INFO] [stdout]  18 | pub struct AggregateId(pub String);
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 495 |             aggregate_id: AggregateId(Uuid::new_v4().to_string()),
[INFO] [stdout]     |                                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:496:25
[INFO] [stdout]     |
[INFO] [stdout] 496 |             event_type: "TestEvent".to_string(),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^ expected `EventType`, found `String`
[INFO] [stdout]     |
[INFO] [stdout] help: try wrapping the expression in `event::EventType`
[INFO] [stdout]     |
[INFO] [stdout] 496 |             event_type: event::EventType("TestEvent".to_string()),
[INFO] [stdout]     |                         +++++++++++++++++                       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:497:19
[INFO] [stdout]     |
[INFO] [stdout] 497 |             data: event_data,
[INFO] [stdout]     |                   ^^^^^^^^^^ expected `EventData`, found `Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `event::EventEnvelope` has no field named `version`
[INFO] [stdout]    --> src/lib.rs:500:13
[INFO] [stdout]     |
[INFO] [stdout] 500 |             version: 1,
[INFO] [stdout]     |             ^^^^^^^ `event::EventEnvelope` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `aggregate_type`, `sequence_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:537:32
[INFO] [stdout]     |
[INFO] [stdout] 537 |         let event_id = EventId(Uuid::new_v4());
[INFO] [stdout]     |                        ------- ^^^^^^^^^^^^^^ expected `String`, found `Uuid`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        arguments to this struct are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: tuple struct defined here
[INFO] [stdout]    --> src/event.rs:8:12
[INFO] [stdout]     |
[INFO] [stdout]   8 | pub struct EventId(pub String);
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 537 |         let event_id = EventId(Uuid::new_v4().to_string());
[INFO] [stdout]     |                                              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:551:40
[INFO] [stdout]     |
[INFO] [stdout] 551 |         let aggregate_id = AggregateId(Uuid::new_v4());
[INFO] [stdout]     |                            ----------- ^^^^^^^^^^^^^^ expected `String`, found `Uuid`
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            arguments to this struct are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: tuple struct defined here
[INFO] [stdout]    --> src/event.rs:18:12
[INFO] [stdout]     |
[INFO] [stdout]  18 | pub struct AggregateId(pub String);
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 551 |         let aggregate_id = AggregateId(Uuid::new_v4().to_string());
[INFO] [stdout]     |                                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:634:25
[INFO] [stdout]     |
[INFO] [stdout] 634 |             id: EventId(Uuid::new_v4()),
[INFO] [stdout]     |                 ------- ^^^^^^^^^^^^^^ expected `String`, found `Uuid`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 arguments to this struct are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: tuple struct defined here
[INFO] [stdout]    --> src/event.rs:8:12
[INFO] [stdout]     |
[INFO] [stdout]   8 | pub struct EventId(pub String);
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 634 |             id: EventId(Uuid::new_v4().to_string()),
[INFO] [stdout]     |                                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:635:39
[INFO] [stdout]     |
[INFO] [stdout] 635 |             aggregate_id: AggregateId(Uuid::new_v4()),
[INFO] [stdout]     |                           ----------- ^^^^^^^^^^^^^^ expected `String`, found `Uuid`
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           arguments to this struct are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: tuple struct defined here
[INFO] [stdout]    --> src/event.rs:18:12
[INFO] [stdout]     |
[INFO] [stdout]  18 | pub struct AggregateId(pub String);
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 635 |             aggregate_id: AggregateId(Uuid::new_v4().to_string()),
[INFO] [stdout]     |                                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:636:25
[INFO] [stdout]     |
[INFO] [stdout] 636 |             event_type: "NotificationEvent".to_string(),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `EventType`, found `String`
[INFO] [stdout]     |
[INFO] [stdout] help: try wrapping the expression in `event::EventType`
[INFO] [stdout]     |
[INFO] [stdout] 636 |             event_type: event::EventType("NotificationEvent".to_string()),
[INFO] [stdout]     |                         +++++++++++++++++                               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:637:19
[INFO] [stdout]     |
[INFO] [stdout] 637 |             data: event_data,
[INFO] [stdout]     |                   ^^^^^^^^^^ expected `EventData`, found `Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `event::EventEnvelope` has no field named `version`
[INFO] [stdout]    --> src/lib.rs:640:13
[INFO] [stdout]     |
[INFO] [stdout] 640 |             version: 1,
[INFO] [stdout]     |             ^^^^^^^ `event::EventEnvelope` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `aggregate_type`, `sequence_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:679:27
[INFO] [stdout]     |
[INFO] [stdout] 679 |         let (tx1, _rx1) = mpsc::channel(1);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `channel`
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]     |
[INFO] [stdout] 679 |         let (tx1, _rx1) = mpsc::channel::<T>(1);
[INFO] [stdout]     |                                        +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `aggregate_id`
[INFO] [stdout]    --> src/lib.rs:189:45
[INFO] [stdout]     |
[INFO] [stdout] 189 |     async fn get_events_by_aggregate(&self, aggregate_id: &AggregateId) -> Result<Vec<EventEnvelope>> {
[INFO] [stdout]     |                                             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aggregate_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]    --> src/lib.rs:243:29
[INFO] [stdout]     |
[INFO] [stdout] 243 |         async fn put(&self, key: &[u8], value: &[u8]) -> anyhow::Result<()> {
[INFO] [stdout]     |                             ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/lib.rs:243:41
[INFO] [stdout]     |
[INFO] [stdout] 243 |         async fn put(&self, key: &[u8], value: &[u8]) -> anyhow::Result<()> {
[INFO] [stdout]     |                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]    --> src/lib.rs:247:29
[INFO] [stdout]     |
[INFO] [stdout] 247 |         async fn get(&self, key: &[u8]) -> anyhow::Result<Option<Vec<u8>>> {
[INFO] [stdout]     |                             ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]    --> src/lib.rs:251:32
[INFO] [stdout]     |
[INFO] [stdout] 251 |         async fn delete(&self, key: &[u8]) -> anyhow::Result<()> {
[INFO] [stdout]     |                                ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prefix`
[INFO] [stdout]    --> src/lib.rs:255:30
[INFO] [stdout]     |
[INFO] [stdout] 255 |         async fn scan(&self, prefix: &[u8]) -> anyhow::Result<Vec<(Vec<u8>, Vec<u8>)>> {
[INFO] [stdout]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0560, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kotoba-event-stream` (lib test) due to 15 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "48c185728491b0bda1b2948bc261880e03166c0d7f4caf67da2ed4682a187f6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48c185728491b0bda1b2948bc261880e03166c0d7f4caf67da2ed4682a187f6d", kill_on_drop: false }`
[INFO] [stdout] 48c185728491b0bda1b2948bc261880e03166c0d7f4caf67da2ed4682a187f6d
