[INFO] cloning repository https://github.com/Sumit0673/chat_with_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sumit0673/chat_with_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSumit0673%2Fchat_with_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSumit0673%2Fchat_with_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39777b9ee4ad773c18c50b070640791821b8bbf5 [INFO] testing Sumit0673/chat_with_rust against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSumit0673%2Fchat_with_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Sumit0673/chat_with_rust [INFO] finished tweaking git repo https://github.com/Sumit0673/chat_with_rust [INFO] tweaked toml for git repo https://github.com/Sumit0673/chat_with_rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Sumit0673/chat_with_rust on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Sumit0673/chat_with_rust 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing Sumit0673/chat_with_rust against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSumit0673%2Fchat_with_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Sumit0673/chat_with_rust [INFO] finished tweaking git repo https://github.com/Sumit0673/chat_with_rust [INFO] tweaked toml for git repo https://github.com/Sumit0673/chat_with_rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Sumit0673/chat_with_rust on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Sumit0673/chat_with_rust 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.111 [INFO] [stderr] Downloaded arc-swap v0.4.8 [INFO] [stderr] Downloaded base64 v0.12.1 [INFO] [stderr] Downloaded serde_json v1.0.53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5c3c38520a6c3b1554c13aa7ef95e1a34ae6b82184c4d57933276436cc60042 [INFO] running `Command { std: "docker" "start" "-a" "b5c3c38520a6c3b1554c13aa7ef95e1a34ae6b82184c4d57933276436cc60042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5c3c38520a6c3b1554c13aa7ef95e1a34ae6b82184c4d57933276436cc60042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5c3c38520a6c3b1554c13aa7ef95e1a34ae6b82184c4d57933276436cc60042", kill_on_drop: false }` [INFO] [stdout] b5c3c38520a6c3b1554c13aa7ef95e1a34ae6b82184c4d57933276436cc60042 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c901d18b88b2d1d0f5b0de7babf0de2413d831691d25b31b12b80b146c135634 [INFO] running `Command { std: "docker" "start" "-a" "c901d18b88b2d1d0f5b0de7babf0de2413d831691d25b31b12b80b146c135634", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling bytes v1.2.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling tokio v1.25.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling arc-swap v0.4.8 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling headers v0.3.2 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-tungstenite v0.17.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling uuid v1.9.1 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling h2 v0.3.17 [INFO] [stderr] Compiling tokio-stream v0.1.11 [INFO] [stderr] Compiling hyper v0.14.5 [INFO] [stderr] Compiling warp v0.3.3 [INFO] [stderr] Compiling rusty-chat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: the method `map` exists for struct `tokio::sync::mpsc::UnboundedReceiver<_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/server.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | rx.map(|message| Ok(message)).forward(ws_sink).await.unwrap(); [INFO] [stdout] | ^^^ method cannot be called on `tokio::sync::mpsc::UnboundedReceiver<_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.25.0/src/sync/mpsc/unbounded.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct UnboundedReceiver { [INFO] [stdout] | ------------------------------- doesn't satisfy 5 bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `tokio::sync::mpsc::UnboundedReceiver<_>: Stream` [INFO] [stdout] which is required by `tokio::sync::mpsc::UnboundedReceiver<_>: futures::StreamExt` [INFO] [stdout] `tokio::sync::mpsc::UnboundedReceiver<_>: warp::filter::FilterBase` [INFO] [stdout] which is required by `tokio::sync::mpsc::UnboundedReceiver<_>: warp::Filter` [INFO] [stdout] `&tokio::sync::mpsc::UnboundedReceiver<_>: Stream` [INFO] [stdout] which is required by `&tokio::sync::mpsc::UnboundedReceiver<_>: futures::StreamExt` [INFO] [stdout] `&tokio::sync::mpsc::UnboundedReceiver<_>: warp::filter::FilterBase` [INFO] [stdout] which is required by `&tokio::sync::mpsc::UnboundedReceiver<_>: warp::Filter` [INFO] [stdout] `&mut tokio::sync::mpsc::UnboundedReceiver<_>: Stream` [INFO] [stdout] which is required by `&mut tokio::sync::mpsc::UnboundedReceiver<_>: futures::StreamExt` [INFO] [stdout] `&mut tokio::sync::mpsc::UnboundedReceiver<_>: warp::filter::FilterBase` [INFO] [stdout] which is required by `&mut tokio::sync::mpsc::UnboundedReceiver<_>: warp::Filter` [INFO] [stdout] `tokio::sync::mpsc::UnboundedReceiver<_>: Iterator` [INFO] [stdout] which is required by `&mut tokio::sync::mpsc::UnboundedReceiver<_>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Stream>::Item == Result<..., ...>` [INFO] [stdout] --> src/server.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | .write_output(BroadcastStream::new(output_receiver)) [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `Result` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] note: required by a bound in `client::Client::write_output` [INFO] [stdout] --> src/client.rs:55:61 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn write_output(&self, stream: S) -> impl Stream> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 54 | where [INFO] [stdout] 55 | S: TryStream + Stream>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::write_output` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rusty_chat-6521ae55f7fdc4ef.long-type-9675053654522206447.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Stream>::Item == Result<..., ...>` [INFO] [stdout] --> src/server.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | let writing = client [INFO] [stdout] | _______________________^ [INFO] [stdout] 93 | | .write_output(BroadcastStream::new(output_receiver)) [INFO] [stdout] 94 | | .try_for_each(|message| async { [INFO] [stdout] 95 | | tx.send(Ok(message)).unwrap(); [INFO] [stdout] 96 | | Ok(()) [INFO] [stdout] 97 | | }); [INFO] [stdout] | |______________^ expected `Result`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] note: required by a bound in `client::Client::write_output` [INFO] [stdout] --> src/client.rs:55:61 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn write_output(&self, stream: S) -> impl Stream> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 54 | where [INFO] [stdout] 55 | S: TryStream + Stream>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::write_output` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rusty_chat-6521ae55f7fdc4ef.long-type-9675053654522206447.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Stream>::Item == Result<..., ...>` [INFO] [stdout] --> src/server.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | if let Err(err) = tokio::select! { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 100 | | result = reading => result, [INFO] [stdout] 101 | | result = writing => result, [INFO] [stdout] 102 | | } { [INFO] [stdout] | |_________^ expected `Result`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] note: required by a bound in `client::Client::write_output` [INFO] [stdout] --> src/client.rs:55:61 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn write_output(&self, stream: S) -> impl Stream> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 54 | where [INFO] [stdout] 55 | S: TryStream + Stream>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::write_output` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rusty_chat-6521ae55f7fdc4ef.long-type-9675053654522206447.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::select` which comes from the expansion of the macro `tokio::select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Stream>::Item == Result<..., ...>` [INFO] [stdout] --> src/server.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | if let Err(err) = tokio::select! { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 100 | | result = reading => result, [INFO] [stdout] 101 | | result = writing => result, [INFO] [stdout] 102 | | } { [INFO] [stdout] | |_________^ expected `Result`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] note: required by a bound in `client::Client::write_output` [INFO] [stdout] --> src/client.rs:55:61 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn write_output(&self, stream: S) -> impl Stream> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 54 | where [INFO] [stdout] 55 | S: TryStream + Stream>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::write_output` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rusty_chat-6521ae55f7fdc4ef.long-type-9675053654522206447.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::select` which comes from the expansion of the macro `tokio::select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as Stream>::Item == Result<..., ...>` [INFO] [stdout] --> src/server.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | if let Err(err) = tokio::select! { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 100 | | result = reading => result, [INFO] [stdout] 101 | | result = writing => result, [INFO] [stdout] 102 | | } { [INFO] [stdout] | |_________^ expected `Result`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] note: required by a bound in `client::Client::write_output` [INFO] [stdout] --> src/client.rs:55:61 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn write_output(&self, stream: S) -> impl Stream> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 54 | where [INFO] [stdout] 55 | S: TryStream + Stream>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::write_output` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rusty_chat-6521ae55f7fdc4ef.long-type-9675053654522206447.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::select` which comes from the expansion of the macro `tokio::select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_into` found for type `u128` in the current scope [INFO] [stdout] --> src/server.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | hub.on_disconnect(client.id.as_u128().try_into().unwrap()).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/c066bf6804adc55193b71afdff6a56922f4a8689/library/core/src/convert/mod.rs:617:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `u128` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: 'std::convert::TryInto' is included in the prelude starting in Edition 2021 [INFO] [stdout] help: trait `TryInto` which provides `try_into` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::convert::TryInto; [INFO] [stdout] | [INFO] [stdout] help: there is a method `into` with a similar name [INFO] [stdout] | [INFO] [stdout] 106 - hub.on_disconnect(client.id.as_u128().try_into().unwrap()).await; [INFO] [stdout] 106 + hub.on_disconnect(client.id.as_u128().into().unwrap()).await; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-chat` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "c901d18b88b2d1d0f5b0de7babf0de2413d831691d25b31b12b80b146c135634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c901d18b88b2d1d0f5b0de7babf0de2413d831691d25b31b12b80b146c135634", kill_on_drop: false }` [INFO] [stdout] c901d18b88b2d1d0f5b0de7babf0de2413d831691d25b31b12b80b146c135634