[INFO] fetching crate leptos-ws-pro 0.12.1... [INFO] testing leptos-ws-pro-0.12.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate leptos-ws-pro 0.12.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate leptos-ws-pro 0.12.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate leptos-ws-pro 0.12.1 [INFO] tweaked toml for crates.io crate leptos-ws-pro 0.12.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate leptos-ws-pro 0.12.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate leptos-ws-pro 0.12.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f75e450f9c069934aebf620223298c7ea102eb21acc29d97ae7d8223938c6ac [INFO] running `Command { std: "docker" "start" "-a" "8f75e450f9c069934aebf620223298c7ea102eb21acc29d97ae7d8223938c6ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f75e450f9c069934aebf620223298c7ea102eb21acc29d97ae7d8223938c6ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f75e450f9c069934aebf620223298c7ea102eb21acc29d97ae7d8223938c6ac", kill_on_drop: false }` [INFO] [stdout] 8f75e450f9c069934aebf620223298c7ea102eb21acc29d97ae7d8223938c6ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61f68c6d2b087c5225a71d8a56beb8556e655c130a498641737611c4472a0536 [INFO] running `Command { std: "docker" "start" "-a" "61f68c6d2b087c5225a71d8a56beb8556e655c130a498641737611c4472a0536", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.101 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.101 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling throw_error v0.3.0 [INFO] [stderr] Compiling or_poisoned v0.1.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling send_wrapper v0.6.0 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling guardian v1.3.0 [INFO] [stderr] Compiling camino v1.1.12 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling either_of v0.1.6 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling server_fn_macro v0.8.7 [INFO] [stderr] Compiling reactive_graph v0.2.6 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling tachys v0.2.7 [INFO] [stderr] Compiling server_fn v0.8.6 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling linear-map v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling const_str_slice_concat v0.1.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling bytecheck v0.6.12 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling next_tuple v0.1.0 [INFO] [stderr] Compiling collection_literals v1.0.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling drain_filter_polyfill v0.1.3 [INFO] [stderr] Compiling erased v0.1.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling leptos_macro v0.8.8 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rend v0.4.2 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling const-str v0.6.4 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling manyhow-macros v0.11.4 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling leptos v0.8.8 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling async-once-cell v0.5.4 [INFO] [stderr] Compiling rkyv v0.7.45 [INFO] [stderr] Compiling inventory v0.1.11 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling metrics v0.24.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rand_xoshiro v0.7.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sketches-ddsketch v0.3.0 [INFO] [stderr] Compiling leptos-use v0.16.2 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling bytecheck_derive v0.6.12 [INFO] [stderr] Compiling inventory-impl v0.1.11 [INFO] [stderr] Compiling rkyv_typename_derive v0.7.44 [INFO] [stderr] Compiling rkyv_derive v0.7.45 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling rkyv_dyn_derive v0.7.44 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling rkyv_typename v0.7.44 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.101 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling manyhow v0.11.4 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.101 [INFO] [stderr] Compiling metrics-util v0.20.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.101 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Compiling syn_derive v0.2.0 [INFO] [stderr] Compiling reactive_stores_macro v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling quote-use-macros v0.8.4 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling server_fn_macro_default v0.8.5 [INFO] [stderr] Compiling js-sys v0.3.78 [INFO] [stderr] Compiling typed-builder-macro v0.21.2 [INFO] [stderr] Compiling quote-use v0.8.4 [INFO] [stderr] Compiling attribute-derive-macro v0.10.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling ghost v0.1.20 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tungstenite v0.27.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling wasm_split_macros v0.1.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling rstml v0.12.1 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling wasm_split_helpers v0.1.2 [INFO] [stderr] Compiling default-struct-builder v0.5.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling attribute-derive v0.10.3 [INFO] [stderr] Compiling typed-builder v0.21.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling rkyv_dyn v0.7.44 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling hydration_context v0.3.0 [INFO] [stderr] Compiling oco_ref v0.2.1 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.51 [INFO] [stderr] Compiling web-sys v0.3.78 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling any_spawner v0.3.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling serde_qs v0.15.0 [INFO] [stderr] Compiling leptos_hot_reload v0.8.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling codee v0.3.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.27.0 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling config v0.15.15 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling leptos_config v0.8.7 [INFO] [stderr] Compiling reactive_stores v0.2.5 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.17.2 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stderr] Compiling gloo-net v0.6.0 [INFO] [stderr] Compiling wasm-streams v0.4.2 [INFO] [stderr] Compiling leptos_server v0.8.5 [INFO] [stderr] Compiling leptos_dom v0.8.6 [INFO] [stderr] Compiling leptos-ws-pro v0.12.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/performance/middleware.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::Duration; [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: `SinkExt` and `StreamExt` [INFO] [stdout] --> src/reactive/websocket.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_util::{SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `connect_async` [INFO] [stdout] --> src/reactive/websocket.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio_tungstenite::{connect_async, tungstenite::Message as WsMessage}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/reactive/hooks.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::transport::{ConnectionState, Message}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/rpc/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/security/manager.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/security/rate_limiter.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/transport/optimized.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::{Sink, SinkExt, Stream, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MessageType` [INFO] [stdout] --> src/transport/websocket/wasm.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | ConnectionState, Message, MessageType, Transport, TransportCapabilities, TransportConfig, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/transport/webtransport/core.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | use futures::{Stream, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> src/transport/optimized.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::{Sink, SinkExt, Stream, StreamExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/reactive/hooks.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | context: &WebSocketContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reactive/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut context = WebSocketContext::new(provider); [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: `response_sender` [INFO] [stdout] --> src/rpc/advanced.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | let (response_sender, response_receiver) = mpsc::unbounded_channel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response_tx` [INFO] [stdout] --> src/rpc/client.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | let (response_tx, response_rx) = mpsc::unbounded_channel(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/rpc/client.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let message = Message { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/rpc/client.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | params: SubscribeMessagesParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/optimized.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | fn start_send(mut self: Pin<&mut Self>, item: Message) -> Result<(), Self::Error> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outgoing_task` [INFO] [stdout] --> src/transport/optimized.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let outgoing_task = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outgoing_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming_task` [INFO] [stdout] --> src/transport/optimized.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let incoming_task = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/optimized.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | let mut transport = self.inner_transport.lock().await; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/transport/sse/connection.rs:440:34 [INFO] [stdout] | [INFO] [stdout] 440 | async fn send_message(&self, message: &Message) -> Result<(), TransportError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> src/transport/websocket/wasm.rs:405:22 [INFO] [stdout] | [INFO] [stdout] 405 | let (sender, receiver) = mpsc::unbounded_channel::(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/transport/webtransport/core.rs:123:52 [INFO] [stdout] | [INFO] [stdout] 123 | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_retry_attempts`, `base_retry_delay`, `max_retry_delay`, and `jitter_enabled` are never read [INFO] [stdout] --> src/error_handling/recovery.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ErrorRecoveryHandler { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 25 | max_retry_attempts: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | base_retry_delay: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | max_retry_delay: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | jitter_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error_counts` is never read [INFO] [stdout] --> src/error_handling/recovery.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ErrorReporter { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 50 | error_counts: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `access_count` is never read [INFO] [stdout] --> src/performance/cache.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 88 | struct CacheEntry { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 92 | access_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CacheEntry` 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: fields `value`, `timestamp`, and `tags` are never read [INFO] [stdout] --> src/performance/metrics.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | struct MetricValue { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 63 | value: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | timestamp: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 65 | tags: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetricValue` 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: fields `message_filter`, `ws_connection`, `ws_sink`, and `ws_stream` are never read [INFO] [stdout] --> src/reactive/websocket.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct WebSocketContext { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | message_filter: Arc bool + Send + Sync>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | ws_connection: Arc< [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | ws_sink: Arc< [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | ws_stream: Arc< [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebSocketContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transport` and `response_receiver` are never read [INFO] [stdout] --> src/rpc/advanced.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct BidirectionalRpcClient { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 134 | transport: T, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | response_receiver: mpsc::UnboundedReceiver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message_sender`, `response_receiver`, and `codec` are never read [INFO] [stdout] --> src/rpc/client.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct RpcClient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | message_sender: mpsc::UnboundedSender, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 29 | response_receiver: Arc>>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | codec: JsonCodec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wait_for_response` is never used [INFO] [stdout] --> src/rpc/client.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 36 | / impl RpcClient [INFO] [stdout] 37 | | where [INFO] [stdout] 38 | | T: serde::Serialize + for<'de> serde::Deserialize<'de> + Send + Sync + 'static, [INFO] [stdout] | |___________________________________________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | async fn wait_for_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `jwt_secret` and `sessions` are never read [INFO] [stdout] --> src/security/authenticator.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Authenticator { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 12 | jwt_secret: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | sessions: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `incoming_channel`, `outgoing_channel`, and `middleware_task` are never read [INFO] [stdout] --> src/transport/optimized.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct OptimizedTransport { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | incoming_channel: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | outgoing_channel: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | middleware_task: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/transport/sse/client.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SseClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 24 | config: TransportConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/transport/sse/connection.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SseConnection { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 24 | config: TransportConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_sender` and `event_receiver` are never read [INFO] [stdout] --> src/transport/webtransport/core.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct WebTransportConnection { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub(super) event_sender: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | pub(super) event_receiver: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_message_boundary` is never used [INFO] [stdout] --> src/transport/webtransport/core.rs:291:15 [INFO] [stdout] | [INFO] [stdout] 291 | pub(super) fn find_message_boundary(buffer: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_message_stream` is never used [INFO] [stdout] --> src/transport/webtransport/transport_impl.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 108 | impl WebTransportConnection { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | fn create_message_stream(&self) -> Pin> + Send + Unpin>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `congestion_control` is never read [INFO] [stdout] --> src/transport/webtransport/stream.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AdvancedWebTransportStream { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | congestion_control: CongestionControl, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdvancedWebTransportStream` 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 `message_size` is never read [INFO] [stdout] --> src/zero_copy/benchmark.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ZeroCopyBenchmark { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 9 | iterations: usize, [INFO] [stdout] 10 | message_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message_type` is never read [INFO] [stdout] --> src/zero_copy/buffer.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | struct MessagePosition { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | message_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessagePosition` 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: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/rpc/types.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | async fn handle_request(&self, request: RpcRequest) -> Result, RpcError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 92 - async fn handle_request(&self, request: RpcRequest) -> Result, RpcError>; [INFO] [stdout] 92 + fn handle_request(&self, request: RpcRequest) -> impl std::future::Future, RpcError>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 58s [INFO] running `Command { std: "docker" "inspect" "61f68c6d2b087c5225a71d8a56beb8556e655c130a498641737611c4472a0536", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61f68c6d2b087c5225a71d8a56beb8556e655c130a498641737611c4472a0536", kill_on_drop: false }` [INFO] [stdout] 61f68c6d2b087c5225a71d8a56beb8556e655c130a498641737611c4472a0536 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c09b13aa020e1d12c69ef9589cff7ffc13fe7e91a2e9c99f38cbb274d892697b [INFO] running `Command { std: "docker" "start" "-a" "c09b13aa020e1d12c69ef9589cff7ffc13fe7e91a2e9c99f38cbb274d892697b", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling metrics v0.24.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling default-struct-builder v0.5.1 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling fraction v0.15.3 [INFO] [stderr] Compiling metrics-util v0.20.0 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.17.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling fancy-regex v0.13.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling iso8601 v0.6.3 [INFO] [stderr] Compiling leptos_config v0.8.7 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling leptos v0.8.8 [INFO] [stderr] Compiling leptos-use v0.16.2 [INFO] [stderr] Compiling jsonschema v0.18.3 [INFO] [stderr] Compiling leptos-ws-pro v0.12.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/performance/middleware.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::Duration; [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: `SinkExt` and `StreamExt` [INFO] [stdout] --> src/reactive/websocket.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_util::{SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `connect_async` [INFO] [stdout] --> src/reactive/websocket.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio_tungstenite::{connect_async, tungstenite::Message as WsMessage}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/reactive/hooks.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::transport::{ConnectionState, Message}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/rpc/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/security/manager.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/security/rate_limiter.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/transport/optimized.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::{Sink, SinkExt, Stream, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MessageType` [INFO] [stdout] --> src/transport/websocket/wasm.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | ConnectionState, Message, MessageType, Transport, TransportCapabilities, TransportConfig, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/transport/webtransport/core.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | use futures::{Stream, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> src/transport/optimized.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::{Sink, SinkExt, Stream, StreamExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/reactive/hooks.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | context: &WebSocketContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reactive/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut context = WebSocketContext::new(provider); [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: `response_sender` [INFO] [stdout] --> src/rpc/advanced.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | let (response_sender, response_receiver) = mpsc::unbounded_channel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response_tx` [INFO] [stdout] --> src/rpc/client.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | let (response_tx, response_rx) = mpsc::unbounded_channel(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/rpc/client.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let message = Message { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/rpc/client.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | params: SubscribeMessagesParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/optimized.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | fn start_send(mut self: Pin<&mut Self>, item: Message) -> Result<(), Self::Error> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outgoing_task` [INFO] [stdout] --> src/transport/optimized.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let outgoing_task = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outgoing_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming_task` [INFO] [stdout] --> src/transport/optimized.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let incoming_task = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/optimized.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | let mut transport = self.inner_transport.lock().await; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/transport/sse/connection.rs:440:34 [INFO] [stdout] | [INFO] [stdout] 440 | async fn send_message(&self, message: &Message) -> Result<(), TransportError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> src/transport/websocket/wasm.rs:405:22 [INFO] [stdout] | [INFO] [stdout] 405 | let (sender, receiver) = mpsc::unbounded_channel::(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/transport/webtransport/core.rs:123:52 [INFO] [stdout] | [INFO] [stdout] 123 | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_retry_attempts`, `base_retry_delay`, `max_retry_delay`, and `jitter_enabled` are never read [INFO] [stdout] --> src/error_handling/recovery.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ErrorRecoveryHandler { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 25 | max_retry_attempts: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | base_retry_delay: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | max_retry_delay: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | jitter_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error_counts` is never read [INFO] [stdout] --> src/error_handling/recovery.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ErrorReporter { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 50 | error_counts: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `access_count` is never read [INFO] [stdout] --> src/performance/cache.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 88 | struct CacheEntry { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 92 | access_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CacheEntry` 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: fields `value`, `timestamp`, and `tags` are never read [INFO] [stdout] --> src/performance/metrics.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | struct MetricValue { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 63 | value: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | timestamp: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 65 | tags: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetricValue` 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: fields `message_filter`, `ws_connection`, `ws_sink`, and `ws_stream` are never read [INFO] [stdout] --> src/reactive/websocket.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct WebSocketContext { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | message_filter: Arc bool + Send + Sync>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | ws_connection: Arc< [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | ws_sink: Arc< [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | ws_stream: Arc< [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebSocketContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transport` and `response_receiver` are never read [INFO] [stdout] --> src/rpc/advanced.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct BidirectionalRpcClient { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 134 | transport: T, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | response_receiver: mpsc::UnboundedReceiver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message_sender`, `response_receiver`, and `codec` are never read [INFO] [stdout] --> src/rpc/client.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct RpcClient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | message_sender: mpsc::UnboundedSender, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 29 | response_receiver: Arc>>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | codec: JsonCodec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wait_for_response` is never used [INFO] [stdout] --> src/rpc/client.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 36 | / impl RpcClient [INFO] [stdout] 37 | | where [INFO] [stdout] 38 | | T: serde::Serialize + for<'de> serde::Deserialize<'de> + Send + Sync + 'static, [INFO] [stdout] | |___________________________________________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | async fn wait_for_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `jwt_secret` and `sessions` are never read [INFO] [stdout] --> src/security/authenticator.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Authenticator { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 12 | jwt_secret: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | sessions: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `incoming_channel`, `outgoing_channel`, and `middleware_task` are never read [INFO] [stdout] --> src/transport/optimized.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct OptimizedTransport { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | incoming_channel: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | outgoing_channel: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | middleware_task: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/transport/sse/client.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SseClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 24 | config: TransportConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/transport/sse/connection.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SseConnection { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 24 | config: TransportConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_sender` and `event_receiver` are never read [INFO] [stdout] --> src/transport/webtransport/core.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct WebTransportConnection { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub(super) event_sender: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | pub(super) event_receiver: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_message_boundary` is never used [INFO] [stdout] --> src/transport/webtransport/core.rs:291:15 [INFO] [stdout] | [INFO] [stdout] 291 | pub(super) fn find_message_boundary(buffer: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_message_stream` is never used [INFO] [stdout] --> src/transport/webtransport/transport_impl.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 108 | impl WebTransportConnection { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | fn create_message_stream(&self) -> Pin> + Send + Unpin>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `congestion_control` is never read [INFO] [stdout] --> src/transport/webtransport/stream.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AdvancedWebTransportStream { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | congestion_control: CongestionControl, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdvancedWebTransportStream` 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 `message_size` is never read [INFO] [stdout] --> src/zero_copy/benchmark.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ZeroCopyBenchmark { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 9 | iterations: usize, [INFO] [stdout] 10 | message_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message_type` is never read [INFO] [stdout] --> src/zero_copy/buffer.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | struct MessagePosition { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | message_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessagePosition` 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: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/rpc/types.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | async fn handle_request(&self, request: RpcRequest) -> Result, RpcError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 92 - async fn handle_request(&self, request: RpcRequest) -> Result, RpcError>; [INFO] [stdout] 92 + fn handle_request(&self, request: RpcRequest) -> impl std::future::Future, RpcError>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/performance/middleware.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::Duration; [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: `SinkExt` and `StreamExt` [INFO] [stdout] --> src/reactive/websocket.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_util::{SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `connect_async` [INFO] [stdout] --> src/reactive/websocket.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio_tungstenite::{connect_async, tungstenite::Message as WsMessage}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/reactive/hooks.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::transport::{ConnectionState, Message}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/rpc/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/security/manager.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/security/rate_limiter.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/transport/optimized.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::{Sink, SinkExt, Stream, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MessageType` [INFO] [stdout] --> src/transport/websocket/wasm.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | ConnectionState, Message, MessageType, Transport, TransportCapabilities, TransportConfig, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/transport/webtransport/core.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | use futures::{Stream, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> src/transport/optimized.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::{Sink, SinkExt, Stream, StreamExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `new` is defined multiple times [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1017:5 [INFO] [stdout] | [INFO] [stdout] 841 | fn new(_config: MemoryPressureConfig) -> Self { [INFO] [stdout] | --------------------------------------------- previous definition of the value `new` here [INFO] [stdout] ... [INFO] [stdout] 1017 | fn new(_config: MemoryPressureConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `new` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `new` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `new` is defined multiple times [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1054:5 [INFO] [stdout] | [INFO] [stdout] 841 | fn new(_config: MemoryPressureConfig) -> Self { [INFO] [stdout] | --------------------------------------------- previous definition of the value `new` here [INFO] [stdout] ... [INFO] [stdout] 1054 | fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `new` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `new` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `set_bandwidth_limit` is defined multiple times [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1060:5 [INFO] [stdout] | [INFO] [stdout] 909 | async fn set_bandwidth_limit(&mut self, limit: usize) { [INFO] [stdout] | ----------------------------------------------------- previous definition of the value `set_bandwidth_limit` here [INFO] [stdout] ... [INFO] [stdout] 1060 | async fn set_bandwidth_limit(&mut self, limit: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `set_bandwidth_limit` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `set_bandwidth_limit` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `new` is defined multiple times [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1081:5 [INFO] [stdout] | [INFO] [stdout] 841 | fn new(_config: MemoryPressureConfig) -> Self { [INFO] [stdout] | --------------------------------------------- previous definition of the value `new` here [INFO] [stdout] ... [INFO] [stdout] 1081 | fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `new` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `new` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:855:28 [INFO] [stdout] | [INFO] [stdout] 855 | async fn cache_message(&mut self, _data: PerformanceTestData) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:860:31 [INFO] [stdout] | [INFO] [stdout] 860 | async fn get_memory_usage(&self) -> f64 { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:864:42 [INFO] [stdout] | [INFO] [stdout] 864 | async fn is_memory_pressure_detected(&self) -> bool { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:868:41 [INFO] [stdout] | [INFO] [stdout] 868 | async fn trigger_garbage_collection(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:877:32 [INFO] [stdout] | [INFO] [stdout] 877 | async fn get_gc_statistics(&self) -> Option { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:881:43 [INFO] [stdout] | [INFO] [stdout] 881 | async fn schedule_cpu_task(&mut self, f: F) -> tokio::task::JoinHandle [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:890:48 [INFO] [stdout] | [INFO] [stdout] 890 | async fn schedule_priority_task(&mut self, _priority: MessagePriority, f: F) -> tokio::task::JoinHandle [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:899:37 [INFO] [stdout] | [INFO] [stdout] 899 | async fn get_scheduling_metrics(&self) -> Option { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:903:32 [INFO] [stdout] | [INFO] [stdout] 903 | async fn set_cpu_threshold(&mut self, _threshold: f64) {} [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:905:28 [INFO] [stdout] | [INFO] [stdout] 905 | async fn get_cpu_usage(&self) -> f64 { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:909:34 [INFO] [stdout] | [INFO] [stdout] 909 | async fn set_bandwidth_limit(&mut self, limit: usize) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:913:28 [INFO] [stdout] | [INFO] [stdout] 913 | async fn compress_data(&self, data: &PerformanceTestData) -> Result { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:924:36 [INFO] [stdout] | [INFO] [stdout] 924 | async fn get_compression_ratio(&self) -> f64 { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:928:39 [INFO] [stdout] | [INFO] [stdout] 928 | async fn set_congestion_threshold(&mut self, threshold: f64) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:932:37 [INFO] [stdout] | [INFO] [stdout] 932 | async fn record_network_metrics(&mut self, _packet_loss: f64, _latency: Duration) {} [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:934:35 [INFO] [stdout] | [INFO] [stdout] 934 | async fn is_network_congested(&self) -> bool { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:938:40 [INFO] [stdout] | [INFO] [stdout] 938 | async fn get_transmission_strategy(&self) -> Option { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:942:37 [INFO] [stdout] | [INFO] [stdout] 942 | async fn get_memory_leak_report(&self) -> Option { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:950:38 [INFO] [stdout] | [INFO] [stdout] 950 | async fn get_performance_metrics(&self) -> Option { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:954:39 [INFO] [stdout] | [INFO] [stdout] 954 | async fn get_performance_insights(&self) -> Vec { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:958:37 [INFO] [stdout] | [INFO] [stdout] 958 | async fn get_performance_trends(&self) -> Option { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:966:34 [INFO] [stdout] | [INFO] [stdout] 966 | async fn set_alert_threshold(&mut self, _metric: &str, _threshold: f64) {} [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:968:32 [INFO] [stdout] | [INFO] [stdout] 968 | async fn get_active_alerts(&self) -> Vec { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1025:21 [INFO] [stdout] | [INFO] [stdout] 1025 | async fn insert(&mut self, item: PerformanceTestData) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1035:21 [INFO] [stdout] | [INFO] [stdout] 1035 | async fn access(&mut self, id: u64) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1043:32 [INFO] [stdout] | [INFO] [stdout] 1043 | async fn get_evicted_items(&self) -> Vec { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1047:22 [INFO] [stdout] | [INFO] [stdout] 1047 | async fn set_ttl(&mut self, ttl: Duration) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1060:34 [INFO] [stdout] | [INFO] [stdout] 1060 | async fn set_bandwidth_limit(&mut self, limit: usize) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1064:27 [INFO] [stdout] | [INFO] [stdout] 1064 | async fn create_batch(&self, messages: Vec) -> Result, String> { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1068:37 [INFO] [stdout] | [INFO] [stdout] 1068 | async fn get_optimal_batch_size(&self) -> usize { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1087:30 [INFO] [stdout] | [INFO] [stdout] 1087 | async fn start_profiling(&mut self, component: &str) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1091:28 [INFO] [stdout] | [INFO] [stdout] 1091 | async fn end_profiling(&mut self, component: &str) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1098:39 [INFO] [stdout] | [INFO] [stdout] 1098 | async fn get_detected_bottlenecks(&self) -> Vec { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1102:36 [INFO] [stdout] | [INFO] [stdout] 1102 | async fn get_slowest_component(&self) -> Option { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos_ws_pro::*` [INFO] [stdout] --> examples/basic/websocket-connection.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use leptos_ws_pro::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:841:46 [INFO] [stdout] | [INFO] [stdout] 841 | fn new(_config: MemoryPressureConfig) -> Self { [INFO] [stdout] | --- `Self` not allowed in a function ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find struct, variant or union type `Self` in this scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:842:9 [INFO] [stdout] | [INFO] [stdout] 841 | fn new(_config: MemoryPressureConfig) -> Self { [INFO] [stdout] | --- `Self` not allowed in a function [INFO] [stdout] 842 | Self { [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1017:46 [INFO] [stdout] | [INFO] [stdout] 1017 | fn new(_config: MemoryPressureConfig) -> Self { [INFO] [stdout] | --- `Self` not allowed in a function ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find struct, variant or union type `Self` in this scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1018:9 [INFO] [stdout] | [INFO] [stdout] 1017 | fn new(_config: MemoryPressureConfig) -> Self { [INFO] [stdout] | --- `Self` not allowed in a function [INFO] [stdout] 1018 | Self { [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1054:17 [INFO] [stdout] | [INFO] [stdout] 1054 | fn new() -> Self { [INFO] [stdout] | --- ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] | | [INFO] [stdout] | `Self` not allowed in a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find struct, variant or union type `Self` in this scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1055:9 [INFO] [stdout] | [INFO] [stdout] 1054 | fn new() -> Self { [INFO] [stdout] | --- `Self` not allowed in a function [INFO] [stdout] 1055 | Self { [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1081:17 [INFO] [stdout] | [INFO] [stdout] 1081 | fn new() -> Self { [INFO] [stdout] | --- ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] | | [INFO] [stdout] | `Self` not allowed in a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find struct, variant or union type `Self` in this scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:1082:9 [INFO] [stdout] | [INFO] [stdout] 1081 | fn new() -> Self { [INFO] [stdout] | --- `Self` not allowed in a function [INFO] [stdout] 1082 | Self { [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConnectionPool` [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:11:55 [INFO] [stdout] | [INFO] [stdout] 11 | PerformanceManager, MessageBatcher, MessageCache, ConnectionPool, [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: `ConnectionState`, `MessageType`, and `Message` [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | use leptos_ws_pro::transport::{Message, MessageType, ConnectionState}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Codec`, `HybridCodec`, and `JsonCodec` [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | use leptos_ws_pro::codec::{Codec, JsonCodec, HybridCodec}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool`, `AtomicUsize`, and `Ordering` [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | use std::sync::atomic::{AtomicUsize, AtomicBool, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos_ws_pro::codec::CodecError` [INFO] [stdout] --> tests/unit/complex_error_recovery_tdd_tests.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use leptos_ws_pro::codec::CodecError; [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: `ErrorRecoveryHandler`, `ErrorReporter`, and `RecoveryStrategy` [INFO] [stdout] --> tests/unit/complex_error_recovery_tdd_tests.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | CircuitBreaker, ErrorContext, ErrorRecoveryHandler, ErrorReporter, ErrorType, RecoveryStrategy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos_ws_pro::rpc::RpcError` [INFO] [stdout] --> tests/unit/complex_error_recovery_tdd_tests.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use leptos_ws_pro::rpc::RpcError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> tests/unit/complex_error_recovery_tdd_tests.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> tests/unit/webtransport_implementation_tests.rs:15:49 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::io::{AsyncBufReadExt, AsyncWriteExt, BufReader}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PerformanceConfig: From` is not satisfied [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:81:56 [INFO] [stdout] | [INFO] [stdout] 81 | let mut perf_manager = PerformanceManager::new(config); [INFO] [stdout] | ----------------------- ^^^^^^ the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] --> src/performance/manager.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | impl From for PerformanceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `leptos_ws_pro::performance::MemoryPressureConfig`, found `MemoryPressureConfig` [INFO] [stdout] = note: required for `MemoryPressureConfig` to implement `Into` [INFO] [stdout] note: required by a bound in `leptos_ws_pro::performance::PerformanceManager::new` [INFO] [stdout] --> src/performance/manager.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(config: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PerformanceManager::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> tests/unit/stress_testing_tests.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{SinkExt, StreamExt}; [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: `TransportError` [INFO] [stdout] --> tests/unit/stress_testing_tests.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | TransportConfig, TransportError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestMessage` is never constructed [INFO] [stdout] --> tests/unit/transport_layer_tests.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct TestMessage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransportError` [INFO] [stdout] --> tests/unit/load_testing_tests.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | TransportConfig, TransportError, [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: `TransportError` [INFO] [stdout] --> tests/unit/simple_error_recovery_tests.rs:6:49 [INFO] [stdout] | [INFO] [stdout] 6 | use leptos_ws_pro::transport::{ConnectionState, TransportError}; [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: `std::time::Duration` [INFO] [stdout] --> tests/unit/simple_error_recovery_tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:96:40 [INFO] [stdout] | [INFO] [stdout] 96 | perf_manager.cache_message(data).await; [INFO] [stdout] | ------------- ^^^^ expected `PerformanceTestData`, found a different `PerformanceTestData` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `PerformanceTestData` and `PerformanceTestData` have similar names, but are actually distinct types [INFO] [stdout] note: `PerformanceTestData` is defined in the current crate [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct PerformanceTestData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `PerformanceTestData` is defined in crate `leptos_ws_pro` [INFO] [stdout] --> src/performance/manager.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 327 | pub struct PerformanceTestData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/performance/manager.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | pub async fn cache_message(&mut self, data: PerformanceTestData) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> tests/unit/stress_testing_tests.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{SinkExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> tests/unit/real_webtransport_network_tests.rs:130:32 [INFO] [stdout] | [INFO] [stdout] 130 | let stream_result = client.create_stream().await; [INFO] [stdout] | ^^^^^^^^^^^^^-- argument #1 of type `StreamConfig` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/transport/webtransport/core.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub async fn create_stream(&self, stream_config: super::config::StreamConfig) -> Result` is not satisfied [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:117:56 [INFO] [stdout] | [INFO] [stdout] 117 | let mut perf_manager = PerformanceManager::new(config); [INFO] [stdout] | ----------------------- ^^^^^^ the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] --> src/performance/manager.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | impl From for PerformanceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `leptos_ws_pro::performance::MemoryPressureConfig`, found `MemoryPressureConfig` [INFO] [stdout] = note: required for `MemoryPressureConfig` to implement `Into` [INFO] [stdout] note: required by a bound in `leptos_ws_pro::performance::PerformanceManager::new` [INFO] [stdout] --> src/performance/manager.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(config: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PerformanceManager::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:128:36 [INFO] [stdout] | [INFO] [stdout] 128 | perf_manager.cache_message(large_data).await; [INFO] [stdout] | ------------- ^^^^^^^^^^ expected `PerformanceTestData`, found a different `PerformanceTestData` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `PerformanceTestData` and `PerformanceTestData` have similar names, but are actually distinct types [INFO] [stdout] note: `PerformanceTestData` is defined in the current crate [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct PerformanceTestData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `PerformanceTestData` is defined in crate `leptos_ws_pro` [INFO] [stdout] --> src/performance/manager.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 327 | pub struct PerformanceTestData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/performance/manager.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | pub async fn cache_message(&mut self, data: PerformanceTestData) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/unit/stress_testing_tests.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut client = WebSocketConnection::new(config).await.unwrap(); [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: `client` [INFO] [stdout] --> tests/unit/real_webtransport_network_tests.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let client = WebTransportConnection::new(config).await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> tests/unit/real_webtransport_network_tests.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let client = WebTransportConnection::new(config).await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> examples/basic/websocket-basic.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/unit/stress_testing_tests.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let mut client = WebSocketConnection::new(config).await.unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/unit/simple_error_recovery_tests.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut breaker = CircuitBreaker::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: variable does not need to be mutable [INFO] [stdout] --> tests/unit/simple_error_recovery_tests.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut breaker = CircuitBreaker::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `trigger_garbage_collection` found for struct `leptos_ws_pro::performance::PerformanceManager` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:131:38 [INFO] [stdout] | [INFO] [stdout] 131 | let gc_result = perf_manager.trigger_garbage_collection().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::PerformanceManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos-ws-pro` (test "real_webtransport_network_tests") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `get_gc_statistics` found for struct `leptos_ws_pro::performance::PerformanceManager` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | let gc_stats = perf_manager.get_gc_statistics().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::PerformanceManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | let mut cache = MessageCache::new(config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | || [INFO] [stdout] | |expected `usize`, found `MemoryPressureConfig` [INFO] [stdout] | argument #2 of type `std::time::Duration` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/performance/cache.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(max_size: usize, ttl: Duration) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 166 - let mut cache = MessageCache::new(config); [INFO] [stdout] 166 + let mut cache = MessageCache::new(/* usize */, /* std::time::Duration */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdgeCaseData` is never constructed [INFO] [stdout] --> tests/unit/v1_core_codec_tests.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | struct EdgeCaseData { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for struct `leptos_ws_pro::performance::MessageCache` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:208:23 [INFO] [stdout] | [INFO] [stdout] 208 | cache.insert(msg).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set` with a similar name, but with different arguments [INFO] [stdout] --> src/performance/cache.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn set(&self, key: String, value: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/unit/complex_error_recovery_tdd_tests.rs:127:51 [INFO] [stdout] | [INFO] [stdout] 127 | let _: Result<(), TransportError> = breaker [INFO] [stdout] | ______________________--------------------------___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 128 | | .call(|| Ok(async { Err(TransportError::ConnectionFailed("Failure".to_string())) })); [INFO] [stdout] | |____________________________________________________________________________________________________^ expected `Result<(), TransportError>`, found `Result<..., ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), leptos_ws_pro::transport::TransportError>` [INFO] [stdout] found enum `Result<{async block@tests/unit/complex_error_recovery_tdd_tests.rs:128:29: 128:34}, String>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/reactive/hooks.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | context: &WebSocketContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/reactive/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut context = WebSocketContext::new(provider); [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] error[E0308]: mismatched types [INFO] [stdout] --> tests/unit/complex_error_recovery_tdd_tests.rs:182:51 [INFO] [stdout] | [INFO] [stdout] 182 | let _: Result<(), TransportError> = breaker [INFO] [stdout] | ______________________--------------------------___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 183 | | .call(|| Ok(async { Err(TransportError::ConnectionFailed("Failure".to_string())) })); [INFO] [stdout] | |____________________________________________________________________________________________________^ expected `Result<(), TransportError>`, found `Result<..., ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), leptos_ws_pro::transport::TransportError>` [INFO] [stdout] found enum `Result<{async block@tests/unit/complex_error_recovery_tdd_tests.rs:183:29: 183:34}, String>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncBufReadExt` [INFO] [stdout] --> tests/unit/webtransport_implementation_tests.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::io::{AsyncBufReadExt, AsyncWriteExt, BufReader}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> tests/unit/webtransport_implementation_tests.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::io::{AsyncBufReadExt, AsyncWriteExt, BufReader}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response_sender` [INFO] [stdout] --> src/rpc/advanced.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | let (response_sender, response_receiver) = mpsc::unbounded_channel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_evicted_items` found for struct `leptos_ws_pro::performance::MessageCache` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:212:39 [INFO] [stdout] | [INFO] [stdout] 212 | let evicted_items = cache.get_evicted_items().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::MessageCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PerformanceConfig: From` is not satisfied [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:259:56 [INFO] [stdout] | [INFO] [stdout] 259 | let mut perf_manager = PerformanceManager::new(config); [INFO] [stdout] | ----------------------- ^^^^^^ the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] --> src/performance/manager.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | impl From for PerformanceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `leptos_ws_pro::performance::MemoryPressureConfig`, found `MemoryPressureConfig` [INFO] [stdout] = note: required for `MemoryPressureConfig` to implement `Into` [INFO] [stdout] note: required by a bound in `leptos_ws_pro::performance::PerformanceManager::new` [INFO] [stdout] --> src/performance/manager.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(config: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PerformanceManager::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_scheduling_metrics` found for struct `leptos_ws_pro::performance::PerformanceManager` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:295:36 [INFO] [stdout] | [INFO] [stdout] 295 | let metrics = perf_manager.get_scheduling_metrics().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_metrics` with a similar name [INFO] [stdout] | [INFO] [stdout] 295 - let metrics = perf_manager.get_scheduling_metrics().await; [INFO] [stdout] 295 + let metrics = perf_manager.get_metrics().await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PerformanceConfig: From` is not satisfied [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:314:56 [INFO] [stdout] | [INFO] [stdout] 314 | let mut perf_manager = PerformanceManager::new(config); [INFO] [stdout] | ----------------------- ^^^^^^ the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] --> src/performance/manager.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | impl From for PerformanceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `leptos_ws_pro::performance::MemoryPressureConfig`, found `MemoryPressureConfig` [INFO] [stdout] = note: required for `MemoryPressureConfig` to implement `Into` [INFO] [stdout] note: required by a bound in `leptos_ws_pro::performance::PerformanceManager::new` [INFO] [stdout] --> src/performance/manager.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(config: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PerformanceManager::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce()` closure, found `{async block@tests/unit/performance_edge_cases_tdd_tests.rs:329:77: 329:87}` [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:329:77 [INFO] [stdout] | [INFO] [stdout] 329 | let task_handle = perf_manager.schedule_priority_task(priority, async move { [INFO] [stdout] | ____________________________________________----------------------___________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 330 | | // Simulate work with different durations [INFO] [stdout] 331 | | let work_duration = Duration::from_millis(100 * (i + 1) as u64); [INFO] [stdout] 332 | | tokio::time::sleep(work_duration).await; [INFO] [stdout] 333 | | Instant::now() [INFO] [stdout] 334 | | }).await; [INFO] [stdout] | |_____________^ expected an `FnOnce()` closure, found `{async block@tests/unit/performance_edge_cases_tdd_tests.rs:329:77: 329:87}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnOnce()` is not implemented for `{async block@tests/unit/performance_edge_cases_tdd_tests.rs:329:77: 329:87}` [INFO] [stdout] = note: wrap the `{async block@tests/unit/performance_edge_cases_tdd_tests.rs:329:77: 329:87}` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `leptos_ws_pro::performance::PerformanceManager::schedule_priority_task` [INFO] [stdout] --> src/performance/manager.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub async fn schedule_priority_task( [INFO] [stdout] | ---------------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 272 | F: FnOnce() -> Fut + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `PerformanceManager::schedule_priority_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:329:67 [INFO] [stdout] | [INFO] [stdout] 329 | let task_handle = perf_manager.schedule_priority_task(priority, async move { [INFO] [stdout] | ---------------------- ^^^^^^^^ expected `MessagePriority`, found a different `MessagePriority` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `MessagePriority` and `MessagePriority` have similar names, but are actually distinct types [INFO] [stdout] note: `MessagePriority` is defined in the current crate [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | enum MessagePriority { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `MessagePriority` is defined in crate `leptos_ws_pro` [INFO] [stdout] --> src/performance/manager.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub enum MessagePriority { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/performance/manager.rs:266:18 [INFO] [stdout] | [INFO] [stdout] 266 | pub async fn schedule_priority_task( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce()` closure, found `{async block@tests/unit/performance_edge_cases_tdd_tests.rs:329:77: 329:87}` [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:329:31 [INFO] [stdout] | [INFO] [stdout] 329 | let task_handle = perf_manager.schedule_priority_task(priority, async move { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 330 | | // Simulate work with different durations [INFO] [stdout] 331 | | let work_duration = Duration::from_millis(100 * (i + 1) as u64); [INFO] [stdout] 332 | | tokio::time::sleep(work_duration).await; [INFO] [stdout] 333 | | Instant::now() [INFO] [stdout] 334 | | }).await; [INFO] [stdout] | |______________^ expected an `FnOnce()` closure, found `{async block@tests/unit/performance_edge_cases_tdd_tests.rs:329:77: 329:87}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnOnce()` is not implemented for `{async block@tests/unit/performance_edge_cases_tdd_tests.rs:329:77: 329:87}` [INFO] [stdout] = note: wrap the `{async block@tests/unit/performance_edge_cases_tdd_tests.rs:329:77: 329:87}` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `leptos_ws_pro::performance::PerformanceManager::schedule_priority_task` [INFO] [stdout] --> src/performance/manager.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub async fn schedule_priority_task( [INFO] [stdout] | ---------------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 272 | F: FnOnce() -> Fut + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `PerformanceManager::schedule_priority_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce()` closure, found `{async block@tests/unit/performance_edge_cases_tdd_tests.rs:329:77: 329:87}` [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | }).await; [INFO] [stdout] | ^^^^^ expected an `FnOnce()` closure, found `{async block@tests/unit/performance_edge_cases_tdd_tests.rs:329:77: 329:87}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnOnce()` is not implemented for `{async block@tests/unit/performance_edge_cases_tdd_tests.rs:329:77: 329:87}` [INFO] [stdout] = note: wrap the `{async block@tests/unit/performance_edge_cases_tdd_tests.rs:329:77: 329:87}` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `leptos_ws_pro::performance::PerformanceManager::schedule_priority_task` [INFO] [stdout] --> src/performance/manager.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub async fn schedule_priority_task( [INFO] [stdout] | ---------------------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 272 | F: FnOnce() -> Fut + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `PerformanceManager::schedule_priority_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PerformanceConfig: From` is not satisfied [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:362:56 [INFO] [stdout] | [INFO] [stdout] 362 | let mut perf_manager = PerformanceManager::new(config); [INFO] [stdout] | ----------------------- ^^^^^^ the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] --> src/performance/manager.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | impl From for PerformanceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `leptos_ws_pro::performance::MemoryPressureConfig`, found `MemoryPressureConfig` [INFO] [stdout] = note: required for `MemoryPressureConfig` to implement `Into` [INFO] [stdout] note: required by a bound in `leptos_ws_pro::performance::PerformanceManager::new` [INFO] [stdout] --> src/performance/manager.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(config: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PerformanceManager::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `>` cannot be applied to type `Result<{integer}, PerformanceError>` [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:383:24 [INFO] [stdout] | [INFO] [stdout] 383 | assert!(result > 0); [INFO] [stdout] | ------ ^ - {integer} [INFO] [stdout] | | [INFO] [stdout] | Result<{integer}, PerformanceError> [INFO] [stdout] | [INFO] [stdout] note: `Result<{integer}, PerformanceError>` does not implement `PartialOrd<{integer}>` [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/result.rs:557:0 [INFO] [stdout] | [INFO] [stdout] = note: `Result<{integer}, PerformanceError>` is defined in another crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PerformanceConfig: From` is not satisfied [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:404:56 [INFO] [stdout] | [INFO] [stdout] 404 | let mut perf_manager = PerformanceManager::new(config); [INFO] [stdout] | ----------------------- ^^^^^^ the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] --> src/performance/manager.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | impl From for PerformanceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `leptos_ws_pro::performance::MemoryPressureConfig`, found `MemoryPressureConfig` [INFO] [stdout] = note: required for `MemoryPressureConfig` to implement `Into` [INFO] [stdout] note: required by a bound in `leptos_ws_pro::performance::PerformanceManager::new` [INFO] [stdout] --> src/performance/manager.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(config: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PerformanceManager::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_bandwidth_limit` found for struct `leptos_ws_pro::performance::PerformanceManager` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:408:22 [INFO] [stdout] | [INFO] [stdout] 408 | perf_manager.set_bandwidth_limit(bandwidth_limit).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::PerformanceManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `breaker_config` [INFO] [stdout] --> tests/unit/complex_error_recovery_tdd_tests.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let breaker_config = CircuitBreakerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_breaker_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response_tx` [INFO] [stdout] --> src/rpc/client.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | let (response_tx, response_rx) = mpsc::unbounded_channel(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> tests/unit/complex_error_recovery_tdd_tests.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | for i in 0..5 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/rpc/client.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let message = Message { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `compress_data` found for struct `leptos_ws_pro::performance::PerformanceManager` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:419:44 [INFO] [stdout] | [INFO] [stdout] 419 | let compressed_data = perf_manager.compress_data(&test_data).await; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::PerformanceManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/rpc/client.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | params: SubscribeMessagesParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_compression_ratio` found for struct `leptos_ws_pro::performance::PerformanceManager` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:426:46 [INFO] [stdout] | [INFO] [stdout] 426 | let compression_ratio = perf_manager.get_compression_ratio().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::PerformanceManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:434:27 [INFO] [stdout] | [INFO] [stdout] 434 | let mut batcher = MessageBatcher::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-- two arguments of type `usize` and `std::time::Duration` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/performance/message_batcher.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(batch_size: usize, batch_timeout: Duration) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 434 | let mut batcher = MessageBatcher::new(/* usize */, /* std::time::Duration */); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_bandwidth_limit` found for struct `leptos_ws_pro::performance::MessageBatcher` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:444:21 [INFO] [stdout] | [INFO] [stdout] 444 | batcher.set_bandwidth_limit(bandwidth).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::MessageBatcher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_batch` found for struct `leptos_ws_pro::performance::MessageBatcher` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:459:33 [INFO] [stdout] | [INFO] [stdout] 459 | let batch = batcher.create_batch(messages).await; [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::MessageBatcher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `usize` is not a future [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:466:71 [INFO] [stdout] | [INFO] [stdout] 466 | let optimal_batch_size = batcher.get_optimal_batch_size().await; [INFO] [stdout] | ^^^^^ `usize` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `usize` [INFO] [stdout] = note: usize must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `usize` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 466 - let optimal_batch_size = batcher.get_optimal_batch_size().await; [INFO] [stdout] 466 + let optimal_batch_size = batcher.get_optimal_batch_size(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PerformanceConfig: From` is not satisfied [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:482:56 [INFO] [stdout] | [INFO] [stdout] 482 | let mut perf_manager = PerformanceManager::new(config); [INFO] [stdout] | ----------------------- ^^^^^^ the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] --> src/performance/manager.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | impl From for PerformanceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `leptos_ws_pro::performance::MemoryPressureConfig`, found `MemoryPressureConfig` [INFO] [stdout] = note: required for `MemoryPressureConfig` to implement `Into` [INFO] [stdout] note: required by a bound in `leptos_ws_pro::performance::PerformanceManager::new` [INFO] [stdout] --> src/performance/manager.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(config: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PerformanceManager::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_congestion_threshold` found for struct `leptos_ws_pro::performance::PerformanceManager` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:486:22 [INFO] [stdout] | [INFO] [stdout] 486 | perf_manager.set_congestion_threshold(congestion_threshold).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set_alert_threshold` with a similar name, but with different arguments [INFO] [stdout] --> src/performance/manager.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | pub async fn set_alert_threshold(&mut self, _metric: &str, _threshold: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_url` found for struct `leptos_ws_pro::WebSocketProvider` in the current scope [INFO] [stdout] --> tests/unit/v1_core_reactive_tests.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(provider.get_url(), "ws://localhost:8080"); [INFO] [stdout] | ^^^^^^^ method not found in `leptos_ws_pro::WebSocketProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos-ws-pro` (test "complex_error_recovery_tdd_tests") due to 2 previous errors; 6 warnings emitted [INFO] [stdout] error[E0599]: no method named `get_url` found for struct `leptos_ws_pro::WebSocketProvider` in the current scope [INFO] [stdout] --> tests/unit/v1_core_reactive_tests.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(provider.get_url(), "wss://api.example.com/ws"); [INFO] [stdout] | ^^^^^^^ method not found in `leptos_ws_pro::WebSocketProvider` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/unit/advanced_features_tests.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | / client [INFO] [stdout] 122 | | .call("test_method", message, leptos_ws_pro::rpc::RpcMethod::Call) [INFO] [stdout] 123 | | .await; [INFO] [stdout] | |__________________^ expected `Result, ...>`, found `Result, RpcError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result, _>` [INFO] [stdout] found enum `Result, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/unit/v1_core_reactive_tests.rs:237:24 [INFO] [stdout] | [INFO] [stdout] 237 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `inspect_ok` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/try_future/mod.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | / fn inspect_ok(self, f: F) -> InspectOk [INFO] [stdout] 468 | | where [INFO] [stdout] 469 | | F: FnOnce(&Self::Ok), [INFO] [stdout] 470 | | Self: Sized, [INFO] [stdout] | |____________________^ [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 237 | assert!(result.await.is_ok()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `record_network_metrics` found for struct `leptos_ws_pro::performance::PerformanceManager` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:491:26 [INFO] [stdout] | [INFO] [stdout] 491 | perf_manager.record_network_metrics(packet_loss, Duration::from_millis(100 + i)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `record_metric` with a similar name, but with different arguments [INFO] [stdout] --> src/performance/manager.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn record_metric(&self, name: &str, value: f64, tags: Option>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> tests/unit/v1_core_reactive_tests.rs:243:28 [INFO] [stdout] | [INFO] [stdout] 243 | assert!(result.is_ok()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `inspect_ok` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/future/try_future/mod.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | / fn inspect_ok(self, f: F) -> InspectOk [INFO] [stdout] 468 | | where [INFO] [stdout] 469 | | F: FnOnce(&Self::Ok), [INFO] [stdout] 470 | | Self: Sized, [INFO] [stdout] | |____________________^ [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 243 | assert!(result.await.is_ok()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status_signal` [INFO] [stdout] --> tests/unit/v1_core_reactive_tests.rs:506:13 [INFO] [stdout] | [INFO] [stdout] 506 | let status_signal = use_connection_status(&context); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_status_signal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metrics_signal` [INFO] [stdout] --> tests/unit/v1_core_reactive_tests.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | let metrics_signal = use_connection_metrics(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metrics_signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `presence_signal` [INFO] [stdout] --> tests/unit/v1_core_reactive_tests.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | let presence_signal = use_presence(&context); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_presence_signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos-ws-pro` (test "v1_core_reactive_tests") due to 4 previous errors; 3 warnings emitted [INFO] [stdout] error[E0599]: no method named `is_network_congested` found for struct `leptos_ws_pro::performance::PerformanceManager` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:495:41 [INFO] [stdout] | [INFO] [stdout] 495 | let is_congested = perf_manager.is_network_congested().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::PerformanceManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_transmission_strategy` found for struct `leptos_ws_pro::performance::PerformanceManager` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:499:37 [INFO] [stdout] | [INFO] [stdout] 499 | let strategy = perf_manager.get_transmission_strategy().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::PerformanceManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:526:25 [INFO] [stdout] | [INFO] [stdout] 526 | let mut cache = MessageCache::new(config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | || [INFO] [stdout] | |expected `usize`, found `MemoryPressureConfig` [INFO] [stdout] | argument #2 of type `std::time::Duration` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/performance/cache.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(max_size: usize, ttl: Duration) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 526 - let mut cache = MessageCache::new(config); [INFO] [stdout] 526 + let mut cache = MessageCache::new(/* usize */, /* std::time::Duration */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for struct `leptos_ws_pro::performance::MessageCache` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:568:19 [INFO] [stdout] | [INFO] [stdout] 568 | cache.insert(msg).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set` with a similar name, but with different arguments [INFO] [stdout] --> src/performance/cache.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn set(&self, key: String, value: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `access` found for struct `leptos_ws_pro::performance::MessageCache` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:572:15 [INFO] [stdout] | [INFO] [stdout] 572 | cache.access(1).await; // Make item 1 recently used [INFO] [stdout] | ^^^^^^ method not found in `leptos_ws_pro::performance::MessageCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `access` found for struct `leptos_ws_pro::performance::MessageCache` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:573:15 [INFO] [stdout] | [INFO] [stdout] 573 | cache.access(3).await; // Make item 3 recently used [INFO] [stdout] | ^^^^^^ method not found in `leptos_ws_pro::performance::MessageCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for struct `leptos_ws_pro::performance::MessageCache` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:584:15 [INFO] [stdout] | [INFO] [stdout] 584 | cache.insert(new_msg).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set` with a similar name, but with different arguments [INFO] [stdout] --> src/performance/cache.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn set(&self, key: String, value: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_evicted_items` found for struct `leptos_ws_pro::performance::MessageCache` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:587:35 [INFO] [stdout] | [INFO] [stdout] 587 | let evicted_items = cache.get_evicted_items().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::MessageCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:609:25 [INFO] [stdout] | [INFO] [stdout] 609 | let mut cache = MessageCache::new(config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | || [INFO] [stdout] | |expected `usize`, found `MemoryPressureConfig` [INFO] [stdout] | argument #2 of type `std::time::Duration` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/performance/cache.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(max_size: usize, ttl: Duration) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 609 - let mut cache = MessageCache::new(config); [INFO] [stdout] 609 + let mut cache = MessageCache::new(/* usize */, /* std::time::Duration */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_ttl` found for struct `leptos_ws_pro::performance::MessageCache` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:613:15 [INFO] [stdout] | [INFO] [stdout] 613 | cache.set_ttl(ttl).await; [INFO] [stdout] | ^^^^^^^ method not found in `leptos_ws_pro::performance::MessageCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for struct `leptos_ws_pro::performance::MessageCache` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:633:19 [INFO] [stdout] | [INFO] [stdout] 633 | cache.insert(msg).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set` with a similar name, but with different arguments [INFO] [stdout] --> src/performance/cache.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn set(&self, key: String, value: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_evicted_items` found for struct `leptos_ws_pro::performance::MessageCache` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:640:35 [INFO] [stdout] | [INFO] [stdout] 640 | let evicted_items = cache.get_evicted_items().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::MessageCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PerformanceConfig: From` is not satisfied [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:657:56 [INFO] [stdout] | [INFO] [stdout] 657 | let mut perf_manager = PerformanceManager::new(config); [INFO] [stdout] | ----------------------- ^^^^^^ the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] --> src/performance/manager.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | impl From for PerformanceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `leptos_ws_pro::performance::MemoryPressureConfig`, found `MemoryPressureConfig` [INFO] [stdout] = note: required for `MemoryPressureConfig` to implement `Into` [INFO] [stdout] note: required by a bound in `leptos_ws_pro::performance::PerformanceManager::new` [INFO] [stdout] --> src/performance/manager.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(config: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PerformanceManager::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:671:40 [INFO] [stdout] | [INFO] [stdout] 671 | perf_manager.cache_message(data).await; [INFO] [stdout] | ------------- ^^^^ expected `PerformanceTestData`, found a different `PerformanceTestData` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `PerformanceTestData` and `PerformanceTestData` have similar names, but are actually distinct types [INFO] [stdout] note: `PerformanceTestData` is defined in the current crate [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct PerformanceTestData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `PerformanceTestData` is defined in crate `leptos_ws_pro` [INFO] [stdout] --> src/performance/manager.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 327 | pub struct PerformanceTestData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/performance/manager.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | pub async fn cache_message(&mut self, data: PerformanceTestData) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `trigger_garbage_collection` found for struct `leptos_ws_pro::performance::PerformanceManager` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:675:30 [INFO] [stdout] | [INFO] [stdout] 675 | perf_manager.trigger_garbage_collection().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::PerformanceManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos-ws-pro` (test "advanced_features_tests") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `trigger_garbage_collection` found for struct `leptos_ws_pro::performance::PerformanceManager` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:680:22 [INFO] [stdout] | [INFO] [stdout] 680 | perf_manager.trigger_garbage_collection().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::PerformanceManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_memory_leak_report` found for struct `leptos_ws_pro::performance::PerformanceManager` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:689:40 [INFO] [stdout] | [INFO] [stdout] 689 | let leak_report = perf_manager.get_memory_leak_report().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_memory_usage` with a similar name [INFO] [stdout] | [INFO] [stdout] 689 - let leak_report = perf_manager.get_memory_leak_report().await; [INFO] [stdout] 689 + let leak_report = perf_manager.get_memory_usage().await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/optimized.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | fn start_send(mut self: Pin<&mut Self>, item: Message) -> Result<(), Self::Error> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outgoing_task` [INFO] [stdout] --> src/transport/optimized.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let outgoing_task = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outgoing_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming_task` [INFO] [stdout] --> src/transport/optimized.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let incoming_task = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/optimized.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | let mut transport = self.inner_transport.lock().await; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `start_profiling` found for struct `leptos_ws_pro::performance::PerformanceProfiler` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:718:22 [INFO] [stdout] | [INFO] [stdout] 718 | profiler.start_profiling(bottleneck_type).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::PerformanceProfiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `end_profiling` found for struct `leptos_ws_pro::performance::PerformanceProfiler` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:720:22 [INFO] [stdout] | [INFO] [stdout] 720 | profiler.end_profiling(bottleneck_type).await; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::PerformanceProfiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_detected_bottlenecks` found for struct `leptos_ws_pro::performance::PerformanceProfiler` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:724:45 [INFO] [stdout] | [INFO] [stdout] 724 | let detected_bottlenecks = profiler.get_detected_bottlenecks().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::PerformanceProfiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_slowest_component` found for struct `leptos_ws_pro::performance::PerformanceProfiler` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:728:32 [INFO] [stdout] | [INFO] [stdout] 728 | let slowest = profiler.get_slowest_component().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::PerformanceProfiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PerformanceConfig: From` is not satisfied [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:743:56 [INFO] [stdout] | [INFO] [stdout] 743 | let mut perf_manager = PerformanceManager::new(config); [INFO] [stdout] | ----------------------- ^^^^^^ the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] --> src/performance/manager.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | impl From for PerformanceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `leptos_ws_pro::performance::MemoryPressureConfig`, found `MemoryPressureConfig` [INFO] [stdout] = note: required for `MemoryPressureConfig` to implement `Into` [INFO] [stdout] note: required by a bound in `leptos_ws_pro::performance::PerformanceManager::new` [INFO] [stdout] --> src/performance/manager.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(config: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PerformanceManager::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:758:40 [INFO] [stdout] | [INFO] [stdout] 758 | perf_manager.cache_message(data).await; [INFO] [stdout] | ------------- ^^^^ expected `PerformanceTestData`, found a different `PerformanceTestData` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `PerformanceTestData` and `PerformanceTestData` have similar names, but are actually distinct types [INFO] [stdout] note: `PerformanceTestData` is defined in the current crate [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct PerformanceTestData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `PerformanceTestData` is defined in crate `leptos_ws_pro` [INFO] [stdout] --> src/performance/manager.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 327 | pub struct PerformanceTestData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/performance/manager.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | pub async fn cache_message(&mut self, data: PerformanceTestData) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/transport/sse/client.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | let client = SseClient { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/transport/sse/client.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | let client = SseClient { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `trigger_garbage_collection` found for struct `leptos_ws_pro::performance::PerformanceManager` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:761:30 [INFO] [stdout] | [INFO] [stdout] 761 | perf_manager.trigger_garbage_collection().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::PerformanceManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_performance_metrics` found for struct `leptos_ws_pro::performance::PerformanceManager` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:768:36 [INFO] [stdout] | [INFO] [stdout] 768 | let metrics = perf_manager.get_performance_metrics().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::PerformanceManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_performance_insights` found for struct `leptos_ws_pro::performance::PerformanceManager` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:779:37 [INFO] [stdout] | [INFO] [stdout] 779 | let insights = perf_manager.get_performance_insights().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::PerformanceManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_performance_trends` found for struct `leptos_ws_pro::performance::PerformanceManager` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:783:35 [INFO] [stdout] | [INFO] [stdout] 783 | let trends = perf_manager.get_performance_trends().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::PerformanceManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PerformanceConfig: From` is not satisfied [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:797:56 [INFO] [stdout] | [INFO] [stdout] 797 | let mut perf_manager = PerformanceManager::new(config); [INFO] [stdout] | ----------------------- ^^^^^^ the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] --> src/performance/manager.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | impl From for PerformanceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for that trait implementation, expected `leptos_ws_pro::performance::MemoryPressureConfig`, found `MemoryPressureConfig` [INFO] [stdout] = note: required for `MemoryPressureConfig` to implement `Into` [INFO] [stdout] note: required by a bound in `leptos_ws_pro::performance::PerformanceManager::new` [INFO] [stdout] --> src/performance/manager.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(config: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `PerformanceManager::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/transport/sse/connection.rs:440:34 [INFO] [stdout] | [INFO] [stdout] 440 | async fn send_message(&self, message: &Message) -> Result<(), TransportError> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:802:59 [INFO] [stdout] | [INFO] [stdout] 802 | perf_manager.set_alert_threshold("response_time", Duration::from_millis(1000)).await; [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `f64`, found `Duration` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/performance/manager.rs:280:18 [INFO] [stdout] | [INFO] [stdout] 280 | pub async fn set_alert_threshold(&mut self, _metric: &str, _threshold: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:815:40 [INFO] [stdout] | [INFO] [stdout] 815 | perf_manager.cache_message(data).await; [INFO] [stdout] | ------------- ^^^^ expected `PerformanceTestData`, found a different `PerformanceTestData` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `PerformanceTestData` and `PerformanceTestData` have similar names, but are actually distinct types [INFO] [stdout] note: `PerformanceTestData` is defined in the current crate [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | struct PerformanceTestData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `PerformanceTestData` is defined in crate `leptos_ws_pro` [INFO] [stdout] --> src/performance/manager.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 327 | pub struct PerformanceTestData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/performance/manager.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | pub async fn cache_message(&mut self, data: PerformanceTestData) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `metric` on type `&&String` [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:824:35 [INFO] [stdout] | [INFO] [stdout] 824 | .filter(|alert| alert.metric == "memory_usage") [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `value` on type `&&String` [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:830:23 [INFO] [stdout] | [INFO] [stdout] 830 | assert!(alert.value > 0.9); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `severity` on type `&&String` [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:831:23 [INFO] [stdout] | [INFO] [stdout] 831 | assert!(alert.severity == "high"); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `message` on type `&&String` [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:832:24 [INFO] [stdout] | [INFO] [stdout] 832 | assert!(!alert.message.is_empty()); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0369, E0411, E0428, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos-ws-pro` (test "performance_edge_cases_tdd_tests") due to 109 previous errors; 5 warnings emitted [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> src/transport/websocket/wasm.rs:405:22 [INFO] [stdout] | [INFO] [stdout] 405 | let (sender, receiver) = mpsc::unbounded_channel::(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/transport/webtransport/core.rs:123:52 [INFO] [stdout] | [INFO] [stdout] 123 | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/webtransport/transport_impl.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let mut connection = WebTransportConnection::new(config).await.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_retry_attempts`, `base_retry_delay`, `max_retry_delay`, and `jitter_enabled` are never read [INFO] [stdout] --> src/error_handling/recovery.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ErrorRecoveryHandler { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 25 | max_retry_attempts: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | base_retry_delay: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | max_retry_delay: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | jitter_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error_counts` is never read [INFO] [stdout] --> src/error_handling/recovery.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ErrorReporter { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 50 | error_counts: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `access_count` is never read [INFO] [stdout] --> src/performance/cache.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 88 | struct CacheEntry { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 92 | access_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CacheEntry` 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: fields `value`, `timestamp`, and `tags` are never read [INFO] [stdout] --> src/performance/metrics.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | struct MetricValue { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 63 | value: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | timestamp: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 65 | tags: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetricValue` 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: fields `message_filter`, `ws_connection`, `ws_sink`, and `ws_stream` are never read [INFO] [stdout] --> src/reactive/websocket.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct WebSocketContext { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | message_filter: Arc bool + Send + Sync>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | ws_connection: Arc< [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | ws_sink: Arc< [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | ws_stream: Arc< [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebSocketContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `transport` and `response_receiver` are never read [INFO] [stdout] --> src/rpc/advanced.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct BidirectionalRpcClient { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 134 | transport: T, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | response_receiver: mpsc::UnboundedReceiver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message_sender`, `response_receiver`, and `codec` are never read [INFO] [stdout] --> src/rpc/client.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct RpcClient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | message_sender: mpsc::UnboundedSender, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 29 | response_receiver: Arc>>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | codec: JsonCodec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wait_for_response` is never used [INFO] [stdout] --> src/rpc/client.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 36 | / impl RpcClient [INFO] [stdout] 37 | | where [INFO] [stdout] 38 | | T: serde::Serialize + for<'de> serde::Deserialize<'de> + Send + Sync + 'static, [INFO] [stdout] | |___________________________________________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | async fn wait_for_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `jwt_secret` and `sessions` are never read [INFO] [stdout] --> src/security/authenticator.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Authenticator { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 12 | jwt_secret: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | sessions: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `incoming_channel`, `outgoing_channel`, and `middleware_task` are never read [INFO] [stdout] --> src/transport/optimized.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct OptimizedTransport { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | incoming_channel: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | outgoing_channel: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | middleware_task: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/transport/sse/client.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SseClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 24 | config: TransportConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/transport/sse/connection.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SseConnection { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 24 | config: TransportConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event_sender` and `event_receiver` are never read [INFO] [stdout] --> src/transport/webtransport/core.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct WebTransportConnection { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub(super) event_sender: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | pub(super) event_receiver: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_message_stream` is never used [INFO] [stdout] --> src/transport/webtransport/transport_impl.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 108 | impl WebTransportConnection { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | fn create_message_stream(&self) -> Pin> + Send + Unpin>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `congestion_control` is never read [INFO] [stdout] --> src/transport/webtransport/stream.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AdvancedWebTransportStream { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | congestion_control: CongestionControl, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdvancedWebTransportStream` 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 `message_size` is never read [INFO] [stdout] --> src/zero_copy/benchmark.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ZeroCopyBenchmark { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 9 | iterations: usize, [INFO] [stdout] 10 | message_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message_type` is never read [INFO] [stdout] --> src/zero_copy/buffer.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | struct MessagePosition { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | message_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessagePosition` 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: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/rpc/types.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | async fn handle_request(&self, request: RpcRequest) -> Result, RpcError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 92 - async fn handle_request(&self, request: RpcRequest) -> Result, RpcError>; [INFO] [stdout] 92 + fn handle_request(&self, request: RpcRequest) -> impl std::future::Future, RpcError>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos-ws-pro` (lib test); 45 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/dec9417b8611e34e787a3e4c37686b5131f9e5c5/bin/rustc --crate-name leptos_ws_pro --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="axum"' --cfg 'feature="client"' --cfg 'feature="compression"' --cfg 'feature="default"' --cfg 'feature="gloo-net"' --cfg 'feature="metrics"' --cfg 'feature="reqwest"' --cfg 'feature="server"' --cfg 'feature="web-sys"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("actix", "adaptive", "advanced-rpc", "auth", "axum", "client", "collaboration", "compression", "crossbeam-channel", "dashmap", "default", "dev", "encryption", "gloo-net", "islands", "metrics", "reqwest", "server", "simd", "sse", "ssr", "testing", "tracing", "warp", "wasm", "web-sys", "websocket", "webtransport", "zero-copy"))' -C metadata=d48f804b746e1837 -C extra-filename=-ccbd6b7c8c5b45cc --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-f73e2280a9488582.so --extern axum=/opt/rustwide/target/debug/deps/libaxum-5502f1252085bf09.rlib --extern base64=/opt/rustwide/target/debug/deps/libbase64-2a03de3babadded3.rlib --extern chrono=/opt/rustwide/target/debug/deps/libchrono-ac584d1bc8c3e3d1.rlib --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-d2b84a12f01aa64e.rlib --extern flate2=/opt/rustwide/target/debug/deps/libflate2-fe0a69b213a61f9f.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-7b611dfcde3d2f01.rlib --extern futures_util=/opt/rustwide/target/debug/deps/libfutures_util-1c7a11712d94f33e.rlib --extern gloo_net=/opt/rustwide/target/debug/deps/libgloo_net-cdaeb64f9df97cc0.rlib --extern jsonschema=/opt/rustwide/target/debug/deps/libjsonschema-2c2d7a1f7ceb8592.rlib --extern leptos=/opt/rustwide/target/debug/deps/libleptos-012a62e6766439e8.rlib --extern leptos_use=/opt/rustwide/target/debug/deps/libleptos_use-8b0b2229b5842346.rlib --extern metrics=/opt/rustwide/target/debug/deps/libmetrics-315fe8e54e278cbb.rlib --extern metrics_exporter_prometheus=/opt/rustwide/target/debug/deps/libmetrics_exporter_prometheus-4ad8c73bcb22ec1c.rlib --extern num_bigint=/opt/rustwide/target/debug/deps/libnum_bigint-696238a1d63ef1dd.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-bf46641d5efdad5f.rlib --extern reactive_graph=/opt/rustwide/target/debug/deps/libreactive_graph-6d5a62c8eeef879c.rlib --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-a06992ed627aac14.rlib --extern rkyv=/opt/rustwide/target/debug/deps/librkyv-0f0771f0864c1431.rlib --extern rkyv_dyn=/opt/rustwide/target/debug/deps/librkyv_dyn-eb0ca15457101659.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-0c6ae72382f460f9.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-47b18a2f343c2847.rlib --extern serde_yaml=/opt/rustwide/target/debug/deps/libserde_yaml-a1c21ada89cec254.rlib --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-397557d5143e4ffc.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-466fd6f1088d83c5.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-30361fa9ed5d8021.rlib --extern tokio_tungstenite=/opt/rustwide/target/debug/deps/libtokio_tungstenite-93b2f46815c03ce4.rlib --extern tower=/opt/rustwide/target/debug/deps/libtower-0c0d6df1d3b09a8a.rlib --extern tower_http=/opt/rustwide/target/debug/deps/libtower_http-b4d70e2855de99e1.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-f236b3fc64b5f5d4.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-925515463ce584aa.rlib --extern web_sys=/opt/rustwide/target/debug/deps/libweb_sys-b7d65cfe4f2b1a37.rlib --extern zstd=/opt/rustwide/target/debug/deps/libzstd-e5ef23cf2461b79a.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/aws-lc-sys-10f2948bfe850290/out -L native=/opt/rustwide/target/debug/build/zstd-sys-7970eb2a0b96ee34/out` (signal: 9, SIGKILL: kill) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcj8Elys/symbols.o" "<7 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libleptos_ws_pro-42c9e3445a0d804f,libflate2-fe0a69b213a61f9f,libminiz_oxide-e4013219f60284e8,libadler2-6c84652b4f76062c,libcrc32fast-6a1b2c0aa5421d05,libmetrics-315fe8e54e278cbb,libahash-55b8f60897dd5b8d,librkyv-0f0771f0864c1431,librend-9cb633a376db3810,libhashbrown-d806b33aeb5352b9,libahash-e7fc817ad64fdc30,libgetrandom-c36acb5f9f4a0671,libseahash-c7c9833d5abc2ba8,libbytecheck-af906807cfc7f13e,libsimdutf8-303f9ada2e9da805,libptr_meta-5cade389cd37f7ae,libaxum-5502f1252085bf09,libserde_path_to_error-5764fd3967d2024f,libmatchit-9957f6fb3fe31ab2,libaxum_core-7c5c318689f6dcc6,libreqwest-a06992ed627aac14,librustls_pki_types-79b15f25d8c35cfa,libzeroize-ead98f074a37f829,libhyper_tls-37acac52a89f32dd,libtokio_native_tls-7be480646a18a156,libserde_urlencoded-dd3d38784b89b004,libmime-4b44681fdb2c65f7,libencoding_rs-07896acb54c23c26,libtower_http-b4d70e2855de99e1,libiri_string-a380f51e5b0b7b73,libtower-0c0d6df1d3b09a8a,libtower_layer-d70c7e404336389b,libnative_tls-7ce8f3cce5af33ea,libopenssl_probe-cbab9b905ab83f66,libopenssl-d3dfcd37f4212b29,libbitflags-c9a8c3feded120fa,libforeign_types-5fe497e04623184e,libforeign_types_shared-1d09a6084921ca40,libopenssl_sys-1908812ab23be75b,libhyper_util-7bba9abadbf6b7c8,libipnet-9aae67a4e846df6d,libtower_service-0d7df29686b13872,libhyper-e3a08eb96d2cda76,libwant-7ab32758a94a943e,libtry_lock-aabba5e3d97e6b57,libh2-b27b20d01705b472,libtracing-f236b3fc64b5f5d4,libtracing_core-e88fd22da97e6ef2,libatomic_waker-001109810bdecbaa,libhttpdate-9f9d2502c6a38412,libtokio_util-6766857bf42c17be,libhttp_body_util-67dd3ebadf32b4c0,libhttp_body-eab26e8a1c030c72,libsync_wrapper-a3845461b7db14a0,libuuid-925515463ce584aa,libtokio_tungstenite-93b2f46815c03ce4,libtungstenite-3e5465d0cbe4cf85,libdata_encoding-6d465a39edfa29f6,librand-bf46641d5efdad5f,librand_chacha-ead2a182fd2aebf7,libppv_lite86-3867723ba037d499,libzerocopy-8803f98d6bf4849f,librand_core-0eb758994dadb8a9,libgetrandom-5e3b67b62e3928af,libutf8-d75228722519eff6,libsha1-4546a7a5e323ee10,libcpufeatures-471354fefbcaf2d8,libdigest-d00e17c88687add0,libblock_buffer-0abdecfa792a1d4b,libcrypto_common-1b66ed4c2d952a50,libgeneric_array-d618d7b08b63988c,libtypenum-2d2373cb6e0ea7a0,libhttparse-4b1ed73b760072b9,liblog-45f74354a8b36c20,libtokio-30361fa9ed5d8021,libsignal_hook_registry-e9092c65049486f7,libsocket2-5448933ccef37b2b,libmio-6957fbc838f8f5b2,libleptos-012a62e6766439e8,libleptos_hot_reload-84a9c34b16d3d454,librstml-ee778d0cae7ba16d,libproc_macro2_diagnostics-ae93dd2ef0213c32,libwalkdir-a3e1a79fd47b5b12,libsame_file-1ceb7b6153588b15,libsyn-b537eaafd4595757,libquote-9515adc646fc8779,libproc_macro2-19a40008edb4cede,libcamino-68e8bf560a761f99,libanyhow-f5d9587881498008}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libproc_macro-*,librustc_literal_escaper-*}.rlib" "/opt/rustwide/target/debug/deps/{libwasm_split_helpers-73c52248b0620854,libasync_once_cell-4ac6e4186d93c2ac,libleptos_server-2c4ccdbbc364917e,libcodee-336a4e4157fc0d70,libserver_fn-2917caa9900ea5af,libserde_qs-5634b24a5829d555,libxxhash_rust-2d0b66d69d8332bb,libconst_str-55a766c1a26248cd,libconst_format-d2f8d21bbe948ad6,libwasm_streams-e2818d36b3d33624,liburl-a1a7838c6965dd18,libidna-5ac6a271e1250173,libutf8_iter-0d9be7b316c2b184,libidna_adapter-adc2198ac910f01c,libicu_properties-8a4bbd54fb09d1d9,libicu_properties_data-be64ae96cf57ee64,libicu_normalizer-7e110098003f17ae,libicu_normalizer_data-f5259d77029e31c4,libicu_collections-1d86439314c3b83e,libpotential_utf-f72676abd1e6c65e,libicu_provider-ec1307ed4b633e7d,libicu_locale_core-824325567dc13c69,libtinystr-6e3422348a72e3c1,liblitemap-aaec3d88bc2b9505,libwriteable-1fc78dfe07ba1099,libzerovec-f2a6284277bcbd33,libzerotrie-c839dcdedb94fa7a,libyoke-8c6b2c7156a75bb0,libstable_deref_trait-e5f295e98f1b80b2,libzerofrom-7ca677e52fc93997,libform_urlencoded-b57e943dc1db8475,libpercent_encoding-c53c37e60dd2727e,libbase64-2a03de3babadded3,libgloo_net-cdaeb64f9df97cc0,libhttp-b47bc680ed14946e,libfnv-2d77ec4f6f971b24,libpin_project-904dc5ab6b9b0541,libthiserror-130f4d86a1932cc0,libgloo_utils-8e7331e2c65f98b2,libserde_json-47b18a2f343c2847,libitoa-6b76ec393d6a2c41,libryu-0ea4bafc9bef6d8b,libbytes-bfe11088fe358bd1,libleptos_dom-48dd2a7c59343f92,libleptos_config-0df2df4ea8fba393,libtyped_builder-d72d182fb2049b2c,libregex-c18370d4eb1c41db,libregex_automata-10509f0b97ee3911,libaho_corasick-418b505fef5c6941,libregex_syntax-46a265ba7a2fe258,libconfig-7fc9805bc7641397,libpathdiff-3b9982cd4c9b7139,libtoml-3abf0ff5156e209d,libtoml_parser-b166d8f691e6b02f,libserde_spanned-f3ed1ed0bb64afc2,libtoml_datetime-999de06b3629132c,libwinnow-42c9962481bcceab,libconvert_case-9ba3bad42e1d2ab3,libunicode_segmentation-ff3f1aa3aad6e639,libtachys-9f1bb99639ec1d4c,libnext_tuple-df1021174f854f64,libhtml_escape-65492692c3ac9e69,libutf8_width-374686a5ee60ad8b,liberased-b89f894b44e7122f,libreactive_stores-82ca194262e79217,libdashmap-b823a2929fb26826,libhashbrown-5d9404f16ad26a3c,libcrossbeam_utils-bddddcad4a4551ea,liboco_ref-04a46696bb83f255,libdrain_filter_polyfill-15b6649f18c90636,libitertools-bb9dfc9f1c5526ce,libeither-ef22a4c75605e12f,libeither_of-011d82f5664d74b0,libparking_lot-aaf2af72d641d538,libparking_lot_core-f920c57c3b31f11b,libsmallvec-5854932b8c8b4991,liblock_api-edfa5fe2846e5bf9,libscopeguard-d52bd00767847e44,liblinear_map-4e56c30b106c3d59,libconst_str_slice_concat-64b559d476ab6e8c,libweb_sys-b7d65cfe4f2b1a37,libreactive_graph-6d5a62c8eeef879c,libguardian-ad864054e72d8116,libhydration_context-60c54bb77dda4cb9,libserde-0c6ae72382f460f9,libthrow_error-bacfbc12008c796f,libindexmap-95d2d0f0c87509db,libequivalent-7e0e8cbe6c474a67,libhashbrown-a2c88f9eac2151c5,libfoldhash-a84df4cbe8daa3b8,librustc_hash-d7c9c021d0487117,libslotmap-12cb805836f8aa67,libor_poisoned-0c129a9717782469,libasync_lock-462b83aa27219537,libevent_listener_strategy-cdc2f5c417c1afbc,libevent_listener-93fdee3ca933e80a,libparking-49fcf10303d3525f,libsend_wrapper-e5b5d67f40fdede1,libany_spawner-1d580afb4299ae27,libwasm_bindgen_futures-5b85bbfbf069325d,libjs_sys-84fedbc760dbc291,libwasm_bindgen-df290850ed1ce020,libonce_cell-0ba6aecba7086d38,libwasm_bindgen_shared-71ecf2c4bc93962d,libunicode_ident-549afb6be76d59d6,libcfg_if-666d36e5ee0df220,libfutures-7b611dfcde3d2f01,libfutures_executor-b3074022caa8d2c3,libnum_cpus-59d7ffaaaf22a0f7,liblibc-7d0f03b2bc1af056,libfutures_util-1c7a11712d94f33e,libmemchr-6f5829dadd40eda8,libfutures_io-3e19596c076de665,libslab-8c0cbfb396425d81,libfutures_channel-c679acf38b3b9ea3,libpin_project_lite-bedc6e0acd72ff2a,libfutures_sink-be8442ee548d90f9,libfutures_task-19b3aba2be9e7ae8,libpin_utils-9a5791cba021167a,libfutures_core-fc6bb1738f00fc87,libthiserror-466fd6f1088d83c5}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustcj8Elys/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/aws-lc-sys-10f2948bfe850290/out" "-L" "/opt/rustwide/target/debug/build/zstd-sys-7970eb2a0b96ee34/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/v1_core_codec_tests-21da6a8af4800e5b" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos-ws-pro` (test "v1_core_codec_tests") due to 1 previous error; 1 warning emitted [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcsleBrK/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libleptos_ws_pro-42c9e3445a0d804f,libflate2-fe0a69b213a61f9f,libminiz_oxide-e4013219f60284e8,libadler2-6c84652b4f76062c,libcrc32fast-6a1b2c0aa5421d05,libmetrics-315fe8e54e278cbb,libahash-55b8f60897dd5b8d,librkyv-0f0771f0864c1431,librend-9cb633a376db3810,libhashbrown-d806b33aeb5352b9,libahash-e7fc817ad64fdc30,libgetrandom-c36acb5f9f4a0671,libseahash-c7c9833d5abc2ba8,libbytecheck-af906807cfc7f13e,libsimdutf8-303f9ada2e9da805,libptr_meta-5cade389cd37f7ae,libaxum-5502f1252085bf09,libserde_path_to_error-5764fd3967d2024f,libmatchit-9957f6fb3fe31ab2,libaxum_core-7c5c318689f6dcc6,libreqwest-a06992ed627aac14,librustls_pki_types-79b15f25d8c35cfa,libzeroize-ead98f074a37f829,libhyper_tls-37acac52a89f32dd,libtokio_native_tls-7be480646a18a156,libserde_urlencoded-dd3d38784b89b004,libmime-4b44681fdb2c65f7,libencoding_rs-07896acb54c23c26,libtower_http-b4d70e2855de99e1,libiri_string-a380f51e5b0b7b73,libtower-0c0d6df1d3b09a8a,libtower_layer-d70c7e404336389b,libnative_tls-7ce8f3cce5af33ea,libopenssl_probe-cbab9b905ab83f66,libopenssl-d3dfcd37f4212b29,libbitflags-c9a8c3feded120fa,libforeign_types-5fe497e04623184e,libforeign_types_shared-1d09a6084921ca40,libopenssl_sys-1908812ab23be75b,libhyper_util-7bba9abadbf6b7c8,libipnet-9aae67a4e846df6d,libtower_service-0d7df29686b13872,libhyper-e3a08eb96d2cda76,libwant-7ab32758a94a943e,libtry_lock-aabba5e3d97e6b57,libh2-b27b20d01705b472,libtracing-f236b3fc64b5f5d4,libtracing_core-e88fd22da97e6ef2,libatomic_waker-001109810bdecbaa,libhttpdate-9f9d2502c6a38412,libtokio_util-6766857bf42c17be,libhttp_body_util-67dd3ebadf32b4c0,libhttp_body-eab26e8a1c030c72,libsync_wrapper-a3845461b7db14a0,libuuid-925515463ce584aa,libtokio_tungstenite-93b2f46815c03ce4,libtungstenite-3e5465d0cbe4cf85,libdata_encoding-6d465a39edfa29f6,librand-bf46641d5efdad5f,librand_chacha-ead2a182fd2aebf7,libppv_lite86-3867723ba037d499,libzerocopy-8803f98d6bf4849f,librand_core-0eb758994dadb8a9,libgetrandom-5e3b67b62e3928af,libutf8-d75228722519eff6,libsha1-4546a7a5e323ee10,libcpufeatures-471354fefbcaf2d8,libdigest-d00e17c88687add0,libblock_buffer-0abdecfa792a1d4b,libcrypto_common-1b66ed4c2d952a50,libgeneric_array-d618d7b08b63988c,libtypenum-2d2373cb6e0ea7a0,libhttparse-4b1ed73b760072b9,liblog-45f74354a8b36c20,libtokio-30361fa9ed5d8021,libsignal_hook_registry-e9092c65049486f7,libsocket2-5448933ccef37b2b,libmio-6957fbc838f8f5b2,libleptos-012a62e6766439e8,libleptos_hot_reload-84a9c34b16d3d454,librstml-ee778d0cae7ba16d,libproc_macro2_diagnostics-ae93dd2ef0213c32,libwalkdir-a3e1a79fd47b5b12,libsame_file-1ceb7b6153588b15,libsyn-b537eaafd4595757,libquote-9515adc646fc8779,libproc_macro2-19a40008edb4cede,libcamino-68e8bf560a761f99,libanyhow-f5d9587881498008}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libproc_macro-*,librustc_literal_escaper-*}.rlib" "/opt/rustwide/target/debug/deps/{libwasm_split_helpers-73c52248b0620854,libasync_once_cell-4ac6e4186d93c2ac,libleptos_server-2c4ccdbbc364917e,libcodee-336a4e4157fc0d70,libserver_fn-2917caa9900ea5af,libserde_qs-5634b24a5829d555,libxxhash_rust-2d0b66d69d8332bb,libconst_str-55a766c1a26248cd,libconst_format-d2f8d21bbe948ad6,libwasm_streams-e2818d36b3d33624,liburl-a1a7838c6965dd18,libidna-5ac6a271e1250173,libutf8_iter-0d9be7b316c2b184,libidna_adapter-adc2198ac910f01c,libicu_properties-8a4bbd54fb09d1d9,libicu_properties_data-be64ae96cf57ee64,libicu_normalizer-7e110098003f17ae,libicu_normalizer_data-f5259d77029e31c4,libicu_collections-1d86439314c3b83e,libpotential_utf-f72676abd1e6c65e,libicu_provider-ec1307ed4b633e7d,libicu_locale_core-824325567dc13c69,libtinystr-6e3422348a72e3c1,liblitemap-aaec3d88bc2b9505,libwriteable-1fc78dfe07ba1099,libzerovec-f2a6284277bcbd33,libzerotrie-c839dcdedb94fa7a,libyoke-8c6b2c7156a75bb0,libstable_deref_trait-e5f295e98f1b80b2,libzerofrom-7ca677e52fc93997,libform_urlencoded-b57e943dc1db8475,libpercent_encoding-c53c37e60dd2727e,libbase64-2a03de3babadded3,libgloo_net-cdaeb64f9df97cc0,libhttp-b47bc680ed14946e,libfnv-2d77ec4f6f971b24,libpin_project-904dc5ab6b9b0541,libthiserror-130f4d86a1932cc0,libgloo_utils-8e7331e2c65f98b2,libserde_json-47b18a2f343c2847,libitoa-6b76ec393d6a2c41,libryu-0ea4bafc9bef6d8b,libbytes-bfe11088fe358bd1,libleptos_dom-48dd2a7c59343f92,libleptos_config-0df2df4ea8fba393,libtyped_builder-d72d182fb2049b2c,libregex-c18370d4eb1c41db,libregex_automata-10509f0b97ee3911,libaho_corasick-418b505fef5c6941,libregex_syntax-46a265ba7a2fe258,libconfig-7fc9805bc7641397,libpathdiff-3b9982cd4c9b7139,libtoml-3abf0ff5156e209d,libtoml_parser-b166d8f691e6b02f,libserde_spanned-f3ed1ed0bb64afc2,libtoml_datetime-999de06b3629132c,libwinnow-42c9962481bcceab,libconvert_case-9ba3bad42e1d2ab3,libunicode_segmentation-ff3f1aa3aad6e639,libtachys-9f1bb99639ec1d4c,libnext_tuple-df1021174f854f64,libhtml_escape-65492692c3ac9e69,libutf8_width-374686a5ee60ad8b,liberased-b89f894b44e7122f,libreactive_stores-82ca194262e79217,libdashmap-b823a2929fb26826,libhashbrown-5d9404f16ad26a3c,libcrossbeam_utils-bddddcad4a4551ea,liboco_ref-04a46696bb83f255,libdrain_filter_polyfill-15b6649f18c90636,libitertools-bb9dfc9f1c5526ce,libeither-ef22a4c75605e12f,libeither_of-011d82f5664d74b0,libparking_lot-aaf2af72d641d538,libparking_lot_core-f920c57c3b31f11b,libsmallvec-5854932b8c8b4991,liblock_api-edfa5fe2846e5bf9,libscopeguard-d52bd00767847e44,liblinear_map-4e56c30b106c3d59,libconst_str_slice_concat-64b559d476ab6e8c,libweb_sys-b7d65cfe4f2b1a37,libreactive_graph-6d5a62c8eeef879c,libguardian-ad864054e72d8116,libhydration_context-60c54bb77dda4cb9,libserde-0c6ae72382f460f9,libthrow_error-bacfbc12008c796f,libindexmap-95d2d0f0c87509db,libequivalent-7e0e8cbe6c474a67,libhashbrown-a2c88f9eac2151c5,libfoldhash-a84df4cbe8daa3b8,librustc_hash-d7c9c021d0487117,libslotmap-12cb805836f8aa67,libor_poisoned-0c129a9717782469,libasync_lock-462b83aa27219537,libevent_listener_strategy-cdc2f5c417c1afbc,libevent_listener-93fdee3ca933e80a,libparking-49fcf10303d3525f,libsend_wrapper-e5b5d67f40fdede1,libany_spawner-1d580afb4299ae27,libwasm_bindgen_futures-5b85bbfbf069325d,libjs_sys-84fedbc760dbc291,libwasm_bindgen-df290850ed1ce020,libonce_cell-0ba6aecba7086d38,libwasm_bindgen_shared-71ecf2c4bc93962d,libunicode_ident-549afb6be76d59d6,libcfg_if-666d36e5ee0df220,libfutures-7b611dfcde3d2f01,libfutures_executor-b3074022caa8d2c3,libnum_cpus-59d7ffaaaf22a0f7,liblibc-7d0f03b2bc1af056,libfutures_util-1c7a11712d94f33e,libmemchr-6f5829dadd40eda8,libfutures_io-3e19596c076de665,libslab-8c0cbfb396425d81,libfutures_channel-c679acf38b3b9ea3,libpin_project_lite-bedc6e0acd72ff2a,libfutures_sink-be8442ee548d90f9,libfutures_task-19b3aba2be9e7ae8,libpin_utils-9a5791cba021167a,libfutures_core-fc6bb1738f00fc87,libthiserror-466fd6f1088d83c5}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustcsleBrK/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/aws-lc-sys-10f2948bfe850290/out" "-L" "/opt/rustwide/target/debug/build/zstd-sys-7970eb2a0b96ee34/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/simple_error_recovery_tests-3f410ba3b8e8736b" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos-ws-pro` (test "simple_error_recovery_tests") due to 1 previous error; 4 warnings emitted [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/rustc68aUjd/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libleptos_ws_pro-42c9e3445a0d804f,libflate2-fe0a69b213a61f9f,libminiz_oxide-e4013219f60284e8,libadler2-6c84652b4f76062c,libcrc32fast-6a1b2c0aa5421d05,libmetrics-315fe8e54e278cbb,libahash-55b8f60897dd5b8d,librkyv-0f0771f0864c1431,librend-9cb633a376db3810,libhashbrown-d806b33aeb5352b9,libahash-e7fc817ad64fdc30,libgetrandom-c36acb5f9f4a0671,libseahash-c7c9833d5abc2ba8,libbytecheck-af906807cfc7f13e,libsimdutf8-303f9ada2e9da805,libptr_meta-5cade389cd37f7ae,libaxum-5502f1252085bf09,libserde_path_to_error-5764fd3967d2024f,libmatchit-9957f6fb3fe31ab2,libaxum_core-7c5c318689f6dcc6,libreqwest-a06992ed627aac14,librustls_pki_types-79b15f25d8c35cfa,libzeroize-ead98f074a37f829,libhyper_tls-37acac52a89f32dd,libtokio_native_tls-7be480646a18a156,libserde_urlencoded-dd3d38784b89b004,libmime-4b44681fdb2c65f7,libencoding_rs-07896acb54c23c26,libtower_http-b4d70e2855de99e1,libiri_string-a380f51e5b0b7b73,libtower-0c0d6df1d3b09a8a,libtower_layer-d70c7e404336389b,libnative_tls-7ce8f3cce5af33ea,libopenssl_probe-cbab9b905ab83f66,libopenssl-d3dfcd37f4212b29,libbitflags-c9a8c3feded120fa,libforeign_types-5fe497e04623184e,libforeign_types_shared-1d09a6084921ca40,libopenssl_sys-1908812ab23be75b,libhyper_util-7bba9abadbf6b7c8,libipnet-9aae67a4e846df6d,libtower_service-0d7df29686b13872,libhyper-e3a08eb96d2cda76,libwant-7ab32758a94a943e,libtry_lock-aabba5e3d97e6b57,libh2-b27b20d01705b472,libtracing-f236b3fc64b5f5d4,libtracing_core-e88fd22da97e6ef2,libatomic_waker-001109810bdecbaa,libhttpdate-9f9d2502c6a38412,libtokio_util-6766857bf42c17be,libhttp_body_util-67dd3ebadf32b4c0,libhttp_body-eab26e8a1c030c72,libsync_wrapper-a3845461b7db14a0,libuuid-925515463ce584aa,libtokio_tungstenite-93b2f46815c03ce4,libtungstenite-3e5465d0cbe4cf85,libdata_encoding-6d465a39edfa29f6,librand-bf46641d5efdad5f,librand_chacha-ead2a182fd2aebf7,libppv_lite86-3867723ba037d499,libzerocopy-8803f98d6bf4849f,librand_core-0eb758994dadb8a9,libgetrandom-5e3b67b62e3928af,libutf8-d75228722519eff6,libsha1-4546a7a5e323ee10,libcpufeatures-471354fefbcaf2d8,libdigest-d00e17c88687add0,libblock_buffer-0abdecfa792a1d4b,libcrypto_common-1b66ed4c2d952a50,libgeneric_array-d618d7b08b63988c,libtypenum-2d2373cb6e0ea7a0,libhttparse-4b1ed73b760072b9,liblog-45f74354a8b36c20,libtokio-30361fa9ed5d8021,libsignal_hook_registry-e9092c65049486f7,libsocket2-5448933ccef37b2b,libmio-6957fbc838f8f5b2,libleptos-012a62e6766439e8,libleptos_hot_reload-84a9c34b16d3d454,librstml-ee778d0cae7ba16d,libproc_macro2_diagnostics-ae93dd2ef0213c32,libwalkdir-a3e1a79fd47b5b12,libsame_file-1ceb7b6153588b15,libsyn-b537eaafd4595757,libquote-9515adc646fc8779,libproc_macro2-19a40008edb4cede,libcamino-68e8bf560a761f99,libanyhow-f5d9587881498008}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libproc_macro-*,librustc_literal_escaper-*}.rlib" "/opt/rustwide/target/debug/deps/{libwasm_split_helpers-73c52248b0620854,libasync_once_cell-4ac6e4186d93c2ac,libleptos_server-2c4ccdbbc364917e,libcodee-336a4e4157fc0d70,libserver_fn-2917caa9900ea5af,libserde_qs-5634b24a5829d555,libxxhash_rust-2d0b66d69d8332bb,libconst_str-55a766c1a26248cd,libconst_format-d2f8d21bbe948ad6,libwasm_streams-e2818d36b3d33624,liburl-a1a7838c6965dd18,libidna-5ac6a271e1250173,libutf8_iter-0d9be7b316c2b184,libidna_adapter-adc2198ac910f01c,libicu_properties-8a4bbd54fb09d1d9,libicu_properties_data-be64ae96cf57ee64,libicu_normalizer-7e110098003f17ae,libicu_normalizer_data-f5259d77029e31c4,libicu_collections-1d86439314c3b83e,libpotential_utf-f72676abd1e6c65e,libicu_provider-ec1307ed4b633e7d,libicu_locale_core-824325567dc13c69,libtinystr-6e3422348a72e3c1,liblitemap-aaec3d88bc2b9505,libwriteable-1fc78dfe07ba1099,libzerovec-f2a6284277bcbd33,libzerotrie-c839dcdedb94fa7a,libyoke-8c6b2c7156a75bb0,libstable_deref_trait-e5f295e98f1b80b2,libzerofrom-7ca677e52fc93997,libform_urlencoded-b57e943dc1db8475,libpercent_encoding-c53c37e60dd2727e,libbase64-2a03de3babadded3,libgloo_net-cdaeb64f9df97cc0,libhttp-b47bc680ed14946e,libfnv-2d77ec4f6f971b24,libpin_project-904dc5ab6b9b0541,libthiserror-130f4d86a1932cc0,libgloo_utils-8e7331e2c65f98b2,libserde_json-47b18a2f343c2847,libitoa-6b76ec393d6a2c41,libryu-0ea4bafc9bef6d8b,libbytes-bfe11088fe358bd1,libleptos_dom-48dd2a7c59343f92,libleptos_config-0df2df4ea8fba393,libtyped_builder-d72d182fb2049b2c,libregex-c18370d4eb1c41db,libregex_automata-10509f0b97ee3911,libaho_corasick-418b505fef5c6941,libregex_syntax-46a265ba7a2fe258,libconfig-7fc9805bc7641397,libpathdiff-3b9982cd4c9b7139,libtoml-3abf0ff5156e209d,libtoml_parser-b166d8f691e6b02f,libserde_spanned-f3ed1ed0bb64afc2,libtoml_datetime-999de06b3629132c,libwinnow-42c9962481bcceab,libconvert_case-9ba3bad42e1d2ab3,libunicode_segmentation-ff3f1aa3aad6e639,libtachys-9f1bb99639ec1d4c,libnext_tuple-df1021174f854f64,libhtml_escape-65492692c3ac9e69,libutf8_width-374686a5ee60ad8b,liberased-b89f894b44e7122f,libreactive_stores-82ca194262e79217,libdashmap-b823a2929fb26826,libhashbrown-5d9404f16ad26a3c,libcrossbeam_utils-bddddcad4a4551ea,liboco_ref-04a46696bb83f255,libdrain_filter_polyfill-15b6649f18c90636,libitertools-bb9dfc9f1c5526ce,libeither-ef22a4c75605e12f,libeither_of-011d82f5664d74b0,libparking_lot-aaf2af72d641d538,libparking_lot_core-f920c57c3b31f11b,libsmallvec-5854932b8c8b4991,liblock_api-edfa5fe2846e5bf9,libscopeguard-d52bd00767847e44,liblinear_map-4e56c30b106c3d59,libconst_str_slice_concat-64b559d476ab6e8c,libweb_sys-b7d65cfe4f2b1a37,libreactive_graph-6d5a62c8eeef879c,libguardian-ad864054e72d8116,libhydration_context-60c54bb77dda4cb9,libserde-0c6ae72382f460f9,libthrow_error-bacfbc12008c796f,libindexmap-95d2d0f0c87509db,libequivalent-7e0e8cbe6c474a67,libhashbrown-a2c88f9eac2151c5,libfoldhash-a84df4cbe8daa3b8,librustc_hash-d7c9c021d0487117,libslotmap-12cb805836f8aa67,libor_poisoned-0c129a9717782469,libasync_lock-462b83aa27219537,libevent_listener_strategy-cdc2f5c417c1afbc,libevent_listener-93fdee3ca933e80a,libparking-49fcf10303d3525f,libsend_wrapper-e5b5d67f40fdede1,libany_spawner-1d580afb4299ae27,libwasm_bindgen_futures-5b85bbfbf069325d,libjs_sys-84fedbc760dbc291,libwasm_bindgen-df290850ed1ce020,libonce_cell-0ba6aecba7086d38,libwasm_bindgen_shared-71ecf2c4bc93962d,libunicode_ident-549afb6be76d59d6,libcfg_if-666d36e5ee0df220,libfutures-7b611dfcde3d2f01,libfutures_executor-b3074022caa8d2c3,libnum_cpus-59d7ffaaaf22a0f7,liblibc-7d0f03b2bc1af056,libfutures_util-1c7a11712d94f33e,libmemchr-6f5829dadd40eda8,libfutures_io-3e19596c076de665,libslab-8c0cbfb396425d81,libfutures_channel-c679acf38b3b9ea3,libpin_project_lite-bedc6e0acd72ff2a,libfutures_sink-be8442ee548d90f9,libfutures_task-19b3aba2be9e7ae8,libpin_utils-9a5791cba021167a,libfutures_core-fc6bb1738f00fc87,libthiserror-466fd6f1088d83c5}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/examples/rustc68aUjd/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/aws-lc-sys-10f2948bfe850290/out" "-L" "/opt/rustwide/target/debug/build/zstd-sys-7970eb2a0b96ee34/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/websocket_basic-36bcff8b88dcdb28" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos-ws-pro` (example "websocket-basic") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c09b13aa020e1d12c69ef9589cff7ffc13fe7e91a2e9c99f38cbb274d892697b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c09b13aa020e1d12c69ef9589cff7ffc13fe7e91a2e9c99f38cbb274d892697b", kill_on_drop: false }` [INFO] [stdout] c09b13aa020e1d12c69ef9589cff7ffc13fe7e91a2e9c99f38cbb274d892697b