[INFO] fetching crate actix-http 3.0.0-beta.9... [INFO] building actix-http-3.0.0-beta.9 against master#d5c88c22807925c189328ef9d923c5d2b11a95b8 for pr-87066-3 [INFO] extracting crate actix-http 3.0.0-beta.9 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate actix-http 3.0.0-beta.9 on toolchain d5c88c22807925c189328ef9d923c5d2b11a95b8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-http 3.0.0-beta.9 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate actix-http 3.0.0-beta.9 [INFO] tweaked toml for crates.io crate actix-http 3.0.0-beta.9 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate actix-http 3.0.0-beta.9 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c0258c20e58497a683cc611c69184a432a5f4033f4828119fd81dc974956b8fc [INFO] running `Command { std: "docker" "start" "-a" "c0258c20e58497a683cc611c69184a432a5f4033f4828119fd81dc974956b8fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0258c20e58497a683cc611c69184a432a5f4033f4828119fd81dc974956b8fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0258c20e58497a683cc611c69184a432a5f4033f4828119fd81dc974956b8fc", kill_on_drop: false }` [INFO] [stdout] c0258c20e58497a683cc611c69184a432a5f4033f4828119fd81dc974956b8fc [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4d6fd00a8a186ff2b9be991e7625f24c13c80c3cf16591219832c308f13613e9 [INFO] running `Command { std: "docker" "start" "-a" "4d6fd00a8a186ff2b9be991e7625f24c13c80c3cf16591219832c308f13613e9", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling actix-rt v2.2.0 [INFO] [stderr] Compiling actix-codec v0.4.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling actix-tls v3.0.0-beta.5 [INFO] [stderr] Compiling actix-http v3.0.0-beta.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new_encoder` [INFO] [stdout] --> src/error.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) fn new_encoder() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.08s [INFO] running `Command { std: "docker" "inspect" "4d6fd00a8a186ff2b9be991e7625f24c13c80c3cf16591219832c308f13613e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d6fd00a8a186ff2b9be991e7625f24c13c80c3cf16591219832c308f13613e9", kill_on_drop: false }` [INFO] [stdout] 4d6fd00a8a186ff2b9be991e7625f24c13c80c3cf16591219832c308f13613e9 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "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] 93989d53f60956c7660a8d992bdc59b1503584d47e9fe8554b375659ad12086b [INFO] running `Command { std: "docker" "start" "-a" "93989d53f60956c7660a8d992bdc59b1503584d47e9fe8554b375659ad12086b", kill_on_drop: false }` [INFO] [stderr] Compiling actix-http v3.0.0-beta.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new_encoder` [INFO] [stdout] --> src/error.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | pub(crate) fn new_encoder() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_server` [INFO] [stdout] --> examples/echo2.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_server::Server; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `actix_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_server` [INFO] [stdout] --> examples/echo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_server::Server; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `actix_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_server` [INFO] [stdout] --> examples/streaming-error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use actix_server::Server; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `actix_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_stream` [INFO] [stdout] --> examples/streaming-error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use async_stream::stream; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `async_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `stream` [INFO] [stdout] --> examples/streaming-error.rs:27:70 [INFO] [stdout] | [INFO] [stdout] 27 | Ok::<_, Infallible>(res.set_body(BodyStream::new(stream! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/echo2.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_server` [INFO] [stdout] --> examples/hello-world.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_server::Server; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `actix_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/echo2.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | env_logger::init_from_env(env_logger::Env::new().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/echo.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | env_logger::init_from_env(env_logger::Env::new().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/echo.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http_test` [INFO] [stdout] --> tests/test_client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_http_test::test_server; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_http_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/streaming-error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | env_logger::init_from_env(env_logger::Env::new().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/streaming-error.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> examples/streaming-error.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{convert::Infallible, io, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> examples/streaming-error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http_test` [INFO] [stdout] --> tests/test_ws.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use actix_http_test::test_server; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_http_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/hello-world.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-http` due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/hello-world.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [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] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http_test` [INFO] [stdout] --> tests/test_server.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use actix_http_test::test_server; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_http_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> tests/test_ws.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | 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: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> src/body/mod.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> src/body/mod.rs:230:44 [INFO] [stdout] | [INFO] [stdout] 230 | Body::from(serde_json::to_vec(&json!({"test-key":"test-value"})).unwrap()) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/body/mod.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | Body::from(serde_json::to_vec(&Value::String("test".to_owned())).unwrap()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/body/mod.rs:230:24 [INFO] [stdout] | [INFO] [stdout] 230 | Body::from(serde_json::to_vec(&json!({"test-key":"test-value"})).unwrap()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "93989d53f60956c7660a8d992bdc59b1503584d47e9fe8554b375659ad12086b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93989d53f60956c7660a8d992bdc59b1503584d47e9fe8554b375659ad12086b", kill_on_drop: false }` [INFO] [stdout] 93989d53f60956c7660a8d992bdc59b1503584d47e9fe8554b375659ad12086b