[INFO] fetching crate leptos-ws-pro 0.12.1... [INFO] testing leptos-ws-pro-0.12.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate leptos-ws-pro 0.12.1 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate leptos-ws-pro 0.12.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rkyv_typename v0.7.44 [INFO] [stderr] Downloaded oid-registry v0.8.1 [INFO] [stderr] Downloaded httlib-huffman v0.3.4 [INFO] [stderr] Downloaded rkyv_dyn v0.7.44 [INFO] [stderr] Downloaded quinn-udp v0.4.1 [INFO] [stderr] Downloaded wtransport-proto v0.6.1 [INFO] [stderr] Downloaded typed-builder-macro v0.21.2 [INFO] [stderr] Downloaded inventory v0.3.21 [INFO] [stderr] Downloaded jsonptr v0.7.1 [INFO] [stderr] Downloaded criterion-plot v0.6.0 [INFO] [stderr] Downloaded leptos_macro v0.8.8 [INFO] [stderr] Downloaded h3 v0.0.8 [INFO] [stderr] Downloaded config v0.15.15 [INFO] [stderr] Downloaded criterion v0.7.0 [INFO] [stderr] Downloaded raw-cpuid v11.6.0 [INFO] [stderr] Downloaded server_fn v0.8.6 [INFO] [stderr] Downloaded leptos-use v0.16.2 [INFO] [stderr] Downloaded quinn-proto v0.10.6 [INFO] [stderr] Downloaded jsonschema v0.18.3 [INFO] [stderr] Downloaded leptos v0.8.8 [INFO] [stderr] Downloaded metrics v0.24.2 [INFO] [stderr] Downloaded quinn v0.10.2 [INFO] [stderr] Downloaded wasi v0.14.4+wasi-0.2.4 [INFO] [stderr] Downloaded metrics-util v0.20.0 [INFO] [stderr] Downloaded metrics-exporter-prometheus v0.17.2 [INFO] [stderr] Downloaded json-patch v4.0.0 [INFO] [stderr] Downloaded default-struct-builder v0.5.1 [INFO] [stderr] Downloaded quanta v0.12.6 [INFO] [stderr] Downloaded ghost v0.1.20 [INFO] [stderr] Downloaded inventory-impl v0.1.11 [INFO] [stderr] Downloaded inventory v0.1.11 [INFO] [stderr] Downloaded typed-builder v0.21.2 [INFO] [stderr] Downloaded rkyv_dyn_derive v0.7.44 [INFO] [stderr] Downloaded rkyv_typename_derive v0.7.44 [INFO] [stderr] Downloaded rand_xoshiro v0.7.0 [INFO] [stderr] Downloaded sketches-ddsketch v0.3.0 [INFO] [stderr] Downloaded wtransport v0.6.1 [INFO] [stderr] Downloaded x509-parser v0.17.0 [INFO] [stderr] Downloaded octets v0.3.0 [INFO] [stderr] Downloaded eventsource-stream v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa730642d9ec7050d59fb4e9cf44e6752566a5de734e2dc42221194880be2e0f [INFO] running `Command { std: "docker" "start" "-a" "aa730642d9ec7050d59fb4e9cf44e6752566a5de734e2dc42221194880be2e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa730642d9ec7050d59fb4e9cf44e6752566a5de734e2dc42221194880be2e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa730642d9ec7050d59fb4e9cf44e6752566a5de734e2dc42221194880be2e0f", kill_on_drop: false }` [INFO] [stdout] aa730642d9ec7050d59fb4e9cf44e6752566a5de734e2dc42221194880be2e0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2ad5d6ab9f28f7a1de402a56a18c381a4b3a07c4518798dba655fab9bd50f21 [INFO] running `Command { std: "docker" "start" "-a" "f2ad5d6ab9f28f7a1de402a56a18c381a4b3a07c4518798dba655fab9bd50f21", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [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 bumpalo v3.19.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.101 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [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 fs_extra v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling cc v1.2.36 [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 reactive_graph v0.2.6 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling server_fn_macro v0.8.7 [INFO] [stderr] Compiling send_wrapper v0.6.0 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling camino v1.1.12 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling guardian v1.3.0 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling tachys v0.2.7 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling either_of v0.1.6 [INFO] [stderr] Compiling server_fn v0.8.6 [INFO] [stderr] Compiling ahash v0.7.8 [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 erased v0.1.2 [INFO] [stderr] Compiling bytecheck v0.6.12 [INFO] [stderr] Compiling manyhow-macros v0.11.4 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling const_str_slice_concat v0.1.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling linear-map v1.2.0 [INFO] [stderr] Compiling collection_literals v1.0.2 [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 next_tuple v0.1.0 [INFO] [stderr] Compiling drain_filter_polyfill v0.1.3 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling leptos_macro v0.8.8 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling const-str v0.6.4 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling rend v0.4.2 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling leptos v0.8.8 [INFO] [stderr] Compiling async-once-cell v0.5.4 [INFO] [stderr] Compiling inventory v0.1.11 [INFO] [stderr] Compiling rkyv v0.7.45 [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 leptos-use v0.16.2 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling sketches-ddsketch v0.3.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling bytecheck_derive v0.6.12 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling rkyv_derive v0.7.45 [INFO] [stderr] Compiling rkyv_typename_derive v0.7.44 [INFO] [stderr] Compiling inventory-impl v0.1.11 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling rkyv_dyn_derive v0.7.44 [INFO] [stderr] Compiling rkyv_typename v0.7.44 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling metrics-util v0.20.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.101 [INFO] [stderr] Compiling synstructure v0.13.2 [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 prettyplease v0.2.37 [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 derive-where v1.6.0 [INFO] [stderr] Compiling syn_derive v0.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling quote-use-macros v0.8.4 [INFO] [stderr] Compiling reactive_stores_macro v0.2.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.101 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling quote-use v0.8.4 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling rstml v0.12.1 [INFO] [stderr] Compiling attribute-derive-macro v0.10.3 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling server_fn_macro_default v0.8.5 [INFO] [stderr] Compiling typed-builder-macro v0.21.2 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling ghost v0.1.20 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tungstenite v0.27.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.101 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling attribute-derive v0.10.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling default-struct-builder v0.5.1 [INFO] [stderr] Compiling typed-builder v0.21.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling js-sys v0.3.78 [INFO] [stderr] Compiling wasm_split_macros v0.1.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling wasm_split_helpers v0.1.2 [INFO] [stderr] Compiling rkyv_dyn v0.7.44 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-tungstenite v0.27.0 [INFO] [stderr] Compiling hydration_context v0.3.0 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling oco_ref v0.2.1 [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 tokio-native-tls v0.3.1 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling codee v0.3.2 [INFO] [stderr] Compiling config v0.15.15 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.51 [INFO] [stderr] Compiling web-sys v0.3.78 [INFO] [stderr] Compiling any_spawner v0.3.0 [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_dom v0.8.6 [INFO] [stderr] Compiling leptos_server v0.8.5 [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)]` 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 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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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)]` 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: 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)]` 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 2m 04s [INFO] running `Command { std: "docker" "inspect" "f2ad5d6ab9f28f7a1de402a56a18c381a4b3a07c4518798dba655fab9bd50f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2ad5d6ab9f28f7a1de402a56a18c381a4b3a07c4518798dba655fab9bd50f21", kill_on_drop: false }` [INFO] [stdout] f2ad5d6ab9f28f7a1de402a56a18c381a4b3a07c4518798dba655fab9bd50f21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e20476896502dec8e0383e2782b2537de26e25b5a1a5e47a5aaa4600c59573fe [INFO] running `Command { std: "docker" "start" "-a" "e20476896502dec8e0383e2782b2537de26e25b5a1a5e47a5aaa4600c59573fe", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling metrics v0.24.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling fraction v0.15.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling metrics-util v0.20.0 [INFO] [stderr] Compiling iso8601 v0.6.3 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.17.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling default-struct-builder v0.5.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling fancy-regex v0.13.0 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling leptos_config v0.8.7 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Compiling leptos v0.8.8 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [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)]` 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 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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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)]` 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: 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: 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)]` 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: 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)]` 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 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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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)]` 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: 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: `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[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] 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeartbeatEvent` and `SseEvent` [INFO] [stdout] --> tests/unit/advanced_transport_tdd_tests.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | HeartbeatConfig, HeartbeatEvent, ReconnectionStrategy, SseConnection, SseEvent, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos_ws_pro::transport::websocket::WebSocketConnection` [INFO] [stdout] --> tests/unit/advanced_transport_tdd_tests.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use leptos_ws_pro::transport::websocket::WebSocketConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AdvancedWebTransportStream` [INFO] [stdout] --> tests/unit/advanced_transport_tdd_tests.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | AdvancedWebTransportStream, CongestionControl, OrderingMode, ReliabilityMode, StreamConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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)]` 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)]` 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] 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: `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] 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)]` 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: 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)]` 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] 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] error[E0282]: type annotations needed for `Result<(), _>` [INFO] [stdout] --> tests/contract/schema_validation_tests.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let result = Ok(()); // Mock validation [INFO] [stdout] | ^^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the type for type parameter `E` is specified [INFO] [stdout] | [INFO] [stdout] 98 | let result: Result<_, E> = Ok(()); // Mock validation [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<(), _>` [INFO] [stdout] --> tests/contract/schema_validation_tests.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let result = Ok(()); // Mock validation [INFO] [stdout] | ^^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the type for type parameter `E` is specified [INFO] [stdout] | [INFO] [stdout] 148 | let result: Result<_, E> = Ok(()); // Mock validation [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<(), _>` [INFO] [stdout] --> tests/contract/schema_validation_tests.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | let result = Ok(()); // Mock validation [INFO] [stdout] | ^^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the type for type parameter `E` is specified [INFO] [stdout] | [INFO] [stdout] 204 | let result: Result<_, E> = Ok(()); // Mock validation [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)]` 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: `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema_file` [INFO] [stdout] --> tests/contract/schema_validation_tests.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | for schema_file in &schema_files { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos-ws-pro` (test "schema_validation_tests") due to 3 previous errors; 1 warning emitted [INFO] [stdout] error[E0599]: no method named `is_ok` found for unit type `()` in the current scope [INFO] [stdout] --> tests/unit/advanced_transport_tdd_tests.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | result.is_ok(), [INFO] [stdout] | ^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] = 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] --> /opt/rustwide/workdir/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/advanced_transport_tdd_tests.rs:534:33 [INFO] [stdout] | [INFO] [stdout] 534 | .negotiate_protocol(supported_protocols.clone()) [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec`, found `Vec<&str>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec<&str>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/transport/adaptive.rs:260:18 [INFO] [stdout] | [INFO] [stdout] 260 | pub async fn negotiate_protocol( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_str` found for unit type `()` in the current scope [INFO] [stdout] --> tests/unit/advanced_transport_tdd_tests.rs:539:65 [INFO] [stdout] | [INFO] [stdout] 539 | assert!(supported_protocols.contains(&selected_protocol.as_str())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `attr` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tachys-0.2.7/src/html/attribute/custom.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | / fn attr( [INFO] [stdout] 190 | | self, [INFO] [stdout] 191 | | key: K, [INFO] [stdout] 192 | | value: V, [INFO] [stdout] 193 | | ) -> ::Output> { [INFO] [stdout] | |_______________________________________________________^ [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] error[E0599]: no method named `as_str` found for unit type `()` in the current scope [INFO] [stdout] --> tests/unit/advanced_transport_tdd_tests.rs:542:33 [INFO] [stdout] | [INFO] [stdout] 542 | match selected_protocol.as_str() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `attr` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tachys-0.2.7/src/html/attribute/custom.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | / fn attr( [INFO] [stdout] 190 | | self, [INFO] [stdout] 191 | | key: K, [INFO] [stdout] 192 | | value: V, [INFO] [stdout] 193 | | ) -> ::Output> { [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/unit/advanced_transport_tdd_tests.rs:555:61 [INFO] [stdout] | [INFO] [stdout] 555 | _ => panic!("Unexpected protocol selected: {}", selected_protocol), [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^ `()` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `()` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [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] 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] --> /opt/rustwide/workdir/src/performance/manager.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 327 | pub struct PerformanceTestData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/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 `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[E0277]: the trait bound `PerformanceConfig: From` 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] = 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] --> /opt/rustwide/workdir/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/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 `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] error[E0308]: mismatched types [INFO] [stdout] --> tests/unit/advanced_transport_tdd_tests.rs:577:45 [INFO] [stdout] | [INFO] [stdout] 577 | transport.simulate_protocol_failure(primary_protocol).await; [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^^ expected `String`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/transport/adaptive.rs:331:18 [INFO] [stdout] | [INFO] [stdout] 331 | pub async fn simulate_protocol_failure(&mut self, protocol: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 577 | transport.simulate_protocol_failure(primary_protocol.to_string()).await; [INFO] [stdout] | ++++++++++++ [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] --> /opt/rustwide/workdir/src/performance/manager.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 327 | pub struct PerformanceTestData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/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: `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)]` 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] error[E0308]: mismatched types [INFO] [stdout] --> tests/unit/advanced_transport_tdd_tests.rs:581:40 [INFO] [stdout] | [INFO] [stdout] 581 | .fallback_to_next_protocol(fallback_protocols.clone()) [INFO] [stdout] | ------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec`, found `Vec<&str>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec<&str>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/transport/adaptive.rs:338:18 [INFO] [stdout] | [INFO] [stdout] 338 | pub async fn fallback_to_next_protocol( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [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)]` on by default [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: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 "v1_core_reactive_tests") due to 4 previous errors; 3 warnings emitted [INFO] [stdout] error[E0599]: no method named `as_str` found for unit type `()` in the current scope [INFO] [stdout] --> tests/unit/advanced_transport_tdd_tests.rs:589:64 [INFO] [stdout] | [INFO] [stdout] 589 | assert!(fallback_protocols.contains(&fallback_protocol.as_str())); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `attr` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tachys-0.2.7/src/html/attribute/custom.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | / fn attr( [INFO] [stdout] 190 | | self, [INFO] [stdout] 191 | | key: K, [INFO] [stdout] 192 | | value: V, [INFO] [stdout] 193 | | ) -> ::Output> { [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/unit/advanced_transport_tdd_tests.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | assert_ne!(fallback_protocol, primary_protocol); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found `&str` [INFO] [stdout] | expected because this is `()` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_ne` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestMessage` is never constructed [INFO] [stdout] --> tests/unit/comprehensive_transport_tests.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct TestMessage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [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[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}, std::string::String>` [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: unused variable: `connection` [INFO] [stdout] --> tests/integration/webtransport_tests.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let connection = WebTransportConnection::new(config).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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] --> /opt/rustwide/workdir/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] error[E0599]: no method named `state` found for struct `leptos_ws_pro::transport::adaptive::AdaptiveTransport` in the current scope [INFO] [stdout] --> tests/unit/advanced_transport_tdd_tests.rs:593:30 [INFO] [stdout] | [INFO] [stdout] 593 | assert_eq!(transport.state(), ConnectionState::Connected); [INFO] [stdout] | ^^^^^ private field, not a method [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/transport/mod.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | fn state(&self) -> ConnectionState; [INFO] [stdout] | ----- the method is available for `leptos_ws_pro::transport::adaptive::AdaptiveTransport` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Transport` which provides `state` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 515 + use leptos_ws_pro::Transport; [INFO] [stdout] | [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 "advanced_features_tests") due to 1 previous error [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}, std::string::String>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/unit/advanced_transport_tdd_tests.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut client = WebTransportConnection::new(config).await.unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection` [INFO] [stdout] --> tests/integration/webtransport_tests.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | let connection = WebTransportConnection::new(config).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/unit/advanced_transport_tdd_tests.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let mut client = WebTransportConnection::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/advanced_transport_tdd_tests.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let mut client = WebTransportConnection::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/advanced_transport_tdd_tests.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let mut client = WebTransportConnection::new(config).await.unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `stream` [INFO] [stdout] --> tests/unit/advanced_transport_tdd_tests.rs:292:29 [INFO] [stdout] | [INFO] [stdout] 260 | let mut stream = client.create_stream(stream_config).await.unwrap(); [INFO] [stdout] | ---------- -------------------------------------------------- this reinitialization might get skipped [INFO] [stdout] | | [INFO] [stdout] | move occurs because `stream` has type `AdvancedWebTransportStream`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 266 | for j in 0..burst_size { [INFO] [stdout] | ---------------------- inside of this loop [INFO] [stdout] ... [INFO] [stdout] 275 | let task = tokio::spawn(async move { stream.send_data(&data).await }); [INFO] [stdout] | ---------- value moved here, in previous iteration of loop [INFO] [stdout] ... [INFO] [stdout] 292 | assert!(stream.average_send_rate().await < 1000.0); // Slower rate [INFO] [stdout] | ^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value before moving it into the closure [INFO] [stdout] | [INFO] [stdout] 275 ~ let value = stream.clone(); [INFO] [stdout] 276 ~ let task = tokio::spawn(async move { value.send_data(&data).await }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/unit/advanced_transport_tdd_tests.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | let mut client = SseConnection::new(config).await.unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> tests/unit/advanced_transport_tdd_tests.rs:489:23 [INFO] [stdout] | [INFO] [stdout] 489 | if let Ok(event) = client.receive_heartbeat().await { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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 `invert` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/yansi-1.0.1/src/paint.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | properties!(signature(&Self) -> Painted<&Self>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `signature` which comes from the expansion of the macro `properties` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `pool` [INFO] [stdout] --> tests/unit/advanced_transport_tdd_tests.rs:675:37 [INFO] [stdout] | [INFO] [stdout] 668 | let pool = ConnectionPool::new(pool_config).await.unwrap(); [INFO] [stdout] | ---- move occurs because `pool` has type `ConnectionPool`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 674 | for i in 0..num_requests { [INFO] [stdout] | ------------------------ inside of this loop [INFO] [stdout] 675 | let task = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ value moved here, in previous iteration of loop [INFO] [stdout] 676 | let connection = pool.get_connection().await; [INFO] [stdout] | ---- use occurs due to use in coroutine [INFO] [stdout] | [INFO] [stdout] note: if `ConnectionPool` implemented `Clone`, you could clone the value [INFO] [stdout] --> tests/unit/advanced_transport_tdd_tests.rs:760:1 [INFO] [stdout] | [INFO] [stdout] 676 | let connection = pool.get_connection().await; [INFO] [stdout] | ---- you could clone this value [INFO] [stdout] ... [INFO] [stdout] 760 | struct ConnectionPool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0382, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos-ws-pro` (test "advanced_transport_tdd_tests") due to 12 previous errors; 9 warnings emitted [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] = 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] --> /opt/rustwide/workdir/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: `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)]` on by default [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] For more information about this error, try `rustc --explain E0308`. [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] [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[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] = 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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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] 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] 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] --> /opt/rustwide/workdir/src/performance/manager.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub enum MessagePriority { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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] = 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] --> /opt/rustwide/workdir/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: the foreign item type `Result<{integer}, PerformanceError>` doesn't implement `PartialOrd<{integer}>` [INFO] [stdout] --> /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:548:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialOrd<{integer}>` [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)]` 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: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] = 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] --> /opt/rustwide/workdir/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: 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] 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] 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] 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] 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] --> /opt/rustwide/workdir/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] 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] 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] 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] 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] 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] 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] 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] 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] = 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] --> /opt/rustwide/workdir/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: 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] 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] --> /opt/rustwide/workdir/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] 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] [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] --> /opt/rustwide/workdir/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_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] --> /opt/rustwide/workdir/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 `invert` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/yansi-1.0.1/src/paint.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | properties!(signature(&Self) -> Painted<&Self>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `signature` which comes from the expansion of the macro `properties` (in Nightly builds, run with -Z macro-backtrace for more info) [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 `invert` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/yansi-1.0.1/src/paint.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | properties!(signature(&Self) -> Painted<&Self>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `signature` which comes from the expansion of the macro `properties` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> /opt/rustwide/workdir/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 `invert` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/yansi-1.0.1/src/paint.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | properties!(signature(&Self) -> Painted<&Self>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `signature` which comes from the expansion of the macro `properties` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = 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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/src/performance/manager.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 327 | pub struct PerformanceTestData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/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] [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] 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] = 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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/src/performance/manager.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 327 | pub struct PerformanceTestData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/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: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] = 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] --> /opt/rustwide/workdir/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: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] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/src/performance/manager.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 327 | pub struct PerformanceTestData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/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 `&&std::string::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 `&&std::string::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 `&&std::string::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 `&&std::string::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] [stderr] error: could not compile `leptos-ws-pro` (test "performance_edge_cases_tdd_tests") due to 109 previous errors; 5 warnings emitted [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` (lib test); 45 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.90.0-x86_64-unknown-linux-gnu/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=cc912308c8095725 -C extra-filename=-b53afee96eb6ca00 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-63b118beefe92cd2.so --extern axum=/opt/rustwide/target/debug/deps/libaxum-e70a6c16b83370b3.rlib --extern base64=/opt/rustwide/target/debug/deps/libbase64-216937815d5196b4.rlib --extern chrono=/opt/rustwide/target/debug/deps/libchrono-d93bd60ddb491290.rlib --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-af1fce3b96da70b1.rlib --extern flate2=/opt/rustwide/target/debug/deps/libflate2-0d527f5e3e0b471f.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-472382f2d5562222.rlib --extern futures_util=/opt/rustwide/target/debug/deps/libfutures_util-6d10d15d6fa96b5e.rlib --extern gloo_net=/opt/rustwide/target/debug/deps/libgloo_net-38c97ed7931c6f0c.rlib --extern jsonschema=/opt/rustwide/target/debug/deps/libjsonschema-4394be30f7743029.rlib --extern leptos=/opt/rustwide/target/debug/deps/libleptos-022dd1d31fa8f138.rlib --extern leptos_use=/opt/rustwide/target/debug/deps/libleptos_use-56189ad58e3d08dc.rlib --extern metrics=/opt/rustwide/target/debug/deps/libmetrics-da8af6b623f3a98d.rlib --extern metrics_exporter_prometheus=/opt/rustwide/target/debug/deps/libmetrics_exporter_prometheus-74889542df55fc38.rlib --extern num_bigint=/opt/rustwide/target/debug/deps/libnum_bigint-b6246a213068bc33.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-8c422e075167c4f6.rlib --extern reactive_graph=/opt/rustwide/target/debug/deps/libreactive_graph-ce858b814e62e561.rlib --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-9341f64f4c76f1bd.rlib --extern rkyv=/opt/rustwide/target/debug/deps/librkyv-b070f6bffcff818c.rlib --extern rkyv_dyn=/opt/rustwide/target/debug/deps/librkyv_dyn-0194716f0ec033d8.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-0d88d4f0f271200f.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-bad17d82aef39d6d.rlib --extern serde_yaml=/opt/rustwide/target/debug/deps/libserde_yaml-fda24683791306ec.rlib --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-292183a9d19a86b5.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-64c98e1b1d70d835.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-8f98df1e25b52c2a.rlib --extern tokio_tungstenite=/opt/rustwide/target/debug/deps/libtokio_tungstenite-7308af0e96f7c260.rlib --extern tower=/opt/rustwide/target/debug/deps/libtower-9bfc635831e5516a.rlib --extern tower_http=/opt/rustwide/target/debug/deps/libtower_http-b6c610d6a381e2e2.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-aa0bec65f35df23c.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-f536d45d35156d31.rlib --extern web_sys=/opt/rustwide/target/debug/deps/libweb_sys-846fae275fce2f98.rlib --extern zstd=/opt/rustwide/target/debug/deps/libzstd-c8f8ec7c190465bb.rlib --cap-lints=warn -L native=/opt/rustwide/target/debug/build/aws-lc-sys-5d4acf5b18c076eb/out -L native=/opt/rustwide/target/debug/build/zstd-sys-28bb2470c5b34e4f/out` (signal: 9, SIGKILL: kill) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcPAtgMS/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*}.rlib" "/opt/rustwide/target/debug/deps/{libleptos_ws_pro-f7fa432f845db514,libflate2-0d527f5e3e0b471f,libminiz_oxide-e7ff24d1b625e33f,libadler2-8cf763083e09675d,libcrc32fast-0830d1f6b2ed5997,libmetrics-da8af6b623f3a98d,libahash-2de1c482b1ac96dc,librkyv-b070f6bffcff818c,librend-c384851cb53617ce,libhashbrown-7fdd4fa2bb8e18a8,libahash-94e90fb705fefd30,libgetrandom-d15505d5fecb78a2,libseahash-5eadfe70ca2928fa,libbytecheck-b0e3997e31f7fcce,libsimdutf8-f46b92d679fbfa17,libptr_meta-adc635e19674e3c7,libaxum-e70a6c16b83370b3,libserde_path_to_error-faa4d2e72d122f7a,libmatchit-db425c39a2ec5f16,libaxum_core-41e0917e93b1e703,libreqwest-9341f64f4c76f1bd,librustls_pki_types-886d682da66cb1f6,libzeroize-f7c84155a662146a,libhyper_tls-0bf8467487554952,libtokio_native_tls-76ffa47cb3ba4228,libserde_urlencoded-f633c8f3a4aa809c,libmime-fa5c6e61475ee11e,libencoding_rs-bde0866e99208baa,libtower_http-b6c610d6a381e2e2,libiri_string-1a4c3210b3f922ab,libtower-9bfc635831e5516a,libtower_layer-387250be0616cbd3,libnative_tls-13971a298d2c980e,libopenssl_probe-43f6112dac9608f0,libopenssl-5f7c80253119dd00,libbitflags-1df175893de5cfa2,libforeign_types-71c481252011b7cf,libforeign_types_shared-e8e1fd027e7e4ad5,libopenssl_sys-7c5ebb1e6e197f06,libhyper_util-02b9d9c09b53536c,libipnet-6391c567488bc9bc,libtower_service-ffd8abe90aad1f3e,libhyper-90bef7f34630174d,libwant-f2bbaf431de89a9a,libtry_lock-61e163e8866f58c7,libh2-a6e00e8154eda122,libtracing-aa0bec65f35df23c,libtracing_core-d71d11be73f619c1,libatomic_waker-915dba4b61adf499,libhttpdate-6f35e35716ab0b1a,libtokio_util-5a3c1a366c7b933a,libhttp_body_util-2b2e0e99d7e706bf,libhttp_body-b5dea03ee7cc42a6,libsync_wrapper-448121b333e08fc9,libuuid-f536d45d35156d31,libtokio_tungstenite-7308af0e96f7c260,libtungstenite-52e47c4825f97a1d,libdata_encoding-ccc12427b5ff3680,librand-8c422e075167c4f6,librand_chacha-3930868d987acf04,libppv_lite86-fc0c944000b12295,libzerocopy-66dbd60808c8d4d9,librand_core-7a18119f15a1ad0a,libgetrandom-fcef359e95dd2c35,libutf8-86b7bfe0260f02cf,libsha1-e97b1c7c86a40bb4,libcpufeatures-057207a46b263eb1,libdigest-5a8bca8d7e7b73ce,libblock_buffer-c41afe2cd205da61,libcrypto_common-6df534d6d02dbfe1,libgeneric_array-bac9c9f4b1de042f,libtypenum-987523825771ddad,libhttparse-3484dc2af2ac521c,liblog-62f38dd377528769,libtokio-8f98df1e25b52c2a,libsignal_hook_registry-c68bf88da62b4f0a,libsocket2-d713936905f257b1,libmio-bfdd7ccf7ff682ba,libleptos-022dd1d31fa8f138,libleptos_hot_reload-1f81ba8411beda1d,librstml-bd7b8176b5855f2a,libproc_macro2_diagnostics-f295d109b08095de,libyansi-11347f515be1ec98,libwalkdir-24e572b388d37349,libsame_file-8605f03e019e0297,libsyn-2b4547e1c069c0c9,libquote-c11ee2e1c1ea2f05,libproc_macro2-c96a3c0bb4a278e7,libcamino-7c8d3eafe2495b5f,libanyhow-3184d56c79a60c84}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libproc_macro-*,librustc_literal_escaper-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libwasm_split_helpers-a1fac0ba7e36be64,libasync_once_cell-022dbc9dda799adb,libleptos_server-a350adbcf35572db,libcodee-1a2881f58b505c3c,libserver_fn-2f8cec9d6baca917,libserde_qs-e3799d410b83c8bf,libxxhash_rust-3d0027d7b5899f57,libconst_str-b378a9079a53f5e6,libconst_format-55b5abc6f31cac31,libwasm_streams-b3f76bb890163843,liburl-aa048a7804206a4f,libidna-7e7f4411398a021f,libutf8_iter-311f0db35672adba,libidna_adapter-1d40c3cf2a94b876,libicu_properties-99c85f4a9a75af85,libicu_properties_data-ba0a08199bc63ec0,libicu_normalizer-e1b8c7875a2c6d52,libicu_normalizer_data-c02881ae5176f208,libicu_collections-8360ecdb1573e84d,libpotential_utf-9f266caaf4973675,libicu_provider-79bba23cb2a624bc,libicu_locale_core-6abe41410024d3d7,libtinystr-7f5ec4a02dadefe1,liblitemap-c3554637e8a48f2a,libwriteable-a712a784f2630667,libzerovec-dc7fca92226e0c23,libzerotrie-c2313ecc5aa2015e,libyoke-2ba7668bb73ac6e1,libstable_deref_trait-1d3ea2e5b9aa129c,libzerofrom-0915b0078cbc2cc8,libform_urlencoded-1fedd1aa97ed287f,libpercent_encoding-c22fe7fb25e3ff6a,libbase64-216937815d5196b4,libgloo_net-38c97ed7931c6f0c,libhttp-43d75618c57dfd1b,libfnv-773757b135178300,libpin_project-859705f357671ff6,libthiserror-b8d933bf9c7a678e,libgloo_utils-3a9ac62bc6e4bdea,libserde_json-bad17d82aef39d6d,libitoa-a4ff8677f852b89f,libryu-3ba25d01f660afda,libbytes-e08a006c583c3ac6,libleptos_dom-59bfd211790e6708,libleptos_config-2fc08998044e1559,libtyped_builder-e8833f34d03020cf,libregex-56d36e9b937c09b2,libregex_automata-d6d745e7a3955729,libaho_corasick-c06d19ec64b98787,libregex_syntax-82aefd9daabd7fca,libconfig-dac234921b4d9e0c,libpathdiff-2d282b5e096a9236,libtoml-629d57cbfea08dda,libtoml_parser-a1a632019ffb0b37,libserde_spanned-94c19c95bc140411,libtoml_datetime-b1ba61c17749ac93,libwinnow-737cf0b4ba99c775,libconvert_case-5ad4a8549fb12ec5,libunicode_segmentation-123b8fdcbb9cf370,libtachys-82202765ad93f2af,libnext_tuple-0bec2c5898a88635,libhtml_escape-3ee540e6974193cc,libutf8_width-018640da6bb451e7,liberased-052254caa7582f09,libreactive_stores-7ea40215cd77fb9e,libdashmap-f1b69a58196a7fda,libhashbrown-bd6d8ff7deb656a8,libcrossbeam_utils-98197786b8acd648,liboco_ref-41d1b99343784cf6,libdrain_filter_polyfill-5c68077d79c26341,libitertools-84d813d5e7608b24,libeither-d34eb70c8ca3ae87,libeither_of-0cd88bff30c39863,libparking_lot-b7298b979555c978,libparking_lot_core-e86ec28ac25a8e8f,libsmallvec-8d4ef13033f54627,liblock_api-4197a6ed9c1f0a3a,libscopeguard-0e30e6315ecc2b6d,liblinear_map-d596f9554216bf54,libconst_str_slice_concat-7cb02fce4be32ff3,libweb_sys-846fae275fce2f98,libreactive_graph-ce858b814e62e561,libguardian-0ea546ad661e2122,libhydration_context-6ece50658029e9cd,libserde-0d88d4f0f271200f,libthrow_error-25c06f1b8f2cd975,libindexmap-de4f3ff450d2f4f4,libequivalent-bf2cc2d551c30568,libhashbrown-9a1b9626038074ee,libfoldhash-04f314261e5264f6,librustc_hash-8898e723d11b5ca7,libslotmap-2e87d660fd906a37,libor_poisoned-02ff552a93569501,libasync_lock-b54f843ac2af1118,libevent_listener_strategy-efaa4df4a501afb4,libevent_listener-8693c06eb6fa3754,libparking-dd3df044ff7fb91a,libsend_wrapper-8d321ca27d42ccb0,libany_spawner-3897beccea491565,libwasm_bindgen_futures-c34ebaa40510e0bd,libjs_sys-4fca93bef4cde67f,libwasm_bindgen-e5c2ded5370f9bac,libonce_cell-65395029fac7f518,libwasm_bindgen_shared-7fd5df6e3345073f,libunicode_ident-0815c436eec62452,libcfg_if-8dc91cf0ce07e60b,libfutures-472382f2d5562222,libfutures_executor-30683bec82e034e3,libnum_cpus-d3635988bdfe5e6a,liblibc-3083e35851e55900,libfutures_util-6d10d15d6fa96b5e,libmemchr-5389fb0f016212b7,libfutures_io-bc246799431b487a,libslab-558fefab0f461689,libfutures_channel-794507ef4750e6e4,libpin_project_lite-0cffc5d959d0b16f,libfutures_sink-1a3e7f43fc6dbf4d,libfutures_task-08b8c341835ea1e8,libpin_utils-45ba7e7cff7aa459,libfutures_core-cfb76736a56aefc1,libthiserror-64c98e1b1d70d835}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcPAtgMS/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-5d4acf5b18c076eb/out" "-L" "/opt/rustwide/target/debug/build/zstd-sys-28bb2470c5b34e4f/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/comprehensive_transport_tests-6a05ff5498bea3ff" "-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 "comprehensive_transport_tests") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e20476896502dec8e0383e2782b2537de26e25b5a1a5e47a5aaa4600c59573fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e20476896502dec8e0383e2782b2537de26e25b5a1a5e47a5aaa4600c59573fe", kill_on_drop: false }` [INFO] [stdout] e20476896502dec8e0383e2782b2537de26e25b5a1a5e47a5aaa4600c59573fe