[INFO] fetching crate salvo-websocket 0.0.4... [INFO] testing salvo-websocket-0.0.4 against beta-2026-04-21 for beta-1.96-2 [INFO] extracting crate salvo-websocket 0.0.4 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate salvo-websocket 0.0.4 [INFO] finished tweaking crates.io crate salvo-websocket 0.0.4 [INFO] tweaked toml for crates.io crate salvo-websocket 0.0.4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate salvo-websocket 0.0.4 on toolchain beta-2026-04-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 300 packages to latest compatible versions [INFO] [stderr] Adding dashmap v5.5.3 (available: v6.1.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding salvo v0.36.0 (available: v0.92.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2d16b9d383be6b44d2c96aaa9c45672ff0be9c50a2705321180fc91be4db1a9 [INFO] running `Command { std: "docker" "start" "-a" "b2d16b9d383be6b44d2c96aaa9c45672ff0be9c50a2705321180fc91be4db1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2d16b9d383be6b44d2c96aaa9c45672ff0be9c50a2705321180fc91be4db1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2d16b9d383be6b44d2c96aaa9c45672ff0be9c50a2705321180fc91be4db1a9", kill_on_drop: false }` [INFO] [stdout] b2d16b9d383be6b44d2c96aaa9c45672ff0be9c50a2705321180fc91be4db1a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fe2c8508286cd388c9fff9cd9474f56afe9b6cd0423f8d136869f255fbb5510 [INFO] running `Command { std: "docker" "start" "-a" "4fe2c8508286cd388c9fff9cd9474f56afe9b6cd0423f8d136869f255fbb5510", kill_on_drop: false }` [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling cc v1.2.61 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rust-embed-utils v7.8.1 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling textnonce v1.0.0 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling cruet v0.13.3 [INFO] [stderr] Compiling str-buf v2.0.5 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling path-slash v0.2.1 [INFO] [stderr] Compiling etag v3.0.0 [INFO] [stderr] Compiling data-encoding v2.11.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling rust-embed-impl v6.8.1 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling rust-embed v6.8.1 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling simple_asn1 v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling pin-project v1.1.11 [INFO] [stderr] Compiling salvo_macros v0.36.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling async-compression v0.3.15 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tokio-tungstenite v0.17.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling salvo_core v0.36.0 [INFO] [stderr] Compiling hyper-rustls v0.23.2 [INFO] [stderr] Compiling salvo_extra v0.36.0 [INFO] [stderr] Compiling salvo v0.36.0 [INFO] [stderr] Compiling salvo-websocket v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "4fe2c8508286cd388c9fff9cd9474f56afe9b6cd0423f8d136869f255fbb5510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fe2c8508286cd388c9fff9cd9474f56afe9b6cd0423f8d136869f255fbb5510", kill_on_drop: false }` [INFO] [stdout] 4fe2c8508286cd388c9fff9cd9474f56afe9b6cd0423f8d136869f255fbb5510 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fe531e31bb702610d73d5223cb0e0f322510db261d88fcf1d164acee18314dd [INFO] running `Command { std: "docker" "start" "-a" "8fe531e31bb702610d73d5223cb0e0f322510db261d88fcf1d164acee18314dd", kill_on_drop: false }` [INFO] [stderr] Compiling salvo-websocket v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.01s [INFO] running `Command { std: "docker" "inspect" "8fe531e31bb702610d73d5223cb0e0f322510db261d88fcf1d164acee18314dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fe531e31bb702610d73d5223cb0e0f322510db261d88fcf1d164acee18314dd", kill_on_drop: false }` [INFO] [stdout] 8fe531e31bb702610d73d5223cb0e0f322510db261d88fcf1d164acee18314dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 353498aa6934a0cfd432d333e6b0c83bc64f6de70b14c239bbe84a2de499bae9 [INFO] running `Command { std: "docker" "start" "-a" "353498aa6934a0cfd432d333e6b0c83bc64f6de70b14c239bbe84a2de499bae9", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/salvo_websocket-2e6863bf5c948e0f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test websocket::test::websocket_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests salvo_websocket [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/websocket.rs - websocket::handle_socket (line 78) ... FAILED [INFO] [stdout] test src/websocket.rs - websocket::WebSocketHandler (line 140) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/websocket.rs - websocket::handle_socket (line 78) stdout ---- [INFO] [stdout] error: cannot find attribute `handler` in this scope [INFO] [stdout] --> src/websocket.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 84 | #[handler] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `User` in this scope [INFO] [stdout] --> src/websocket.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | let user: Result = req.parse_queries(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 85 | async fn user_connected(req: &mut Request, res: &mut Response) -> Result<(), StatusError> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/websocket.rs - websocket::WebSocketHandler (line 140) stdout ---- [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> src/websocket.rs:152:3 [INFO] [stdout] | [INFO] [stdout] 152 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `async_trait` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/websocket.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | #[derive(Debug, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `on_connected` do not match the trait declaration [INFO] [stdout] --> src/websocket.rs:154:26 [INFO] [stdout] | [INFO] [stdout] 154 | async fn on_connected(&self, ws_id: usize, sender: UnboundedSender>) { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] | [INFO] [stdout] ::: src/websocket.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | async fn on_connected(&self, ws_id: usize, sender: UnboundedSender>); [INFO] [stdout] | -------------------------------------------------------------------------------------------- lifetimes in impl do not match this method in trait [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `on_disconnected` do not match the trait declaration [INFO] [stdout] --> src/websocket.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | async fn on_disconnected(&self, ws_id: usize) { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] | [INFO] [stdout] ::: src/websocket.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | async fn on_disconnected(&self, ws_id: usize); [INFO] [stdout] | ---------------------------------------------- lifetimes in impl do not match this method in trait [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `on_receive_message` do not match the trait declaration [INFO] [stdout] --> src/websocket.rs:168:32 [INFO] [stdout] | [INFO] [stdout] 168 | async fn on_receive_message(&self, msg: Message) { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] | [INFO] [stdout] ::: src/websocket.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | async fn on_receive_message(&self, msg: Message); [INFO] [stdout] | ------------------------------------------------- lifetimes in impl do not match this method in trait [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `on_send_message` do not match the trait declaration [INFO] [stdout] --> src/websocket.rs:179:29 [INFO] [stdout] | [INFO] [stdout] 179 | async fn on_send_message(&self, msg: Message) -> Result { [INFO] [stdout] | ^ lifetimes do not match method in trait [INFO] [stdout] | [INFO] [stdout] ::: src/websocket.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | async fn on_send_message(&self, msg: Message) -> Result; [INFO] [stdout] | ------------------------------------------------------------------------ lifetimes in impl do not match this method in trait [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0195`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/websocket.rs - websocket::WebSocketHandler (line 140) [INFO] [stdout] src/websocket.rs - websocket::handle_socket (line 78) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.36s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "353498aa6934a0cfd432d333e6b0c83bc64f6de70b14c239bbe84a2de499bae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "353498aa6934a0cfd432d333e6b0c83bc64f6de70b14c239bbe84a2de499bae9", kill_on_drop: false }` [INFO] [stdout] 353498aa6934a0cfd432d333e6b0c83bc64f6de70b14c239bbe84a2de499bae9