[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 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flittlebenlittle%2Ftungstentite-rs-example" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/littlebenlittle/tungstentite-rs-example on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-13/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a674c2a18eae59374034f17f6540772cdf3d073ef5c7b24e675d3a9e8f5e9f69 [INFO] running `Command { std: "docker" "start" "-a" "a674c2a18eae59374034f17f6540772cdf3d073ef5c7b24e675d3a9e8f5e9f69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a674c2a18eae59374034f17f6540772cdf3d073ef5c7b24e675d3a9e8f5e9f69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a674c2a18eae59374034f17f6540772cdf3d073ef5c7b24e675d3a9e8f5e9f69", kill_on_drop: false }` [INFO] [stdout] a674c2a18eae59374034f17f6540772cdf3d073ef5c7b24e675d3a9e8f5e9f69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60e62028e93a6bb815fa04bb9b2deda03636b181dd333c3a330f7e0055e42025 [INFO] running `Command { std: "docker" "start" "-a" "60e62028e93a6bb815fa04bb9b2deda03636b181dd333c3a330f7e0055e42025", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling bytes v0.6.0 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling tokio v0.3.6 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling tokio v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling quote v1.0.8 [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.6.1 [INFO] [stderr] Compiling rand_core v0.5.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 idna v0.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.2 [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 [unoptimized + debuginfo] target(s) in 12.65s [INFO] running `Command { std: "docker" "inspect" "60e62028e93a6bb815fa04bb9b2deda03636b181dd333c3a330f7e0055e42025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60e62028e93a6bb815fa04bb9b2deda03636b181dd333c3a330f7e0055e42025", kill_on_drop: false }` [INFO] [stdout] 60e62028e93a6bb815fa04bb9b2deda03636b181dd333c3a330f7e0055e42025 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bf37861ff01fecb8a73b217637bd0c16b9688e077d0633afc891ffe1ccf26f3 [INFO] running `Command { std: "docker" "start" "-a" "8bf37861ff01fecb8a73b217637bd0c16b9688e077d0633afc891ffe1ccf26f3", 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 quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling thread_local v1.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.15 [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)]` 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8bf37861ff01fecb8a73b217637bd0c16b9688e077d0633afc891ffe1ccf26f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bf37861ff01fecb8a73b217637bd0c16b9688e077d0633afc891ffe1ccf26f3", kill_on_drop: false }` [INFO] [stdout] 8bf37861ff01fecb8a73b217637bd0c16b9688e077d0633afc891ffe1ccf26f3