[INFO] fetching crate ajars_actix_web 0.8.0... [INFO] checking ajars_actix_web-0.8.0 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate ajars_actix_web 0.8.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate ajars_actix_web 0.8.0 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 126 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.21.0 (latest: v0.23.0) [INFO] [stderr] Adding ajars_core v0.8.0 (latest: v0.11.0) [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding gimli v0.28.1 (latest: v0.30.0) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding object v0.32.2 (latest: v0.36.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb4fe54107d8653541f737c0a4f2fae721a32861e6d5a78b9ae1bb557cf8bba4 [INFO] running `Command { std: "docker" "start" "-a" "cb4fe54107d8653541f737c0a4f2fae721a32861e6d5a78b9ae1bb557cf8bba4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb4fe54107d8653541f737c0a4f2fae721a32861e6d5a78b9ae1bb557cf8bba4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb4fe54107d8653541f737c0a4f2fae721a32861e6d5a78b9ae1bb557cf8bba4", kill_on_drop: false }` [INFO] [stdout] cb4fe54107d8653541f737c0a4f2fae721a32861e6d5a78b9ae1bb557cf8bba4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 983518d9980809572c8d3fd26774dd484cc6aea950e9f81f190430e4bb275b88 [INFO] running `Command { std: "docker" "start" "-a" "983518d9980809572c8d3fd26774dd484cc6aea950e9f81f190430e4bb275b88", kill_on_drop: false }` [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking bytestring v1.3.1 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking regex-lite v0.1.5 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking ajars_core v0.8.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking actix-http v3.7.0 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Checking actix-web v4.6.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[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: if you're trying to build a new `RestFluent` consider using one of the following associated functions: [INFO] [stdout] RestFluent::::new [INFO] [stdout] RestFluent::::delete [INFO] [stdout] RestFluent::::get [INFO] [stdout] RestFluent::::post [INFO] [stdout] RestFluent::::put [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ajars_core-0.8.0/src/lib.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new>(method: HttpMethod, path: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn delete>(path: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get>(path: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn post>(path: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn put>(path: P) -> Self { [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-6f17d22bba15001f/serde-1.0.203/src/ser/mod.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | 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: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] = 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-6f17d22bba15001f/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] = 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-6f17d22bba15001f/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`, which is required by `PingRequest: DeserializeOwned` [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 `PingRequest` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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`, which is required by `PingResponse: DeserializeOwned` [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 `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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[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`, which is required by `PingResponse: DeserializeOwned` [INFO] [stdout] | [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-6f17d22bba15001f/actix-web-4.6.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[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: if you're trying to build a new `RestFluent` consider using one of the following associated functions: [INFO] [stdout] RestFluent::::new [INFO] [stdout] RestFluent::::delete [INFO] [stdout] RestFluent::::get [INFO] [stdout] RestFluent::::post [INFO] [stdout] RestFluent::::put [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ajars_core-0.8.0/src/lib.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new>(method: HttpMethod, path: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn delete>(path: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get>(path: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn post>(path: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn put>(path: P) -> Self { [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-6f17d22bba15001f/serde-1.0.203/src/ser/mod.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | 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: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] = 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-6f17d22bba15001f/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] = 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-6f17d22bba15001f/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`, which is required by `PingRequest: DeserializeOwned` [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 `PingRequest` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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`, which is required by `PingResponse: DeserializeOwned` [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 `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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[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`, which is required by `PingResponse: DeserializeOwned` [INFO] [stdout] | [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-6f17d22bba15001f/actix-web-4.6.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[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: if you're trying to build a new `RestFluent` consider using one of the following associated functions: [INFO] [stdout] RestFluent::::new [INFO] [stdout] RestFluent::::delete [INFO] [stdout] RestFluent::::get [INFO] [stdout] RestFluent::::post [INFO] [stdout] RestFluent::::put [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ajars_core-0.8.0/src/lib.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new>(method: HttpMethod, path: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn delete>(path: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get>(path: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn post>(path: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn put>(path: P) -> Self { [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-6f17d22bba15001f/serde-1.0.203/src/ser/mod.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | 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: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] = 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-6f17d22bba15001f/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] = 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-6f17d22bba15001f/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`, which is required by `PingRequest: DeserializeOwned` [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 `PingRequest` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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`, which is required by `PingResponse: DeserializeOwned` [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 `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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[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`, which is required by `&PingRequest: serde::Serialize` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [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-6f17d22bba15001f/actix-web-4.6.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`, which is required by `PingResponse: DeserializeOwned` [INFO] [stdout] | [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-6f17d22bba15001f/actix-web-4.6.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[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: if you're trying to build a new `RestFluent` consider using one of the following associated functions: [INFO] [stdout] RestFluent::::new [INFO] [stdout] RestFluent::::delete [INFO] [stdout] RestFluent::::get [INFO] [stdout] RestFluent::::post [INFO] [stdout] RestFluent::::put [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ajars_core-0.8.0/src/lib.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new>(method: HttpMethod, path: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn delete>(path: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get>(path: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn post>(path: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn put>(path: P) -> Self { [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-6f17d22bba15001f/serde-1.0.203/src/ser/mod.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | 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: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] = 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-6f17d22bba15001f/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] = 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-6f17d22bba15001f/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`, which is required by `PingRequest: DeserializeOwned` [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 `PingRequest` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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`, which is required by `PingResponse: DeserializeOwned` [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 `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/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[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`, which is required by `&PingRequest: serde::Serialize` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [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-6f17d22bba15001f/actix-web-4.6.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`, which is required by `PingResponse: DeserializeOwned` [INFO] [stdout] | [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-6f17d22bba15001f/actix-web-4.6.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: aborting due to 30 previous errors [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 31 previous errors [INFO] running `Command { std: "docker" "inspect" "983518d9980809572c8d3fd26774dd484cc6aea950e9f81f190430e4bb275b88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "983518d9980809572c8d3fd26774dd484cc6aea950e9f81f190430e4bb275b88", kill_on_drop: false }` [INFO] [stdout] 983518d9980809572c8d3fd26774dd484cc6aea950e9f81f190430e4bb275b88