[INFO] fetching crate awc 2.0.3... [INFO] checking awc-2.0.3 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate awc 2.0.3 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate awc 2.0.3 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate awc 2.0.3 [INFO] finished tweaking crates.io crate awc 2.0.3 [INFO] tweaked toml for crates.io crate awc 2.0.3 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0acf429f6cc20114f373d1f483c6c4ae39d970f9ad35e3403d43f066ff1c119e [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" "0acf429f6cc20114f373d1f483c6c4ae39d970f9ad35e3403d43f066ff1c119e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0acf429f6cc20114f373d1f483c6c4ae39d970f9ad35e3403d43f066ff1c119e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0acf429f6cc20114f373d1f483c6c4ae39d970f9ad35e3403d43f066ff1c119e", kill_on_drop: false }` [INFO] [stdout] 0acf429f6cc20114f373d1f483c6c4ae39d970f9ad35e3403d43f066ff1c119e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49aa6496163033d78caf04f3a1f94ce1d24098c0350ecd5ddc99caf992de4f5f [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" "49aa6496163033d78caf04f3a1f94ce1d24098c0350ecd5ddc99caf992de4f5f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking serde_json v1.0.60 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking trust-dns-proto v0.19.6 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking trust-dns-resolver v0.19.6 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking actix-http v2.2.0 [INFO] [stderr] Checking awc v2.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/response.rs:398:14 [INFO] [stdout] | [INFO] [stdout] 398 | #[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:398:25 [INFO] [stdout] | [INFO] [stdout] 398 | #[derive(Serialize, Deserialize, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/response.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 365 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures_util` [INFO] [stdout] --> tests/test_ws.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures_util::future::ok; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [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[E0599]: no function or associated item named `new` found for struct `response::JsonBody<_, MyObject>` in the current scope [INFO] [stdout] --> src/response.rs:418:45 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct JsonBody { [INFO] [stdout] | ------------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 399 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 418 | let json = JsonBody::<_, MyObject>::new(&mut req).await; [INFO] [stdout] | ^^^ function or associated item not found in `response::JsonBody<_, MyObject>` [INFO] [stdout] | [INFO] [stdout] = note: the method `new` exists but the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `response::JsonBody<_, MyObject>` in the current scope [INFO] [stdout] --> src/response.rs:427:45 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct JsonBody { [INFO] [stdout] | ------------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 399 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 427 | let json = JsonBody::<_, MyObject>::new(&mut req).await; [INFO] [stdout] | ^^^ function or associated item not found in `response::JsonBody<_, MyObject>` [INFO] [stdout] | [INFO] [stdout] = note: the method `new` exists but the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `response::JsonBody<_, MyObject>` in the current scope [INFO] [stdout] --> src/response.rs:441:45 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct JsonBody { [INFO] [stdout] | ------------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 399 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 441 | let json = JsonBody::<_, MyObject>::new(&mut req).limit(100).await; [INFO] [stdout] | ^^^ function or associated item not found in `response::JsonBody<_, MyObject>` [INFO] [stdout] | [INFO] [stdout] = note: the method `new` exists but the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `response::JsonBody<_, MyObject>` in the current scope [INFO] [stdout] --> src/response.rs:459:45 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct JsonBody { [INFO] [stdout] | ------------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 399 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 459 | let json = JsonBody::<_, MyObject>::new(&mut req).await; [INFO] [stdout] | ^^^ function or associated item not found in `response::JsonBody<_, MyObject>` [INFO] [stdout] | [INFO] [stdout] = note: the method `new` exists but 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:441:65 [INFO] [stdout] | [INFO] [stdout] 441 | 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:441:20 [INFO] [stdout] | [INFO] [stdout] 441 | let json = JsonBody::<_, MyObject>::new(&mut req).limit(100).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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, StreamExt}; [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] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 39 | .finish(|_| Ok::<_, Error>(Response::NotFound())) [INFO] [stdout] | ^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::h1::service::ok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [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 `brotli2` [INFO] [stdout] --> tests/test_client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use flate2::write::GzEncoder; [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 `futures_util` [INFO] [stdout] --> tests/test_client.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use futures_util::future::ok; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `futures_util` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `flate2` [INFO] [stdout] --> tests/test_client.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use flate2::Compression; [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 `actix_web` [INFO] [stdout] --> tests/test_client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use actix_web::dev::{AppConfig, BodyEncoding}; [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_web` [INFO] [stdout] --> tests/test_client.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use actix_web::http::Cookie; [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_web` [INFO] [stdout] --> tests/test_client.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use actix_web::middleware::Compress; [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_web` [INFO] [stdout] --> tests/test_client.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 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:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | 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 `actix_web` [INFO] [stdout] --> tests/test_client.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use actix_web::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 271 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:319:1 [INFO] [stdout] | [INFO] [stdout] 319 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:368:1 [INFO] [stdout] | [INFO] [stdout] 368 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:388:1 [INFO] [stdout] | [INFO] [stdout] 388 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:432:1 [INFO] [stdout] | [INFO] [stdout] 432 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:455:1 [INFO] [stdout] | [INFO] [stdout] 455 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:505:1 [INFO] [stdout] | [INFO] [stdout] 505 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:527:1 [INFO] [stdout] | [INFO] [stdout] 527 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:663:1 [INFO] [stdout] | [INFO] [stdout] 663 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:762:1 [INFO] [stdout] | [INFO] [stdout] 762 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> tests/test_client.rs:790:1 [INFO] [stdout] | [INFO] [stdout] 790 | #[actix_rt::test] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_connect` [INFO] [stdout] --> tests/test_client.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | .connector(actix_connect::new_connector( [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `actix_connect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_connect` [INFO] [stdout] --> tests/test_client.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | actix_connect::start_default_resolver().await.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `actix_connect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppConfig` [INFO] [stdout] --> tests/test_client.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 171 | |_| 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:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | |_| 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: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:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | |_| 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:336:21 [INFO] [stdout] | [INFO] [stdout] 336 | |_| AppConfig::default(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compress` [INFO] [stdout] --> tests/test_client.rs:392:19 [INFO] [stdout] | [INFO] [stdout] 392 | .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:395:30 [INFO] [stdout] | [INFO] [stdout] 395 | 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:411:17 [INFO] [stdout] | [INFO] [stdout] 411 | 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:426:17 [INFO] [stdout] | [INFO] [stdout] 426 | 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 `GzEncoder` [INFO] [stdout] --> tests/test_client.rs:436:25 [INFO] [stdout] | [INFO] [stdout] 436 | 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 type `GzEncoder` [INFO] [stdout] --> tests/test_client.rs:459:25 [INFO] [stdout] | [INFO] [stdout] 459 | 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 type `GzEncoder` [INFO] [stdout] --> tests/test_client.rs:487:25 [INFO] [stdout] | [INFO] [stdout] 487 | 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 type `BrotliEncoder` [INFO] [stdout] --> tests/test_client.rs:509:25 [INFO] [stdout] | [INFO] [stdout] 509 | 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 type `BrotliEncoder` [INFO] [stdout] --> tests/test_client.rs:536:25 [INFO] [stdout] | [INFO] [stdout] 536 | 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 `header` [INFO] [stdout] --> tests/test_client.rs:770:26 [INFO] [stdout] | [INFO] [stdout] 770 | .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 `header` [INFO] [stdout] --> tests/test_client.rs:798:26 [INFO] [stdout] | [INFO] [stdout] 798 | .get(header::AUTHORIZATION) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok` in this scope [INFO] [stdout] --> tests/test_client.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | 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:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | 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:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | 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:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | 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:667:19 [INFO] [stdout] | [INFO] [stdout] 667 | 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] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cookie` [INFO] [stdout] --> tests/test_client.rs:668:19 [INFO] [stdout] | [INFO] [stdout] 668 | 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] [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.8/src/sink/mod.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | fn send(&mut self, item: Item) -> Send<'_, Self, Item> [INFO] [stdout] | ---- the method is available for `Box>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use futures_util::sink::SinkExt; [INFO] [stdout] | [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] warning: unused import: `Read` [INFO] [stdout] --> tests/test_client.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> tests/test_client.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 56 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [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" "49aa6496163033d78caf04f3a1f94ce1d24098c0350ecd5ddc99caf992de4f5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49aa6496163033d78caf04f3a1f94ce1d24098c0350ecd5ddc99caf992de4f5f", kill_on_drop: false }` [INFO] [stdout] 49aa6496163033d78caf04f3a1f94ce1d24098c0350ecd5ddc99caf992de4f5f