[INFO] fetching crate actix-server 2.0.0... [INFO] testing actix-server-2.0.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate actix-server 2.0.0 into /workspace/builds/worker-25/source [INFO] validating manifest of crates.io crate actix-server 2.0.0 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 crates.io crate actix-server 2.0.0 [INFO] finished tweaking crates.io crate actix-server 2.0.0 [INFO] tweaked toml for crates.io crate actix-server 2.0.0 written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate crates.io crate actix-server 2.0.0 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] b9572b1a99cbaf04a29aed87ca02f16cb21476fcc2ea471516d4ff8f4b5bad71 [INFO] running `Command { std: "docker" "start" "-a" "b9572b1a99cbaf04a29aed87ca02f16cb21476fcc2ea471516d4ff8f4b5bad71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9572b1a99cbaf04a29aed87ca02f16cb21476fcc2ea471516d4ff8f4b5bad71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9572b1a99cbaf04a29aed87ca02f16cb21476fcc2ea471516d4ff8f4b5bad71", kill_on_drop: false }` [INFO] [stdout] b9572b1a99cbaf04a29aed87ca02f16cb21476fcc2ea471516d4ff8f4b5bad71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] b02ef592404ff2e12e644a846997b389582beb133d2cb03165bce7d4e6add907 [INFO] running `Command { std: "docker" "start" "-a" "b02ef592404ff2e12e644a846997b389582beb133d2cb03165bce7d4e6add907", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling local-waker v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling actix-service v2.0.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling actix-rt v2.6.0 [INFO] [stderr] Compiling actix-server v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.36s [INFO] running `Command { std: "docker" "inspect" "b02ef592404ff2e12e644a846997b389582beb133d2cb03165bce7d4e6add907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b02ef592404ff2e12e644a846997b389582beb133d2cb03165bce7d4e6add907", kill_on_drop: false }` [INFO] [stdout] b02ef592404ff2e12e644a846997b389582beb133d2cb03165bce7d4e6add907 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] a3d7b3da675252fdbaab3bb7304daf825ff61e76d775589f0ca4214128c2efc0 [INFO] running `Command { std: "docker" "start" "-a" "a3d7b3da675252fdbaab3bb7304daf825ff61e76d775589f0ca4214128c2efc0", kill_on_drop: false }` [INFO] [stderr] Compiling actix-server v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `futures_util::SinkExt` [INFO] [stdout] --> examples/file-reader.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use futures_util::{SinkExt as _, StreamExt as _}; [INFO] [stdout] | ^^^^^^^^^^^^ no `SinkExt` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::fs`, `tokio::io::AsyncReadExt` [INFO] [stdout] --> examples/file-reader.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::{fs::File, io::AsyncReadExt as _}; [INFO] [stdout] | ^^ ^^^^------------^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | help: a similar name exists in the module: `AsyncRead` [INFO] [stdout] | | no `AsyncReadExt` in `io` [INFO] [stdout] | could not find `fs` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_codec` [INFO] [stdout] --> examples/file-reader.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use actix_codec::{Framed, LinesCodec}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `actix_codec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> examples/file-reader.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::io::AsyncReadExt`, `tokio::io::AsyncWriteExt` [INFO] [stdout] --> tests/testing_server.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::{AsyncReadExt as _, AsyncWriteExt as _}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `AsyncWriteExt` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `AsyncReadExt` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::{AsyncRead as _, AsyncWriteExt as _}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::io::{AsyncReadExt as _, AsyncWrite as _}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/testing_server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/testing_server.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> tests/testing_server.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::io::AsyncReadExt`, `tokio::io::AsyncWriteExt` [INFO] [stdout] --> examples/tcp-echo.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | use tokio::io::{AsyncReadExt as _, AsyncWriteExt as _}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `AsyncWriteExt` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `AsyncReadExt` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 26 | use tokio::io::{AsyncRead as _, AsyncWriteExt as _}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 26 | use tokio::io::{AsyncReadExt as _, AsyncWrite as _}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> examples/tcp-echo.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> examples/tcp-echo.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_codec` [INFO] [stdout] --> tests/server.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | use actix_codec::{BytesCodec, Framed}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `actix_codec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/server.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | use bytes::Bytes; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_util::sink` [INFO] [stdout] --> tests/server.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | use futures_util::sink::SinkExt; [INFO] [stdout] | ^^^^ could not find `sink` in `futures_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::io::AsyncWriteExt` [INFO] [stdout] --> tests/server.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^^^^^^^------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AsyncWrite` [INFO] [stdout] | no `AsyncWriteExt` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio::io::AsyncWriteExt` [INFO] [stdout] --> tests/server.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^^^^^^^------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `AsyncWrite` [INFO] [stdout] | no `AsyncWriteExt` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::io::AsyncReadExt`, `tokio::io::AsyncWriteExt` [INFO] [stdout] --> tests/server.rs:356:21 [INFO] [stdout] | [INFO] [stdout] 356 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `AsyncWriteExt` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `AsyncReadExt` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 356 | use tokio::io::{AsyncRead, AsyncWriteExt}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 356 | use tokio::io::{AsyncReadExt, AsyncWrite}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_rt` [INFO] [stdout] --> tests/server.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | #[actix_rt::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_rt` [INFO] [stdout] --> tests/server.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | #[actix_rt::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_rt` [INFO] [stdout] --> tests/server.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | #[actix_rt::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `poll` in `futures_util` [INFO] [stdout] --> tests/server.rs:524:31 [INFO] [stdout] | [INFO] [stdout] 524 | let _ = futures_util::poll!(&mut srv); [INFO] [stdout] | ^^^^ could not find `poll` in `futures_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/file-reader.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | env_logger::init_from_env(env_logger::Env::default().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/file-reader.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | env_logger::init_from_env(env_logger::Env::default().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/tcp-echo.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | env_logger::init_from_env(env_logger::Env::default().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/tcp-echo.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | env_logger::init_from_env(env_logger::Env::default().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_rt` [INFO] [stdout] --> src/join_all.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | #[actix_rt::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio` [INFO] [stdout] --> src/test_server.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_rt` [INFO] [stdout] --> src/test_server.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | #[actix_rt::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_buf` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/testing_server.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | match stream.read_buf(&mut buf).await { [INFO] [stdout] | ^^^^^^^^ method not found in `actix_rt::net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/testing_server.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | stream.write_all(&buf[size..]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `actix_rt::net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> examples/file-reader.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | use futures_util::{SinkExt as _, StreamExt as _}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/file-reader.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_buf` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> examples/tcp-echo.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | match stream.read_buf(&mut buf).await { [INFO] [stdout] | ^^^^^^^^ method not found in `actix_rt::net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/testing_server.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | await_timeout_ms!(conn.write_all(b"test"), 200); [INFO] [stdout] | ^^^^^^^^^ method not found in `actix_rt::net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-server` due to 8 previous errors; 1 warning emitted [INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/server.rs:249:14 [INFO] [stdout] | [INFO] [stdout] 249 | conn.shutdown().await.unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `actix_rt::net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> examples/tcp-echo.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | ... stream.write_all(&buf[size..]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `actix_rt::net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_to_end` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/testing_server.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | await_timeout_ms!(conn.read_to_end(&mut buf), 200); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `actix_rt::net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/server.rs:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | .shutdown() [INFO] [stdout] | ^^^^^^^^ method not found in `actix_rt::net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/tcp-echo.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/server.rs:337:14 [INFO] [stdout] | [INFO] [stdout] 337 | .shutdown() [INFO] [stdout] | ^^^^^^^^ method not found in `actix_rt::net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_exact` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/testing_server.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | sock.read_exact(&mut buf).await [INFO] [stdout] | ^^^^^^^^^^ method not found in `actix_rt::net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/server.rs:438:20 [INFO] [stdout] | [INFO] [stdout] 438 | let n = stream.read(&mut buf).await.unwrap(); [INFO] [stdout] | ^^^^ help: there is an associated function with a similar name: `ready` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/server.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 441 | stream.shutdown().await.unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `actix_rt::net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/server.rs:445:20 [INFO] [stdout] | [INFO] [stdout] 445 | let n = stream.read(&mut buf).await.unwrap(); [INFO] [stdout] | ^^^^ help: there is an associated function with a similar name: `ready` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/server.rs:448:12 [INFO] [stdout] | [INFO] [stdout] 448 | stream.shutdown().await.unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `actix_rt::net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/server.rs:452:20 [INFO] [stdout] | [INFO] [stdout] 452 | let n = stream.read(&mut buf).await.unwrap(); [INFO] [stdout] | ^^^^ help: there is an associated function with a similar name: `ready` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/server.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 455 | stream.shutdown().await.unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `actix_rt::net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/server.rs:462:20 [INFO] [stdout] | [INFO] [stdout] 462 | let n = stream.read(&mut buf).await.unwrap(); [INFO] [stdout] | ^^^^ help: there is an associated function with a similar name: `ready` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/server.rs:465:12 [INFO] [stdout] | [INFO] [stdout] 465 | stream.shutdown().await.unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `actix_rt::net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/server.rs:472:20 [INFO] [stdout] | [INFO] [stdout] 472 | let n = stream.read(&mut buf).await.unwrap(); [INFO] [stdout] | ^^^^ help: there is an associated function with a similar name: `ready` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/server.rs:475:12 [INFO] [stdout] | [INFO] [stdout] 475 | stream.shutdown().await.unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `actix_rt::net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/server.rs:482:20 [INFO] [stdout] | [INFO] [stdout] 482 | let n = stream.read(&mut buf).await.unwrap(); [INFO] [stdout] | ^^^^ help: there is an associated function with a similar name: `ready` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/server.rs:485:12 [INFO] [stdout] | [INFO] [stdout] 485 | stream.shutdown().await.unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `actix_rt::net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a3d7b3da675252fdbaab3bb7304daf825ff61e76d775589f0ca4214128c2efc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3d7b3da675252fdbaab3bb7304daf825ff61e76d775589f0ca4214128c2efc0", kill_on_drop: false }` [INFO] [stdout] a3d7b3da675252fdbaab3bb7304daf825ff61e76d775589f0ca4214128c2efc0