[INFO] fetching crate actix-server 2.0.0-beta.1... [INFO] checking actix-server-2.0.0-beta.1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate actix-server 2.0.0-beta.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate actix-server 2.0.0-beta.1 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-server 2.0.0-beta.1 [INFO] finished tweaking crates.io crate actix-server 2.0.0-beta.1 [INFO] tweaked toml for crates.io crate actix-server 2.0.0-beta.1 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate actix-server 2.0.0-beta.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e88165a9980d3b2d1bdd9d05b61d6b821e301beb40292d947dcb62db95f2e3d9 [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" "e88165a9980d3b2d1bdd9d05b61d6b821e301beb40292d947dcb62db95f2e3d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e88165a9980d3b2d1bdd9d05b61d6b821e301beb40292d947dcb62db95f2e3d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e88165a9980d3b2d1bdd9d05b61d6b821e301beb40292d947dcb62db95f2e3d9", kill_on_drop: false }` [INFO] [stdout] e88165a9980d3b2d1bdd9d05b61d6b821e301beb40292d947dcb62db95f2e3d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29691149e0db8063f67b72ee37cc4063e0f497761314c72b8a808d7fc925cfc6 [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" "29691149e0db8063f67b72ee37cc4063e0f497761314c72b8a808d7fc925cfc6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking bytes v1.0.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking actix-service v2.0.0-beta.1 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Checking actix-rt v2.0.0-beta.1 [INFO] [stderr] Checking async-stream v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.0 [INFO] [stderr] Checking tokio-util v0.6.0 [INFO] [stderr] Checking actix-codec v0.4.0-beta.1 [INFO] [stderr] Checking actix-utils v3.0.0-beta.1 [INFO] [stderr] Checking actix-server v2.0.0-beta.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_util` [INFO] [stdout] --> tests/test_server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_util::future::{lazy, ok}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_util` [INFO] [stdout] --> tests/test_server.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | use futures_util::sink::SinkExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_server.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | use bytes::Bytes; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokio::io::AsyncReadExt`, `tokio::io::AsyncWriteExt` [INFO] [stdout] --> examples/basic.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | 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] 24 | use tokio::io::{AsyncRead, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 24 | use tokio::io::{AsyncReadExt, AsyncWrite}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_util` [INFO] [stdout] --> examples/basic.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use futures_util::future::ok; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> examples/basic.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> tests/test_server.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | let srv = sys.block_on(lazy(|_| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> tests/test_server.rs:29:60 [INFO] [stdout] | [INFO] [stdout] 29 | .bind("test", addr, move || fn_service(|_| ok::<_, ()>(()))) [INFO] [stdout] | ^^ help: a tuple variant with a similar name exists (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> tests/test_server.rs:56:61 [INFO] [stdout] | [INFO] [stdout] 56 | .listen("test", lst, move || fn_service(|_| ok::<_, ()>(()))) [INFO] [stdout] | ^^ help: a tuple variant with a similar name exists (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> tests/test_server.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | let srv = sys.block_on(lazy(|_| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> tests/test_server.rs:154:32 [INFO] [stdout] | [INFO] [stdout] 154 | let srv = sys.block_on(lazy(|_| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> tests/test_server.rs:167:64 [INFO] [stdout] | [INFO] [stdout] 167 | ... rt.service("addr1", fn_service(|_| ok::<_, ()>(()))); [INFO] [stdout] | ^^ help: a tuple variant with a similar name exists (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> tests/test_server.rs:168:64 [INFO] [stdout] | [INFO] [stdout] 168 | ... rt.service("addr3", fn_service(|_| ok::<_, ()>(()))); [INFO] [stdout] | ^^ help: a tuple variant with a similar name exists (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> tests/test_server.rs:169:41 [INFO] [stdout] | [INFO] [stdout] 169 | ... rt.on_start(lazy(move |_| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/basic.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> examples/basic.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | ok(size) [INFO] [stdout] | ^^ help: a tuple variant with a similar name exists (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send` found for struct `Framed` in the current scope [INFO] [stdout] --> tests/test_server.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | f.send(Bytes::from_static(b"test")).await.unwrap(); [INFO] [stdout] | ^^^^ method not found in `Framed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-server` [INFO] [stdout] error[E0599]: no method named `read_buf` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> examples/basic.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] [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[E0599]: no method named `write_all` found for struct `actix_rt::net::TcpStream` in the current scope [INFO] [stdout] --> examples/basic.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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/basic.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | let mut size = 0; [INFO] [stdout] | ^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/basic.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | ... stream.write_all(&buf[size..]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/basic.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | match stream.read_buf(&mut buf).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/basic.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | ... stream.write_all(&buf[size..]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/basic.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | ... Ok(0) => break, [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/basic.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | ... stream.write_all(&buf[size..]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/basic.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | ... Ok(bytes_read) => { [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/basic.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | ... stream.write_all(&buf[size..]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/basic.rs:62:55 [INFO] [stdout] | [INFO] [stdout] 62 | ... stream.write_all(&buf[size..]).await.unwrap(); [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/basic.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | ... stream.write_all(&buf[size..]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> examples/basic.rs:62:55 [INFO] [stdout] | [INFO] [stdout] 62 | ... stream.write_all(&buf[size..]).await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> examples/basic.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | ... stream.write_all(&buf[size..]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "29691149e0db8063f67b72ee37cc4063e0f497761314c72b8a808d7fc925cfc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29691149e0db8063f67b72ee37cc4063e0f497761314c72b8a808d7fc925cfc6", kill_on_drop: false }` [INFO] [stdout] 29691149e0db8063f67b72ee37cc4063e0f497761314c72b8a808d7fc925cfc6