[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 try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flittlebenlittle%2Ftungstentite-rs-example" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/littlebenlittle/tungstentite-rs-example on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-3/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 30e9b838a2c6788c6cfcf8c2d31f6561784a45d4e7f07f9b22b7866d79683293 [INFO] running `Command { std: "docker" "start" "-a" "30e9b838a2c6788c6cfcf8c2d31f6561784a45d4e7f07f9b22b7866d79683293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30e9b838a2c6788c6cfcf8c2d31f6561784a45d4e7f07f9b22b7866d79683293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30e9b838a2c6788c6cfcf8c2d31f6561784a45d4e7f07f9b22b7866d79683293", kill_on_drop: false }` [INFO] [stdout] 30e9b838a2c6788c6cfcf8c2d31f6561784a45d4e7f07f9b22b7866d79683293 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3dbf92991f34884a7a8048497e4a946bd66af0bd9c0224b311f90e5d9ea0e249 [INFO] running `Command { std: "docker" "start" "-a" "3dbf92991f34884a7a8048497e4a946bd66af0bd9c0224b311f90e5d9ea0e249", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling futures-core v0.3.12 [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 base64 v0.13.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling bytes v0.6.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tokio v0.3.6 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling tokio v1.1.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling syn v1.0.60 [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 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 unicode-normalization v0.1.16 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.2.0 [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 rand v0.8.3 [INFO] [stderr] Compiling sha-1 v0.9.2 [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 35.36s [INFO] running `Command { std: "docker" "inspect" "3dbf92991f34884a7a8048497e4a946bd66af0bd9c0224b311f90e5d9ea0e249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dbf92991f34884a7a8048497e4a946bd66af0bd9c0224b311f90e5d9ea0e249", kill_on_drop: false }` [INFO] [stdout] 3dbf92991f34884a7a8048497e4a946bd66af0bd9c0224b311f90e5d9ea0e249 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9ef60e47340dd77032f22317504fcd23fc5d475e36e543a11de3aa54259e6a8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b9ef60e47340dd77032f22317504fcd23fc5d475e36e543a11de3aa54259e6a8", kill_on_drop: false }` [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 aho-corasick v0.7.15 [INFO] [stderr] Compiling atty v0.2.14 [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] ::: /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] ::: /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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "b9ef60e47340dd77032f22317504fcd23fc5d475e36e543a11de3aa54259e6a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9ef60e47340dd77032f22317504fcd23fc5d475e36e543a11de3aa54259e6a8", kill_on_drop: false }` [INFO] [stdout] b9ef60e47340dd77032f22317504fcd23fc5d475e36e543a11de3aa54259e6a8