[INFO] fetching crate awc 3.0.0-beta.1... [INFO] checking awc-3.0.0-beta.1 against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] extracting crate awc 3.0.0-beta.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate awc 3.0.0-beta.1 on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate awc 3.0.0-beta.1 [INFO] finished tweaking crates.io crate awc 3.0.0-beta.1 [INFO] tweaked toml for crates.io crate awc 3.0.0-beta.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] faed4cff97f890d5417bb883825158a3db87221c6485b4132932dc4ffa2167fb [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" "faed4cff97f890d5417bb883825158a3db87221c6485b4132932dc4ffa2167fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "faed4cff97f890d5417bb883825158a3db87221c6485b4132932dc4ffa2167fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faed4cff97f890d5417bb883825158a3db87221c6485b4132932dc4ffa2167fb", kill_on_drop: false }` [INFO] [stdout] faed4cff97f890d5417bb883825158a3db87221c6485b4132932dc4ffa2167fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 648a70619030c02466a033a1698c0441cb0b06066c0d7df0fd3d7ed7059652b6 [INFO] running `Command { std: "docker" "start" "-a" "648a70619030c02466a033a1698c0441cb0b06066c0d7df0fd3d7ed7059652b6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Checking futures-sink v0.3.12 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking futures-io v0.3.12 [INFO] [stderr] Checking data-encoding v2.3.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling tokio v1.1.0 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking actix-service v2.0.0-beta.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Checking log v0.4.13 [INFO] [stderr] Checking encoding_rs v0.8.26 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking sha-1 v0.9.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking tokio-stream v0.1.2 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling actix-macros v0.2.0-beta.1 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Checking actix-rt v2.0.0-beta.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking async-stream v0.3.0 [INFO] [stderr] Checking tokio-util v0.6.2 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking actix-codec v0.4.0-beta.1 [INFO] [stderr] Checking trust-dns-proto v0.20.0 [INFO] [stderr] Checking actix-utils v3.0.0-beta.1 [INFO] [stderr] Checking pin-project v1.0.4 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking h2 v0.3.0 [INFO] [stderr] Checking trust-dns-resolver v0.20.0 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking actix-tls v3.0.0-beta.2 [INFO] [stderr] Checking actix-http v3.0.0-beta.1 [INFO] [stderr] Checking awc v3.0.0-beta.1 (/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[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: 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 `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[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] | ^^ 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 `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[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.12/src/sink/mod.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | 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: 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:506:1 [INFO] [stdout] | [INFO] [stdout] 506 | #[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:528:1 [INFO] [stdout] | [INFO] [stdout] 528 | #[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:665:1 [INFO] [stdout] | [INFO] [stdout] 665 | #[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:764:1 [INFO] [stdout] | [INFO] [stdout] 764 | #[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:792:1 [INFO] [stdout] | [INFO] [stdout] 792 | #[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_tls` [INFO] [stdout] --> tests/test_client.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | .connector(actix_tls::connect::new_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_tls` [INFO] [stdout] --> tests/test_client.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | actix_tls::connect::start_default_resolver().await.unwrap(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_tls` [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: 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 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:488:25 [INFO] [stdout] | [INFO] [stdout] 488 | 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:510:25 [INFO] [stdout] | [INFO] [stdout] 510 | 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:538:25 [INFO] [stdout] | [INFO] [stdout] 538 | 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:772:26 [INFO] [stdout] | [INFO] [stdout] 772 | .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:800:26 [INFO] [stdout] | [INFO] [stdout] 800 | .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:669:19 [INFO] [stdout] | [INFO] [stdout] 669 | 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:670:19 [INFO] [stdout] | [INFO] [stdout] 670 | 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] 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" "648a70619030c02466a033a1698c0441cb0b06066c0d7df0fd3d7ed7059652b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "648a70619030c02466a033a1698c0441cb0b06066c0d7df0fd3d7ed7059652b6", kill_on_drop: false }` [INFO] [stdout] 648a70619030c02466a033a1698c0441cb0b06066c0d7df0fd3d7ed7059652b6