[INFO] cloning repository https://github.com/littlebenlittle/tungstentite-rs-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/littlebenlittle/tungstentite-rs-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flittlebenlittle%2Ftungstentite-rs-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flittlebenlittle%2Ftungstentite-rs-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c66504a4112dfba547ec032be9c25d2d372003c8 [INFO] testing littlebenlittle/tungstentite-rs-example against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flittlebenlittle%2Ftungstentite-rs-example" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/littlebenlittle/tungstentite-rs-example [INFO] finished tweaking git repo https://github.com/littlebenlittle/tungstentite-rs-example [INFO] tweaked toml for git repo https://github.com/littlebenlittle/tungstentite-rs-example written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/littlebenlittle/tungstentite-rs-example on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/littlebenlittle/tungstentite-rs-example 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tinyvec v1.1.1 [INFO] [stderr] Downloaded utf-8 v0.7.5 [INFO] [stderr] Downloaded itoa v0.4.7 [INFO] [stderr] Downloaded sha-1 v0.9.2 [INFO] [stderr] Downloaded instant v0.1.9 [INFO] [stderr] Downloaded wasi v0.10.1+wasi-snapshot-preview1 [INFO] [stderr] Downloaded tokio-tungstenite v0.12.0 [INFO] [stderr] Downloaded futures-io v0.3.12 [INFO] [stderr] Downloaded lock_api v0.4.2 [INFO] [stderr] Downloaded futures-core v0.3.12 [INFO] [stderr] Downloaded futures-task v0.3.12 [INFO] [stderr] Downloaded memchr v2.3.4 [INFO] [stderr] Downloaded rand_core v0.6.1 [INFO] [stderr] Downloaded pin-project v1.0.4 [INFO] [stderr] Downloaded tungstenite v0.12.0 [INFO] [stderr] Downloaded rand v0.8.3 [INFO] [stderr] Downloaded parking_lot v0.11.1 [INFO] [stderr] Downloaded futures-util v0.3.12 [INFO] [stderr] Downloaded aho-corasick v0.7.15 [INFO] [stderr] Downloaded bytes v0.6.0 [INFO] [stderr] Downloaded regex v1.4.3 [INFO] [stderr] Downloaded syn v1.0.60 [INFO] [stderr] Downloaded regex-syntax v0.6.22 [INFO] [stderr] Downloaded bytes v1.0.1 [INFO] [stderr] Downloaded miow v0.3.6 [INFO] [stderr] Downloaded tokio v1.1.0 [INFO] [stderr] Downloaded mio v0.7.7 [INFO] [stderr] Downloaded libc v0.2.82 [INFO] [stderr] Downloaded pin-project-lite v0.2.4 [INFO] [stderr] Downloaded tokio v0.3.6 [INFO] [stderr] Downloaded async-tungstenite v0.12.0 [INFO] [stderr] Downloaded hermit-abi v0.1.18 [INFO] [stderr] Downloaded http v0.2.3 [INFO] [stderr] Downloaded smallvec v1.6.1 [INFO] [stderr] Downloaded parking_lot_core v0.8.2 [INFO] [stderr] Downloaded signal-hook-registry v1.3.0 [INFO] [stderr] Downloaded pin-project-internal v1.0.4 [INFO] [stderr] Downloaded log v0.4.13 [INFO] [stderr] Downloaded byteorder v1.4.2 [INFO] [stderr] Downloaded input_buffer v0.3.1 [INFO] [stderr] Downloaded unicode-normalization v0.1.16 [INFO] [stderr] Downloaded input_buffer v0.4.0 [INFO] [stderr] Downloaded thread_local v1.1.2 [INFO] [stderr] Downloaded tokio-macros v1.0.0 [INFO] [stderr] Downloaded futures-sink v0.3.12 [INFO] [stderr] Downloaded once_cell v1.5.2 [INFO] [stderr] Downloaded url v2.2.0 [INFO] [stderr] Downloaded tungstenite v0.11.1 [INFO] [stderr] Downloaded form_urlencoded v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43eb23ee5dfc98a76cfff76b67cc77673c820c075b875e4ba11308468bab83c6 [INFO] running `Command { std: "docker" "start" "-a" "43eb23ee5dfc98a76cfff76b67cc77673c820c075b875e4ba11308468bab83c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43eb23ee5dfc98a76cfff76b67cc77673c820c075b875e4ba11308468bab83c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43eb23ee5dfc98a76cfff76b67cc77673c820c075b875e4ba11308468bab83c6", kill_on_drop: false }` [INFO] [stdout] 43eb23ee5dfc98a76cfff76b67cc77673c820c075b875e4ba11308468bab83c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2038d3073a18267de789333c60e36826e76ef1439819064f47413823d1b6804 [INFO] running `Command { std: "docker" "start" "-a" "c2038d3073a18267de789333c60e36826e76ef1439819064f47413823d1b6804", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tokio v0.3.6 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling tokio v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling bytes v0.6.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling tungstenite v0.12.0 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling async-tungstenite v0.12.0 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling pin-project v1.0.4 [INFO] [stderr] Compiling tokio-tungstenite v0.12.0 [INFO] [stderr] Compiling example v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.20s [INFO] running `Command { std: "docker" "inspect" "c2038d3073a18267de789333c60e36826e76ef1439819064f47413823d1b6804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2038d3073a18267de789333c60e36826e76ef1439819064f47413823d1b6804", kill_on_drop: false }` [INFO] [stdout] c2038d3073a18267de789333c60e36826e76ef1439819064f47413823d1b6804 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68fb7a600772c1472e59f220b52031dd2b4057e1c470bdd943f0fc1805883526 [INFO] running `Command { std: "docker" "start" "-a" "68fb7a600772c1472e59f220b52031dd2b4057e1c470bdd943f0fc1805883526", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling thread_local v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> examples/echo-server.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{env, io::Error}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::net::TcpStream: tokio::io::async_read::AsyncRead` is not satisfied [INFO] [stdout] --> examples/echo-server.rs:34:53 [INFO] [stdout] | [INFO] [stdout] 34 | let ws_stream = tokio_tungstenite::accept_async(stream) [INFO] [stdout] | ------------------------------- ^^^^^^ the trait `tokio::io::async_read::AsyncRead` is not implemented for `tokio::net::TcpStream` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `tokio` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.3.6/src/io/async_read.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait AsyncRead { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/echo-server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ----- one version of crate `tokio` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 11 | use tokio_tungstenite; [INFO] [stdout] | ----------------- one version of crate `tokio` used here, as a dependency of crate `tokio_tungstenite` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.1.0/src/net/tcp/stream.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct TcpStream { [INFO] [stdout] | -------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.3.6/src/net/tcp/stream.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct TcpStream { [INFO] [stdout] | -------------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.1.0/src/future/try_join.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / pin_project! { [INFO] [stdout] 26 | | pub(crate) struct TryJoin3 [INFO] [stdout] 27 | | where [INFO] [stdout] 28 | | F1: Future, [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `accept_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-tungstenite-0.12.0/src/lib.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub async fn accept_async(stream: S) -> Result, WsError> [INFO] [stdout] | ------------ required by a bound in this function [INFO] [stdout] 125 | where [INFO] [stdout] 126 | S: AsyncRead + AsyncWrite + Unpin, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `accept_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::net::TcpStream: tokio::io::async_write::AsyncWrite` is not satisfied [INFO] [stdout] --> examples/echo-server.rs:34:53 [INFO] [stdout] | [INFO] [stdout] 34 | let ws_stream = tokio_tungstenite::accept_async(stream) [INFO] [stdout] | ------------------------------- ^^^^^^ the trait `tokio::io::async_write::AsyncWrite` is not implemented for `tokio::net::TcpStream` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `tokio` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.3.6/src/io/async_write.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub trait AsyncWrite { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/echo-server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ----- one version of crate `tokio` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 11 | use tokio_tungstenite; [INFO] [stdout] | ----------------- one version of crate `tokio` used here, as a dependency of crate `tokio_tungstenite` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.1.0/src/net/tcp/stream.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct TcpStream { [INFO] [stdout] | -------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.3.6/src/net/tcp/stream.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct TcpStream { [INFO] [stdout] | -------------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.1.0/src/future/try_join.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / pin_project! { [INFO] [stdout] 26 | | pub(crate) struct TryJoin3 [INFO] [stdout] 27 | | where [INFO] [stdout] 28 | | F1: Future, [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `accept_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-tungstenite-0.12.0/src/lib.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 124 | pub async fn accept_async(stream: S) -> Result, WsError> [INFO] [stdout] | ------------ required by a bound in this function [INFO] [stdout] 125 | where [INFO] [stdout] 126 | S: AsyncRead + AsyncWrite + Unpin, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `accept_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::net::TcpStream: tokio::io::async_read::AsyncRead` is not satisfied [INFO] [stdout] --> examples/echo-server.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | let ws_stream = tokio_tungstenite::accept_async(stream) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `tokio::io::async_read::AsyncRead` is not implemented for `tokio::net::TcpStream` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `tokio` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.3.6/src/io/async_read.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait AsyncRead { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/echo-server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ----- one version of crate `tokio` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 11 | use tokio_tungstenite; [INFO] [stdout] | ----------------- one version of crate `tokio` used here, as a dependency of crate `tokio_tungstenite` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.1.0/src/net/tcp/stream.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct TcpStream { [INFO] [stdout] | -------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.3.6/src/net/tcp/stream.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct TcpStream { [INFO] [stdout] | -------------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.1.0/src/future/try_join.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / pin_project! { [INFO] [stdout] 26 | | pub(crate) struct TryJoin3 [INFO] [stdout] 27 | | where [INFO] [stdout] 28 | | F1: Future, [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `accept_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-tungstenite-0.12.0/src/lib.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub async fn accept_async(stream: S) -> Result, WsError> [INFO] [stdout] | ------------ required by a bound in this function [INFO] [stdout] 125 | where [INFO] [stdout] 126 | S: AsyncRead + AsyncWrite + Unpin, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `accept_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::net::TcpStream: tokio::io::async_write::AsyncWrite` is not satisfied [INFO] [stdout] --> examples/echo-server.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | let ws_stream = tokio_tungstenite::accept_async(stream) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `tokio::io::async_write::AsyncWrite` is not implemented for `tokio::net::TcpStream` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `tokio` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.3.6/src/io/async_write.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub trait AsyncWrite { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/echo-server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ----- one version of crate `tokio` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 11 | use tokio_tungstenite; [INFO] [stdout] | ----------------- one version of crate `tokio` used here, as a dependency of crate `tokio_tungstenite` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.1.0/src/net/tcp/stream.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct TcpStream { [INFO] [stdout] | -------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.3.6/src/net/tcp/stream.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct TcpStream { [INFO] [stdout] | -------------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.1.0/src/future/try_join.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / pin_project! { [INFO] [stdout] 26 | | pub(crate) struct TryJoin3 [INFO] [stdout] 27 | | where [INFO] [stdout] 28 | | F1: Future, [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `accept_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-tungstenite-0.12.0/src/lib.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 124 | pub async fn accept_async(stream: S) -> Result, WsError> [INFO] [stdout] | ------------ required by a bound in this function [INFO] [stdout] 125 | where [INFO] [stdout] 126 | S: AsyncRead + AsyncWrite + Unpin, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `accept_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::net::TcpStream: tokio::io::async_read::AsyncRead` is not satisfied [INFO] [stdout] --> examples/echo-server.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | .await [INFO] [stdout] | ^^^^^ the trait `tokio::io::async_read::AsyncRead` is not implemented for `tokio::net::TcpStream` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `tokio` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.3.6/src/io/async_read.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait AsyncRead { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/echo-server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ----- one version of crate `tokio` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 11 | use tokio_tungstenite; [INFO] [stdout] | ----------------- one version of crate `tokio` used here, as a dependency of crate `tokio_tungstenite` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.1.0/src/net/tcp/stream.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct TcpStream { [INFO] [stdout] | -------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.3.6/src/net/tcp/stream.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct TcpStream { [INFO] [stdout] | -------------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.1.0/src/future/try_join.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / pin_project! { [INFO] [stdout] 26 | | pub(crate) struct TryJoin3 [INFO] [stdout] 27 | | where [INFO] [stdout] 28 | | F1: Future, [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `accept_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-tungstenite-0.12.0/src/lib.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub async fn accept_async(stream: S) -> Result, WsError> [INFO] [stdout] | ------------ required by a bound in this function [INFO] [stdout] 125 | where [INFO] [stdout] 126 | S: AsyncRead + AsyncWrite + Unpin, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `accept_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::net::TcpStream: tokio::io::async_write::AsyncWrite` is not satisfied [INFO] [stdout] --> examples/echo-server.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | .await [INFO] [stdout] | ^^^^^ the trait `tokio::io::async_write::AsyncWrite` is not implemented for `tokio::net::TcpStream` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `tokio` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.3.6/src/io/async_write.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub trait AsyncWrite { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/echo-server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ----- one version of crate `tokio` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 11 | use tokio_tungstenite; [INFO] [stdout] | ----------------- one version of crate `tokio` used here, as a dependency of crate `tokio_tungstenite` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.1.0/src/net/tcp/stream.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct TcpStream { [INFO] [stdout] | -------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-0.3.6/src/net/tcp/stream.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct TcpStream { [INFO] [stdout] | -------------------- this type implements the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.1.0/src/future/try_join.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / pin_project! { [INFO] [stdout] 26 | | pub(crate) struct TryJoin3 [INFO] [stdout] 27 | | where [INFO] [stdout] 28 | | F1: Future, [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `accept_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-tungstenite-0.12.0/src/lib.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 124 | pub async fn accept_async(stream: S) -> Result, WsError> [INFO] [stdout] | ------------ required by a bound in this function [INFO] [stdout] 125 | where [INFO] [stdout] 126 | S: AsyncRead + AsyncWrite + Unpin, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `accept_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `split` exists for struct `WebSocketStream`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/echo-server.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | let (write, read) = ws_stream.split(); [INFO] [stdout] | ^^^^^ method cannot be called on `WebSocketStream` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-tungstenite-0.12.0/src/lib.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct WebSocketStream { [INFO] [stdout] | ----------------------------- doesn't satisfy `WebSocketStream: StreamExt` or `_: Stream` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `WebSocketStream: futures_util::stream::Stream` [INFO] [stdout] which is required by `WebSocketStream: StreamExt` [INFO] [stdout] `&WebSocketStream: futures_util::stream::Stream` [INFO] [stdout] which is required by `&WebSocketStream: StreamExt` [INFO] [stdout] `&mut WebSocketStream: futures_util::stream::Stream` [INFO] [stdout] which is required by `&mut WebSocketStream: StreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `example` (example "echo-server") due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "68fb7a600772c1472e59f220b52031dd2b4057e1c470bdd943f0fc1805883526", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68fb7a600772c1472e59f220b52031dd2b4057e1c470bdd943f0fc1805883526", kill_on_drop: false }` [INFO] [stdout] 68fb7a600772c1472e59f220b52031dd2b4057e1c470bdd943f0fc1805883526