[INFO] fetching crate ajars_actix_web 0.8.0... [INFO] checking ajars_actix_web-0.8.0 against try#4797991aa2efb6d658150f10425b3f3b5d10eceb for pr-143193 [INFO] extracting crate ajars_actix_web 0.8.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate ajars_actix_web 0.8.0 [INFO] finished tweaking crates.io crate ajars_actix_web 0.8.0 [INFO] tweaked toml for crates.io crate ajars_actix_web 0.8.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ajars_actix_web 0.8.0 on toolchain 4797991aa2efb6d658150f10425b3f3b5d10eceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking ajars_actix_web-0.8.0 against try#4797991aa2efb6d658150f10425b3f3b5d10eceb for pr-143193 [INFO] extracting crate ajars_actix_web 0.8.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate ajars_actix_web 0.8.0 [INFO] finished tweaking crates.io crate ajars_actix_web 0.8.0 [INFO] tweaked toml for crates.io crate ajars_actix_web 0.8.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ajars_actix_web 0.8.0 on toolchain 4797991aa2efb6d658150f10425b3f3b5d10eceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 142 packages to latest compatible versions [INFO] [stderr] Adding ajars_core v0.8.0 (available: v0.11.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ajars_core v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5278746efc07a6d714bccb0fbcb595e9a727b4e7d80ac45ba69961de7e83d7b [INFO] running `Command { std: "docker" "start" "-a" "c5278746efc07a6d714bccb0fbcb595e9a727b4e7d80ac45ba69961de7e83d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5278746efc07a6d714bccb0fbcb595e9a727b4e7d80ac45ba69961de7e83d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5278746efc07a6d714bccb0fbcb595e9a727b4e7d80ac45ba69961de7e83d7b", kill_on_drop: false }` [INFO] [stdout] c5278746efc07a6d714bccb0fbcb595e9a727b4e7d80ac45ba69961de7e83d7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04cfd5fe7ae907fbc6188c5709ecc9f5585c1b10d5b6167a887dc4b515a0147d [INFO] running `Command { std: "docker" "start" "-a" "04cfd5fe7ae907fbc6188c5709ecc9f5585c1b10d5b6167a887dc4b515a0147d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking regex-lite v0.1.6 [INFO] [stderr] Checking bytestring v1.4.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ajars_core v0.8.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking actix-http v3.11.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Checking ajars_actix_web v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Serialize, Deserialize, 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/lib.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Serialize, Deserialize, 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/lib.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Serialize, Deserialize, 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/lib.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Serialize, Deserialize, 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/lib.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PingRequest: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | RestFluent::::delete(format!("/api/something/{}", rand::random::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `PingRequest` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `PingRequest` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 134 others [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ajars_core-0.8.0/src/lib.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RestFluent { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `RestFluent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PingResponse: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | RestFluent::::delete(format!("/api/something/{}", rand::random::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `PingResponse` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `PingResponse` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 134 others [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ajars_core-0.8.0/src/lib.rs:67:59 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RestFluent { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `RestFluent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> PingRequest: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | RestFluent::::delete(format!("/api/something/{}", rand::random::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `PingRequest` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `PingRequest` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `PingRequest` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ajars_core-0.8.0/src/lib.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RestFluent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `RestFluent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> PingResponse: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | RestFluent::::delete(format!("/api/something/{}", rand::random::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `PingResponse` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `PingResponse` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `PingResponse` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ajars_core-0.8.0/src/lib.rs:67:71 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RestFluent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `RestFluent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `delete` exists for struct `RestFluent`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:110:54 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct PingRequest { [INFO] [stdout] | ---------------------- doesn't satisfy `PingRequest: DeserializeOwned`, `PingRequest: serde::Deserialize<'de>` or `PingRequest: serde::Serialize` [INFO] [stdout] ... [INFO] [stdout] 87 | pub struct PingResponse { [INFO] [stdout] | ----------------------- doesn't satisfy `PingResponse: DeserializeOwned`, `PingResponse: serde::Deserialize<'de>` or `PingResponse: serde::Serialize` [INFO] [stdout] ... [INFO] [stdout] 110 | RestFluent::::delete(format!("/api/something/{}", rand::random::())); [INFO] [stdout] | ^^^^^^ function or associated item cannot be called on `RestFluent` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PingRequest: serde::Serialize` [INFO] [stdout] `PingResponse: serde::Serialize` [INFO] [stdout] `PingRequest: serde::Deserialize<'de>` [INFO] [stdout] which is required by `PingRequest: DeserializeOwned` [INFO] [stdout] `PingResponse: serde::Deserialize<'de>` [INFO] [stdout] which is required by `PingResponse: DeserializeOwned` [INFO] [stdout] note: the trait `serde::Serialize` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PingResponse: DeserializeOwned` is not satisfied [INFO] [stdout] --> src/lib.rs:125:34 [INFO] [stdout] | [INFO] [stdout] 125 | let resp: PingResponse = test::read_body_json(resp).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `PingResponse` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `PingResponse` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `read_body_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/test/test_utils.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub async fn read_body_json(res: ServiceResponse) -> T [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 258 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `read_body_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PingRequest: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | let rest = RestFluent::::get(format!("/api/something/{}", rand::random::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `PingRequest` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `PingRequest` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 134 others [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ajars_core-0.8.0/src/lib.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RestFluent { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `RestFluent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PingResponse: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | let rest = RestFluent::::get(format!("/api/something/{}", rand::random::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `PingResponse` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `PingResponse` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 134 others [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ajars_core-0.8.0/src/lib.rs:67:59 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RestFluent { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `RestFluent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> PingRequest: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | let rest = RestFluent::::get(format!("/api/something/{}", rand::random::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `PingRequest` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `PingRequest` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `PingRequest` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ajars_core-0.8.0/src/lib.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RestFluent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `RestFluent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> PingResponse: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | let rest = RestFluent::::get(format!("/api/something/{}", rand::random::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `PingResponse` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `PingResponse` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `PingResponse` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ajars_core-0.8.0/src/lib.rs:67:71 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RestFluent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `RestFluent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `get` exists for struct `RestFluent`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:132:61 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct PingRequest { [INFO] [stdout] | ---------------------- doesn't satisfy `PingRequest: DeserializeOwned`, `PingRequest: serde::Deserialize<'de>` or `PingRequest: serde::Serialize` [INFO] [stdout] ... [INFO] [stdout] 87 | pub struct PingResponse { [INFO] [stdout] | ----------------------- doesn't satisfy `PingResponse: DeserializeOwned`, `PingResponse: serde::Deserialize<'de>` or `PingResponse: serde::Serialize` [INFO] [stdout] ... [INFO] [stdout] 132 | let rest = RestFluent::::get(format!("/api/something/{}", rand::random::())); [INFO] [stdout] | ^^^ function or associated item cannot be called on `RestFluent` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PingRequest: serde::Serialize` [INFO] [stdout] `PingResponse: serde::Serialize` [INFO] [stdout] `PingRequest: serde::Deserialize<'de>` [INFO] [stdout] which is required by `PingRequest: DeserializeOwned` [INFO] [stdout] `PingResponse: serde::Deserialize<'de>` [INFO] [stdout] which is required by `PingResponse: DeserializeOwned` [INFO] [stdout] note: the trait `serde::Serialize` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PingResponse: DeserializeOwned` is not satisfied [INFO] [stdout] --> src/lib.rs:147:34 [INFO] [stdout] | [INFO] [stdout] 147 | let resp: PingResponse = test::read_body_json(resp).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `PingResponse` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `PingResponse` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `read_body_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/test/test_utils.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub async fn read_body_json(res: ServiceResponse) -> T [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 258 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `read_body_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PingRequest: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | let rest = RestFluent::::post(format!("/api/something/{}", rand::random::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `PingRequest` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `PingRequest` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 134 others [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ajars_core-0.8.0/src/lib.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RestFluent { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `RestFluent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PingResponse: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | let rest = RestFluent::::post(format!("/api/something/{}", rand::random::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `PingResponse` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `PingResponse` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 134 others [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ajars_core-0.8.0/src/lib.rs:67:59 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RestFluent { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `RestFluent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> PingRequest: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | let rest = RestFluent::::post(format!("/api/something/{}", rand::random::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `PingRequest` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `PingRequest` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `PingRequest` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ajars_core-0.8.0/src/lib.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RestFluent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `RestFluent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> PingResponse: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | let rest = RestFluent::::post(format!("/api/something/{}", rand::random::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `PingResponse` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `PingResponse` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `PingResponse` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ajars_core-0.8.0/src/lib.rs:67:71 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RestFluent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `RestFluent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `post` exists for struct `RestFluent`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:154:61 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct PingRequest { [INFO] [stdout] | ---------------------- doesn't satisfy `PingRequest: DeserializeOwned`, `PingRequest: serde::Deserialize<'de>` or `PingRequest: serde::Serialize` [INFO] [stdout] ... [INFO] [stdout] 87 | pub struct PingResponse { [INFO] [stdout] | ----------------------- doesn't satisfy `PingResponse: DeserializeOwned`, `PingResponse: serde::Deserialize<'de>` or `PingResponse: serde::Serialize` [INFO] [stdout] ... [INFO] [stdout] 154 | let rest = RestFluent::::post(format!("/api/something/{}", rand::random::())); [INFO] [stdout] | ^^^^ function or associated item cannot be called on `RestFluent` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PingRequest: serde::Serialize` [INFO] [stdout] `PingResponse: serde::Serialize` [INFO] [stdout] `PingRequest: serde::Deserialize<'de>` [INFO] [stdout] which is required by `PingRequest: DeserializeOwned` [INFO] [stdout] `PingResponse: serde::Deserialize<'de>` [INFO] [stdout] which is required by `PingResponse: DeserializeOwned` [INFO] [stdout] note: the trait `serde::Serialize` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PingRequest: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:160:72 [INFO] [stdout] | [INFO] [stdout] 160 | let req = test::TestRequest::post().uri(rest.path()).set_json(&payload).to_request(); [INFO] [stdout] | -------- ^^^^^^^ the trait `serde::Serialize` is not implemented for `PingRequest` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `PingRequest` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 134 others [INFO] [stdout] = note: required for `&PingRequest` to implement `serde::Serialize` [INFO] [stdout] note: required by a bound in `TestRequest::set_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/test/test_request.rs:201:42 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn set_json(mut self, data: impl Serialize) -> Self { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `TestRequest::set_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PingResponse: DeserializeOwned` is not satisfied [INFO] [stdout] --> src/lib.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | let resp: PingResponse = test::read_body_json(resp).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `PingResponse` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `PingResponse` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `read_body_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/test/test_utils.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub async fn read_body_json(res: ServiceResponse) -> T [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 258 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `read_body_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PingRequest: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 176 | let rest = RestFluent::::put(format!("/api/something/{}", rand::random::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `PingRequest` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `PingRequest` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 134 others [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ajars_core-0.8.0/src/lib.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RestFluent { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `RestFluent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PingResponse: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 176 | let rest = RestFluent::::put(format!("/api/something/{}", rand::random::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::Serialize` is not implemented for `PingResponse` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `PingResponse` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 134 others [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ajars_core-0.8.0/src/lib.rs:67:59 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RestFluent { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `RestFluent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> PingRequest: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 176 | let rest = RestFluent::::put(format!("/api/something/{}", rand::random::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `PingRequest` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `PingRequest` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `PingRequest` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ajars_core-0.8.0/src/lib.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RestFluent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `RestFluent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> PingResponse: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 176 | let rest = RestFluent::::put(format!("/api/something/{}", rand::random::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `PingResponse` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `PingResponse` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `PingResponse` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ajars_core-0.8.0/src/lib.rs:67:71 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct RestFluent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `RestFluent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `put` exists for struct `RestFluent`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:176:61 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct PingRequest { [INFO] [stdout] | ---------------------- doesn't satisfy `PingRequest: DeserializeOwned`, `PingRequest: serde::Deserialize<'de>` or `PingRequest: serde::Serialize` [INFO] [stdout] ... [INFO] [stdout] 87 | pub struct PingResponse { [INFO] [stdout] | ----------------------- doesn't satisfy `PingResponse: DeserializeOwned`, `PingResponse: serde::Deserialize<'de>` or `PingResponse: serde::Serialize` [INFO] [stdout] ... [INFO] [stdout] 176 | let rest = RestFluent::::put(format!("/api/something/{}", rand::random::())); [INFO] [stdout] | ^^^ function or associated item cannot be called on `RestFluent` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `PingRequest: serde::Serialize` [INFO] [stdout] `PingResponse: serde::Serialize` [INFO] [stdout] `PingRequest: serde::Deserialize<'de>` [INFO] [stdout] which is required by `PingRequest: DeserializeOwned` [INFO] [stdout] `PingResponse: serde::Deserialize<'de>` [INFO] [stdout] which is required by `PingResponse: DeserializeOwned` [INFO] [stdout] note: the trait `serde::Serialize` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub trait Serialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PingRequest: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:182:71 [INFO] [stdout] | [INFO] [stdout] 182 | let req = test::TestRequest::put().uri(rest.path()).set_json(&payload).to_request(); [INFO] [stdout] | -------- ^^^^^^^ the trait `serde::Serialize` is not implemented for `PingRequest` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `PingRequest` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 134 others [INFO] [stdout] = note: required for `&PingRequest` to implement `serde::Serialize` [INFO] [stdout] note: required by a bound in `TestRequest::set_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/test/test_request.rs:201:42 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn set_json(mut self, data: impl Serialize) -> Self { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `TestRequest::set_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PingResponse: DeserializeOwned` is not satisfied [INFO] [stdout] --> src/lib.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | let resp: PingResponse = test::read_body_json(resp).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `PingResponse` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `serde::Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `PingResponse` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `read_body_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.11.0/src/test/test_utils.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub async fn read_body_json(res: ServiceResponse) -> T [INFO] [stdout] | -------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 258 | T: DeserializeOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `read_body_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ajars_actix_web` (lib test) due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "04cfd5fe7ae907fbc6188c5709ecc9f5585c1b10d5b6167a887dc4b515a0147d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04cfd5fe7ae907fbc6188c5709ecc9f5585c1b10d5b6167a887dc4b515a0147d", kill_on_drop: false }` [INFO] [stdout] 04cfd5fe7ae907fbc6188c5709ecc9f5585c1b10d5b6167a887dc4b515a0147d