[INFO] fetching crate leptos-ws-pro 0.12.1... [INFO] testing leptos-ws-pro-0.12.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate leptos-ws-pro 0.12.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate leptos-ws-pro 0.12.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate leptos-ws-pro 0.12.1 [INFO] tweaked toml for crates.io crate leptos-ws-pro 0.12.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate leptos-ws-pro 0.12.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 977e8daef68c721f465c68ee67e96a9853c0734f34e557bf1bc9e8e5583f9551 [INFO] running `Command { std: "docker" "start" "-a" "977e8daef68c721f465c68ee67e96a9853c0734f34e557bf1bc9e8e5583f9551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "977e8daef68c721f465c68ee67e96a9853c0734f34e557bf1bc9e8e5583f9551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "977e8daef68c721f465c68ee67e96a9853c0734f34e557bf1bc9e8e5583f9551", kill_on_drop: false }` [INFO] [stdout] 977e8daef68c721f465c68ee67e96a9853c0734f34e557bf1bc9e8e5583f9551 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5a72597225eff9c07a1e40d48f91f23b2010d05d15179aeb2a80ac374c1d9b3 [INFO] running `Command { std: "docker" "start" "-a" "c5a72597225eff9c07a1e40d48f91f23b2010d05d15179aeb2a80ac374c1d9b3", 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 serde v1.0.219 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.101 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [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 stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [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 vcpkg v0.2.15 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling parking v2.2.1 [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 slotmap v1.0.7 [INFO] [stderr] Compiling throw_error v0.3.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling or_poisoned v0.1.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling tower-service v0.3.3 [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 try-lock v0.2.5 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling const_format v0.2.34 [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 utf8-width v0.1.7 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling camino v1.1.12 [INFO] [stderr] Compiling guardian v1.3.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling httpdate v1.0.3 [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 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 winnow v0.7.13 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling manyhow v0.11.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.101 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling either_of v0.1.6 [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 toml_parser v1.0.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 futures-util v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.101 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling js-sys v0.3.78 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Compiling syn_derive v0.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.51 [INFO] [stderr] Compiling web-sys v0.3.78 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling any_spawner v0.3.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling hydration_context v0.3.0 [INFO] [stderr] Compiling quote-use-macros v0.8.4 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling reactive_stores_macro v0.2.6 [INFO] [stderr] Compiling quote-use v0.8.4 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling oco_ref v0.2.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling bytecheck v0.6.12 [INFO] [stderr] Compiling drain_filter_polyfill v0.1.3 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling const_str_slice_concat v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling reactive_stores v0.2.5 [INFO] [stderr] Compiling linear-map v1.2.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling collection_literals v1.0.2 [INFO] [stderr] Compiling next_tuple v0.1.0 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling erased v0.1.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling attribute-derive-macro v0.10.3 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling toml v0.9.5 [INFO] [stderr] Compiling serde_qs v0.15.0 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling rstml v0.12.1 [INFO] [stderr] Compiling typed-builder-macro v0.21.2 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling server_fn_macro_default v0.8.5 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling rand v0.9.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 simdutf8 v0.1.5 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling rend v0.4.2 [INFO] [stderr] Compiling const-str v0.6.4 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling config v0.15.15 [INFO] [stderr] Compiling wasm_split_macros v0.1.2 [INFO] [stderr] Compiling leptos_hot_reload v0.8.5 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling typed-builder v0.21.2 [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 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 rkyv v0.7.45 [INFO] [stderr] Compiling inventory v0.1.11 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling async-once-cell v0.5.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling wasm_split_helpers v0.1.2 [INFO] [stderr] Compiling leptos_config v0.8.7 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling metrics v0.24.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ghost v0.1.20 [INFO] [stderr] Compiling rkyv_derive v0.7.45 [INFO] [stderr] Compiling rkyv_typename_derive v0.7.44 [INFO] [stderr] Compiling inventory-impl v0.1.11 [INFO] [stderr] Compiling ctor v0.1.26 [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 gloo-utils v0.2.0 [INFO] [stderr] Compiling gloo-net v0.6.0 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling leptos-use v0.16.2 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling sketches-ddsketch v0.3.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling metrics-util v0.20.0 [INFO] [stderr] Compiling tungstenite v0.27.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling wasm-streams v0.4.2 [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 flate2 v1.1.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rkyv_dyn v0.7.44 [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 zstd v0.13.3 [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 34s [INFO] running `Command { std: "docker" "inspect" "c5a72597225eff9c07a1e40d48f91f23b2010d05d15179aeb2a80ac374c1d9b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5a72597225eff9c07a1e40d48f91f23b2010d05d15179aeb2a80ac374c1d9b3", kill_on_drop: false }` [INFO] [stdout] c5a72597225eff9c07a1e40d48f91f23b2010d05d15179aeb2a80ac374c1d9b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4b37d6ad048bfca213fcafc4025a5cdd129c15895fe627d86498a137ca8658d [INFO] running `Command { std: "docker" "start" "-a" "b4b37d6ad048bfca213fcafc4025a5cdd129c15895fe627d86498a137ca8658d", 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 v1.0.11 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling metrics v0.24.2 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling metrics-util v0.20.0 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling leptos_config v0.8.7 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling default-struct-builder v0.5.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling leptos v0.8.8 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling fancy-regex v0.13.0 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.17.2 [INFO] [stderr] Compiling leptos-use v0.16.2 [INFO] [stderr] Compiling iso8601 v0.6.3 [INFO] [stderr] Compiling fraction v0.15.3 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling jsonschema v0.18.3 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling leptos-ws-pro v0.12.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [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] [stderr] Compiling criterion v0.7.0 [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] [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: `TransportError` [INFO] [stdout] --> tests/unit/simple_error_recovery_tests.rs:6:49 [INFO] [stdout] | [INFO] [stdout] 6 | use leptos_ws_pro::transport::{ConnectionState, TransportError}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> tests/unit/simple_error_recovery_tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/unit/simple_error_recovery_tests.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut breaker = CircuitBreaker::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/unit/simple_error_recovery_tests.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut breaker = CircuitBreaker::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransportError` [INFO] [stdout] --> tests/unit/load_testing_tests.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | TransportConfig, TransportError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EdgeCaseData` is never constructed [INFO] [stdout] --> tests/unit/v1_core_codec_tests.rs:302:12 [INFO] [stdout] | [INFO] [stdout] 302 | struct EdgeCaseData { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: struct `TestMessage` is never constructed [INFO] [stdout] --> tests/unit/transport_layer_tests.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct TestMessage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestMessage` is never constructed [INFO] [stdout] --> tests/unit/comprehensive_transport_tests.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct TestMessage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] error[E0282]: type annotations needed for `Result<(), _>` [INFO] [stdout] --> tests/contract/schema_validation_tests.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let result = Ok(()); // Mock validation [INFO] [stdout] | ^^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the type for type parameter `E` is specified [INFO] [stdout] | [INFO] [stdout] 98 | let result: Result<_, E> = Ok(()); // Mock validation [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<(), _>` [INFO] [stdout] --> tests/contract/schema_validation_tests.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let result = Ok(()); // Mock validation [INFO] [stdout] | ^^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the type for type parameter `E` is specified [INFO] [stdout] | [INFO] [stdout] 148 | let result: Result<_, E> = Ok(()); // Mock validation [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<(), _>` [INFO] [stdout] --> tests/contract/schema_validation_tests.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | let result = Ok(()); // Mock validation [INFO] [stdout] | ^^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the type for type parameter `E` is specified [INFO] [stdout] | [INFO] [stdout] 204 | let result: Result<_, E> = Ok(()); // Mock validation [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schema_file` [INFO] [stdout] --> tests/contract/schema_validation_tests.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | for schema_file in &schema_files { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schema_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos-ws-pro` (test "schema_validation_tests") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `response_tx` [INFO] [stdout] --> src/rpc/client.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | let (response_tx, response_rx) = mpsc::unbounded_channel(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/optimized.rs:180:19 [INFO] [stdout] | [INFO] [stdout] 180 | fn start_send(mut self: Pin<&mut Self>, item: Message) -> Result<(), Self::Error> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outgoing_task` [INFO] [stdout] --> src/transport/optimized.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let outgoing_task = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outgoing_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `incoming_task` [INFO] [stdout] --> src/transport/optimized.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let incoming_task = { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_incoming_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transport/optimized.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | let mut transport = self.inner_transport.lock().await; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/transport/sse/client.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | let client = SseClient { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/transport/sse/client.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | let client = SseClient { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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: variable does not need to be mutable [INFO] [stdout] --> src/transport/webtransport/transport_impl.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let mut connection = WebTransportConnection::new(config).await.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_retry_attempts`, `base_retry_delay`, `max_retry_delay`, and `jitter_enabled` are never read [INFO] [stdout] --> src/error_handling/recovery.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ErrorRecoveryHandler { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 25 | max_retry_attempts: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | base_retry_delay: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | max_retry_delay: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | jitter_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] running `Command { std: "docker" "inspect" "b4b37d6ad048bfca213fcafc4025a5cdd129c15895fe627d86498a137ca8658d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4b37d6ad048bfca213fcafc4025a5cdd129c15895fe627d86498a137ca8658d", kill_on_drop: false }` [INFO] [stdout] b4b37d6ad048bfca213fcafc4025a5cdd129c15895fe627d86498a137ca8658d