[INFO] fetching crate shs_async 0.3.0... [INFO] checking shs_async-0.3.0 against beta for pr-78714 [INFO] extracting crate shs_async 0.3.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate shs_async 0.3.0 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate shs_async 0.3.0 [INFO] finished tweaking crates.io crate shs_async 0.3.0 [INFO] tweaked toml for crates.io crate shs_async 0.3.0 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 210c4a9e22a16837a90baba555bf55c9afb1080ba1b0992b16f9ea90bfcc50c7 [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" "210c4a9e22a16837a90baba555bf55c9afb1080ba1b0992b16f9ea90bfcc50c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "210c4a9e22a16837a90baba555bf55c9afb1080ba1b0992b16f9ea90bfcc50c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "210c4a9e22a16837a90baba555bf55c9afb1080ba1b0992b16f9ea90bfcc50c7", kill_on_drop: false }` [INFO] [stdout] 210c4a9e22a16837a90baba555bf55c9afb1080ba1b0992b16f9ea90bfcc50c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ab3d60c8204ae33a6d1e2f74c119027051973b6bbd4f9a88b857552518db302 [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" "0ab3d60c8204ae33a6d1e2f74c119027051973b6bbd4f9a88b857552518db302", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking readwrite v0.1.2 [INFO] [stderr] Checking async-ringbuffer v0.5.5 [INFO] [stderr] Compiling libsodium-sys v0.2.6 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 [INFO] [stderr] Checking sodiumoxide v0.2.6 [INFO] [stderr] Checking ssb-crypto v0.1.4 [INFO] [stderr] Checking shs_core v0.3.0 [INFO] [stderr] Checking shs_async v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let r = await!(try_client_side(&mut stream, net_key, pk, sk, server_pk)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `try_client_side(&mut stream, net_key, pk, sk, server_pk).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | await!(stream.close()).unwrap_or(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.close().await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | await!(stream.write_all(&hello.as_slice()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.write_all(&hello.as_slice()).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | await!(stream.flush())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.flush().await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | await!(stream.read_exact(&mut buf))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.read_exact(&mut buf).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | await!(stream.write_all(client_auth.as_slice()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.write_all(client_auth.as_slice()).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | await!(stream.flush())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.flush().await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | await!(stream.read_exact(&mut buf))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.read_exact(&mut buf).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let r = await!(try_server_side(&mut stream, net_key, pk, sk)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `try_server_side(&mut stream, net_key, pk, sk).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | await!(stream.close()).unwrap_or(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.close().await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let r = await!(try_client_side(&mut stream, net_key, pk, sk, server_pk)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `try_client_side(&mut stream, net_key, pk, sk, server_pk).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | await!(stream.read_exact(&mut buf))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.read_exact(&mut buf).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | await!(stream.write_all(hello.as_slice()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.write_all(hello.as_slice()).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | await!(stream.close()).unwrap_or(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.close().await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | await!(stream.flush())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.flush().await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | await!(stream.write_all(&hello.as_slice()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.write_all(&hello.as_slice()).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | await!(stream.read_exact(&mut buf))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.read_exact(&mut buf).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | await!(stream.flush())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.flush().await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | await!(stream.read_exact(&mut buf))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.read_exact(&mut buf).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | await!(stream.write_all(server_acc.as_slice()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.write_all(server_acc.as_slice()).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | await!(stream.write_all(client_auth.as_slice()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.write_all(client_auth.as_slice()).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | await!(stream.flush())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.flush().await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | await!(stream.flush())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.flush().await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | await!(stream.read_exact(&mut buf))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.read_exact(&mut buf).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_await, await_macro)] [INFO] [stdout] | ^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: subsumed by `.await` syntax [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let r = await!(try_server_side(&mut stream, net_key, pk, sk)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `try_server_side(&mut stream, net_key, pk, sk).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | await!(stream.close()).unwrap_or(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.close().await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | await!(stream.read_exact(&mut buf))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.read_exact(&mut buf).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | await!(stream.write_all(hello.as_slice()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.write_all(hello.as_slice()).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | await!(stream.flush())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.flush().await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | await!(stream.read_exact(&mut buf))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.read_exact(&mut buf).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | await!(stream.write_all(server_acc.as_slice()))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.write_all(server_acc.as_slice()).await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect use of `await` [INFO] [stdout] --> src/lib.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | await!(stream.flush())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: `await` is a postfix operation: `stream.flush().await` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_await, await_macro)] [INFO] [stdout] | ^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: subsumed by `.await` syntax [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_await, await_macro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures::join` [INFO] [stdout] --> src/lib.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 164 | use futures::{join, Poll}; [INFO] [stdout] | ^^^^ no `join` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `join` [INFO] [stdout] --> src/lib.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | join!(client_side, server_side) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `join` [INFO] [stdout] --> src/lib.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | join!(client_side, server_side) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `join` [INFO] [stdout] --> src/lib.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | join!(client_side, server_side) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(async_await, await_macro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0554, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shs_async` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `Reader: futures::AsyncRead` is not satisfied [INFO] [stdout] --> src/lib.rs:219:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn client(mut stream: S, [INFO] [stdout] | ------ required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 25 | where S: AsyncRead + AsyncWrite + Unpin [INFO] [stdout] | --------- required by this bound in `client` [INFO] [stdout] ... [INFO] [stdout] 219 | let client_side = client(&mut c_stream, net_key.clone(), c_pk, c_sk, s_pk.clone()); [INFO] [stdout] | ^^^^^^ the trait `futures::AsyncRead` is not implemented for `Reader` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncRead` for `tests::Duplex` [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncRead` for `&mut tests::Duplex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Writer: futures::AsyncWrite` is not satisfied [INFO] [stdout] --> src/lib.rs:219:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn client(mut stream: S, [INFO] [stdout] | ------ required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 25 | where S: AsyncRead + AsyncWrite + Unpin [INFO] [stdout] | ---------- required by this bound in `client` [INFO] [stdout] ... [INFO] [stdout] 219 | let client_side = client(&mut c_stream, net_key.clone(), c_pk, c_sk, s_pk.clone()); [INFO] [stdout] | ^^^^^^ the trait `futures::AsyncWrite` is not implemented for `Writer` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncWrite` for `tests::Duplex` [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncWrite` for `&mut tests::Duplex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Reader: futures::AsyncRead` is not satisfied [INFO] [stdout] --> src/lib.rs:220:27 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn server(mut stream: S, [INFO] [stdout] | ------ required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 92 | where S: AsyncRead + AsyncWrite + Unpin [INFO] [stdout] | --------- required by this bound in `server` [INFO] [stdout] ... [INFO] [stdout] 220 | let server_side = server(&mut s_stream, net_key.clone(), s_pk, s_sk); [INFO] [stdout] | ^^^^^^ the trait `futures::AsyncRead` is not implemented for `Reader` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncRead` for `tests::Duplex` [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncRead` for `&mut tests::Duplex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Writer: futures::AsyncWrite` is not satisfied [INFO] [stdout] --> src/lib.rs:220:27 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn server(mut stream: S, [INFO] [stdout] | ------ required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 92 | where S: AsyncRead + AsyncWrite + Unpin [INFO] [stdout] | ---------- required by this bound in `server` [INFO] [stdout] ... [INFO] [stdout] 220 | let server_side = server(&mut s_stream, net_key.clone(), s_pk, s_sk); [INFO] [stdout] | ^^^^^^ the trait `futures::AsyncWrite` is not implemented for `Writer` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncWrite` for `tests::Duplex` [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncWrite` for `&mut tests::Duplex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Reader: futures::AsyncRead` is not satisfied [INFO] [stdout] --> src/lib.rs:252:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn client(mut stream: S, [INFO] [stdout] | ------ required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 25 | where S: AsyncRead + AsyncWrite + Unpin [INFO] [stdout] | --------- required by this bound in `client` [INFO] [stdout] ... [INFO] [stdout] 252 | let client_side = client(&mut c_stream, NetworkKey::random(), c_pk, c_sk, s_pk.clone()); [INFO] [stdout] | ^^^^^^ the trait `futures::AsyncRead` is not implemented for `Reader` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncRead` for `tests::Duplex` [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncRead` for `&mut tests::Duplex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Writer: futures::AsyncWrite` is not satisfied [INFO] [stdout] --> src/lib.rs:252:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn client(mut stream: S, [INFO] [stdout] | ------ required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 25 | where S: AsyncRead + AsyncWrite + Unpin [INFO] [stdout] | ---------- required by this bound in `client` [INFO] [stdout] ... [INFO] [stdout] 252 | let client_side = client(&mut c_stream, NetworkKey::random(), c_pk, c_sk, s_pk.clone()); [INFO] [stdout] | ^^^^^^ the trait `futures::AsyncWrite` is not implemented for `Writer` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncWrite` for `tests::Duplex` [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncWrite` for `&mut tests::Duplex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Reader: futures::AsyncRead` is not satisfied [INFO] [stdout] --> src/lib.rs:253:27 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn server(mut stream: S, [INFO] [stdout] | ------ required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 92 | where S: AsyncRead + AsyncWrite + Unpin [INFO] [stdout] | --------- required by this bound in `server` [INFO] [stdout] ... [INFO] [stdout] 253 | let server_side = server(&mut s_stream, NetworkKey::random(), s_pk, s_sk); [INFO] [stdout] | ^^^^^^ the trait `futures::AsyncRead` is not implemented for `Reader` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncRead` for `tests::Duplex` [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncRead` for `&mut tests::Duplex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Writer: futures::AsyncWrite` is not satisfied [INFO] [stdout] --> src/lib.rs:253:27 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn server(mut stream: S, [INFO] [stdout] | ------ required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 92 | where S: AsyncRead + AsyncWrite + Unpin [INFO] [stdout] | ---------- required by this bound in `server` [INFO] [stdout] ... [INFO] [stdout] 253 | let server_side = server(&mut s_stream, NetworkKey::random(), s_pk, s_sk); [INFO] [stdout] | ^^^^^^ the trait `futures::AsyncWrite` is not implemented for `Writer` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncWrite` for `tests::Duplex` [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncWrite` for `&mut tests::Duplex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Reader: futures::AsyncRead` is not satisfied [INFO] [stdout] --> src/lib.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn client(mut stream: S, [INFO] [stdout] | ------ required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 25 | where S: AsyncRead + AsyncWrite + Unpin [INFO] [stdout] | --------- required by this bound in `client` [INFO] [stdout] ... [INFO] [stdout] 284 | let client_side = client(&mut c_stream, net_key.clone(), c_pk, c_sk, bad_pk); [INFO] [stdout] | ^^^^^^ the trait `futures::AsyncRead` is not implemented for `Reader` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncRead` for `tests::Duplex` [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncRead` for `&mut tests::Duplex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Writer: futures::AsyncWrite` is not satisfied [INFO] [stdout] --> src/lib.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn client(mut stream: S, [INFO] [stdout] | ------ required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 25 | where S: AsyncRead + AsyncWrite + Unpin [INFO] [stdout] | ---------- required by this bound in `client` [INFO] [stdout] ... [INFO] [stdout] 284 | let client_side = client(&mut c_stream, net_key.clone(), c_pk, c_sk, bad_pk); [INFO] [stdout] | ^^^^^^ the trait `futures::AsyncWrite` is not implemented for `Writer` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncWrite` for `tests::Duplex` [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncWrite` for `&mut tests::Duplex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Reader: futures::AsyncRead` is not satisfied [INFO] [stdout] --> src/lib.rs:285:27 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn server(mut stream: S, [INFO] [stdout] | ------ required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 92 | where S: AsyncRead + AsyncWrite + Unpin [INFO] [stdout] | --------- required by this bound in `server` [INFO] [stdout] ... [INFO] [stdout] 285 | let server_side = server(&mut s_stream, net_key.clone(), s_pk, s_sk); [INFO] [stdout] | ^^^^^^ the trait `futures::AsyncRead` is not implemented for `Reader` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncRead` for `tests::Duplex` [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncRead` for `&mut tests::Duplex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Writer: futures::AsyncWrite` is not satisfied [INFO] [stdout] --> src/lib.rs:285:27 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn server(mut stream: S, [INFO] [stdout] | ------ required by a bound in this [INFO] [stdout] ... [INFO] [stdout] 92 | where S: AsyncRead + AsyncWrite + Unpin [INFO] [stdout] | ---------- required by this bound in `server` [INFO] [stdout] ... [INFO] [stdout] 285 | let server_side = server(&mut s_stream, net_key.clone(), s_pk, s_sk); [INFO] [stdout] | ^^^^^^ the trait `futures::AsyncWrite` is not implemented for `Writer` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncWrite` for `tests::Duplex` [INFO] [stdout] = note: required because of the requirements on the impl of `futures::AsyncWrite` for `&mut tests::Duplex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0554, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0ab3d60c8204ae33a6d1e2f74c119027051973b6bbd4f9a88b857552518db302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ab3d60c8204ae33a6d1e2f74c119027051973b6bbd4f9a88b857552518db302", kill_on_drop: false }` [INFO] [stdout] 0ab3d60c8204ae33a6d1e2f74c119027051973b6bbd4f9a88b857552518db302