[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flittlebenlittle%2Ftungstentite-rs-example" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/littlebenlittle/tungstentite-rs-example on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-11/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8acf546631b02e948bed81e7a3fcb4b3e6e7560c75957e195907ce4db0d7fe32 [INFO] running `Command { std: "docker" "start" "-a" "8acf546631b02e948bed81e7a3fcb4b3e6e7560c75957e195907ce4db0d7fe32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8acf546631b02e948bed81e7a3fcb4b3e6e7560c75957e195907ce4db0d7fe32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8acf546631b02e948bed81e7a3fcb4b3e6e7560c75957e195907ce4db0d7fe32", kill_on_drop: false }` [INFO] [stdout] 8acf546631b02e948bed81e7a3fcb4b3e6e7560c75957e195907ce4db0d7fe32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abf1516e3be4c26baca28694f72726e9ea3f0607626b8632649485a1c92e58ef [INFO] running `Command { std: "docker" "start" "-a" "abf1516e3be4c26baca28694f72726e9ea3f0607626b8632649485a1c92e58ef", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling bytes v0.6.0 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling tokio v0.3.6 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling tokio v1.1.0 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [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 signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.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 rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.0.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 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 [unoptimized + debuginfo] target(s) in 2m 11s [INFO] running `Command { std: "docker" "inspect" "abf1516e3be4c26baca28694f72726e9ea3f0607626b8632649485a1c92e58ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abf1516e3be4c26baca28694f72726e9ea3f0607626b8632649485a1c92e58ef", kill_on_drop: false }` [INFO] [stdout] abf1516e3be4c26baca28694f72726e9ea3f0607626b8632649485a1c92e58ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49c379de40386706aadb1c5465dc18b7ddba44f4e2608640d87d07228f9a081f [INFO] running `Command { std: "docker" "start" "-a" "49c379de40386706aadb1c5465dc18b7ddba44f4e2608640d87d07228f9a081f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling thread_local v1.1.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.15 [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)]` 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: required by a bound in `accept_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-tungstenite-0.12.0/src/lib.rs:126:8 [INFO] [stdout] | [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: required by a bound in `accept_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-tungstenite-0.12.0/src/lib.rs:126:20 [INFO] [stdout] | [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/github.com-1ecc6299db9ec823/tokio-tungstenite-0.12.0/src/lib.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct WebSocketStream { [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `WebSocketStream: StreamExt` [INFO] [stdout] | doesn't satisfy `_: futures_util::stream::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] warning: unused import: `futures_util::StreamExt` [INFO] [stdout] --> examples/echo-server.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_util::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [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` due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "49c379de40386706aadb1c5465dc18b7ddba44f4e2608640d87d07228f9a081f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49c379de40386706aadb1c5465dc18b7ddba44f4e2608640d87d07228f9a081f", kill_on_drop: false }` [INFO] [stdout] 49c379de40386706aadb1c5465dc18b7ddba44f4e2608640d87d07228f9a081f