[INFO] fetching crate actix-web 4.0.0-beta.8... [INFO] checking actix-web-4.0.0-beta.8 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate actix-web 4.0.0-beta.8 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate actix-web 4.0.0-beta.8 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-13/source/.cargo/config.toml [INFO] started tweaking crates.io crate actix-web 4.0.0-beta.8 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate actix-web 4.0.0-beta.8 [INFO] tweaked toml for crates.io crate actix-web 4.0.0-beta.8 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate crates.io crate actix-web 4.0.0-beta.8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-openssl v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a24605f6633cf861e2ad6ae9e6a2944e16665f18d5f66c1b0006eb1f8b1b6a6 [INFO] running `Command { std: "docker" "start" "-a" "5a24605f6633cf861e2ad6ae9e6a2944e16665f18d5f66c1b0006eb1f8b1b6a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a24605f6633cf861e2ad6ae9e6a2944e16665f18d5f66c1b0006eb1f8b1b6a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a24605f6633cf861e2ad6ae9e6a2944e16665f18d5f66c1b0006eb1f8b1b6a6", kill_on_drop: false }` [INFO] [stdout] 5a24605f6633cf861e2ad6ae9e6a2944e16665f18d5f66c1b0006eb1f8b1b6a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fca735b96ee9880852c2a99e92cdbb4d2317b64430ea1b844d96e2c7599b9ef1 [INFO] running `Command { std: "docker" "start" "-a" "fca735b96ee9880852c2a99e92cdbb4d2317b64430ea1b844d96e2c7599b9ef1", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking local-waker v0.1.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling zstd-safe v3.1.0+zstd.1.4.9 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking actix-utils v3.0.0 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Checking actix-service v2.0.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling cookie v0.15.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling zstd-sys v1.5.0+zstd.1.4.9 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.6 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking actix-codec v0.4.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Compiling actix-macros v0.2.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.3 [INFO] [stderr] Checking actix-rt v2.2.0 [INFO] [stderr] Checking actix-server v2.0.0-beta.5 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking actix-tls v3.0.0-beta.5 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking zstd v0.7.0+zstd.1.4.9 [INFO] [stderr] Checking actix-http v3.0.0-beta.8 [INFO] [stderr] Checking actix-web v4.0.0-beta.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `client_shutdown` [INFO] [stdout] --> src/server.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | client_shutdown: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `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] error[E0601]: `main` function not found in crate `server` [INFO] [stdout] --> benches/server.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use actix_web::{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/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:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | 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:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | let mut criterion: ::criterion::Criterion<_> = [INFO] [stdout] | ^^^^^^^^^ could not find `criterion` in the list of imported crates [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:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | ::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[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] 106 | | } [INFO] [stdout] 107 | | criterion_main!(service_benches); [INFO] [stdout] | |_________________________________^ consider adding a `main` function to `benches/service.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/responder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | 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:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | 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[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_utils::future::{ready, Ready}; [INFO] [stdout] 4 | | use actix_web::http::StatusCode; [INFO] [stdout] ... | [INFO] [stdout] 111 | | criterion_group!(responder_bench, future_responder, responder); [INFO] [stdout] 112 | | criterion_main!(responder_bench); [INFO] [stdout] | |_________________________________^ consider adding a `main` function to `benches/responder.rs` [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, E0601. [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_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] [stderr] error: could not compile `actix-web` due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `futures_util::lock::Mutex` [INFO] [stdout] --> tests/test_error_propagation.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use futures_util::lock::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Mutex` in `lock` [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 `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[E0433]: failed to resolve: use of undeclared crate or module `zstd` [INFO] [stdout] --> tests/test_server.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use zstd::stream::{read::Decoder as ZstdDecoder, write::Encoder as ZstdEncoder}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `zstd` [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[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] [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[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[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:120:15 [INFO] [stdout] | [INFO] [stdout] 120 | 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:134:15 [INFO] [stdout] | [INFO] [stdout] 134 | 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:134:38 [INFO] [stdout] | [INFO] [stdout] 134 | 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:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | 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:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | 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:161:38 [INFO] [stdout] | [INFO] [stdout] 161 | 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:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | 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:188:15 [INFO] [stdout] | [INFO] [stdout] 188 | 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:188:38 [INFO] [stdout] | [INFO] [stdout] 188 | 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 `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[E0433]: failed to resolve: use of undeclared type `ZlibDecoder` [INFO] [stdout] --> tests/test_server.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | 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:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | 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:251:15 [INFO] [stdout] | [INFO] [stdout] 251 | 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:251:38 [INFO] [stdout] | [INFO] [stdout] 251 | 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:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | 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:282:16 [INFO] [stdout] | [INFO] [stdout] 282 | 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:289:15 [INFO] [stdout] | [INFO] [stdout] 289 | 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:289:38 [INFO] [stdout] | [INFO] [stdout] 289 | 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:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | 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:321:15 [INFO] [stdout] | [INFO] [stdout] 321 | 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:321:38 [INFO] [stdout] | [INFO] [stdout] 321 | 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:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | 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:355:15 [INFO] [stdout] | [INFO] [stdout] 355 | 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:355:38 [INFO] [stdout] | [INFO] [stdout] 355 | 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:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | 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:387:15 [INFO] [stdout] | [INFO] [stdout] 387 | 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:387:38 [INFO] [stdout] | [INFO] [stdout] 387 | 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:408:15 [INFO] [stdout] | [INFO] [stdout] 408 | 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:408:38 [INFO] [stdout] | [INFO] [stdout] 408 | 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:427:15 [INFO] [stdout] | [INFO] [stdout] 427 | 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:427:38 [INFO] [stdout] | [INFO] [stdout] 427 | 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:446:17 [INFO] [stdout] | [INFO] [stdout] 446 | 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:454:15 [INFO] [stdout] | [INFO] [stdout] 454 | 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:454:38 [INFO] [stdout] | [INFO] [stdout] 454 | 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:474:17 [INFO] [stdout] | [INFO] [stdout] 474 | 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:482:15 [INFO] [stdout] | [INFO] [stdout] 482 | 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:482:38 [INFO] [stdout] | [INFO] [stdout] 482 | 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 `ZstdDecoder` [INFO] [stdout] --> tests/test_server.rs:502:17 [INFO] [stdout] | [INFO] [stdout] 502 | let mut e = ZstdDecoder::new(&bytes[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZstdDecoder` [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:510:15 [INFO] [stdout] | [INFO] [stdout] 510 | 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:510:38 [INFO] [stdout] | [INFO] [stdout] 510 | 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 `ZstdDecoder` [INFO] [stdout] --> tests/test_server.rs:533:17 [INFO] [stdout] | [INFO] [stdout] 533 | let mut e = ZstdDecoder::new(&bytes[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZstdDecoder` [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:541:15 [INFO] [stdout] | [INFO] [stdout] 541 | 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 crate or module `actix_test` [INFO] [stdout] --> tests/test_server.rs:541:38 [INFO] [stdout] | [INFO] [stdout] 541 | 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 `ZstdEncoder` [INFO] [stdout] --> tests/test_server.rs:547:17 [INFO] [stdout] | [INFO] [stdout] 547 | let mut e = ZstdEncoder::new(Vec::new(), 5).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZstdEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/test_server.rs:566:16 [INFO] [stdout] | [INFO] [stdout] 566 | 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:572:15 [INFO] [stdout] | [INFO] [stdout] 572 | 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:572:38 [INFO] [stdout] | [INFO] [stdout] 572 | 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 `ZstdEncoder` [INFO] [stdout] --> tests/test_server.rs:582:17 [INFO] [stdout] | [INFO] [stdout] 582 | let mut e = ZstdEncoder::new(Vec::new(), 5).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ZstdEncoder` [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:601:15 [INFO] [stdout] | [INFO] [stdout] 601 | 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:601:38 [INFO] [stdout] | [INFO] [stdout] 601 | 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:608:17 [INFO] [stdout] | [INFO] [stdout] 608 | 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:626:15 [INFO] [stdout] | [INFO] [stdout] 626 | 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:626:38 [INFO] [stdout] | [INFO] [stdout] 626 | 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:633:17 [INFO] [stdout] | [INFO] [stdout] 633 | 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:652:15 [INFO] [stdout] | [INFO] [stdout] 652 | 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:652:38 [INFO] [stdout] | [INFO] [stdout] 652 | 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:659:17 [INFO] [stdout] | [INFO] [stdout] 659 | 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:677:16 [INFO] [stdout] | [INFO] [stdout] 677 | 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:683:15 [INFO] [stdout] | [INFO] [stdout] 683 | 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:683:38 [INFO] [stdout] | [INFO] [stdout] 683 | 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:690:17 [INFO] [stdout] | [INFO] [stdout] 690 | 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:709:15 [INFO] [stdout] | [INFO] [stdout] 709 | 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:709:38 [INFO] [stdout] | [INFO] [stdout] 709 | 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:715:17 [INFO] [stdout] | [INFO] [stdout] 715 | 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:735:15 [INFO] [stdout] | [INFO] [stdout] 735 | 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:735:38 [INFO] [stdout] | [INFO] [stdout] 735 | 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:741:17 [INFO] [stdout] | [INFO] [stdout] 741 | 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:760:16 [INFO] [stdout] | [INFO] [stdout] 760 | 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:766:15 [INFO] [stdout] | [INFO] [stdout] 766 | 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:766:38 [INFO] [stdout] | [INFO] [stdout] 766 | 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:772:17 [INFO] [stdout] | [INFO] [stdout] 772 | 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:792:15 [INFO] [stdout] | [INFO] [stdout] 792 | 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:792:38 [INFO] [stdout] | [INFO] [stdout] 792 | 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:798:17 [INFO] [stdout] | [INFO] [stdout] 798 | 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:817:16 [INFO] [stdout] | [INFO] [stdout] 817 | 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:823:15 [INFO] [stdout] | [INFO] [stdout] 823 | 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:823:38 [INFO] [stdout] | [INFO] [stdout] 823 | 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:833:17 [INFO] [stdout] | [INFO] [stdout] 833 | 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:950:15 [INFO] [stdout] | [INFO] [stdout] 950 | 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:1003:15 [INFO] [stdout] | [INFO] [stdout] 1003 | 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:1003:38 [INFO] [stdout] | [INFO] [stdout] 1003 | 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:1021:15 [INFO] [stdout] | [INFO] [stdout] 1021 | 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:1021:38 [INFO] [stdout] | [INFO] [stdout] 1021 | 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:1067:15 [INFO] [stdout] | [INFO] [stdout] 1067 | 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:283:23 [INFO] [stdout] | [INFO] [stdout] 283 | .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:567:23 [INFO] [stdout] | [INFO] [stdout] 567 | .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:678:23 [INFO] [stdout] | [INFO] [stdout] 678 | .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:761:23 [INFO] [stdout] | [INFO] [stdout] 761 | .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:818:23 [INFO] [stdout] | [INFO] [stdout] 818 | .sample_iter(&Alphanumeric) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [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, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/test_error_propagation.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | let spy_middleware = SpyMiddleware(lock.clone()); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `lock` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> tests/test_error_propagation.rs:97:35 [INFO] [stdout] | [INFO] [stdout] 97 | let was_error_captured = lock.lock().await.unwrap(); [INFO] [stdout] | ^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `lock` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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:382:28 [INFO] [stdout] | [INFO] [stdout] 382 | 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:382:16 [INFO] [stdout] | [INFO] [stdout] 382 | 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:382:16 [INFO] [stdout] | [INFO] [stdout] 382 | 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: aborting due to 97 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client_shutdown` [INFO] [stdout] --> src/server.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | client_shutdown: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fca735b96ee9880852c2a99e92cdbb4d2317b64430ea1b844d96e2c7599b9ef1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fca735b96ee9880852c2a99e92cdbb4d2317b64430ea1b844d96e2c7599b9ef1", kill_on_drop: false }` [INFO] [stdout] fca735b96ee9880852c2a99e92cdbb4d2317b64430ea1b844d96e2c7599b9ef1