[INFO] fetching crate deribit-websocket 0.1.1... [INFO] testing deribit-websocket-0.1.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate deribit-websocket 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate deribit-websocket 0.1.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate deribit-websocket 0.1.1 [INFO] tweaked toml for crates.io crate deribit-websocket 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate deribit-websocket 0.1.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 deribit-websocket 0.1.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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 2a89b6ec88311466d19ba347e67a0c95c4bcd8539241a0515eed76817e23d0b3 [INFO] running `Command { std: "docker" "start" "-a" "2a89b6ec88311466d19ba347e67a0c95c4bcd8539241a0515eed76817e23d0b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a89b6ec88311466d19ba347e67a0c95c4bcd8539241a0515eed76817e23d0b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a89b6ec88311466d19ba347e67a0c95c4bcd8539241a0515eed76817e23d0b3", kill_on_drop: false }` [INFO] [stdout] 2a89b6ec88311466d19ba347e67a0c95c4bcd8539241a0515eed76817e23d0b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 98e872477d4f1c9d958aa5c8657bbd6423165cc03725b294e9a9870962cde107 [INFO] running `Command { std: "docker" "start" "-a" "98e872477d4f1c9d958aa5c8657bbd6423165cc03725b294e9a9870962cde107", kill_on_drop: false }` [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling deribit-base v0.2.0 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling tungstenite v0.27.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tokio-tungstenite v0.27.0 [INFO] [stderr] Compiling deribit-websocket v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.35s [INFO] running `Command { std: "docker" "inspect" "98e872477d4f1c9d958aa5c8657bbd6423165cc03725b294e9a9870962cde107", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98e872477d4f1c9d958aa5c8657bbd6423165cc03725b294e9a9870962cde107", kill_on_drop: false }` [INFO] [stdout] 98e872477d4f1c9d958aa5c8657bbd6423165cc03725b294e9a9870962cde107 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 631f89963dd3261130b341304aebe646033842ea81c93050be8f76b309641014 [INFO] running `Command { std: "docker" "start" "-a" "631f89963dd3261130b341304aebe646033842ea81c93050be8f76b309641014", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling sdd v3.0.10 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling scc v2.3.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling deribit-base v0.2.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tokio-tungstenite v0.27.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stderr] Compiling deribit-websocket v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&mut tokio_tungstenite::WebSocketStream>: Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`price_index_subscription`) [INFO] [stdout] note: required because it appears within the type `Next<'_, WebSocketStream>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/next.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Next<'a, St: ?Sized> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:203:75 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn receive_message(&self) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 204 | | let mut connection = self.connection.lock().await; [INFO] [stdout] 205 | | connection.receive().await [INFO] [stdout] 206 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:406:83 [INFO] [stdout] | [INFO] [stdout] 406 | pub async fn receive_and_process_message(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 407 | | let message = self.receive_message().await?; [INFO] [stdout] 408 | | [INFO] [stdout] 409 | | if let Some(handler) = &self.message_handler { [INFO] [stdout] ... | [INFO] [stdout] 413 | | Ok(()) [INFO] [stdout] 414 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:419:85 [INFO] [stdout] | [INFO] [stdout] 419 | pub async fn start_message_processing_loop(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 420 | | if self.message_handler.is_none() { [INFO] [stdout] 421 | | return Err(WebSocketError::InvalidMessage( [INFO] [stdout] 422 | | "No message handler set. Use set_message_handler() first.".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 442 | | Ok(()) [INFO] [stdout] 443 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> examples/price_index_subscription.rs:108:40 [INFO] [stdout] | [INFO] [stdout] 108 | let processing_task = tokio::spawn(async move { client.start_message_processing_loop().await }); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/price_index_subscription-6a4f64adc4096971.long-type-18216083311787196936.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&mut tokio_tungstenite::WebSocketStream>: Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`quote_subscription`) [INFO] [stdout] note: required because it appears within the type `Next<'_, WebSocketStream>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/next.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Next<'a, St: ?Sized> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:203:75 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn receive_message(&self) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 204 | | let mut connection = self.connection.lock().await; [INFO] [stdout] 205 | | connection.receive().await [INFO] [stdout] 206 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:406:83 [INFO] [stdout] | [INFO] [stdout] 406 | pub async fn receive_and_process_message(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 407 | | let message = self.receive_message().await?; [INFO] [stdout] 408 | | [INFO] [stdout] 409 | | if let Some(handler) = &self.message_handler { [INFO] [stdout] ... | [INFO] [stdout] 413 | | Ok(()) [INFO] [stdout] 414 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:419:85 [INFO] [stdout] | [INFO] [stdout] 419 | pub async fn start_message_processing_loop(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 420 | | if self.message_handler.is_none() { [INFO] [stdout] 421 | | return Err(WebSocketError::InvalidMessage( [INFO] [stdout] 422 | | "No message handler set. Use set_message_handler() first.".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 442 | | Ok(()) [INFO] [stdout] 443 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> examples/quote_subscription.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 121 | let processing_task = tokio::spawn(async move { client.start_message_processing_loop().await }); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/quote_subscription-0b2469ccf28293d0.long-type-15713188290759977409.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stderr] error: could not compile `deribit-websocket` (example "price_index_subscription") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `deribit-websocket` (example "quote_subscription") due to 1 previous error [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&mut tokio_tungstenite::WebSocketStream>: Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`advanced_subscriptions`) [INFO] [stdout] note: required because it appears within the type `Next<'_, WebSocketStream>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/next.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Next<'a, St: ?Sized> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:203:75 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn receive_message(&self) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 204 | | let mut connection = self.connection.lock().await; [INFO] [stdout] 205 | | connection.receive().await [INFO] [stdout] 206 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:406:83 [INFO] [stdout] | [INFO] [stdout] 406 | pub async fn receive_and_process_message(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 407 | | let message = self.receive_message().await?; [INFO] [stdout] 408 | | [INFO] [stdout] 409 | | if let Some(handler) = &self.message_handler { [INFO] [stdout] ... | [INFO] [stdout] 413 | | Ok(()) [INFO] [stdout] 414 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:419:85 [INFO] [stdout] | [INFO] [stdout] 419 | pub async fn start_message_processing_loop(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 420 | | if self.message_handler.is_none() { [INFO] [stdout] 421 | | return Err(WebSocketError::InvalidMessage( [INFO] [stdout] 422 | | "No message handler set. Use set_message_handler() first.".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 442 | | Ok(()) [INFO] [stdout] 443 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> examples/advanced_subscriptions.rs:166:40 [INFO] [stdout] | [INFO] [stdout] 166 | let processing_task = tokio::spawn(async move { client.start_message_processing_loop().await }); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/advanced_subscriptions-707f4c55c33630de.long-type-14416751651160788793.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stderr] error: could not compile `deribit-websocket` (example "advanced_subscriptions") due to 1 previous error [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&mut tokio_tungstenite::WebSocketStream>: Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`expiration_price_subscription`) [INFO] [stdout] note: required because it appears within the type `Next<'_, WebSocketStream>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/next.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Next<'a, St: ?Sized> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:203:75 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn receive_message(&self) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 204 | | let mut connection = self.connection.lock().await; [INFO] [stdout] 205 | | connection.receive().await [INFO] [stdout] 206 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:406:83 [INFO] [stdout] | [INFO] [stdout] 406 | pub async fn receive_and_process_message(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 407 | | let message = self.receive_message().await?; [INFO] [stdout] 408 | | [INFO] [stdout] 409 | | if let Some(handler) = &self.message_handler { [INFO] [stdout] ... | [INFO] [stdout] 413 | | Ok(()) [INFO] [stdout] 414 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:419:85 [INFO] [stdout] | [INFO] [stdout] 419 | pub async fn start_message_processing_loop(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 420 | | if self.message_handler.is_none() { [INFO] [stdout] 421 | | return Err(WebSocketError::InvalidMessage( [INFO] [stdout] 422 | | "No message handler set. Use set_message_handler() first.".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 442 | | Ok(()) [INFO] [stdout] 443 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> examples/expiration_price_subscription.rs:111:40 [INFO] [stdout] | [INFO] [stdout] 111 | let processing_task = tokio::spawn(async move { client.start_message_processing_loop().await }); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/expiration_price_subscription-ff0ce72e24b486be.long-type-1532220306410452143.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&mut tokio_tungstenite::WebSocketStream>: Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`user_orders_subscription`) [INFO] [stdout] note: required because it appears within the type `Next<'_, WebSocketStream>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/next.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Next<'a, St: ?Sized> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:203:75 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn receive_message(&self) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 204 | | let mut connection = self.connection.lock().await; [INFO] [stdout] 205 | | connection.receive().await [INFO] [stdout] 206 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:406:83 [INFO] [stdout] | [INFO] [stdout] 406 | pub async fn receive_and_process_message(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 407 | | let message = self.receive_message().await?; [INFO] [stdout] 408 | | [INFO] [stdout] 409 | | if let Some(handler) = &self.message_handler { [INFO] [stdout] ... | [INFO] [stdout] 413 | | Ok(()) [INFO] [stdout] 414 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:419:85 [INFO] [stdout] | [INFO] [stdout] 419 | pub async fn start_message_processing_loop(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 420 | | if self.message_handler.is_none() { [INFO] [stdout] 421 | | return Err(WebSocketError::InvalidMessage( [INFO] [stdout] 422 | | "No message handler set. Use set_message_handler() first.".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 442 | | Ok(()) [INFO] [stdout] 443 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> examples/user_orders_subscription.rs:134:40 [INFO] [stdout] | [INFO] [stdout] 134 | let processing_task = tokio::spawn(async move { client.start_message_processing_loop().await }); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/user_orders_subscription-ea04c656ed162213.long-type-6836646998936421879.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&mut tokio_tungstenite::WebSocketStream>: Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`perpetual_subscription`) [INFO] [stdout] note: required because it appears within the type `Next<'_, WebSocketStream>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/next.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Next<'a, St: ?Sized> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:203:75 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn receive_message(&self) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 204 | | let mut connection = self.connection.lock().await; [INFO] [stdout] 205 | | connection.receive().await [INFO] [stdout] 206 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:406:83 [INFO] [stdout] | [INFO] [stdout] 406 | pub async fn receive_and_process_message(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 407 | | let message = self.receive_message().await?; [INFO] [stdout] 408 | | [INFO] [stdout] 409 | | if let Some(handler) = &self.message_handler { [INFO] [stdout] ... | [INFO] [stdout] 413 | | Ok(()) [INFO] [stdout] 414 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:419:85 [INFO] [stdout] | [INFO] [stdout] 419 | pub async fn start_message_processing_loop(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 420 | | if self.message_handler.is_none() { [INFO] [stdout] 421 | | return Err(WebSocketError::InvalidMessage( [INFO] [stdout] 422 | | "No message handler set. Use set_message_handler() first.".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 442 | | Ok(()) [INFO] [stdout] 443 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> examples/perpetual_subscription.rs:117:40 [INFO] [stdout] | [INFO] [stdout] 117 | let processing_task = tokio::spawn(async move { client.start_message_processing_loop().await }); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/perpetual_subscription-58c0ac76fbd3ee8e.long-type-7613505705802512983.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stderr] error: could not compile `deribit-websocket` (example "expiration_price_subscription") due to 1 previous error [INFO] [stderr] error: could not compile `deribit-websocket` (example "perpetual_subscription") due to 1 previous error [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&mut tokio_tungstenite::WebSocketStream>: Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`trades_subscription`) [INFO] [stdout] note: required because it appears within the type `Next<'_, WebSocketStream>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/next.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Next<'a, St: ?Sized> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:203:75 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn receive_message(&self) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 204 | | let mut connection = self.connection.lock().await; [INFO] [stdout] 205 | | connection.receive().await [INFO] [stdout] 206 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:406:83 [INFO] [stdout] | [INFO] [stdout] 406 | pub async fn receive_and_process_message(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 407 | | let message = self.receive_message().await?; [INFO] [stdout] 408 | | [INFO] [stdout] 409 | | if let Some(handler) = &self.message_handler { [INFO] [stdout] ... | [INFO] [stdout] 413 | | Ok(()) [INFO] [stdout] 414 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:419:85 [INFO] [stdout] | [INFO] [stdout] 419 | pub async fn start_message_processing_loop(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 420 | | if self.message_handler.is_none() { [INFO] [stdout] 421 | | return Err(WebSocketError::InvalidMessage( [INFO] [stdout] 422 | | "No message handler set. Use set_message_handler() first.".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 442 | | Ok(()) [INFO] [stdout] 443 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> examples/trades_subscription.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | let processing_task = tokio::spawn(async move { client.start_message_processing_loop().await }); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/trades_subscription-826ad27def69bf99.long-type-16189473537935948239.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stderr] error: could not compile `deribit-websocket` (example "user_orders_subscription") due to 1 previous error [INFO] [stderr] error: could not compile `deribit-websocket` (example "trades_subscription") due to 1 previous error [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&mut tokio_tungstenite::WebSocketStream>: Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`mark_price_subscription`) [INFO] [stdout] note: required because it appears within the type `Next<'_, WebSocketStream>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/next.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Next<'a, St: ?Sized> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:203:75 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn receive_message(&self) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 204 | | let mut connection = self.connection.lock().await; [INFO] [stdout] 205 | | connection.receive().await [INFO] [stdout] 206 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:406:83 [INFO] [stdout] | [INFO] [stdout] 406 | pub async fn receive_and_process_message(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 407 | | let message = self.receive_message().await?; [INFO] [stdout] 408 | | [INFO] [stdout] 409 | | if let Some(handler) = &self.message_handler { [INFO] [stdout] ... | [INFO] [stdout] 413 | | Ok(()) [INFO] [stdout] 414 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:419:85 [INFO] [stdout] | [INFO] [stdout] 419 | pub async fn start_message_processing_loop(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 420 | | if self.message_handler.is_none() { [INFO] [stdout] 421 | | return Err(WebSocketError::InvalidMessage( [INFO] [stdout] 422 | | "No message handler set. Use set_message_handler() first.".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 442 | | Ok(()) [INFO] [stdout] 443 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> examples/mark_price_subscription.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 121 | let processing_task = tokio::spawn(async move { client.start_message_processing_loop().await }); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/mark_price_subscription-7a4fc56ae7cc7635.long-type-9577769141317162590.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&mut tokio_tungstenite::WebSocketStream>: Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`portfolio_subscription`) [INFO] [stdout] note: required because it appears within the type `Next<'_, WebSocketStream>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/next.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Next<'a, St: ?Sized> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:203:75 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn receive_message(&self) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 204 | | let mut connection = self.connection.lock().await; [INFO] [stdout] 205 | | connection.receive().await [INFO] [stdout] 206 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:406:83 [INFO] [stdout] | [INFO] [stdout] 406 | pub async fn receive_and_process_message(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 407 | | let message = self.receive_message().await?; [INFO] [stdout] 408 | | [INFO] [stdout] 409 | | if let Some(handler) = &self.message_handler { [INFO] [stdout] ... | [INFO] [stdout] 413 | | Ok(()) [INFO] [stdout] 414 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:419:85 [INFO] [stdout] | [INFO] [stdout] 419 | pub async fn start_message_processing_loop(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 420 | | if self.message_handler.is_none() { [INFO] [stdout] 421 | | return Err(WebSocketError::InvalidMessage( [INFO] [stdout] 422 | | "No message handler set. Use set_message_handler() first.".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 442 | | Ok(()) [INFO] [stdout] 443 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> examples/portfolio_subscription.rs:143:40 [INFO] [stdout] | [INFO] [stdout] 143 | let processing_task = tokio::spawn(async move { client.start_message_processing_loop().await }); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/portfolio_subscription-4782e8f627fe1ea6.long-type-6881657560664924058.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stderr] error: could not compile `deribit-websocket` (example "mark_price_subscription") due to 1 previous error [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&mut tokio_tungstenite::WebSocketStream>: Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`user_trades_subscription`) [INFO] [stdout] note: required because it appears within the type `Next<'_, WebSocketStream>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/next.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Next<'a, St: ?Sized> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:203:75 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn receive_message(&self) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 204 | | let mut connection = self.connection.lock().await; [INFO] [stdout] 205 | | connection.receive().await [INFO] [stdout] 206 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:406:83 [INFO] [stdout] | [INFO] [stdout] 406 | pub async fn receive_and_process_message(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 407 | | let message = self.receive_message().await?; [INFO] [stdout] 408 | | [INFO] [stdout] 409 | | if let Some(handler) = &self.message_handler { [INFO] [stdout] ... | [INFO] [stdout] 413 | | Ok(()) [INFO] [stdout] 414 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:419:85 [INFO] [stdout] | [INFO] [stdout] 419 | pub async fn start_message_processing_loop(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 420 | | if self.message_handler.is_none() { [INFO] [stdout] 421 | | return Err(WebSocketError::InvalidMessage( [INFO] [stdout] 422 | | "No message handler set. Use set_message_handler() first.".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 442 | | Ok(()) [INFO] [stdout] 443 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> examples/user_trades_subscription.rs:140:40 [INFO] [stdout] | [INFO] [stdout] 140 | let processing_task = tokio::spawn(async move { client.start_message_processing_loop().await }); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/user_trades_subscription-0508dbf17b94184e.long-type-5544545757877003611.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stderr] error: could not compile `deribit-websocket` (example "portfolio_subscription") due to 1 previous error [INFO] [stderr] error: could not compile `deribit-websocket` (example "user_trades_subscription") due to 1 previous error [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&mut tokio_tungstenite::WebSocketStream>: Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`callback_example`) [INFO] [stdout] note: required because it appears within the type `Next<'_, WebSocketStream>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.31/src/stream/stream/next.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Next<'a, St: ?Sized> { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/connection/ws_connection.rs:66:71 [INFO] [stdout] | [INFO] [stdout] 66 | pub async fn receive(&mut self) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 67 | | if let Some(stream) = &mut self.stream { [INFO] [stdout] 68 | | match stream.next().await { [INFO] [stdout] 69 | | Some(Ok(Message::Text(text))) => Ok(text.to_string()), [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:203:75 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn receive_message(&self) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 204 | | let mut connection = self.connection.lock().await; [INFO] [stdout] 205 | | connection.receive().await [INFO] [stdout] 206 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:406:83 [INFO] [stdout] | [INFO] [stdout] 406 | pub async fn receive_and_process_message(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 407 | | let message = self.receive_message().await?; [INFO] [stdout] 408 | | [INFO] [stdout] 409 | | if let Some(handler) = &self.message_handler { [INFO] [stdout] ... | [INFO] [stdout] 413 | | Ok(()) [INFO] [stdout] 414 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:419:85 [INFO] [stdout] | [INFO] [stdout] 419 | pub async fn start_message_processing_loop(&self) -> Result<(), WebSocketError> { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 420 | | if self.message_handler.is_none() { [INFO] [stdout] 421 | | return Err(WebSocketError::InvalidMessage( [INFO] [stdout] 422 | | "No message handler set. Use set_message_handler() first.".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 442 | | Ok(()) [INFO] [stdout] 443 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> examples/callback_example.rs:123:40 [INFO] [stdout] | [INFO] [stdout] 123 | let processing_task = tokio::spawn(async move { client.start_message_processing_loop().await }); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/callback_example-a944df0415df921b.long-type-135550398733346515.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stderr] error: could not compile `deribit-websocket` (example "callback_example") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "631f89963dd3261130b341304aebe646033842ea81c93050be8f76b309641014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "631f89963dd3261130b341304aebe646033842ea81c93050be8f76b309641014", kill_on_drop: false }` [INFO] [stdout] 631f89963dd3261130b341304aebe646033842ea81c93050be8f76b309641014