[INFO] fetching crate awc 3.0.0-beta.10... [INFO] testing awc-3.0.0-beta.10 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate awc 3.0.0-beta.10 into /workspace/builds/worker-115/source [INFO] validating manifest of crates.io crate awc 3.0.0-beta.10 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate awc 3.0.0-beta.10 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate awc 3.0.0-beta.10 [INFO] tweaked toml for crates.io crate awc 3.0.0-beta.10 written to /workspace/builds/worker-115/source/Cargo.toml [INFO] crate crates.io crate awc 3.0.0-beta.10 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1cfe8636f39b2c987fc799a417579ab3314c7ab3eeb85597fa8a323695237e9 [INFO] running `Command { std: "docker" "start" "-a" "f1cfe8636f39b2c987fc799a417579ab3314c7ab3eeb85597fa8a323695237e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1cfe8636f39b2c987fc799a417579ab3314c7ab3eeb85597fa8a323695237e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1cfe8636f39b2c987fc799a417579ab3314c7ab3eeb85597fa8a323695237e9", kill_on_drop: false }` [INFO] [stdout] f1cfe8636f39b2c987fc799a417579ab3314c7ab3eeb85597fa8a323695237e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2d3cd9a443ec68ff774e98355051188ab8119ff7fc61c42b1c873d8c123c656 [INFO] running `Command { std: "docker" "start" "-a" "f2d3cd9a443ec68ff774e98355051188ab8119ff7fc61c42b1c873d8c123c656", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling local-waker v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling zstd-safe v3.1.0+zstd.1.4.9 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.70 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling actix-service v2.0.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling zstd-sys v1.5.0+zstd.1.4.9 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling actix-codec v0.4.1 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling actix-rt v2.4.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling actix-tls v3.0.0-beta.7 [INFO] [stderr] Compiling zstd v0.7.0+zstd.1.4.9 [INFO] [stderr] Compiling actix-http v3.0.0-beta.12 [INFO] [stderr] Compiling awc v3.0.0-beta.10 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.46s [INFO] running `Command { std: "docker" "inspect" "f2d3cd9a443ec68ff774e98355051188ab8119ff7fc61c42b1c873d8c123c656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2d3cd9a443ec68ff774e98355051188ab8119ff7fc61c42b1c873d8c123c656", kill_on_drop: false }` [INFO] [stdout] f2d3cd9a443ec68ff774e98355051188ab8119ff7fc61c42b1c873d8c123c656 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-115/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cab818c8b40e1743b8e0030c6ff9977440fb34e5f43731f21438df4311146d56 [INFO] running `Command { std: "docker" "start" "-a" "cab818c8b40e1743b8e0030c6ff9977440fb34e5f43731f21438df4311146d56", kill_on_drop: false }` [INFO] [stderr] Compiling awc v3.0.0-beta.10 (/opt/rustwide/workdir) [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use actix_http::test_server; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> tests/test_ws.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use futures_util::{SinkExt as _, StreamExt as _}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `awc` due to 2 previous errors; 1 warning emitted [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: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:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | 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:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | 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:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | 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:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use actix_web::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 24 | use actix_rt::{ [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http_test` [INFO] [stdout] --> tests/test_client.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use actix_http_test::test_server; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `actix_http_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 22 | use actix_http::test_server; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> tests/test_client.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use actix_web::{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 24 | use actix_rt::{ [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:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 56 | let srv = actix_tls::start(|| { [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:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 82 | let srv = actix_tls::start(|| { [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:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 98 | let srv = actix_tls::start(|| { [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:117:15 [INFO] [stdout] | [INFO] [stdout] 117 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 117 | let srv = actix_tls::start(|| { [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:142:15 [INFO] [stdout] | [INFO] [stdout] 142 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 142 | let srv = actix_tls::start(|| { [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:166:15 [INFO] [stdout] | [INFO] [stdout] 166 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 166 | let srv = actix_tls::start(|| { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppConfig` [INFO] [stdout] --> tests/test_client.rs:249:21 [INFO] [stdout] | [INFO] [stdout] 249 | |_| 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:286:21 [INFO] [stdout] | [INFO] [stdout] 286 | |_| 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:326:21 [INFO] [stdout] | [INFO] [stdout] 326 | |_| 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:365:21 [INFO] [stdout] | [INFO] [stdout] 365 | |_| 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:414:21 [INFO] [stdout] | [INFO] [stdout] 414 | |_| 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:448:15 [INFO] [stdout] | [INFO] [stdout] 448 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 448 | let srv = actix_tls::start(|| { [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:468:15 [INFO] [stdout] | [INFO] [stdout] 468 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 468 | let srv = actix_tls::start(|| { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compress` [INFO] [stdout] --> tests/test_client.rs:470:19 [INFO] [stdout] | [INFO] [stdout] 470 | .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:473:30 [INFO] [stdout] | [INFO] [stdout] 473 | 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:489:17 [INFO] [stdout] | [INFO] [stdout] 489 | 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:504:17 [INFO] [stdout] | [INFO] [stdout] 504 | let mut e = GzDecoder::new(&bytes[..]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `GzDecoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_test` [INFO] [stdout] --> tests/test_client.rs:512:15 [INFO] [stdout] | [INFO] [stdout] 512 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 512 | let srv = actix_tls::start(|| { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzEncoder` [INFO] [stdout] --> tests/test_client.rs:514:25 [INFO] [stdout] | [INFO] [stdout] 514 | 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:535:15 [INFO] [stdout] | [INFO] [stdout] 535 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 535 | let srv = actix_tls::start(|| { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzEncoder` [INFO] [stdout] --> tests/test_client.rs:537:25 [INFO] [stdout] | [INFO] [stdout] 537 | 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:564:15 [INFO] [stdout] | [INFO] [stdout] 564 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 564 | let srv = actix_tls::start(|| { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GzEncoder` [INFO] [stdout] --> tests/test_client.rs:566:25 [INFO] [stdout] | [INFO] [stdout] 566 | 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:586:15 [INFO] [stdout] | [INFO] [stdout] 586 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 586 | let srv = actix_tls::start(|| { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrotliEncoder` [INFO] [stdout] --> tests/test_client.rs:588:25 [INFO] [stdout] | [INFO] [stdout] 588 | 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:614:15 [INFO] [stdout] | [INFO] [stdout] 614 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 614 | let srv = actix_tls::start(|| { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BrotliEncoder` [INFO] [stdout] --> tests/test_client.rs:616:25 [INFO] [stdout] | [INFO] [stdout] 616 | 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:637:15 [INFO] [stdout] | [INFO] [stdout] 637 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 637 | let srv = actix_tls::start(|| { [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:662:15 [INFO] [stdout] | [INFO] [stdout] 662 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 662 | let srv = actix_tls::start(|| { [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:681:15 [INFO] [stdout] | [INFO] [stdout] 681 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 681 | let srv = actix_tls::start(|| { [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:702:15 [INFO] [stdout] | [INFO] [stdout] 702 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 702 | let srv = actix_tls::start(|| { [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:738:15 [INFO] [stdout] | [INFO] [stdout] 738 | let srv = actix_test::start(move || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 738 | let srv = actix_tls::start(move || { [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:794:16 [INFO] [stdout] | [INFO] [stdout] 794 | let addr = actix_test::unused_addr(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 794 | let addr = actix_tls::unused_addr(); [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:821:15 [INFO] [stdout] | [INFO] [stdout] 821 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 821 | let srv = actix_tls::start(|| { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `header` [INFO] [stdout] --> tests/test_client.rs:827:26 [INFO] [stdout] | [INFO] [stdout] 827 | .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:849:15 [INFO] [stdout] | [INFO] [stdout] 849 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 849 | let srv = actix_tls::start(|| { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `header` [INFO] [stdout] --> tests/test_client.rs:855:26 [INFO] [stdout] | [INFO] [stdout] 855 | .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:879:15 [INFO] [stdout] | [INFO] [stdout] 879 | let srv = actix_test::start(move || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 879 | let srv = actix_tls::start(move || { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> src/middleware/redirect.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | use actix_web::{web, App, Error, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 284 | use actix_rt::{web, App, Error, HttpRequest, HttpResponse}; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/response.rs:490:14 [INFO] [stdout] | [INFO] [stdout] 490 | #[derive(Serialize, Deserialize, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/response.rs:458:30 [INFO] [stdout] | [INFO] [stdout] 458 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/response.rs:490:25 [INFO] [stdout] | [INFO] [stdout] 490 | #[derive(Serialize, Deserialize, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/response.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | use serde::{Deserialize, Serialize}; [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 298 | let srv = actix_tls::start(|| { [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: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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 325 | let srv = actix_tls::start(|| { [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:353:19 [INFO] [stdout] | [INFO] [stdout] 353 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 353 | let srv = actix_tls::start(|| { [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:379:19 [INFO] [stdout] | [INFO] [stdout] 379 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 379 | let srv = actix_tls::start(|| { [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:410:19 [INFO] [stdout] | [INFO] [stdout] 410 | let srv = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 410 | let srv = actix_tls::start(|| { [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:468:20 [INFO] [stdout] | [INFO] [stdout] 468 | let srv2 = actix_test::start(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 468 | let srv2 = actix_tls::start(|| { [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:481:20 [INFO] [stdout] | [INFO] [stdout] 481 | let srv1 = actix_test::start(move || { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_test` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 481 | let srv1 = actix_tls::start(move || { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 45 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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:508:45 [INFO] [stdout] | [INFO] [stdout] 326 | pub struct JsonBody { [INFO] [stdout] | ------------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 491 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 508 | 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] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.130/src/de/mod.rs:602:1 [INFO] [stdout] | [INFO] [stdout] 602 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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:517:45 [INFO] [stdout] | [INFO] [stdout] 326 | pub struct JsonBody { [INFO] [stdout] | ------------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 491 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 517 | 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] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.130/src/de/mod.rs:602:1 [INFO] [stdout] | [INFO] [stdout] 602 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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:531:45 [INFO] [stdout] | [INFO] [stdout] 326 | pub struct JsonBody { [INFO] [stdout] | ------------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 491 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 531 | 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] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.130/src/de/mod.rs:602:1 [INFO] [stdout] | [INFO] [stdout] 602 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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:549:45 [INFO] [stdout] | [INFO] [stdout] 326 | pub struct JsonBody { [INFO] [stdout] | ------------------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 491 | struct MyObject { [INFO] [stdout] | --------------- doesn't satisfy `MyObject: DeserializeOwned` [INFO] [stdout] ... [INFO] [stdout] 549 | 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] note: the following trait must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.130/src/de/mod.rs:602:1 [INFO] [stdout] | [INFO] [stdout] 602 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cab818c8b40e1743b8e0030c6ff9977440fb34e5f43731f21438df4311146d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cab818c8b40e1743b8e0030c6ff9977440fb34e5f43731f21438df4311146d56", kill_on_drop: false }` [INFO] [stdout] cab818c8b40e1743b8e0030c6ff9977440fb34e5f43731f21438df4311146d56