[INFO] fetching crate awc 3.0.0-beta.2... [INFO] checking awc-3.0.0-beta.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate awc 3.0.0-beta.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate awc 3.0.0-beta.2 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate awc 3.0.0-beta.2 [INFO] finished tweaking crates.io crate awc 3.0.0-beta.2 [INFO] tweaked toml for crates.io crate awc 3.0.0-beta.2 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-openssl v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93acd8f740034cf70eea6fc7d122db678076304b46cc9aad4bcad96e8dba4312 [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" "93acd8f740034cf70eea6fc7d122db678076304b46cc9aad4bcad96e8dba4312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93acd8f740034cf70eea6fc7d122db678076304b46cc9aad4bcad96e8dba4312", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93acd8f740034cf70eea6fc7d122db678076304b46cc9aad4bcad96e8dba4312", kill_on_drop: false }` [INFO] [stdout] 93acd8f740034cf70eea6fc7d122db678076304b46cc9aad4bcad96e8dba4312 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] de6ec48f8116bcf76b3e4a75b48dd4b806d20b6244db78377ba7390635b6d3b2 [INFO] running `Command { std: "docker" "start" "-a" "de6ec48f8116bcf76b3e4a75b48dd4b806d20b6244db78377ba7390635b6d3b2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking actix-service v2.0.0-beta.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking memchr v2.3.4 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking generic-array v0.14.4 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking regex v1.4.4 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking tokio-util v0.6.4 [INFO] [stderr] Checking actix-codec v0.4.0-beta.1 [INFO] [stderr] Checking h2 v0.3.1 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling actix-macros v0.2.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Checking actix-rt v2.1.0 [INFO] [stderr] Checking actix-utils v3.0.0-beta.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking actix-tls v3.0.0-beta.4 [INFO] [stderr] Checking actix-http v3.0.0-beta.4 [INFO] [stderr] Checking awc v3.0.0-beta.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `actix_http::cookie` [INFO] [stdout] --> src/lib.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | pub use actix_http::{client::Connector, cookie, http}; [INFO] [stdout] | ^^^^^^ no `cookie` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http::cookie` [INFO] [stdout] --> src/request.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_http::cookie::{Cookie, CookieJar}; [INFO] [stdout] | ^^^^^^ could not find `cookie` in `actix_http` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http::cookie` [INFO] [stdout] --> src/response.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_http::cookie::Cookie; [INFO] [stdout] | ^^^^^^ could not find `cookie` in `actix_http` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http::error::CookieParseError` [INFO] [stdout] --> src/response.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use actix_http::error::{CookieParseError, PayloadError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `CookieParseError` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http::cookie` [INFO] [stdout] --> src/test.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_http::cookie::{Cookie, CookieJar}; [INFO] [stdout] | ^^^^^^ could not find `cookie` in `actix_http` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http::cookie` [INFO] [stdout] --> src/ws.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | use actix_http::cookie::{Cookie, CookieJar}; [INFO] [stdout] | ^^^^^^ could not find `cookie` in `actix_http` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `cookies` is not a member of trait `HttpMessage` [INFO] [stdout] --> src/response.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / fn cookies(&self) -> Result>>, CookieParseError> { [INFO] [stdout] 48 | | struct Cookies(Vec>); [INFO] [stdout] 49 | | [INFO] [stdout] 50 | | if self.extensions().get::().is_none() { [INFO] [stdout] ... | [INFO] [stdout] 61 | | })) [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ not a member of trait `HttpMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find associated type `Future` in trait `Connection` [INFO] [stdout] --> src/builder.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | ::Future: 'static, [INFO] [stdout] | ^^^^^^ not found in `Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find associated type `Future` in trait `Connection` [INFO] [stdout] --> src/connect.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | ::Future: 'static, [INFO] [stdout] | ^^^^^^ not found in `Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find associated type `TunnelFuture` in trait `Connection` [INFO] [stdout] --> src/connect.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | ::TunnelFuture: 'static, [INFO] [stdout] | ^^^^^^^^^^^^ not found in `Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http::cookie` [INFO] [stdout] --> src/lib.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | pub use actix_http::{client::Connector, cookie, http}; [INFO] [stdout] | ^^^^^^ no `cookie` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http::cookie` [INFO] [stdout] --> src/request.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_http::cookie::{Cookie, CookieJar}; [INFO] [stdout] | ^^^^^^ could not find `cookie` in `actix_http` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http::cookie` [INFO] [stdout] --> src/response.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use actix_http::cookie::Cookie; [INFO] [stdout] | ^^^^^^ could not find `cookie` in `actix_http` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http::error::CookieParseError` [INFO] [stdout] --> src/response.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use actix_http::error::{CookieParseError, PayloadError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `CookieParseError` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http::cookie` [INFO] [stdout] --> src/test.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_http::cookie::{Cookie, CookieJar}; [INFO] [stdout] | ^^^^^^ could not find `cookie` in `actix_http` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_http::cookie` [INFO] [stdout] --> src/ws.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | use actix_http::cookie::{Cookie, CookieJar}; [INFO] [stdout] | ^^^^^^ could not find `cookie` in `actix_http` [INFO] [stdout] [INFO] [stdout] [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] error[E0407]: method `cookies` is not a member of trait `HttpMessage` [INFO] [stdout] --> src/response.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / fn cookies(&self) -> Result>>, CookieParseError> { [INFO] [stdout] 48 | | struct Cookies(Vec>); [INFO] [stdout] 49 | | [INFO] [stdout] 50 | | if self.extensions().get::().is_none() { [INFO] [stdout] ... | [INFO] [stdout] 61 | | })) [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ not a member of trait `HttpMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find associated type `Future` in trait `Connection` [INFO] [stdout] --> src/builder.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | ::Future: 'static, [INFO] [stdout] | ^^^^^^ not found in `Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find associated type `Future` in trait `Connection` [INFO] [stdout] --> src/connect.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | ::Future: 'static, [INFO] [stdout] | ^^^^^^ not found in `Connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find associated type `TunnelFuture` in trait `Connection` [INFO] [stdout] --> src/connect.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | ::TunnelFuture: 'static, [INFO] [stdout] | ^^^^^^^^^^^^ not found in `Connection` [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 method named `as_bytes` found for array `[u8; 28]` in the current scope [INFO] [stdout] --> src/ws.rs:378:46 [INFO] [stdout] | [INFO] [stdout] 378 | if hdr_key.as_bytes() != encoded.as_bytes() { [INFO] [stdout] | ^^^^^^^^ method not found in `[u8; 28]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[u8; 28]` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/ws.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 381 | encoded, [INFO] [stdout] | ^^^^^^^ `[u8; 28]` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `[u8; 28]` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_bytes` found for array `[u8; 28]` in the current scope [INFO] [stdout] --> src/ws.rs:378:46 [INFO] [stdout] | [INFO] [stdout] 378 | if hdr_key.as_bytes() != encoded.as_bytes() { [INFO] [stdout] | ^^^^^^^^ method not found in `[u8; 28]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[u8; 28]` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/ws.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 381 | encoded, [INFO] [stdout] | ^^^^^^^ `[u8; 28]` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `[u8; 28]` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ws.rs:385:21 [INFO] [stdout] | [INFO] [stdout] 385 | encoded, [INFO] [stdout] | ^^^^^^^ expected struct `std::string::String`, found array `[u8; 28]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ws.rs:385:21 [INFO] [stdout] | [INFO] [stdout] 385 | encoded, [INFO] [stdout] | ^^^^^^^ expected struct `std::string::String`, found array `[u8; 28]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/request.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | cookies: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/request.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | cookies: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/ws.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | cookies: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0407, E0432, E0576, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [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[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: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 cannot be called on `response::JsonBody<_, MyObject>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `response::JsonBody<_, MyObject>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/response.rs: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 cannot be called on `response::JsonBody<_, MyObject>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `response::JsonBody<_, MyObject>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/response.rs: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 cannot be called on `response::JsonBody<_, MyObject>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `response::JsonBody<_, MyObject>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/response.rs: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 cannot be called on `response::JsonBody<_, MyObject>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyObject: DeserializeOwned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/response.rs: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[E0282]: type annotations needed [INFO] [stdout] --> src/ws.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | cookies: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0407, E0432, E0576, E0599, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "de6ec48f8116bcf76b3e4a75b48dd4b806d20b6244db78377ba7390635b6d3b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de6ec48f8116bcf76b3e4a75b48dd4b806d20b6244db78377ba7390635b6d3b2", kill_on_drop: false }` [INFO] [stdout] de6ec48f8116bcf76b3e4a75b48dd4b806d20b6244db78377ba7390635b6d3b2