[INFO] fetching crate ajars_actix_web 0.7.0... [INFO] testing ajars_actix_web-0.7.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate ajars_actix_web 0.7.0 into /workspace/builds/worker-19/source [INFO] validating manifest of crates.io crate ajars_actix_web 0.7.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ajars_actix_web 0.7.0 [INFO] finished tweaking crates.io crate ajars_actix_web 0.7.0 [INFO] tweaked toml for crates.io crate ajars_actix_web 0.7.0 written to /workspace/builds/worker-19/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 815d0100574125d4f1359484c79e61360b5b166e80aab986c56d93e3ba229f1a [INFO] running `Command { std: "docker" "start" "-a" "815d0100574125d4f1359484c79e61360b5b166e80aab986c56d93e3ba229f1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "815d0100574125d4f1359484c79e61360b5b166e80aab986c56d93e3ba229f1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "815d0100574125d4f1359484c79e61360b5b166e80aab986c56d93e3ba229f1a", kill_on_drop: false }` [INFO] [stdout] 815d0100574125d4f1359484c79e61360b5b166e80aab986c56d93e3ba229f1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de7f1ff77473d80af42d1e8e86ecaac51cfe05252a3f4ef1b3835ce94b8daa0b [INFO] running `Command { std: "docker" "start" "-a" "de7f1ff77473d80af42d1e8e86ecaac51cfe05252a3f4ef1b3835ce94b8daa0b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling ajars_core v0.7.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-rt v2.6.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling actix-server v2.0.0 [INFO] [stderr] Compiling actix-http v3.0.0 [INFO] [stderr] Compiling actix-web v4.0.1 [INFO] [stderr] Compiling ajars_actix_web v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.47s [INFO] running `Command { std: "docker" "inspect" "de7f1ff77473d80af42d1e8e86ecaac51cfe05252a3f4ef1b3835ce94b8daa0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de7f1ff77473d80af42d1e8e86ecaac51cfe05252a3f4ef1b3835ce94b8daa0b", kill_on_drop: false }` [INFO] [stdout] de7f1ff77473d80af42d1e8e86ecaac51cfe05252a3f4ef1b3835ce94b8daa0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61f6728171b16744664c44536125fce243d5884430b9d8ff79699aa89c6c9f99 [INFO] running `Command { std: "docker" "start" "-a" "61f6728171b16744664c44536125fce243d5884430b9d8ff79699aa89c6c9f99", kill_on_drop: false }` [INFO] [stderr] Compiling ajars_actix_web v0.7.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] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `PingRequest: DeserializeOwned` [INFO] [stdout] | doesn't satisfy `PingRequest: serde::Serialize` [INFO] [stdout] ... [INFO] [stdout] 87 | pub struct PingResponse { [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `PingResponse: DeserializeOwned` [INFO] [stdout] | doesn't satisfy `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] `PingRequest: DeserializeOwned` [INFO] [stdout] `PingResponse: serde::Serialize` [INFO] [stdout] `PingResponse: DeserializeOwned` [INFO] [stdout] note: the following traits must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/ser/mod.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | / pub trait Serialize { [INFO] [stdout] 217 | | /// Serialize this value into the given Serde serializer. [INFO] [stdout] 218 | | /// [INFO] [stdout] 219 | | /// See the [Implementing `Serialize`] section of the manual for more [INFO] [stdout] ... | [INFO] [stdout] 249 | | S: Serializer; [INFO] [stdout] 250 | | } [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: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ajars_core-0.7.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: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ajars_core-0.7.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: required because of the requirements on the impl of `DeserializeOwned` for `PingRequest` [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ajars_core-0.7.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: required because of the requirements on the impl of `DeserializeOwned` for `PingResponse` [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ajars_core-0.7.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 `for<'de> PingResponse: serde::Deserialize<'de>` 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] = note: required because of the requirements on the impl of `DeserializeOwned` for `PingResponse` [INFO] [stdout] note: required by a bound in `read_body_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/test/test_utils.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | 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] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `PingRequest: DeserializeOwned` [INFO] [stdout] | doesn't satisfy `PingRequest: serde::Serialize` [INFO] [stdout] ... [INFO] [stdout] 87 | pub struct PingResponse { [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `PingResponse: DeserializeOwned` [INFO] [stdout] | doesn't satisfy `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] `PingRequest: DeserializeOwned` [INFO] [stdout] `PingResponse: serde::Serialize` [INFO] [stdout] `PingResponse: DeserializeOwned` [INFO] [stdout] note: the following traits must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/ser/mod.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | / pub trait Serialize { [INFO] [stdout] 217 | | /// Serialize this value into the given Serde serializer. [INFO] [stdout] 218 | | /// [INFO] [stdout] 219 | | /// See the [Implementing `Serialize`] section of the manual for more [INFO] [stdout] ... | [INFO] [stdout] 249 | | S: Serializer; [INFO] [stdout] 250 | | } [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] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ajars_core-0.7.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: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ajars_core-0.7.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: required because of the requirements on the impl of `DeserializeOwned` for `PingRequest` [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ajars_core-0.7.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: required because of the requirements on the impl of `DeserializeOwned` for `PingResponse` [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ajars_core-0.7.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 `for<'de> PingResponse: serde::Deserialize<'de>` 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] = note: required because of the requirements on the impl of `DeserializeOwned` for `PingResponse` [INFO] [stdout] note: required by a bound in `read_body_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/test/test_utils.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | 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] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `PingRequest: DeserializeOwned` [INFO] [stdout] | doesn't satisfy `PingRequest: serde::Serialize` [INFO] [stdout] ... [INFO] [stdout] 87 | pub struct PingResponse { [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `PingResponse: DeserializeOwned` [INFO] [stdout] | doesn't satisfy `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] `PingRequest: DeserializeOwned` [INFO] [stdout] `PingResponse: serde::Serialize` [INFO] [stdout] `PingResponse: DeserializeOwned` [INFO] [stdout] note: the following traits must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/ser/mod.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | / pub trait Serialize { [INFO] [stdout] 217 | | /// Serialize this value into the given Serde serializer. [INFO] [stdout] 218 | | /// [INFO] [stdout] 219 | | /// See the [Implementing `Serialize`] section of the manual for more [INFO] [stdout] ... | [INFO] [stdout] 249 | | S: Serializer; [INFO] [stdout] 250 | | } [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] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ajars_core-0.7.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: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ajars_core-0.7.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: required because of the requirements on the impl of `DeserializeOwned` for `PingRequest` [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ajars_core-0.7.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: required because of the requirements on the impl of `DeserializeOwned` for `PingResponse` [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ajars_core-0.7.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:71 [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: required because of the requirements on the impl of `serde::Serialize` for `&PingRequest` [INFO] [stdout] note: required by a bound in `TestRequest::set_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/test/test_request.rs:196:42 [INFO] [stdout] | [INFO] [stdout] 196 | 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 `for<'de> PingResponse: serde::Deserialize<'de>` 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] = note: required because of the requirements on the impl of `DeserializeOwned` for `PingResponse` [INFO] [stdout] note: required by a bound in `read_body_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/test/test_utils.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | 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] | ---------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `PingRequest: DeserializeOwned` [INFO] [stdout] | doesn't satisfy `PingRequest: serde::Serialize` [INFO] [stdout] ... [INFO] [stdout] 87 | pub struct PingResponse { [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `PingResponse: DeserializeOwned` [INFO] [stdout] | doesn't satisfy `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] `PingRequest: DeserializeOwned` [INFO] [stdout] `PingResponse: serde::Serialize` [INFO] [stdout] `PingResponse: DeserializeOwned` [INFO] [stdout] note: the following traits must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/de/mod.rs:604:1 [INFO] [stdout] | [INFO] [stdout] 604 | pub trait DeserializeOwned: for<'de> Deserialize<'de> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.136/src/ser/mod.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | / pub trait Serialize { [INFO] [stdout] 217 | | /// Serialize this value into the given Serde serializer. [INFO] [stdout] 218 | | /// [INFO] [stdout] 219 | | /// See the [Implementing `Serialize`] section of the manual for more [INFO] [stdout] ... | [INFO] [stdout] 249 | | S: Serializer; [INFO] [stdout] 250 | | } [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] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ajars_core-0.7.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: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ajars_core-0.7.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: required because of the requirements on the impl of `DeserializeOwned` for `PingRequest` [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ajars_core-0.7.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: required because of the requirements on the impl of `DeserializeOwned` for `PingResponse` [INFO] [stdout] note: required by a bound in `RestFluent` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ajars_core-0.7.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:70 [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: required because of the requirements on the impl of `serde::Serialize` for `&PingRequest` [INFO] [stdout] note: required by a bound in `TestRequest::set_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/test/test_request.rs:196:42 [INFO] [stdout] | [INFO] [stdout] 196 | 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 `for<'de> PingResponse: serde::Deserialize<'de>` 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] = note: required because of the requirements on the impl of `DeserializeOwned` for `PingResponse` [INFO] [stdout] note: required by a bound in `read_body_json` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-web-4.0.1/src/test/test_utils.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | 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` due to 31 previous errors [INFO] running `Command { std: "docker" "inspect" "61f6728171b16744664c44536125fce243d5884430b9d8ff79699aa89c6c9f99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61f6728171b16744664c44536125fce243d5884430b9d8ff79699aa89c6c9f99", kill_on_drop: false }` [INFO] [stdout] 61f6728171b16744664c44536125fce243d5884430b9d8ff79699aa89c6c9f99