[INFO] fetching crate prk_eventbus 0.1.2... [INFO] testing prk_eventbus-0.1.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate prk_eventbus 0.1.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate prk_eventbus 0.1.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate prk_eventbus 0.1.2 [INFO] tweaked toml for crates.io crate prk_eventbus 0.1.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate prk_eventbus 0.1.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate prk_eventbus 0.1.2 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2ca51c1428b9aafbb4d8f960c5217e0fe023fbb5a13ebd0e4a439f08c060617 [INFO] running `Command { std: "docker" "start" "-a" "a2ca51c1428b9aafbb4d8f960c5217e0fe023fbb5a13ebd0e4a439f08c060617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2ca51c1428b9aafbb4d8f960c5217e0fe023fbb5a13ebd0e4a439f08c060617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2ca51c1428b9aafbb4d8f960c5217e0fe023fbb5a13ebd0e4a439f08c060617", kill_on_drop: false }` [INFO] [stdout] a2ca51c1428b9aafbb4d8f960c5217e0fe023fbb5a13ebd0e4a439f08c060617 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a457e501a0c518e590aaa2e72eb52ad319f7c3af5c6dcf6fc8d675e72a03295 [INFO] running `Command { std: "docker" "start" "-a" "2a457e501a0c518e590aaa2e72eb52ad319f7c3af5c6dcf6fc8d675e72a03295", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling axum v0.8.3 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling axum-server v0.5.1 [INFO] [stderr] Compiling prk_eventbus v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib/adapters/websocket.rs:146:48 [INFO] [stdout] | [INFO] [stdout] 146 | ... if let Err(e) = Self::handle_publish(&bus, &storage, serde_json::to_value(data).unwrap(), ttl).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib/adapters/websocket.rs:170:48 [INFO] [stdout] | [INFO] [stdout] 170 | ... if let Err(e) = bus.publish_batch(msgs, ttl).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib/adapters/websocket.rs:177:29 [INFO] [stdout] | [INFO] [stdout] 177 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib/adapters/websocket.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib/adapters/websocket.rs:207:28 [INFO] [stdout] | [INFO] [stdout] 207 | if let Err(e) = sender.send(AxumMessage::Text(json_msg.into())).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.58s [INFO] running `Command { std: "docker" "inspect" "2a457e501a0c518e590aaa2e72eb52ad319f7c3af5c6dcf6fc8d675e72a03295", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a457e501a0c518e590aaa2e72eb52ad319f7c3af5c6dcf6fc8d675e72a03295", kill_on_drop: false }` [INFO] [stdout] 2a457e501a0c518e590aaa2e72eb52ad319f7c3af5c6dcf6fc8d675e72a03295 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0332cbf5ffdd67c55b6b72e931b52bcbdc8f00cad5b79595da98fdbc4f479c2d [INFO] running `Command { std: "docker" "start" "-a" "0332cbf5ffdd67c55b6b72e931b52bcbdc8f00cad5b79595da98fdbc4f479c2d", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib/adapters/websocket.rs:146:48 [INFO] [stdout] | [INFO] [stdout] 146 | ... if let Err(e) = Self::handle_publish(&bus, &storage, serde_json::to_value(data).unwrap(), ttl).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib/adapters/websocket.rs:170:48 [INFO] [stdout] | [INFO] [stdout] 170 | ... if let Err(e) = bus.publish_batch(msgs, ttl).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib/adapters/websocket.rs:177:29 [INFO] [stdout] | [INFO] [stdout] 177 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib/adapters/websocket.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib/adapters/websocket.rs:207:28 [INFO] [stdout] | [INFO] [stdout] 207 | if let Err(e) = sender.send(AxumMessage::Text(json_msg.into())).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling prk_eventbus v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `prk_eventbus::storage::sqlite` [INFO] [stdout] --> examples/test.rs:2:132 [INFO] [stdout] | [INFO] [stdout] 2 | ...lient}, core::error::EventBusError, storage::sqlite::SQLiteStorage}; [INFO] [stdout] | ^^^^^^ could not find `sqlite` in `storage` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib/storage/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "storage")] [INFO] [stdout] | ------------------- the item is gated behind the `storage` feature [INFO] [stdout] 2 | pub mod sqlite; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `prk_eventbus::storage::sqlite` [INFO] [stdout] --> examples/multiple_subs.rs:2:132 [INFO] [stdout] | [INFO] [stdout] 2 | ...lient}, core::error::EventBusError, storage::sqlite::SQLiteStorage}; [INFO] [stdout] | ^^^^^^ could not find `sqlite` in `storage` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib/storage/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "storage")] [INFO] [stdout] | ------------------- the item is gated behind the `storage` feature [INFO] [stdout] 2 | pub mod sqlite; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `prk_eventbus::storage::sqlite` [INFO] [stdout] --> examples/duplicate.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | storage::sqlite::SQLiteStorage, [INFO] [stdout] | ^^^^^^ could not find `sqlite` in `storage` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib/storage/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "storage")] [INFO] [stdout] | ------------------- the item is gated behind the `storage` feature [INFO] [stdout] 2 | pub mod sqlite; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `prk_eventbus::storage::sqlite` [INFO] [stdout] --> examples/persistance.rs:2:132 [INFO] [stdout] | [INFO] [stdout] 2 | ...lient}, core::error::EventBusError, storage::sqlite::SQLiteStorage}; [INFO] [stdout] | ^^^^^^ could not find `sqlite` in `storage` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib/storage/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "storage")] [INFO] [stdout] | ------------------- the item is gated behind the `storage` feature [INFO] [stdout] 2 | pub mod sqlite; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/persistance.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let storage = SQLiteStorage::new("test.db", 100).await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | let storage = storage.clone(); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `storage` an explicit type [INFO] [stdout] | [INFO] [stdout] 14 | let storage: /* Type */ = SQLiteStorage::new("test.db", 100).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `prk_eventbus::storage::sqlite` [INFO] [stdout] --> examples/new_test.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | storage::sqlite::SQLiteStorage, [INFO] [stdout] | ^^^^^^ could not find `sqlite` in `storage` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib/storage/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "storage")] [INFO] [stdout] | ------------------- the item is gated behind the `storage` feature [INFO] [stdout] 2 | pub mod sqlite; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `prk_eventbus` (example "test") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `prk_eventbus` (example "new_test") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `prk_eventbus` (example "multiple_subs") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `crate::storage::sqlite` [INFO] [stdout] --> src/lib/tests/test.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::storage::sqlite::SQLiteStorage; [INFO] [stdout] | ^^^^^^ could not find `sqlite` in `storage` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib/storage/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "storage")] [INFO] [stdout] | ------------------- the item is gated behind the `storage` feature [INFO] [stdout] 2 | pub mod sqlite; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `prk_eventbus` (example "duplicate") due to 1 previous error [INFO] [stderr] error: could not compile `prk_eventbus` (example "persistance") due to 2 previous errors [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> examples/stress_test.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | let payload = String::from_utf8_lossy(&msg.payload); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib/adapters/websocket.rs:146:48 [INFO] [stdout] | [INFO] [stdout] 146 | ... if let Err(e) = Self::handle_publish(&bus, &storage, serde_json::to_value(data).unwrap(), ttl).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib/adapters/websocket.rs:170:48 [INFO] [stdout] | [INFO] [stdout] 170 | ... if let Err(e) = bus.publish_batch(msgs, ttl).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib/adapters/websocket.rs:177:29 [INFO] [stdout] | [INFO] [stdout] 177 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib/adapters/websocket.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib/adapters/websocket.rs:207:28 [INFO] [stdout] | [INFO] [stdout] 207 | if let Err(e) = sender.send(AxumMessage::Text(json_msg.into())).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib/tests/test.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let storage = SQLiteStorage::new(db_path, 100).await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | let transport: WsTransport = WsTransport::new(Some(storage.clone()), ws_config); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `storage` an explicit type [INFO] [stdout] | [INFO] [stdout] 25 | let storage: /* Type */ = SQLiteStorage::new(db_path, 100).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `prk_eventbus` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0332cbf5ffdd67c55b6b72e931b52bcbdc8f00cad5b79595da98fdbc4f479c2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0332cbf5ffdd67c55b6b72e931b52bcbdc8f00cad5b79595da98fdbc4f479c2d", kill_on_drop: false }` [INFO] [stdout] 0332cbf5ffdd67c55b6b72e931b52bcbdc8f00cad5b79595da98fdbc4f479c2d