[INFO] fetching crate salvo-websocket 0.0.4... [INFO] testing salvo-websocket-0.0.4 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] extracting crate salvo-websocket 0.0.4 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate salvo-websocket 0.0.4 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 293 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.88.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 434b2e18eb00c099563863cf56f00af994b143ff0d9aaab3e00137190fbe60d2 [INFO] running `Command { std: "docker" "start" "-a" "434b2e18eb00c099563863cf56f00af994b143ff0d9aaab3e00137190fbe60d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "434b2e18eb00c099563863cf56f00af994b143ff0d9aaab3e00137190fbe60d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "434b2e18eb00c099563863cf56f00af994b143ff0d9aaab3e00137190fbe60d2", kill_on_drop: false }` [INFO] [stdout] 434b2e18eb00c099563863cf56f00af994b143ff0d9aaab3e00137190fbe60d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d63eeaed803839b87c2e5f1f1c94cce4aac3e12f95fe995f1cffd3e53f4eff3f [INFO] running `Command { std: "docker" "start" "-a" "d63eeaed803839b87c2e5f1f1c94cce4aac3e12f95fe995f1cffd3e53f4eff3f", kill_on_drop: false }` [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling rust-embed-utils v7.8.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling textnonce v1.0.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling str-buf v2.0.5 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling path-slash v0.2.1 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling etag v3.0.0 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling cruet v0.13.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling salvo_macros v0.36.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [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.17 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling rust-embed-impl v6.8.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling rust-embed v6.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [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 tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling async-compression v0.3.15 [INFO] [stderr] Compiling tungstenite v0.17.3 [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 hyper-rustls v0.23.2 [INFO] [stderr] Compiling salvo_core v0.36.0 [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 45.23s [INFO] running `Command { std: "docker" "inspect" "d63eeaed803839b87c2e5f1f1c94cce4aac3e12f95fe995f1cffd3e53f4eff3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d63eeaed803839b87c2e5f1f1c94cce4aac3e12f95fe995f1cffd3e53f4eff3f", kill_on_drop: false }` [INFO] [stdout] d63eeaed803839b87c2e5f1f1c94cce4aac3e12f95fe995f1cffd3e53f4eff3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e75612d3b273469f30db254934f861846fd6e6fe6ee50e5e2c0f67cde25a3492 [INFO] running `Command { std: "docker" "start" "-a" "e75612d3b273469f30db254934f861846fd6e6fe6ee50e5e2c0f67cde25a3492", 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.82s [INFO] running `Command { std: "docker" "inspect" "e75612d3b273469f30db254934f861846fd6e6fe6ee50e5e2c0f67cde25a3492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e75612d3b273469f30db254934f861846fd6e6fe6ee50e5e2c0f67cde25a3492", kill_on_drop: false }` [INFO] [stdout] e75612d3b273469f30db254934f861846fd6e6fe6ee50e5e2c0f67cde25a3492 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 25c355f0f4158b8405e483a880957534d2d1474f7d2b32e74c53fb6f22117af1 [INFO] running `Command { std: "docker" "start" "-a" "25c355f0f4158b8405e483a880957534d2d1474f7d2b32e74c53fb6f22117af1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/salvo_websocket-9b83da3e47d7b16f) [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] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 77 + use salvo::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] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 139 + use async_trait::async_trait; [INFO] [stdout] | [INFO] [stdout] 139 + use salvo::async_trait; [INFO] [stdout] | [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.26s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "25c355f0f4158b8405e483a880957534d2d1474f7d2b32e74c53fb6f22117af1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25c355f0f4158b8405e483a880957534d2d1474f7d2b32e74c53fb6f22117af1", kill_on_drop: false }` [INFO] [stdout] 25c355f0f4158b8405e483a880957534d2d1474f7d2b32e74c53fb6f22117af1