[INFO] fetching crate leptos-ws-pro 0.12.1... [INFO] testing leptos-ws-pro-0.12.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate leptos-ws-pro 0.12.1 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate leptos-ws-pro 0.12.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xxhash-rust v0.8.15 [INFO] [stderr] Downloaded inventory v0.3.21 [INFO] [stderr] Downloaded erased v0.1.2 [INFO] [stderr] Downloaded linear-map v1.2.0 [INFO] [stderr] Downloaded server_fn_macro_default v0.8.5 [INFO] [stderr] Downloaded manyhow-macros v0.11.4 [INFO] [stderr] Downloaded collection_literals v1.0.2 [INFO] [stderr] Downloaded quote-use-macros v0.8.4 [INFO] [stderr] Downloaded eventsource-stream v0.1.2 [INFO] [stderr] Downloaded num-iter v0.1.45 [INFO] [stderr] Downloaded num v0.4.3 [INFO] [stderr] Downloaded serde_path_to_error v0.1.17 [INFO] [stderr] Downloaded axum-core v0.5.2 [INFO] [stderr] Downloaded jsonwebtoken v9.3.1 [INFO] [stderr] Downloaded jsonptr v0.7.1 [INFO] [stderr] Downloaded config v0.15.15 [INFO] [stderr] Downloaded criterion v0.7.0 [INFO] [stderr] Downloaded h3 v0.0.8 [INFO] [stderr] Downloaded jsonschema v0.18.3 [INFO] [stderr] Downloaded axum v0.8.4 [INFO] [stderr] Downloaded rustls v0.21.12 [INFO] [stderr] Downloaded openssl v0.10.73 [INFO] [stderr] Downloaded quinn-proto v0.11.13 [INFO] [stderr] Downloaded fancy-regex v0.13.0 [INFO] [stderr] Downloaded fraction v0.15.3 [INFO] [stderr] Downloaded nom v8.0.0 [INFO] [stderr] Downloaded yansi v1.0.1 [INFO] [stderr] Downloaded leptos_macro v0.8.8 [INFO] [stderr] Downloaded server_fn v0.8.6 [INFO] [stderr] Downloaded tracing-subscriber v0.3.20 [INFO] [stderr] Downloaded camino v1.1.12 [INFO] [stderr] Downloaded derive-where v1.6.0 [INFO] [stderr] Downloaded rstml v0.12.1 [INFO] [stderr] Downloaded codee v0.3.2 [INFO] [stderr] Downloaded const-str v0.6.4 [INFO] [stderr] Downloaded web-sys v0.3.78 [INFO] [stderr] Downloaded leptos-use v0.16.2 [INFO] [stderr] Downloaded matchit v0.8.4 [INFO] [stderr] Downloaded criterion-plot v0.6.0 [INFO] [stderr] Downloaded bytecount v0.6.9 [INFO] [stderr] Downloaded zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Downloaded num-complex v0.4.6 [INFO] [stderr] Downloaded num-rational v0.4.2 [INFO] [stderr] Downloaded leptos_config v0.8.7 [INFO] [stderr] Downloaded manyhow v0.11.4 [INFO] [stderr] Downloaded attribute-derive v0.10.3 [INFO] [stderr] Downloaded leptos_hot_reload v0.8.5 [INFO] [stderr] Downloaded leptos_server v0.8.5 [INFO] [stderr] Downloaded aws-lc-rs v1.13.3 [INFO] [stderr] Downloaded leptos_dom v0.8.6 [INFO] [stderr] Downloaded proc-macro-utils v0.10.0 [INFO] [stderr] Downloaded quinn-proto v0.10.6 [INFO] [stderr] Downloaded reqwest v0.12.23 [INFO] [stderr] Downloaded iso8601 v0.6.3 [INFO] [stderr] Downloaded num-cmp v0.1.0 [INFO] [stderr] Downloaded simple_asn1 v0.6.3 [INFO] [stderr] Downloaded pathdiff v0.2.3 [INFO] [stderr] Downloaded interpolator v0.5.0 [INFO] [stderr] Downloaded quote-use v0.8.4 [INFO] [stderr] Downloaded gloo-utils v0.2.0 [INFO] [stderr] Downloaded iri-string v0.7.8 [INFO] [stderr] Downloaded attribute-derive-macro v0.10.3 [INFO] [stderr] Downloaded proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Downloaded gloo-net v0.6.0 [INFO] [stderr] Downloaded tachys v0.2.7 [INFO] [stderr] Downloaded tower-http v0.6.6 [INFO] [stderr] Downloaded json-patch v4.0.0 [INFO] [stderr] Downloaded default-struct-builder v0.5.1 [INFO] [stderr] Downloaded raw-cpuid v11.6.0 [INFO] [stderr] Downloaded tower v0.5.2 [INFO] [stderr] Downloaded rustls-webpki v0.103.4 [INFO] [stderr] Downloaded wasi v0.14.4+wasi-0.2.4 [INFO] [stderr] Downloaded quinn v0.11.9 [INFO] [stderr] Downloaded rcgen v0.13.2 [INFO] [stderr] Downloaded serde_qs v0.15.0 [INFO] [stderr] Downloaded leptos v0.8.8 [INFO] [stderr] Downloaded der-parser v10.0.0 [INFO] [stderr] Downloaded syn_derive v0.2.0 [INFO] [stderr] Downloaded drain_filter_polyfill v0.1.3 [INFO] [stderr] Downloaded quanta v0.12.6 [INFO] [stderr] Downloaded quinn v0.10.2 [INFO] [stderr] Downloaded slotmap v1.0.7 [INFO] [stderr] Downloaded reactive_graph v0.2.6 [INFO] [stderr] Downloaded hyper-util v0.1.16 [INFO] [stderr] Downloaded tempfile v3.21.0 [INFO] [stderr] Downloaded nu-ansi-term v0.50.1 [INFO] [stderr] Downloaded yasna v0.5.2 [INFO] [stderr] Downloaded httlib-huffman v0.3.4 [INFO] [stderr] Downloaded asn1-rs-derive v0.6.0 [INFO] [stderr] Downloaded asn1-rs v0.7.1 [INFO] [stderr] Downloaded x509-parser v0.17.0 [INFO] [stderr] Downloaded const_str_slice_concat v0.1.0 [INFO] [stderr] Downloaded dashmap v6.1.0 [INFO] [stderr] Downloaded base16 v0.2.1 [INFO] [stderr] Downloaded metrics v0.24.2 [INFO] [stderr] Downloaded tokio-rustls v0.26.2 [INFO] [stderr] Downloaded wasm-streams v0.4.2 [INFO] [stderr] Downloaded ctor v0.1.26 [INFO] [stderr] Downloaded rkyv_dyn v0.7.44 [INFO] [stderr] Downloaded tokio-tungstenite v0.27.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.51 [INFO] [stderr] Downloaded lru-slab v0.1.2 [INFO] [stderr] Downloaded quinn-udp v0.5.14 [INFO] [stderr] Downloaded pem v3.0.5 [INFO] [stderr] Downloaded cc v1.2.36 [INFO] [stderr] Downloaded proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Downloaded proc-macro-error2 v2.0.1 [INFO] [stderr] Downloaded reactive_stores v0.2.5 [INFO] [stderr] Downloaded typed-builder v0.21.2 [INFO] [stderr] Downloaded typed-builder-macro v0.21.2 [INFO] [stderr] Downloaded async-once-cell v0.5.4 [INFO] [stderr] Downloaded wasm_split_macros v0.1.2 [INFO] [stderr] Downloaded sketches-ddsketch v0.3.0 [INFO] [stderr] Downloaded spin v0.5.2 [INFO] [stderr] Downloaded untrusted v0.7.1 [INFO] [stderr] Downloaded any_spawner v0.3.0 [INFO] [stderr] Downloaded guardian v1.3.0 [INFO] [stderr] Downloaded send_wrapper v0.6.0 [INFO] [stderr] Downloaded hyper-tls v0.6.0 [INFO] [stderr] Downloaded ghost v0.1.20 [INFO] [stderr] Downloaded inventory v0.1.11 [INFO] [stderr] Downloaded tungstenite v0.27.0 [INFO] [stderr] Downloaded octets v0.3.0 [INFO] [stderr] Downloaded utf8-width v0.1.7 [INFO] [stderr] Downloaded oco_ref v0.2.1 [INFO] [stderr] Downloaded convert_case v0.8.0 [INFO] [stderr] Downloaded reactive_stores_macro v0.2.6 [INFO] [stderr] Downloaded wasm_split_helpers v0.1.2 [INFO] [stderr] Downloaded metrics-util v0.20.0 [INFO] [stderr] Downloaded metrics-exporter-prometheus v0.17.2 [INFO] [stderr] Downloaded quinn-udp v0.4.1 [INFO] [stderr] Downloaded throw_error v0.3.0 [INFO] [stderr] Downloaded hydration_context v0.3.0 [INFO] [stderr] Downloaded system-configuration-sys v0.6.0 [INFO] [stderr] Downloaded inventory-impl v0.1.11 [INFO] [stderr] Downloaded rkyv_dyn_derive v0.7.44 [INFO] [stderr] Downloaded rkyv_typename_derive v0.7.44 [INFO] [stderr] Downloaded sync_wrapper v1.0.2 [INFO] [stderr] Downloaded tower-service v0.3.3 [INFO] [stderr] Downloaded rustls-pemfile v2.2.0 [INFO] [stderr] Downloaded wtransport-proto v0.6.1 [INFO] [stderr] Downloaded wtransport v0.6.1 [INFO] [stderr] Downloaded zstd-safe v7.2.4 [INFO] [stderr] Downloaded zstd v0.13.3 [INFO] [stderr] Downloaded server_fn_macro v0.8.7 [INFO] [stderr] Downloaded either_of v0.1.6 [INFO] [stderr] Downloaded html-escape v0.2.13 [INFO] [stderr] Downloaded rand_xoshiro v0.7.0 [INFO] [stderr] Downloaded or_poisoned v0.1.0 [INFO] [stderr] Downloaded hyper-rustls v0.27.7 [INFO] [stderr] Downloaded system-configuration v0.6.1 [INFO] [stderr] Downloaded windows-registry v0.5.3 [INFO] [stderr] Downloaded rkyv_typename v0.7.44 [INFO] [stderr] Downloaded tower-layer v0.3.3 [INFO] [stderr] Downloaded asn1-rs-impl v0.2.0 [INFO] [stderr] Downloaded oid-registry v0.8.1 [INFO] [stderr] Downloaded next_tuple v0.1.0 [INFO] [stderr] Downloaded ring v0.16.20 [INFO] [stderr] Downloaded aws-lc-sys v0.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06e698aadef0a8bf6782f1ad4a5e647411ee096cd7313ba749ed985cf2be2143 [INFO] running `Command { std: "docker" "start" "-a" "06e698aadef0a8bf6782f1ad4a5e647411ee096cd7313ba749ed985cf2be2143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06e698aadef0a8bf6782f1ad4a5e647411ee096cd7313ba749ed985cf2be2143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06e698aadef0a8bf6782f1ad4a5e647411ee096cd7313ba749ed985cf2be2143", kill_on_drop: false }` [INFO] [stdout] 06e698aadef0a8bf6782f1ad4a5e647411ee096cd7313ba749ed985cf2be2143 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a61e4e84c7b2f0a47b4b28c48c9bbb56215925525bf11e3e5ef9499685fc3fb [INFO] running `Command { std: "docker" "start" "-a" "0a61e4e84c7b2f0a47b4b28c48c9bbb56215925525bf11e3e5ef9499685fc3fb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.101 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.101 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling throw_error v0.3.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling or_poisoned v0.1.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling reactive_graph v0.2.6 [INFO] [stderr] Compiling server_fn_macro v0.8.7 [INFO] [stderr] Compiling send_wrapper v0.6.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.101 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling guardian v1.3.0 [INFO] [stderr] Compiling camino v1.1.12 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.101 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling manyhow-macros v0.11.4 [INFO] [stderr] Compiling tachys v0.2.7 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling foreign-types v0.3.2 [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 wasm-bindgen-macro v0.2.101 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling js-sys v0.3.78 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling syn_derive v0.2.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling reactive_stores_macro v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling quote-use-macros v0.8.4 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling quote-use v0.8.4 [INFO] [stderr] Compiling toml_parser v1.0.2 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.51 [INFO] [stderr] Compiling web-sys v0.3.78 [INFO] [stderr] Compiling hydration_context v0.3.0 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling any_spawner v0.3.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling oco_ref v0.2.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling manyhow v0.11.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling either_of v0.1.6 [INFO] [stderr] Compiling reactive_stores v0.2.5 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling server_fn v0.8.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling erased v0.1.2 [INFO] [stderr] Compiling const_str_slice_concat v0.1.0 [INFO] [stderr] Compiling collection_literals v1.0.2 [INFO] [stderr] Compiling bytecheck v0.6.12 [INFO] [stderr] Compiling next_tuple v0.1.0 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling drain_filter_polyfill v0.1.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling linear-map v1.2.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling attribute-derive-macro v0.10.3 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling rstml v0.12.1 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling serde_qs v0.15.0 [INFO] [stderr] Compiling server_fn_macro_default v0.8.5 [INFO] [stderr] Compiling typed-builder-macro v0.21.2 [INFO] [stderr] Compiling bytecheck_derive v0.6.12 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling leptos_macro v0.8.8 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Compiling rend v0.4.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling const-str v0.6.4 [INFO] [stderr] Compiling wasm_split_macros v0.1.2 [INFO] [stderr] Compiling typed-builder v0.21.2 [INFO] [stderr] Compiling config v0.15.15 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling attribute-derive v0.10.3 [INFO] [stderr] Compiling leptos_hot_reload v0.8.5 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling codee v0.3.2 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling leptos v0.8.8 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling async-once-cell v0.5.4 [INFO] [stderr] Compiling inventory v0.1.11 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling rkyv v0.7.45 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling wasm_split_helpers v0.1.2 [INFO] [stderr] Compiling leptos_config v0.8.7 [INFO] [stderr] Compiling metrics v0.24.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stderr] Compiling gloo-net v0.6.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ghost v0.1.20 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling rkyv_derive v0.7.45 [INFO] [stderr] Compiling inventory-impl v0.1.11 [INFO] [stderr] Compiling rkyv_typename_derive v0.7.44 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling rand_xoshiro v0.7.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling leptos-use v0.16.2 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling wasm-streams v0.4.2 [INFO] [stderr] Compiling sketches-ddsketch v0.3.0 [INFO] [stderr] Compiling tungstenite v0.27.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling metrics-util v0.20.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rkyv_typename v0.7.44 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling default-struct-builder v0.5.1 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling rkyv_dyn_derive v0.7.44 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling rkyv_dyn v0.7.44 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling tokio-tungstenite v0.27.0 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling leptos_server v0.8.5 [INFO] [stderr] Compiling leptos_dom v0.8.6 [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 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 5m 40s [INFO] running `Command { std: "docker" "inspect" "0a61e4e84c7b2f0a47b4b28c48c9bbb56215925525bf11e3e5ef9499685fc3fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a61e4e84c7b2f0a47b4b28c48c9bbb56215925525bf11e3e5ef9499685fc3fb", kill_on_drop: false }` [INFO] [stdout] 0a61e4e84c7b2f0a47b4b28c48c9bbb56215925525bf11e3e5ef9499685fc3fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e24414b6f1755f449c9b8a756d88cd5c89b2f425442bf2eaf55f1d0c222219e1 [INFO] running `Command { std: "docker" "start" "-a" "e24414b6f1755f449c9b8a756d88cd5c89b2f425442bf2eaf55f1d0c222219e1", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling metrics v0.24.2 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling metrics-util v0.20.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling default-struct-builder v0.5.1 [INFO] [stderr] Compiling leptos_config v0.8.7 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling leptos v0.8.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.17.2 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling leptos-use v0.16.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling fancy-regex v0.13.0 [INFO] [stderr] Compiling fraction v0.15.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling iso8601 v0.6.3 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Compiling leptos-ws-pro v0.12.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling jsonschema v0.18.3 [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] [stderr] Compiling serde_yaml v0.9.34+deprecated [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] [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] 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: 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 import: `ChatMessage` [INFO] [stdout] --> tests/integration/v1_integration_tests.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | ChatMessage, RpcClient, RpcError, RpcMethod, RpcRequest, RpcResponse, SendMessageParams, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: 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] 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/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[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/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] 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] [stdout] error[E0599]: no method named `get_gc_statistics` found for struct `leptos_ws_pro::performance::PerformanceManager` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | let gc_stats = perf_manager.get_gc_statistics().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::PerformanceManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | let mut cache = MessageCache::new(config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | || [INFO] [stdout] | |expected `usize`, found `MemoryPressureConfig` [INFO] [stdout] | argument #2 of type `std::time::Duration` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /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 `insert` found for struct `leptos_ws_pro::performance::MessageCache` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:208:23 [INFO] [stdout] | [INFO] [stdout] 208 | cache.insert(msg).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/performance/cache.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn set(&self, key: String, value: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/transport/sse/client.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | let client = SseClient { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/transport/sse/client.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | let client = SseClient { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `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] error[E0599]: no method named `get_scheduling_metrics` found for struct `leptos_ws_pro::performance::PerformanceManager` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:295:36 [INFO] [stdout] | [INFO] [stdout] 295 | let metrics = perf_manager.get_scheduling_metrics().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_metrics` with a similar name [INFO] [stdout] | [INFO] [stdout] 295 - let metrics = perf_manager.get_scheduling_metrics().await; [INFO] [stdout] 295 + let metrics = perf_manager.get_metrics().await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PerformanceConfig: From` is not satisfied [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:314:56 [INFO] [stdout] | [INFO] [stdout] 314 | let mut perf_manager = PerformanceManager::new(config); [INFO] [stdout] | ----------------------- ^^^^^^ the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = 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] 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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/result.rs:549:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialOrd<{integer}>` [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] 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] 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] error[E0599]: no method named `set_bandwidth_limit` found for struct `leptos_ws_pro::performance::MessageBatcher` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:444:21 [INFO] [stdout] | [INFO] [stdout] 444 | batcher.set_bandwidth_limit(bandwidth).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::MessageBatcher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_batch` found for struct `leptos_ws_pro::performance::MessageBatcher` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:459:33 [INFO] [stdout] | [INFO] [stdout] 459 | let batch = batcher.create_batch(messages).await; [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::MessageBatcher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `usize` is not a future [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:466:71 [INFO] [stdout] | [INFO] [stdout] 466 | let optimal_batch_size = batcher.get_optimal_batch_size().await; [INFO] [stdout] | ^^^^^ `usize` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `usize` [INFO] [stdout] = note: usize must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `usize` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 466 - let optimal_batch_size = batcher.get_optimal_batch_size().await; [INFO] [stdout] 466 + let optimal_batch_size = batcher.get_optimal_batch_size(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PerformanceConfig: From` is not satisfied [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:482:56 [INFO] [stdout] | [INFO] [stdout] 482 | let mut perf_manager = PerformanceManager::new(config); [INFO] [stdout] | ----------------------- ^^^^^^ the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = 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_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] 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 `set` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/performance/cache.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn set(&self, key: String, value: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `access` found for struct `leptos_ws_pro::performance::MessageCache` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:572:15 [INFO] [stdout] | [INFO] [stdout] 572 | cache.access(1).await; // Make item 1 recently used [INFO] [stdout] | ^^^^^^ method not found in `leptos_ws_pro::performance::MessageCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `access` found for struct `leptos_ws_pro::performance::MessageCache` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:573:15 [INFO] [stdout] | [INFO] [stdout] 573 | cache.access(3).await; // Make item 3 recently used [INFO] [stdout] | ^^^^^^ method not found in `leptos_ws_pro::performance::MessageCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for struct `leptos_ws_pro::performance::MessageCache` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:584:15 [INFO] [stdout] | [INFO] [stdout] 584 | cache.insert(new_msg).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `set` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/performance/cache.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn set(&self, key: String, value: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_evicted_items` found for struct `leptos_ws_pro::performance::MessageCache` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:587:35 [INFO] [stdout] | [INFO] [stdout] 587 | let evicted_items = cache.get_evicted_items().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::MessageCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:609:25 [INFO] [stdout] | [INFO] [stdout] 609 | let mut cache = MessageCache::new(config); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | || [INFO] [stdout] | |expected `usize`, found `MemoryPressureConfig` [INFO] [stdout] | argument #2 of type `std::time::Duration` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /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 `set` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/performance/cache.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn set(&self, key: String, value: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_evicted_items` found for struct `leptos_ws_pro::performance::MessageCache` in the current scope [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:640:35 [INFO] [stdout] | [INFO] [stdout] 640 | let evicted_items = cache.get_evicted_items().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `leptos_ws_pro::performance::MessageCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PerformanceConfig: From` is not satisfied [INFO] [stdout] --> tests/unit/performance_edge_cases_tdd_tests.rs:657:56 [INFO] [stdout] | [INFO] [stdout] 657 | let mut perf_manager = PerformanceManager::new(config); [INFO] [stdout] | ----------------------- ^^^^^^ the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `From` is not implemented for `PerformanceConfig` [INFO] [stdout] but trait `From` is implemented for it [INFO] [stdout] = 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] warning: struct `RpcResponse` is never constructed [INFO] [stdout] --> tests/integration/real_websocket_tests.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct RpcResponse { [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: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] 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[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] 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 `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] warning: unused variable: `cx` [INFO] [stdout] --> src/transport/webtransport/core.rs:123:52 [INFO] [stdout] | [INFO] [stdout] 123 | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/webtransport/transport_impl.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let mut connection = WebTransportConnection::new(config).await.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] 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: 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 `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] 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] 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] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0369, E0411, E0428, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos-ws-pro` (test "performance_edge_cases_tdd_tests") due to 109 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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: struct `User` is never constructed [INFO] [stdout] --> examples/basic/websocket-basic.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] [stderr] error: could not compile `leptos-ws-pro` (test "complex_error_recovery_tdd_tests") due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e24414b6f1755f449c9b8a756d88cd5c89b2f425442bf2eaf55f1d0c222219e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e24414b6f1755f449c9b8a756d88cd5c89b2f425442bf2eaf55f1d0c222219e1", kill_on_drop: false }` [INFO] [stdout] e24414b6f1755f449c9b8a756d88cd5c89b2f425442bf2eaf55f1d0c222219e1