[INFO] fetching crate actix-web 4.0.0-beta.6... [INFO] checking actix-web-4.0.0-beta.6 against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] extracting crate actix-web 4.0.0-beta.6 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate actix-web 4.0.0-beta.6 on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6/source/.cargo/config.toml [INFO] started tweaking crates.io crate actix-web 4.0.0-beta.6 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate actix-web 4.0.0-beta.6 [INFO] tweaked toml for crates.io crate actix-web 4.0.0-beta.6 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate actix-web 4.0.0-beta.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-openssl v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0228a4444089179670e151824483283a9cbab5a8aa304cd4d46cf443569c77ff [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0228a4444089179670e151824483283a9cbab5a8aa304cd4d46cf443569c77ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0228a4444089179670e151824483283a9cbab5a8aa304cd4d46cf443569c77ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0228a4444089179670e151824483283a9cbab5a8aa304cd4d46cf443569c77ff", kill_on_drop: false }` [INFO] [stdout] 0228a4444089179670e151824483283a9cbab5a8aa304cd4d46cf443569c77ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab74dcb8b02a9f898f7a62492e2e99b9624d869f3bb9eab4b164276f930313bf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ab74dcb8b02a9f898f7a62492e2e99b9624d869f3bb9eab4b164276f930313bf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling const_fn v0.4.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking local-waker v0.1.1 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling httparse v1.3.6 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling cookie v0.15.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking actix-utils v3.0.0 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking actix-service v2.0.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Checking tokio-util v0.6.5 [INFO] [stderr] Checking actix-codec v0.4.0-beta.1 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling actix-macros v0.2.0 [INFO] [stderr] Compiling derive_more v0.99.13 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.2 [INFO] [stderr] Checking actix-rt v2.2.0 [INFO] [stderr] Checking actix-server v2.0.0-beta.4 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking time v0.2.26 [INFO] [stderr] Checking pin-project v1.0.6 [INFO] [stderr] Checking actix-tls v3.0.0-beta.5 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-http v3.0.0-beta.6 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking actix-web v4.0.0-beta.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/extract.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | use serde_derive::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_derive` [INFO] [stdout] --> src/route.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | use serde_derive::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `serde_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/extract.rs:341:14 [INFO] [stdout] | [INFO] [stdout] 341 | #[derive(Deserialize, Debug, PartialEq)] [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 derive macro `Serialize` [INFO] [stdout] --> src/route.rs:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | #[derive(Serialize, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client_shutdown` [INFO] [stdout] --> src/server.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | client_shutdown: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `from_request` exists for enum `std::option::Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/extract.rs:353:39 [INFO] [stdout] | [INFO] [stdout] 342 | struct Info { [INFO] [stdout] | ----------- doesn't satisfy `extract::tests::Info: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 353 | let r = Option::>::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item cannot be called on `std::option::Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/types/form.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Form(pub T); [INFO] [stdout] | -------------------------- doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `form::Form: extract::FromRequest` [INFO] [stdout] which is required by `std::option::Option>: extract::FromRequest` [INFO] [stdout] `extract::tests::Info: DeserializeOwned` [INFO] [stdout] which is required by `std::option::Option>: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `from_request` exists for enum `std::option::Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/extract.rs:364:39 [INFO] [stdout] | [INFO] [stdout] 342 | struct Info { [INFO] [stdout] | ----------- doesn't satisfy `extract::tests::Info: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 364 | let r = Option::>::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item cannot be called on `std::option::Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/types/form.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Form(pub T); [INFO] [stdout] | -------------------------- doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `form::Form: extract::FromRequest` [INFO] [stdout] which is required by `std::option::Option>: extract::FromRequest` [INFO] [stdout] `extract::tests::Info: DeserializeOwned` [INFO] [stdout] which is required by `std::option::Option>: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `from_request` exists for enum `std::option::Option>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/extract.rs:380:39 [INFO] [stdout] | [INFO] [stdout] 342 | struct Info { [INFO] [stdout] | ----------- doesn't satisfy `extract::tests::Info: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 380 | let r = Option::>::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item cannot be called on `std::option::Option>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/types/form.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Form(pub T); [INFO] [stdout] | -------------------------- doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `form::Form: extract::FromRequest` [INFO] [stdout] which is required by `std::option::Option>: extract::FromRequest` [INFO] [stdout] `extract::tests::Info: DeserializeOwned` [INFO] [stdout] which is required by `std::option::Option>: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `from_request` exists for enum `std::result::Result, actix_http::Error>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/extract.rs:394:46 [INFO] [stdout] | [INFO] [stdout] 342 | struct Info { [INFO] [stdout] | ----------- doesn't satisfy `extract::tests::Info: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 394 | let r = Result::, Error>::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item cannot be called on `std::result::Result, actix_http::Error>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/types/form.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Form(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `<_ as extract::FromRequest>::Error = actix_http::Error` [INFO] [stdout] | doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `form::Form: extract::FromRequest` [INFO] [stdout] which is required by `std::result::Result, actix_http::Error>: extract::FromRequest` [INFO] [stdout] `extract::tests::Info: DeserializeOwned` [INFO] [stdout] which is required by `std::result::Result, actix_http::Error>: extract::FromRequest` [INFO] [stdout] ` as extract::FromRequest>::Error = actix_http::Error` [INFO] [stdout] which is required by `std::result::Result, actix_http::Error>: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the variant or associated item `from_request` exists for enum `std::result::Result, actix_http::Error>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/extract.rs:411:46 [INFO] [stdout] | [INFO] [stdout] 342 | struct Info { [INFO] [stdout] | ----------- doesn't satisfy `extract::tests::Info: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 411 | let r = Result::, Error>::from_request(&req, &mut pl) [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item cannot be called on `std::result::Result, actix_http::Error>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/types/form.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Form(pub T); [INFO] [stdout] | -------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `<_ as extract::FromRequest>::Error = actix_http::Error` [INFO] [stdout] | doesn't satisfy `_: extract::FromRequest` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `form::Form: extract::FromRequest` [INFO] [stdout] which is required by `std::result::Result, actix_http::Error>: extract::FromRequest` [INFO] [stdout] `extract::tests::Info: DeserializeOwned` [INFO] [stdout] which is required by `std::result::Result, actix_http::Error>: extract::FromRequest` [INFO] [stdout] ` as extract::FromRequest>::Error = actix_http::Error` [INFO] [stdout] which is required by `std::result::Result, actix_http::Error>: extract::FromRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `awc` [INFO] [stdout] --> benches/server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use awc::Client; [INFO] [stdout] | ^^^ use of undeclared crate or module `awc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use criterion::{criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `criterion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `criterion_group` [INFO] [stdout] --> benches/server.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | criterion_group!(server_benches, bench_async_burst); [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 `criterion_main` [INFO] [stdout] --> benches/server.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | criterion_main!(server_benches); [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 `actix_test` [INFO] [stdout] --> benches/server.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test` [INFO] [stdout] --> benches/server.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{test, web, App, HttpResponse}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `server` [INFO] [stdout] --> benches/server.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use actix_web::{test, web, App, HttpResponse}; [INFO] [stdout] 2 | | use awc::Client; [INFO] [stdout] 3 | | use criterion::{criterion_group, criterion_main, Criterion}; [INFO] [stdout] 4 | | use futures_util::future::join_all; [INFO] [stdout] ... | [INFO] [stdout] 68 | | criterion_group!(server_benches, bench_async_burst); [INFO] [stdout] 69 | | criterion_main!(server_benches); [INFO] [stdout] | |________________________________^ consider adding a `main` function to `benches/server.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/responder.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use criterion::{criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `criterion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `criterion_main` [INFO] [stdout] --> benches/responder.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | criterion_main!(responder_bench); [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 `criterion_group` [INFO] [stdout] --> benches/responder.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | criterion_group!(responder_bench, future_responder, responder); [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 `criterion` [INFO] [stdout] --> benches/service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use criterion::{criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `criterion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `criterion_main` [INFO] [stdout] --> benches/service.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | criterion_main!(service_benches); [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: could not find `criterion` in the list of imported crates [INFO] [stdout] --> benches/service.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | let mut criterion: ::criterion::Criterion<_> = [INFO] [stdout] | ^^^^^^^^^ could not find `criterion` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `responder` [INFO] [stdout] --> benches/responder.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::{future::Future, time::Instant}; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | use actix_http::Response; [INFO] [stdout] 4 | | use actix_utils::future::{ready, Ready}; [INFO] [stdout] ... | [INFO] [stdout] 112 | | criterion_group!(responder_bench, future_responder, responder); [INFO] [stdout] 113 | | criterion_main!(responder_bench); [INFO] [stdout] | |_________________________________^ consider adding a `main` function to `benches/responder.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_httpserver.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | let addr = actix_test::unused_addr(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/uds.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | 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/uds.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | 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[E0107]: missing generics for struct `BaseHttpResponse` [INFO] [stdout] --> benches/responder.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | T::Future: Future>, [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `B` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-http-3.0.0-beta.6/src/response.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 40 | T::Future: Future, Error>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `BaseHttpResponse` [INFO] [stdout] --> benches/responder.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | type Future = Ready>; [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `B` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-http-3.0.0-beta.6/src/response.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 27 | type Future = Ready, Self::Error>>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `criterion` in the list of imported crates [INFO] [stdout] --> benches/service.rs:105:11 [INFO] [stdout] | [INFO] [stdout] 105 | ::criterion::Criterion::default().configure_from_args(); [INFO] [stdout] | ^^^^^^^^^ could not find `criterion` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `service` [INFO] [stdout] --> benches/service.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use actix_service::Service; [INFO] [stdout] 2 | | use actix_web::dev::{ServiceRequest, ServiceResponse}; [INFO] [stdout] 3 | | use actix_web::{web, App, Error, HttpResponse}; [INFO] [stdout] 4 | | use criterion::{criterion_main, Criterion}; [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | criterion_main!(service_benches); [INFO] [stdout] | |_________________________________^ consider adding a `main` function to `benches/service.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `actix-web` [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/basic.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/basic.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | env_logger::init_from_env(env_logger::Env::new().default_filter_or("info")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> examples/on_connect.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | 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/on_connect.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | 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[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> benches/server.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let burst = (0..iters).map(|_| client.send()); [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> benches/server.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | let resps = join_all(burst).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> benches/server.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | let resps = join_all(burst).await; [INFO] [stdout] | ^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> benches/server.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | let resps = join_all(burst).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0601, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `brotli2` [INFO] [stdout] --> tests/test_server.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use brotli2::write::{BrotliDecoder, BrotliEncoder}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `brotli2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `flate2` [INFO] [stdout] --> tests/test_server.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use flate2::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `flate2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/test_server.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use rand::{distributions::Alphanumeric, Rng}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `flate2` [INFO] [stdout] --> tests/test_server.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use flate2::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `flate2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> tests/test_server.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use rand::{distributions::Alphanumeric, Rng}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:133:38 [INFO] [stdout] | [INFO] [stdout] 133 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzDecoder` [INFO] [stdout] --> tests/test_server.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:160:15 [INFO] [stdout] | [INFO] [stdout] 160 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:160:38 [INFO] [stdout] | [INFO] [stdout] 160 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzDecoder` [INFO] [stdout] --> tests/test_server.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:189:38 [INFO] [stdout] | [INFO] [stdout] 189 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ZlibDecoder` [INFO] [stdout] --> tests/test_server.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | let mut e = ZlibDecoder::new(Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZlibDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ZlibDecoder` [INFO] [stdout] --> tests/test_server.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | let mut e = ZlibDecoder::new(Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZlibDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:252:15 [INFO] [stdout] | [INFO] [stdout] 252 | let srv = actix_test::start_with(actix_test::config().h1(), move || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:252:38 [INFO] [stdout] | [INFO] [stdout] 252 | let srv = actix_test::start_with(actix_test::config().h1(), move || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzDecoder` [INFO] [stdout] --> tests/test_server.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/test_server.rs:283:16 [INFO] [stdout] | [INFO] [stdout] 283 | let data = rand::thread_rng() [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 `actix_test` [INFO] [stdout] --> tests/test_server.rs:290:15 [INFO] [stdout] | [INFO] [stdout] 290 | let srv = actix_test::start_with(actix_test::config().h1(), move || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:290:38 [INFO] [stdout] | [INFO] [stdout] 290 | let srv = actix_test::start_with(actix_test::config().h1(), move || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzDecoder` [INFO] [stdout] --> tests/test_server.rs:313:17 [INFO] [stdout] | [INFO] [stdout] 313 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:322:15 [INFO] [stdout] | [INFO] [stdout] 322 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:322:38 [INFO] [stdout] | [INFO] [stdout] 322 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzDecoder` [INFO] [stdout] --> tests/test_server.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:356:15 [INFO] [stdout] | [INFO] [stdout] 356 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:356:38 [INFO] [stdout] | [INFO] [stdout] 356 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrotliDecoder` [INFO] [stdout] --> tests/test_server.rs:379:17 [INFO] [stdout] | [INFO] [stdout] 379 | let mut e = BrotliDecoder::new(Vec::with_capacity(2048)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `BrotliDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:388:15 [INFO] [stdout] | [INFO] [stdout] 388 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:388:38 [INFO] [stdout] | [INFO] [stdout] 388 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:409:15 [INFO] [stdout] | [INFO] [stdout] 409 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:409:38 [INFO] [stdout] | [INFO] [stdout] 409 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:428:15 [INFO] [stdout] | [INFO] [stdout] 428 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:428:38 [INFO] [stdout] | [INFO] [stdout] 428 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ZlibDecoder` [INFO] [stdout] --> tests/test_server.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | let mut e = ZlibDecoder::new(Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZlibDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:455:15 [INFO] [stdout] | [INFO] [stdout] 455 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:455:38 [INFO] [stdout] | [INFO] [stdout] 455 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrotliDecoder` [INFO] [stdout] --> tests/test_server.rs:475:17 [INFO] [stdout] | [INFO] [stdout] 475 | let mut e = BrotliDecoder::new(Vec::with_capacity(2048)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `BrotliDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:483:15 [INFO] [stdout] | [INFO] [stdout] 483 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:483:38 [INFO] [stdout] | [INFO] [stdout] 483 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzEncoder` [INFO] [stdout] --> tests/test_server.rs:490:17 [INFO] [stdout] | [INFO] [stdout] 490 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:508:15 [INFO] [stdout] | [INFO] [stdout] 508 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:508:38 [INFO] [stdout] | [INFO] [stdout] 508 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzEncoder` [INFO] [stdout] --> tests/test_server.rs:515:17 [INFO] [stdout] | [INFO] [stdout] 515 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:534:15 [INFO] [stdout] | [INFO] [stdout] 534 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:534:38 [INFO] [stdout] | [INFO] [stdout] 534 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzEncoder` [INFO] [stdout] --> tests/test_server.rs:541:17 [INFO] [stdout] | [INFO] [stdout] 541 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/test_server.rs:559:16 [INFO] [stdout] | [INFO] [stdout] 559 | let data = rand::thread_rng() [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 `actix_test` [INFO] [stdout] --> tests/test_server.rs:565:15 [INFO] [stdout] | [INFO] [stdout] 565 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:565:38 [INFO] [stdout] | [INFO] [stdout] 565 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> benches/service.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | for fut in futs { [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> benches/service.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | fut.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> benches/service.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | for fut in futs { [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> benches/service.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | fut.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzEncoder` [INFO] [stdout] --> tests/test_server.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:591:15 [INFO] [stdout] | [INFO] [stdout] 591 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:591:38 [INFO] [stdout] | [INFO] [stdout] 591 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ZlibEncoder` [INFO] [stdout] --> tests/test_server.rs:597:17 [INFO] [stdout] | [INFO] [stdout] 597 | let mut e = ZlibEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZlibEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:617:15 [INFO] [stdout] | [INFO] [stdout] 617 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:617:38 [INFO] [stdout] | [INFO] [stdout] 617 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> benches/service.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | for fut in futs { [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> benches/service.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | fut.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> benches/service.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | for fut in futs { [INFO] [stdout] | ^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> benches/service.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | fut.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ZlibEncoder` [INFO] [stdout] --> tests/test_server.rs:623:17 [INFO] [stdout] | [INFO] [stdout] 623 | let mut e = ZlibEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZlibEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/test_server.rs:642:16 [INFO] [stdout] | [INFO] [stdout] 642 | let data = rand::thread_rng() [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 `actix_test` [INFO] [stdout] --> tests/test_server.rs:648:15 [INFO] [stdout] | [INFO] [stdout] 648 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0601, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:648:38 [INFO] [stdout] | [INFO] [stdout] 648 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ZlibEncoder` [INFO] [stdout] --> tests/test_server.rs:654:17 [INFO] [stdout] | [INFO] [stdout] 654 | let mut e = ZlibEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZlibEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:674:15 [INFO] [stdout] | [INFO] [stdout] 674 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:674:38 [INFO] [stdout] | [INFO] [stdout] 674 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrotliEncoder` [INFO] [stdout] --> tests/test_server.rs:680:17 [INFO] [stdout] | [INFO] [stdout] 680 | let mut e = BrotliEncoder::new(Vec::new(), 5); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `BrotliEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/test_server.rs:699:16 [INFO] [stdout] | [INFO] [stdout] 699 | let data = rand::thread_rng() [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 `actix_test` [INFO] [stdout] --> tests/test_server.rs:705:15 [INFO] [stdout] | [INFO] [stdout] 705 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:705:38 [INFO] [stdout] | [INFO] [stdout] 705 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrotliEncoder` [INFO] [stdout] --> tests/test_server.rs:715:17 [INFO] [stdout] | [INFO] [stdout] 715 | let mut e = BrotliEncoder::new(Vec::new(), 5); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `BrotliEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:832:15 [INFO] [stdout] | [INFO] [stdout] 832 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:885:15 [INFO] [stdout] | [INFO] [stdout] 885 | let srv = actix_test::start_with(actix_test::config().client_timeout(200), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:885:38 [INFO] [stdout] | [INFO] [stdout] 885 | let srv = actix_test::start_with(actix_test::config().client_timeout(200), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:903:15 [INFO] [stdout] | [INFO] [stdout] 903 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:903:38 [INFO] [stdout] | [INFO] [stdout] 903 | let srv = actix_test::start_with(actix_test::config().h1(), || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:947:15 [INFO] [stdout] | [INFO] [stdout] 947 | let srv = actix_test::start(move || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alphanumeric` in this scope [INFO] [stdout] --> tests/test_server.rs:284:23 [INFO] [stdout] | [INFO] [stdout] 284 | .sample_iter(&Alphanumeric) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alphanumeric` in this scope [INFO] [stdout] --> tests/test_server.rs:560:23 [INFO] [stdout] | [INFO] [stdout] 560 | .sample_iter(&Alphanumeric) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alphanumeric` in this scope [INFO] [stdout] --> tests/test_server.rs:643:23 [INFO] [stdout] | [INFO] [stdout] 643 | .sample_iter(&Alphanumeric) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Alphanumeric` in this scope [INFO] [stdout] --> tests/test_server.rs:700:23 [INFO] [stdout] | [INFO] [stdout] 700 | .sample_iter(&Alphanumeric) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/test_server.rs:383:28 [INFO] [stdout] | [INFO] [stdout] 383 | assert_eq!(Bytes::from(dec), Bytes::from_static(STR.as_ref())); [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 `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bytes::Bytes: From<[u8]>` is not satisfied [INFO] [stdout] --> tests/test_server.rs:383:16 [INFO] [stdout] | [INFO] [stdout] 383 | assert_eq!(Bytes::from(dec), Bytes::from_static(STR.as_ref())); [INFO] [stdout] | ^^^^^^^^^^^ the trait `From<[u8]>` is not implemented for `bytes::Bytes` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 4 others [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/test_server.rs:383:16 [INFO] [stdout] | [INFO] [stdout] 383 | assert_eq!(Bytes::from(dec), Bytes::from_static(STR.as_ref())); [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 function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> tests/test_server.rs:728:39 [INFO] [stdout] | [INFO] [stdout] 728 | let bytes = response.body().limit(320_000).await.unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> tests/test_server.rs:728:17 [INFO] [stdout] | [INFO] [stdout] 728 | let bytes = response.body().limit(320_000).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 83 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[closure@src/route.rs:225:69: 230:18]: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/route.rs:225:66 [INFO] [stdout] | [INFO] [stdout] 225 | .service(web::resource("/json").route(web::get().to(|| async { [INFO] [stdout] | ^^ the trait `Handler<_, _>` is not implemented for `[closure@src/route.rs:225:69: 230:18]` [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, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ab74dcb8b02a9f898f7a62492e2e99b9624d869f3bb9eab4b164276f930313bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab74dcb8b02a9f898f7a62492e2e99b9624d869f3bb9eab4b164276f930313bf", kill_on_drop: false }` [INFO] [stdout] ab74dcb8b02a9f898f7a62492e2e99b9624d869f3bb9eab4b164276f930313bf