[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] checking littlebenlittle/tungstentite-rs-example against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flittlebenlittle%2Ftungstentite-rs-example" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/littlebenlittle/tungstentite-rs-example on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-tungstenite v0.12.0 [INFO] [stderr] Downloaded tokio v0.3.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fcdf2ada7cf09acf47ede6828d211ab833191baa8704d0dfe577cafc6476bbe [INFO] running `Command { std: "docker" "start" "-a" "7fcdf2ada7cf09acf47ede6828d211ab833191baa8704d0dfe577cafc6476bbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fcdf2ada7cf09acf47ede6828d211ab833191baa8704d0dfe577cafc6476bbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fcdf2ada7cf09acf47ede6828d211ab833191baa8704d0dfe577cafc6476bbe", kill_on_drop: false }` [INFO] [stdout] 7fcdf2ada7cf09acf47ede6828d211ab833191baa8704d0dfe577cafc6476bbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a97ece5ac8e50a18e49844819fee622f133531f013ff00c992f074adf236c038 [INFO] running `Command { std: "docker" "start" "-a" "a97ece5ac8e50a18e49844819fee622f133531f013ff00c992f074adf236c038", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Compiling tokio v0.3.6 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-sink v0.3.12 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sha-1 v0.9.2 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Compiling tokio v1.1.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking bytes v0.6.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking futures-io v0.3.12 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking async-tungstenite v0.12.0 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking pin-project v1.0.4 [INFO] [stderr] Checking tokio-tungstenite v0.12.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking example v0.1.0 (/opt/rustwide/workdir) [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] = help: the following other types implement trait `tokio::io::async_read::AsyncRead`: [INFO] [stdout] &[u8] [INFO] [stdout] &mut T [INFO] [stdout] Box [INFO] [stdout] Pin

[INFO] [stdout] std::io::Cursor [INFO] [stdout] tokio::io::split::ReadHalf [INFO] [stdout] tokio::io::util::buf_reader::BufReader [INFO] [stdout] tokio::io::util::buf_stream::BufStream [INFO] [stdout] and 13 others [INFO] [stdout] note: required by a bound in `accept_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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] = help: the following other types implement trait `tokio::io::async_write::AsyncWrite`: [INFO] [stdout] &mut T [INFO] [stdout] Box [INFO] [stdout] Pin

[INFO] [stdout] Vec [INFO] [stdout] std::io::Cursor<&mut Vec> [INFO] [stdout] std::io::Cursor<&mut [u8]> [INFO] [stdout] std::io::Cursor> [INFO] [stdout] std::io::Cursor> [INFO] [stdout] and 13 others [INFO] [stdout] note: required by a bound in `accept_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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] = help: the following other types implement trait `tokio::io::async_read::AsyncRead`: [INFO] [stdout] &[u8] [INFO] [stdout] &mut T [INFO] [stdout] Box [INFO] [stdout] Pin

[INFO] [stdout] std::io::Cursor [INFO] [stdout] tokio::io::split::ReadHalf [INFO] [stdout] tokio::io::util::buf_reader::BufReader [INFO] [stdout] tokio::io::util::buf_stream::BufStream [INFO] [stdout] and 13 others [INFO] [stdout] note: required by a bound in `accept_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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] = help: the following other types implement trait `tokio::io::async_write::AsyncWrite`: [INFO] [stdout] &mut T [INFO] [stdout] Box [INFO] [stdout] Pin

[INFO] [stdout] Vec [INFO] [stdout] std::io::Cursor<&mut Vec> [INFO] [stdout] std::io::Cursor<&mut [u8]> [INFO] [stdout] std::io::Cursor> [INFO] [stdout] std::io::Cursor> [INFO] [stdout] and 13 others [INFO] [stdout] note: required by a bound in `accept_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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] = help: the following other types implement trait `tokio::io::async_read::AsyncRead`: [INFO] [stdout] &[u8] [INFO] [stdout] &mut T [INFO] [stdout] Box [INFO] [stdout] Pin

[INFO] [stdout] std::io::Cursor [INFO] [stdout] tokio::io::split::ReadHalf [INFO] [stdout] tokio::io::util::buf_reader::BufReader [INFO] [stdout] tokio::io::util::buf_stream::BufStream [INFO] [stdout] and 13 others [INFO] [stdout] note: required by a bound in `accept_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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] = help: the following other types implement trait `tokio::io::async_write::AsyncWrite`: [INFO] [stdout] &mut T [INFO] [stdout] Box [INFO] [stdout] Pin

[INFO] [stdout] Vec [INFO] [stdout] std::io::Cursor<&mut Vec> [INFO] [stdout] std::io::Cursor<&mut [u8]> [INFO] [stdout] std::io::Cursor> [INFO] [stdout] std::io::Cursor> [INFO] [stdout] and 13 others [INFO] [stdout] note: required by a bound in `accept_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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-6f17d22bba15001f/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] error: aborting due to 7 previous errors [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 8 previous errors [INFO] running `Command { std: "docker" "inspect" "a97ece5ac8e50a18e49844819fee622f133531f013ff00c992f074adf236c038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a97ece5ac8e50a18e49844819fee622f133531f013ff00c992f074adf236c038", kill_on_drop: false }` [INFO] [stdout] a97ece5ac8e50a18e49844819fee622f133531f013ff00c992f074adf236c038