[INFO] fetching crate actix-http 3.0.4... [INFO] testing actix-http-3.0.4 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate actix-http 3.0.4 into /workspace/builds/worker-16/source [INFO] validating manifest of crates.io crate actix-http 3.0.4 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-http 3.0.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate actix-http 3.0.4 [INFO] tweaked toml for crates.io crate actix-http 3.0.4 written to /workspace/builds/worker-16/source/Cargo.toml [INFO] crate crates.io crate actix-http 3.0.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f8c052c9e180098b674116c3a2b80f67a98db5f4f1499909aa82bfda9ed2d61 [INFO] running `Command { std: "docker" "start" "-a" "8f8c052c9e180098b674116c3a2b80f67a98db5f4f1499909aa82bfda9ed2d61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f8c052c9e180098b674116c3a2b80f67a98db5f4f1499909aa82bfda9ed2d61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f8c052c9e180098b674116c3a2b80f67a98db5f4f1499909aa82bfda9ed2d61", kill_on_drop: false }` [INFO] [stdout] 8f8c052c9e180098b674116c3a2b80f67a98db5f4f1499909aa82bfda9ed2d61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3c9a5f280b12fd3d2e03073426307dbc6fcc0137c1d90f3e156bbdcc31445e9 [INFO] running `Command { std: "docker" "start" "-a" "b3c9a5f280b12fd3d2e03073426307dbc6fcc0137c1d90f3e156bbdcc31445e9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-http v3.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.25s [INFO] running `Command { std: "docker" "inspect" "b3c9a5f280b12fd3d2e03073426307dbc6fcc0137c1d90f3e156bbdcc31445e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3c9a5f280b12fd3d2e03073426307dbc6fcc0137c1d90f3e156bbdcc31445e9", kill_on_drop: false }` [INFO] [stdout] b3c9a5f280b12fd3d2e03073426307dbc6fcc0137c1d90f3e156bbdcc31445e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4fc2ecea84b22c3badedea9f0f7b0cffaebae5f5f9349afe3d1991b0378f35c [INFO] running `Command { std: "docker" "start" "-a" "a4fc2ecea84b22c3badedea9f0f7b0cffaebae5f5f9349afe3d1991b0378f35c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling actix-http v3.0.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `once_cell` [INFO] [stdout] --> examples/bench.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `once_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_rt` [INFO] [stdout] --> examples/echo2.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | #[actix_rt::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_rt` [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 12 | use actix_service::Server; [INFO] [stdout] | ~~~~~~~~~~~~~ [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use actix_service::Server; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_util` [INFO] [stdout] --> examples/echo.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures_util::StreamExt as _; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use futures_core::StreamExt as _; [INFO] [stdout] | ~~~~~~~~~~~~ [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[E0433]: failed to resolve: could not find `main` in `actix_rt` [INFO] [stdout] --> examples/echo.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | #[actix_rt::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_rt` [INFO] [stdout] --> examples/streaming-error.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | #[actix_rt::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_rt` [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[E0432]: unresolved import `actix_server` [INFO] [stdout] --> examples/bench.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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use actix_service::Server; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_rt` [INFO] [stdout] --> examples/bench.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | #[actix_rt::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/bench.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/bench.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[E0412]: cannot find type `Lazy` in this scope [INFO] [stdout] --> examples/bench.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | static STR: Lazy = Lazy::new(|| "HELLO WORLD ".repeat(20)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::lazy::Lazy; [INFO] [stdout] | [INFO] [stdout] 1 | use std::lazy::Lazy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lazy` [INFO] [stdout] --> examples/bench.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | static STR: Lazy = Lazy::new(|| "HELLO WORLD ".repeat(20)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::lazy::Lazy; [INFO] [stdout] | [INFO] [stdout] 1 | use std::lazy::Lazy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `once_cell` [INFO] [stdout] --> examples/h2spec.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `once_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_server` [INFO] [stdout] --> examples/h2spec.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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use actix_service::Server; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_rt` [INFO] [stdout] --> examples/h2spec.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | #[actix_rt::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `actix_http::ws`, `actix_http::ws` [INFO] [stdout] --> tests/test_ws.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | ws::{self, CloseCode, Frame, Item, Message}, [INFO] [stdout] | ^^ ^^^^ no `ws` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `ws` in `actix_http` [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/echo2.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | 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[E0433]: failed to resolve: use of undeclared crate or module `futures_util` [INFO] [stdout] --> tests/test_server.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use futures_util::{ [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 18 | use futures_core::{ [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http_test` [INFO] [stdout] --> tests/test_server.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use actix_http_test::test_server; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_http_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 12 | use actix_http::test_server; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_util` [INFO] [stdout] --> tests/test_server.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use futures_util::{ [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 18 | use futures_core::{ [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `regex` [INFO] [stdout] --> tests/test_server.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use regex::Regex; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `regex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_rt` [INFO] [stdout] --> tests/test_server.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | #[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:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | #[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:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | #[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:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | #[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:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | #[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:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | #[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:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | #[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:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | #[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:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | #[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:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | #[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:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | #[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:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | #[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:375:13 [INFO] [stdout] | [INFO] [stdout] 375 | #[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:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | #[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:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | #[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:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | #[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:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | #[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:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | #[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:586:13 [INFO] [stdout] | [INFO] [stdout] 586 | #[actix_rt::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/test_h2_timer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_rt` [INFO] [stdout] --> tests/test_server.rs:609:13 [INFO] [stdout] | [INFO] [stdout] 609 | #[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:633:13 [INFO] [stdout] | [INFO] [stdout] 633 | #[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:670:13 [INFO] [stdout] | [INFO] [stdout] 670 | #[actix_rt::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_server` [INFO] [stdout] --> tests/test_h2_timer.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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use actix_service::Server; [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:701:13 [INFO] [stdout] | [INFO] [stdout] 701 | #[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_h2_timer.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | #[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:740:13 [INFO] [stdout] | [INFO] [stdout] 740 | #[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_h2_timer.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | #[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:759:13 [INFO] [stdout] | [INFO] [stdout] 759 | #[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:782:13 [INFO] [stdout] | [INFO] [stdout] 782 | #[actix_rt::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/h2spec.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/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] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/echo2.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | 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_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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 14 | use actix_http::test_server; [INFO] [stdout] | ~~~~~~~~~~ [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] error[E0433]: failed to resolve: use of undeclared crate or module `actix_server` [INFO] [stdout] --> examples/echo2.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | actix_server::Server::build() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `actix_server` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 25 | actix_service::Server::build() [INFO] [stdout] | ~~~~~~~~~~~~~ [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 `futures_util` [INFO] [stdout] --> tests/test_ws.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use futures_util::{SinkExt as _, StreamExt as _}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 19 | use futures_core::{SinkExt as _, StreamExt as _}; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_rt` [INFO] [stdout] --> tests/test_ws.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | #[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 `ws` in `actix_http` [INFO] [stdout] --> tests/test_ws.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | Ws(actix_http::ws::HandshakeError), [INFO] [stdout] | ^^ could not find `ws` in `actix_http` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/bench.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/h2spec.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[E0412]: cannot find type `Lazy` in this scope [INFO] [stdout] --> examples/h2spec.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | static STR: Lazy = Lazy::new(|| "HELLO WORLD ".repeat(100)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::lazy::Lazy; [INFO] [stdout] | [INFO] [stdout] 1 | use std::lazy::Lazy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lazy` [INFO] [stdout] --> examples/h2spec.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | static STR: Lazy = Lazy::new(|| "HELLO WORLD ".repeat(100)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::lazy::Lazy; [INFO] [stdout] | [INFO] [stdout] 1 | use std::lazy::Lazy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/test_server.rs:171:42 [INFO] [stdout] | [INFO] [stdout] 171 | (0..*chunk_size).map(|_| rand::random::()).collect(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `h2` [INFO] [stdout] --> tests/test_h2_timer.rs:47:38 [INFO] [stdout] | [INFO] [stdout] 47 | let (mut tx, conn) = h2::client::handshake(stream).await.unwrap(); [INFO] [stdout] | ^^ use of undeclared crate or module `h2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `once` in this scope [INFO] [stdout] --> tests/test_server.rs:614:28 [INFO] [stdout] | [INFO] [stdout] 614 | let body = once(ok::<_, Infallible>(Bytes::from_static(STR.as_ref()))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::once; [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::once; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/test_h2_timer.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | tokio::spawn(async move { conn.await.unwrap() }); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `once` in this scope [INFO] [stdout] --> tests/test_server.rs:638:28 [INFO] [stdout] | [INFO] [stdout] 638 | let body = once(ok::<_, Error>(Bytes::from_static(STR.as_ref()))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::once; [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::once; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `once` in this scope [INFO] [stdout] --> tests/test_server.rs:675:28 [INFO] [stdout] | [INFO] [stdout] 675 | let body = once(ok::<_, Error>(Bytes::from_static(STR.as_ref()))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::once; [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::once; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-http` due to 9 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/test_h2_timer.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | tokio::runtime::Builder::new_current_thread() [INFO] [stdout] | ^^^^^^^ not found in `tokio::runtime` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use actix_http::uri::Builder; [INFO] [stdout] | [INFO] [stdout] 1 | use http::request::Builder; [INFO] [stdout] | [INFO] [stdout] 1 | use http::response::Builder; [INFO] [stdout] | [INFO] [stdout] 1 | use http::uri::Builder; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/test_h2_timer.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | let stream = tokio::net::TcpStream::connect(addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in `tokio::net` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use actix_rt::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/test_h2_timer.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | tokio::runtime::Builder::new_current_thread() [INFO] [stdout] | ^^^^^^^ not found in `tokio::runtime` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use actix_http::uri::Builder; [INFO] [stdout] | [INFO] [stdout] 1 | use http::request::Builder; [INFO] [stdout] | [INFO] [stdout] 1 | use http::response::Builder; [INFO] [stdout] | [INFO] [stdout] 1 | use http::uri::Builder; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/test_h2_timer.rs:121:46 [INFO] [stdout] | [INFO] [stdout] 121 | let mut stream = tokio::net::TcpStream::connect(addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in `tokio::net` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use actix_rt::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/streaming-error.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/echo2.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | 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 7 previous errors; 2 warnings 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 `h2` found for struct `HttpServiceBuilder` in the current scope [INFO] [stdout] --> examples/h2spec.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | .h2(|_: Request| async move { [INFO] [stdout] | ^^ help: there is an associated function with a similar name: `h1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `next` exists for mutable reference `&mut actix_http::Payload`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/echo.rs:21:58 [INFO] [stdout] | [INFO] [stdout] 21 | while let Some(item) = req.payload().next().await { [INFO] [stdout] | ^^^^ method cannot be called on `&mut actix_http::Payload` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/payload.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / pin_project! { [INFO] [stdout] 22 | | /// A streaming payload. [INFO] [stdout] 23 | | #[project = PayloadProj] [INFO] [stdout] 24 | | pub enum Payload { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- doesn't satisfy `actix_http::Payload: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `actix_http::Payload: Iterator` [INFO] [stdout] which is required by `&mut actix_http::Payload: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/h2spec.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> examples/echo.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | body.extend_from_slice(&item?); [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> examples/echo.rs:22:53 [INFO] [stdout] | [INFO] [stdout] 22 | body.extend_from_slice(&item?); [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by a bound in `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/echo.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | async fn main() -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_server` [INFO] [stdout] --> examples/hello-world.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_server::Server; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `actix_server` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use actix_service::Server; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `actix_rt` [INFO] [stdout] --> examples/hello-world.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | #[actix_rt::main] [INFO] [stdout] | ^^^^ could not find `main` in `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/hello-world.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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 10 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/hello-world.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | 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 10 previous errors [INFO] [stderr] error: could not compile `actix-http` due to 6 previous errors [INFO] [stderr] error: could not compile `actix-http` due to 8 previous errors; 2 warnings emitted [INFO] [stdout] error[E0599]: no method named `h2` found for struct `HttpServiceBuilder` in the current scope [INFO] [stdout] --> tests/test_h2_timer.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | .h2(|_| async { Ok::<_, Error>(Response::ok()) }) [INFO] [stdout] | ^^ help: there is an associated function with a similar name: `h1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/hello-world.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | 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 5 previous errors [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] [stderr] error: could not compile `actix-http` due to 6 previous errors [INFO] [stdout] error[E0599]: no method named `h2` found for struct `HttpServiceBuilder` in the current scope [INFO] [stdout] --> tests/test_h2_timer.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | .h2(|_| async { Ok::<_, Error>(Response::ok()) }) [INFO] [stdout] | ^^ help: there is an associated function with a similar name: `h1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> examples/actix-web.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{dev::AppConfig, get, App}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use actix_rt::{dev::AppConfig, get, App}; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_server` [INFO] [stdout] --> examples/actix-web.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_server::Server; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `actix_server` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 | use actix_service::Server; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> examples/actix-web.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{dev::AppConfig, get, App}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use actix_rt::{dev::AppConfig, get, App}; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> examples/actix-web.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[tokio::main(flavor = "current_thread")] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `get` [INFO] [stdout] --> examples/actix-web.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[get("/")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 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 `then` found for struct `Sleep` in the current scope [INFO] [stdout] --> tests/test_server.rs:113:50 [INFO] [stdout] | [INFO] [stdout] 113 | sleep(Duration::from_millis(20)).then(move |_| { [INFO] [stdout] | ^^^^ method not found in `Sleep` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-http` due to 13 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppConfig` [INFO] [stdout] --> examples/actix-web.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | .h1(map_config(app, |_| AppConfig::default())) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http_test` [INFO] [stdout] --> tests/test_client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_http_test::test_server; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_http_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use actix_http::test_server; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_util` [INFO] [stdout] --> tests/test_client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures_util::StreamExt as _; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | use futures_core::StreamExt as _; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_rt` [INFO] [stdout] --> tests/test_client.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | #[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_client.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | #[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_client.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | #[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_client.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | #[actix_rt::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `actix_http::Payload` is not an iterator [INFO] [stdout] --> tests/test_server.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | .map(|res| match res { [INFO] [stdout] | ^^^ `actix_http::Payload` is not an iterator [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/payload.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / pin_project! { [INFO] [stdout] 22 | | /// A streaming payload. [INFO] [stdout] 23 | | #[project = PayloadProj] [INFO] [stdout] 24 | | pub enum Payload { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- doesn't satisfy `actix_http::Payload: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `actix_http::Payload: Iterator` [INFO] [stdout] which is required by `&mut actix_http::Payload: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> examples/actix-web.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | async fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-http` due to 8 previous errors [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 `next` found for enum `actix_http::Payload` in the current scope [INFO] [stdout] --> tests/test_client.rs:120:50 [INFO] [stdout] | [INFO] [stdout] 120 | while let Some(Ok(chunk)) = body.next().await { [INFO] [stdout] | ^^^^ method not found in `actix_http::Payload>>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> tests/test_client.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | while let Some(Ok(chunk)) = body.next().await { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[_]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> tests/test_client.rs:120:32 [INFO] [stdout] | [INFO] [stdout] 120 | while let Some(Ok(chunk)) = body.next().await { [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[_]` [INFO] [stdout] note: required by a bound in `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[_]` cannot be known at compilation time [INFO] [stdout] --> tests/test_client.rs:120:56 [INFO] [stdout] | [INFO] [stdout] 120 | while let Some(Ok(chunk)) = body.next().await { [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Sized` is not implemented for `[_]` [INFO] [stdout] note: required by a bound in `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-http` due to 11 previous errors [INFO] [stdout] error[E0432]: unresolved import `futures_util` [INFO] [stdout] --> src/body/utils.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | use futures_util::{stream, StreamExt as _}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 57 | use futures_core::{stream, StreamExt as _}; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_util` [INFO] [stdout] --> src/h1/dispatcher_tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_util::future::lazy; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | use futures_core::future::lazy; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_util` [INFO] [stdout] --> src/h1/dispatcher_tests.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | use futures_util::stream::StreamExt as _; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 67 | use futures_core::stream::StreamExt as _; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `memchr` [INFO] [stdout] --> src/config.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | use memchr::memmem; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `memchr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `memchr` [INFO] [stdout] --> src/responses/head.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | use memchr::memmem; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `memchr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_util` [INFO] [stdout] --> src/body/body_stream.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | use futures_util::{stream, FutureExt as _}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 81 | use futures_core::{stream, FutureExt as _}; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_assertions` [INFO] [stdout] --> src/body/body_stream.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | use static_assertions::{assert_impl_all, assert_not_impl_any}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `static_assertions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_assertions` [INFO] [stdout] --> src/body/boxed.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use static_assertions::{assert_impl_all, assert_not_impl_any}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `static_assertions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_util` [INFO] [stdout] --> src/body/sized_stream.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | use futures_util::stream; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 78 | use futures_core::stream; [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_assertions` [INFO] [stdout] --> src/body/sized_stream.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | use static_assertions::{assert_impl_all, assert_not_impl_any}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `static_assertions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_assertions` [INFO] [stdout] --> src/h1/payload.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | use static_assertions::{assert_impl_all, assert_not_impl_any}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `static_assertions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_assertions` [INFO] [stdout] --> src/header/map.rs:856:9 [INFO] [stdout] | [INFO] [stdout] 856 | use static_assertions::assert_impl_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `static_assertions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `static_assertions` [INFO] [stdout] --> src/payload.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | use static_assertions::{assert_impl_all, assert_not_impl_any}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `static_assertions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_rt` [INFO] [stdout] --> src/body/body_stream.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | #[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] --> src/body/body_stream.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | #[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] --> src/body/body_stream.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | #[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] --> src/body/body_stream.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | #[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] --> src/body/body_stream.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | #[actix_rt::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send` found for struct `Framed` in the current scope [INFO] [stdout] --> tests/test_ws.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | framed.send((res, BodySize::None).into()).await?; [INFO] [stdout] | ^^^^ method not found in `Framed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `actix_rt` [INFO] [stdout] --> src/body/body_stream.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | #[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] --> src/body/boxed.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | #[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] --> src/body/message_body.rs:470:17 [INFO] [stdout] | [INFO] [stdout] 470 | #[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] --> src/body/message_body.rs:484:17 [INFO] [stdout] | [INFO] [stdout] 484 | #[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] --> src/body/message_body.rs:492:17 [INFO] [stdout] | [INFO] [stdout] 492 | #[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] --> src/body/message_body.rs:502:17 [INFO] [stdout] | [INFO] [stdout] 502 | #[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] --> src/body/message_body.rs:512:17 [INFO] [stdout] | [INFO] [stdout] 512 | #[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] --> src/body/message_body.rs:522:17 [INFO] [stdout] | [INFO] [stdout] 522 | #[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] --> src/body/message_body.rs:532:17 [INFO] [stdout] | [INFO] [stdout] 532 | #[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] --> src/body/message_body.rs:542:17 [INFO] [stdout] | [INFO] [stdout] 542 | #[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] --> src/body/message_body.rs:552:17 [INFO] [stdout] | [INFO] [stdout] 552 | #[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] --> src/body/message_body.rs:565:17 [INFO] [stdout] | [INFO] [stdout] 565 | #[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] --> src/body/message_body.rs:578:17 [INFO] [stdout] | [INFO] [stdout] 578 | #[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] --> src/body/message_body.rs:595:17 [INFO] [stdout] | [INFO] [stdout] 595 | #[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] --> src/body/sized_stream.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | #[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] --> src/body/sized_stream.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | #[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] --> src/body/sized_stream.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | #[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] --> src/body/sized_stream.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | #[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] --> src/body/utils.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | #[actix_rt::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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[E0433]: failed to resolve: could not find `test` in `actix_rt` [INFO] [stdout] --> src/config.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | #[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] --> src/config.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | #[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] --> src/config.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | #[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] --> src/config.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | #[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] --> src/h1/codec.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | #[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] --> src/h1/dispatcher_tests.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | #[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] --> src/h1/dispatcher_tests.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | #[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] --> src/h1/dispatcher_tests.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | #[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] --> src/h1/dispatcher_tests.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | #[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] --> src/h1/dispatcher_tests.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | #[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] --> src/h1/dispatcher_tests.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | #[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] --> src/h1/dispatcher_tests.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | #[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] --> src/h1/dispatcher_tests.rs:584:13 [INFO] [stdout] | [INFO] [stdout] 584 | #[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] --> src/h1/dispatcher_tests.rs:661:13 [INFO] [stdout] | [INFO] [stdout] 661 | #[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] --> src/h1/dispatcher_tests.rs:727:13 [INFO] [stdout] | [INFO] [stdout] 727 | #[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] --> src/h1/dispatcher_tests.rs:786:13 [INFO] [stdout] | [INFO] [stdout] 786 | #[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] --> src/h1/encoder.rs:554:17 [INFO] [stdout] | [INFO] [stdout] 554 | #[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] --> src/h1/encoder.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 618 | #[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] --> src/h1/encoder.rs:651:17 [INFO] [stdout] | [INFO] [stdout] 651 | #[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] --> src/h1/payload.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | #[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] --> src/responses/head.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | #[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] --> src/responses/response.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | #[actix_rt::test] [INFO] [stdout] | ^^^^ could not find `test` in `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_impl_all` [INFO] [stdout] --> src/body/body_stream.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | assert_impl_all!(BodyStream>>: MessageBody); [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 `assert_impl_all` [INFO] [stdout] --> src/body/body_stream.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | assert_impl_all!(BodyStream>>: MessageBody); [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 `assert_impl_all` [INFO] [stdout] --> src/body/body_stream.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | assert_impl_all!(BodyStream>>: MessageBody); [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 `assert_impl_all` [INFO] [stdout] --> src/body/body_stream.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | assert_impl_all!(BodyStream>>: MessageBody); [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 `assert_impl_all` [INFO] [stdout] --> src/body/body_stream.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | assert_impl_all!(BodyStream>>: MessageBody); [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 `assert_not_impl_any` [INFO] [stdout] --> src/body/body_stream.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | assert_not_impl_any!(BodyStream>: MessageBody); [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 `assert_not_impl_any` [INFO] [stdout] --> src/body/body_stream.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | assert_not_impl_any!(BodyStream>: MessageBody); [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 `assert_not_impl_any` [INFO] [stdout] --> src/body/body_stream.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | assert_not_impl_any!(BodyStream>>: MessageBody); [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 `assert_impl_all` [INFO] [stdout] --> src/body/boxed.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | assert_impl_all!(BoxBody: fmt::Debug, MessageBody, Unpin); [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 `assert_not_impl_any` [INFO] [stdout] --> src/body/boxed.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | assert_not_impl_any!(BoxBody: Send, Sync); [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 `assert_impl_all` [INFO] [stdout] --> src/body/sized_stream.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | assert_impl_all!(SizedStream>>: MessageBody); [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 `assert_impl_all` [INFO] [stdout] --> src/body/sized_stream.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | assert_impl_all!(SizedStream>>: MessageBody); [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 `assert_impl_all` [INFO] [stdout] --> src/body/sized_stream.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | assert_impl_all!(SizedStream>>: MessageBody); [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 `assert_impl_all` [INFO] [stdout] --> src/body/sized_stream.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | assert_impl_all!(SizedStream>>: MessageBody); [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 `assert_impl_all` [INFO] [stdout] --> src/body/sized_stream.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | assert_impl_all!(SizedStream>>: MessageBody); [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 `assert_not_impl_any` [INFO] [stdout] --> src/body/sized_stream.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | assert_not_impl_any!(SizedStream>: MessageBody); [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 `assert_not_impl_any` [INFO] [stdout] --> src/body/sized_stream.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | assert_not_impl_any!(SizedStream>: MessageBody); [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 `assert_not_impl_any` [INFO] [stdout] --> src/body/sized_stream.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | assert_not_impl_any!(SizedStream>>: MessageBody); [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 `assert_impl_all` [INFO] [stdout] --> src/h1/payload.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | assert_impl_all!(Payload: Unpin); [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 `assert_not_impl_any` [INFO] [stdout] --> src/h1/payload.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | assert_not_impl_any!(Payload: Send, Sync, UnwindSafe, RefUnwindSafe); [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 `assert_impl_all` [INFO] [stdout] --> src/h1/payload.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | assert_impl_all!(Inner: Unpin, Send, Sync); [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 `assert_not_impl_any` [INFO] [stdout] --> src/h1/payload.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | assert_not_impl_any!(Inner: UnwindSafe, RefUnwindSafe); [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 `assert_impl_all` [INFO] [stdout] --> src/header/map.rs:860:5 [INFO] [stdout] | [INFO] [stdout] 860 | assert_impl_all!(HeaderMap: IntoIterator); [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 `assert_impl_all` [INFO] [stdout] --> src/header/map.rs:861:5 [INFO] [stdout] | [INFO] [stdout] 861 | assert_impl_all!(Keys<'_>: Iterator, ExactSizeIterator, FusedIterator); [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 `assert_impl_all` [INFO] [stdout] --> src/header/map.rs:862:5 [INFO] [stdout] | [INFO] [stdout] 862 | assert_impl_all!(std::slice::Iter<'_, HeaderValue>: Iterator, ExactSizeIterator, FusedIterator); [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 `assert_impl_all` [INFO] [stdout] --> src/header/map.rs:863:5 [INFO] [stdout] | [INFO] [stdout] 863 | assert_impl_all!(Removed: Iterator, ExactSizeIterator, FusedIterator); [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 `assert_impl_all` [INFO] [stdout] --> src/header/map.rs:864:5 [INFO] [stdout] | [INFO] [stdout] 864 | assert_impl_all!(Iter<'_>: Iterator, ExactSizeIterator, FusedIterator); [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 `assert_impl_all` [INFO] [stdout] --> src/header/map.rs:865:5 [INFO] [stdout] | [INFO] [stdout] 865 | assert_impl_all!(IntoIter: Iterator, ExactSizeIterator, FusedIterator); [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 `assert_impl_all` [INFO] [stdout] --> src/header/map.rs:866:5 [INFO] [stdout] | [INFO] [stdout] 866 | assert_impl_all!(Drain<'_>: Iterator, ExactSizeIterator, FusedIterator); [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 `assert_impl_all` [INFO] [stdout] --> src/payload.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | assert_impl_all!(Payload: Unpin); [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 `assert_not_impl_any` [INFO] [stdout] --> src/payload.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | assert_not_impl_any!(Payload: Send, Sync, UnwindSafe, RefUnwindSafe); [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 `memchr` [INFO] [stdout] --> src/h1/dispatcher_tests.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | memchr::memmem::find(&haystack[from..], needle) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `memchr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> src/h1/dispatcher_tests.rs:788:13 [INFO] [stdout] | [INFO] [stdout] 788 | let _ = env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 36 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] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_http_test` [INFO] [stdout] --> src/responses/head.rs:220:23 [INFO] [stdout] | [INFO] [stdout] 220 | let mut srv = actix_http_test::test_server(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_http_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/h1/dispatcher_tests.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | lazy(|cx| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/h1/dispatcher_tests.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | lazy(|cx| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/h1/dispatcher_tests.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | lazy(|cx| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/h1/dispatcher_tests.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | lazy(|cx| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/h1/dispatcher_tests.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | lazy(|cx| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/h1/dispatcher_tests.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | lazy(|cx| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/h1/dispatcher_tests.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | lazy(|cx| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-http` due to 37 previous errors [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/h1/dispatcher_tests.rs:414:5 [INFO] [stdout] | [INFO] [stdout] 414 | lazy(|cx| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/h1/dispatcher_tests.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | lazy(|cx| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/h1/dispatcher_tests.rs:517:5 [INFO] [stdout] | [INFO] [stdout] 517 | lazy(|cx| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/h1/dispatcher_tests.rs:586:5 [INFO] [stdout] | [INFO] [stdout] 586 | lazy(|cx| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/h1/dispatcher_tests.rs:663:5 [INFO] [stdout] | [INFO] [stdout] 663 | lazy(|cx| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/h1/dispatcher_tests.rs:746:5 [INFO] [stdout] | [INFO] [stdout] 746 | lazy(|cx| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/h1/dispatcher_tests.rs:814:5 [INFO] [stdout] | [INFO] [stdout] 814 | lazy(|cx| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/h1/dispatcher_tests.rs:850:5 [INFO] [stdout] | [INFO] [stdout] 850 | lazy(|cx| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lazy` in this scope [INFO] [stdout] --> src/h1/dispatcher_tests.rs:893:5 [INFO] [stdout] | [INFO] [stdout] 893 | lazy(|cx| { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-http` due to 7 previous errors [INFO] [stdout] warning: unused imports: `RefUnwindSafe`, `UnwindSafe` [INFO] [stdout] --> src/h1/payload.rs:255:22 [INFO] [stdout] | [INFO] [stdout] 255 | use std::panic::{RefUnwindSafe, UnwindSafe}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FusedIterator` [INFO] [stdout] --> src/header/map.rs:853:9 [INFO] [stdout] | [INFO] [stdout] 853 | use std::iter::FusedIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefUnwindSafe`, `UnwindSafe` [INFO] [stdout] --> src/payload.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | use std::panic::{RefUnwindSafe, UnwindSafe}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/payload.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for enum `payload::Payload` in the current scope [INFO] [stdout] --> src/h1/dispatcher_tests.rs:71:40 [INFO] [stdout] | [INFO] [stdout] 71 | while let Some(chunk) = pl.next().await { [INFO] [stdout] | ^^^^ method not found in `payload::Payload>>>>` [INFO] [stdout] | [INFO] [stdout] ::: src/payload.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / pin_project! { [INFO] [stdout] 22 | | /// A streaming payload. [INFO] [stdout] 23 | | #[project = PayloadProj] [INFO] [stdout] 24 | | pub enum Payload { [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- method `next` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `next`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_unpin` found for mutable reference `&mut std::pin::Pin>` in the current scope [INFO] [stdout] --> src/body/body_stream.rs:201:38 [INFO] [stdout] | [INFO] [stdout] 201 | ready!(delay.poll_unpin(cx)); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut std::pin::Pin>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/h1/dispatcher_tests.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use bytes::{Buf, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 111 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-http` due to 112 previous errors; 5 warnings emitted [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] running `Command { std: "docker" "inspect" "a4fc2ecea84b22c3badedea9f0f7b0cffaebae5f5f9349afe3d1991b0378f35c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4fc2ecea84b22c3badedea9f0f7b0cffaebae5f5f9349afe3d1991b0378f35c", kill_on_drop: false }` [INFO] [stdout] a4fc2ecea84b22c3badedea9f0f7b0cffaebae5f5f9349afe3d1991b0378f35c