[INFO] fetching crate awc 3.0.0-beta.4... [INFO] checking awc-3.0.0-beta.4 against master#836c31742687ba4e2f857b5b698e1e9e6b67619c for pr-81789 [INFO] extracting crate awc 3.0.0-beta.4 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate awc 3.0.0-beta.4 on toolchain 836c31742687ba4e2f857b5b698e1e9e6b67619c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate awc 3.0.0-beta.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate awc 3.0.0-beta.4 [INFO] tweaked toml for crates.io crate awc 3.0.0-beta.4 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate crates.io crate awc 3.0.0-beta.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed3b00b4089da43e52fe0c24b011925bd78fdec29c18cd86b4b3998882d4345a [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" "ed3b00b4089da43e52fe0c24b011925bd78fdec29c18cd86b4b3998882d4345a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed3b00b4089da43e52fe0c24b011925bd78fdec29c18cd86b4b3998882d4345a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed3b00b4089da43e52fe0c24b011925bd78fdec29c18cd86b4b3998882d4345a", kill_on_drop: false }` [INFO] [stdout] ed3b00b4089da43e52fe0c24b011925bd78fdec29c18cd86b4b3998882d4345a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a394d826f4b007576e19c1da0fc78adb639edc5bc36b9c0fdee430dd250be89 [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" "2a394d826f4b007576e19c1da0fc78adb639edc5bc36b9c0fdee430dd250be89", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling const_fn v0.4.6 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking local-waker v0.1.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking actix-service v2.0.0-beta.5 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking actix-utils v3.0.0-beta.4 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking regex v1.4.5 [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 pin-project-internal v1.0.6 [INFO] [stderr] Compiling derive_more v0.99.13 [INFO] [stderr] Checking actix-rt v2.2.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking pin-project v1.0.6 [INFO] [stderr] Checking actix-tls v3.0.0-beta.5 [INFO] [stderr] Checking actix-http v3.0.0-beta.5 [INFO] [stderr] Checking awc v3.0.0-beta.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> src/middleware/redirect.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | use actix_web::{web, App, Error, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/response.rs:478:14 [INFO] [stdout] | [INFO] [stdout] 478 | #[derive(Serialize, Deserialize, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/response.rs:478:25 [INFO] [stdout] | [INFO] [stdout] 478 | #[derive(Serialize, Deserialize, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> src/middleware/redirect.rs:298:19 [INFO] [stdout] | [INFO] [stdout] 298 | 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] --> src/middleware/redirect.rs:325:19 [INFO] [stdout] | [INFO] [stdout] 325 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/response.rs:446:17 [INFO] [stdout] | [INFO] [stdout] 446 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `response::JsonBody<_, MyObject>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/response.rs:496:45 [INFO] [stdout] | [INFO] [stdout] 314 | pub struct JsonBody { [INFO] [stdout] | ------------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 479 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 496 | let json = JsonBody::<_, MyObject>::new(&mut req).await; [INFO] [stdout] | ^^^ function or associated item cannot be called on `response::JsonBody<_, MyObject>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `response::JsonBody<_, MyObject>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/response.rs:505:45 [INFO] [stdout] | [INFO] [stdout] 314 | pub struct JsonBody { [INFO] [stdout] | ------------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 479 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 505 | let json = JsonBody::<_, MyObject>::new(&mut req).await; [INFO] [stdout] | ^^^ function or associated item cannot be called on `response::JsonBody<_, MyObject>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `response::JsonBody<_, MyObject>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/response.rs:519:45 [INFO] [stdout] | [INFO] [stdout] 314 | pub struct JsonBody { [INFO] [stdout] | ------------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 479 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 519 | let json = JsonBody::<_, MyObject>::new(&mut req).limit(100).await; [INFO] [stdout] | ^^^ function or associated item cannot be called on `response::JsonBody<_, MyObject>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `response::JsonBody<_, MyObject>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/response.rs:537:45 [INFO] [stdout] | [INFO] [stdout] 314 | pub struct JsonBody { [INFO] [stdout] | ------------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 479 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 537 | let json = JsonBody::<_, MyObject>::new(&mut req).await; [INFO] [stdout] | ^^^ function or associated item cannot be called on `response::JsonBody<_, MyObject>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/response.rs:519:65 [INFO] [stdout] | [INFO] [stdout] 519 | let json = JsonBody::<_, MyObject>::new(&mut req).limit(100).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] --> src/response.rs:519:20 [INFO] [stdout] | [INFO] [stdout] 519 | let json = JsonBody::<_, MyObject>::new(&mut req).limit(100).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `awc` [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 `actix_utils` [INFO] [stdout] --> tests/test_ws.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_utils::future::ok; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `actix_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http_test` [INFO] [stdout] --> tests/test_ws.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_http_test::test_server; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_http_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_util` [INFO] [stdout] --> tests/test_ws.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures_util::{SinkExt as _, StreamExt as _}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> tests/test_ws.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | .finish(|_| ok::<_, Error>(Response::NotFound())) [INFO] [stdout] | ^^ help: a tuple variant with a similar name exists (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_utils` [INFO] [stdout] --> tests/test_client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use actix_utils::future::ok; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `actix_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `brotli2` [INFO] [stdout] --> tests/test_client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use brotli2::write::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_client.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use flate2::read::GzDecoder; [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 `flate2` [INFO] [stdout] --> tests/test_client.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use flate2::write::GzEncoder; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `flate2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `flate2` [INFO] [stdout] --> tests/test_client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use flate2::Compression; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `flate2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures_util` [INFO] [stdout] --> tests/test_client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use futures_util::stream; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> tests/test_client.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use actix_web::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http_test` [INFO] [stdout] --> tests/test_client.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use actix_http_test::test_server; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_http_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_util` [INFO] [stdout] --> tests/test_client.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | use futures_util::stream::{once, StreamExt as _}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> tests/test_client.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use actix_web::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_client.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | 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_client.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | 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_client.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | 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_client.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | 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_tls` [INFO] [stdout] --> tests/test_client.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | .connector(actix_tls::connect::default_connector()) [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_tls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_client.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | 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_client.rs:165:15 [INFO] [stdout] | [INFO] [stdout] 165 | 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 type `AppConfig` [INFO] [stdout] --> tests/test_client.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | |_| AppConfig::default(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppConfig` [INFO] [stdout] --> tests/test_client.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | |_| AppConfig::default(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppConfig` [INFO] [stdout] --> tests/test_client.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 325 | |_| AppConfig::default(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppConfig` [INFO] [stdout] --> tests/test_client.rs:364:21 [INFO] [stdout] | [INFO] [stdout] 364 | |_| AppConfig::default(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppConfig` [INFO] [stdout] --> tests/test_client.rs:413:21 [INFO] [stdout] | [INFO] [stdout] 413 | |_| AppConfig::default(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_client.rs:447:15 [INFO] [stdout] | [INFO] [stdout] 447 | 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_client.rs:467:15 [INFO] [stdout] | [INFO] [stdout] 467 | 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 type `Compress` [INFO] [stdout] --> tests/test_client.rs:469:19 [INFO] [stdout] | [INFO] [stdout] 469 | .wrap(Compress::default()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Compress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `header` [INFO] [stdout] --> tests/test_client.rs:472:30 [INFO] [stdout] | [INFO] [stdout] 472 | res.encoding(header::ContentEncoding::Gzip); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzDecoder` [INFO] [stdout] --> tests/test_client.rs:488:17 [INFO] [stdout] | [INFO] [stdout] 488 | 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 type `GzDecoder` [INFO] [stdout] --> tests/test_client.rs:503:17 [INFO] [stdout] | [INFO] [stdout] 503 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send` found for struct `Framed<_, _>` in the current scope [INFO] [stdout] --> tests/test_ws.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | .send(h1::Message::Item((res.drop_body(), BodySize::None))) [INFO] [stdout] | ^^^^ method not found in `Framed<_, _>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.13/src/sink/mod.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | fn send(&mut self, item: Item) -> Send<'_, Self, Item> [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | the method is available for `Box>` here [INFO] [stdout] | the method is available for `Box<&mut Framed<_, _>>` here [INFO] [stdout] | the method is available for `Pin<&mut Framed<_, _>>` here [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 30 | Box::new(framed) [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 30 | Box::new(&mut framed) [INFO] [stdout] | ^^^^^^^^^^^^^ ^ [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 30 | Pin::new(&mut framed) [INFO] [stdout] | ^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_client.rs:511:15 [INFO] [stdout] | [INFO] [stdout] 511 | 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 type `GzEncoder` [INFO] [stdout] --> tests/test_client.rs:513:25 [INFO] [stdout] | [INFO] [stdout] 513 | 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_client.rs:534:15 [INFO] [stdout] | [INFO] [stdout] 534 | 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 type `GzEncoder` [INFO] [stdout] --> tests/test_client.rs:536:25 [INFO] [stdout] | [INFO] [stdout] 536 | 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_client.rs:563:15 [INFO] [stdout] | [INFO] [stdout] 563 | 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 type `GzEncoder` [INFO] [stdout] --> tests/test_client.rs:565:25 [INFO] [stdout] | [INFO] [stdout] 565 | let mut e = GzEncoder::new(Vec::new(), Compression::default()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzEncoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_client.rs:585:15 [INFO] [stdout] | [INFO] [stdout] 585 | 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 type `BrotliEncoder` [INFO] [stdout] --> tests/test_client.rs:587:25 [INFO] [stdout] | [INFO] [stdout] 587 | 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_client.rs:613:15 [INFO] [stdout] | [INFO] [stdout] 613 | 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 type `BrotliEncoder` [INFO] [stdout] --> tests/test_client.rs:615:25 [INFO] [stdout] | [INFO] [stdout] 615 | 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_client.rs:636:15 [INFO] [stdout] | [INFO] [stdout] 636 | 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_client.rs:661:15 [INFO] [stdout] | [INFO] [stdout] 661 | 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_client.rs:680:15 [INFO] [stdout] | [INFO] [stdout] 680 | 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_client.rs:701:15 [INFO] [stdout] | [INFO] [stdout] 701 | 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_client.rs:737:15 [INFO] [stdout] | [INFO] [stdout] 737 | let srv = actix_test::start(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_client.rs:793:16 [INFO] [stdout] | [INFO] [stdout] 793 | 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 `actix_test` [INFO] [stdout] --> tests/test_client.rs:822:15 [INFO] [stdout] | [INFO] [stdout] 822 | 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 `header` [INFO] [stdout] --> tests/test_client.rs:828:26 [INFO] [stdout] | [INFO] [stdout] 828 | .get(header::AUTHORIZATION) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_client.rs:850:15 [INFO] [stdout] | [INFO] [stdout] 850 | 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 `header` [INFO] [stdout] --> tests/test_client.rs:856:26 [INFO] [stdout] | [INFO] [stdout] 856 | .get(header::AUTHORIZATION) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_client.rs:880:15 [INFO] [stdout] | [INFO] [stdout] 880 | 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 function `once` in this scope [INFO] [stdout] --> tests/test_client.rs:170:41 [INFO] [stdout] | [INFO] [stdout] 170 | .streaming(Box::pin(once(async { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::once; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::http::uri::fmt::string::slice::raw::array::iter::iter::once; [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::once; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> tests/test_client.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | ok(io) [INFO] [stdout] | ^^ help: a tuple variant with a similar name exists (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> tests/test_client.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | ok(io) [INFO] [stdout] | ^^ help: a tuple variant with a similar name exists (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> tests/test_client.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | ok(io) [INFO] [stdout] | ^^ help: a tuple variant with a similar name exists (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> tests/test_client.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | ok(io) [INFO] [stdout] | ^^ help: a tuple variant with a similar name exists (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> tests/test_client.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | ok(io) [INFO] [stdout] | ^^ help: a tuple variant with a similar name exists (notice the capitalization): `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cookie` [INFO] [stdout] --> tests/test_client.rs:726:19 [INFO] [stdout] | [INFO] [stdout] 726 | let cookie1 = Cookie::build("cookie1", "value1").finish(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use actix_http::http::Cookie; [INFO] [stdout] | [INFO] [stdout] 1 | use awc::http::Cookie; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::http::Cookie; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cookie` [INFO] [stdout] --> tests/test_client.rs:727:19 [INFO] [stdout] | [INFO] [stdout] 727 | let cookie2 = Cookie::build("cookie2", "value2") [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use actix_http::http::Cookie; [INFO] [stdout] | [INFO] [stdout] 1 | use awc::http::Cookie; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::http::Cookie; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for struct `ClientResponse>>>>>>` in the current scope [INFO] [stdout] --> tests/test_client.rs:197:10 [INFO] [stdout] | [INFO] [stdout] 197 | .next() [INFO] [stdout] | ^^^^ method not found in `ClientResponse>>>>>>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.13/src/stream/stream/mod.rs:236:8 [INFO] [stdout] | [INFO] [stdout] 236 | fn next(&mut self) -> Next<'_, Self> [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | the method is available for `Box>>>>>>>` here [INFO] [stdout] | the method is available for `Box<&mut ClientResponse>>>>>>>` here [INFO] [stdout] | the method is available for `Pin<&mut ClientResponse>>>>>>>` here [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 191 | let res = Box::new(client [INFO] [stdout] 192 | .get(srv.url("/")) [INFO] [stdout] 193 | .send() [INFO] [stdout] 194 | .await [INFO] [stdout] 195 | .unwrap() [INFO] [stdout] 196 | .timeout(Duration::from_millis(100))) [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 191 | let res = Box::new(&mut client [INFO] [stdout] 192 | .get(srv.url("/")) [INFO] [stdout] 193 | .send() [INFO] [stdout] 194 | .await [INFO] [stdout] 195 | .unwrap() [INFO] [stdout] 196 | .timeout(Duration::from_millis(100))) [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 191 | let res = Pin::new(&mut client [INFO] [stdout] 192 | .get(srv.url("/")) [INFO] [stdout] 193 | .send() [INFO] [stdout] 194 | .await [INFO] [stdout] 195 | .unwrap() [INFO] [stdout] 196 | .timeout(Duration::from_millis(100))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 58 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2a394d826f4b007576e19c1da0fc78adb639edc5bc36b9c0fdee430dd250be89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a394d826f4b007576e19c1da0fc78adb639edc5bc36b9c0fdee430dd250be89", kill_on_drop: false }` [INFO] [stdout] 2a394d826f4b007576e19c1da0fc78adb639edc5bc36b9c0fdee430dd250be89