[INFO] fetching crate actix-server 2.0.0-beta.9... [INFO] testing actix-server-2.0.0-beta.9 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate actix-server 2.0.0-beta.9 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate actix-server 2.0.0-beta.9 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-server 2.0.0-beta.9 [INFO] finished tweaking crates.io crate actix-server 2.0.0-beta.9 [INFO] tweaked toml for crates.io crate actix-server 2.0.0-beta.9 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate actix-server 2.0.0-beta.9 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded io-uring v0.5.2 [INFO] [stderr] Downloaded tokio-uring v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd4ff908386356039eb6e0eadfbfd4286cffc6b7817fd6a4b84b9d1120b44fee [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" "dd4ff908386356039eb6e0eadfbfd4286cffc6b7817fd6a4b84b9d1120b44fee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd4ff908386356039eb6e0eadfbfd4286cffc6b7817fd6a4b84b9d1120b44fee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd4ff908386356039eb6e0eadfbfd4286cffc6b7817fd6a4b84b9d1120b44fee", kill_on_drop: false }` [INFO] [stdout] dd4ff908386356039eb6e0eadfbfd4286cffc6b7817fd6a4b84b9d1120b44fee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68746a15b2a29a947c9b56b403d2a03fabaee0119cb60f8b6dff50a67d245968 [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" "68746a15b2a29a947c9b56b403d2a03fabaee0119cb60f8b6dff50a67d245968", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling local-waker v0.1.1 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling actix-service v2.0.1 [INFO] [stderr] Compiling actix-rt v2.4.0 [INFO] [stderr] Compiling actix-server v2.0.0-beta.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.76s [INFO] running `Command { std: "docker" "inspect" "68746a15b2a29a947c9b56b403d2a03fabaee0119cb60f8b6dff50a67d245968", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68746a15b2a29a947c9b56b403d2a03fabaee0119cb60f8b6dff50a67d245968", kill_on_drop: false }` [INFO] [stdout] 68746a15b2a29a947c9b56b403d2a03fabaee0119cb60f8b6dff50a67d245968 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--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] 24e440a1ba1306edaafea9779a6c7503069ca688967bea08780c6cb20bbceb24 [INFO] running `Command { std: "docker" "start" "-a" "24e440a1ba1306edaafea9779a6c7503069ca688967bea08780c6cb20bbceb24", kill_on_drop: false }` [INFO] [stderr] Compiling actix-server v2.0.0-beta.9 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `actix_codec` [INFO] [stdout] --> tests/test_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/test_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/test_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/test_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/test_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/test_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/test_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/test_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/test_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[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[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/tcp-echo.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("info")).init(); [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:17 [INFO] [stdout] | [INFO] [stdout] 29 | env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("info")).init(); [INFO] [stdout] | ^^^^^^^ not found in `env_logger` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 12 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::runtime::Builder; [INFO] [stdout] | [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:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | #[tokio::test] [INFO] [stdout] | ^^^^ could not find `test` in `tokio` [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[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/test_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] [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[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] 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 `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/test_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] [stderr] error: could not compile `actix-server` due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `shutdown` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/test_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] error[E0599]: no method named `read` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> tests/test_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/test_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/test_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/test_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/test_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/test_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/test_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/test_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/test_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/test_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/test_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/test_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 24 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 2 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" "24e440a1ba1306edaafea9779a6c7503069ca688967bea08780c6cb20bbceb24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24e440a1ba1306edaafea9779a6c7503069ca688967bea08780c6cb20bbceb24", kill_on_drop: false }` [INFO] [stdout] 24e440a1ba1306edaafea9779a6c7503069ca688967bea08780c6cb20bbceb24