[INFO] cloning repository https://github.com/jolvh/wrapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jolvh/wrapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjolvh%2Fwrapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjolvh%2Fwrapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 623f9deaac576312569920bc5d28c1872219348e [INFO] testing jolvh/wrapi against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjolvh%2Fwrapi" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jolvh/wrapi [INFO] finished tweaking git repo https://github.com/jolvh/wrapi [INFO] tweaked toml for git repo https://github.com/jolvh/wrapi written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jolvh/wrapi on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jolvh/wrapi already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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 hyper-rustls v0.27.5 [INFO] [stderr] Downloaded rustls-pki-types v1.11.0 [INFO] [stderr] Downloaded tempfile v3.16.0 [INFO] [stderr] Downloaded native-tls v0.2.13 [INFO] [stderr] Downloaded openssl-sys v0.9.105 [INFO] [stderr] Downloaded cc v1.2.12 [INFO] [stderr] Downloaded reqwest v0.12.12 [INFO] [stderr] Downloaded h2 v0.4.7 [INFO] [stderr] Downloaded openssl v0.10.70 [INFO] [stderr] Downloaded rustls v0.23.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85310ae59f73f58d4157fc862329d07bee1ecb955cc8df929e0a0fc5941df770 [INFO] running `Command { std: "docker" "start" "-a" "85310ae59f73f58d4157fc862329d07bee1ecb955cc8df929e0a0fc5941df770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85310ae59f73f58d4157fc862329d07bee1ecb955cc8df929e0a0fc5941df770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85310ae59f73f58d4157fc862329d07bee1ecb955cc8df929e0a0fc5941df770", kill_on_drop: false }` [INFO] [stdout] 85310ae59f73f58d4157fc862329d07bee1ecb955cc8df929e0a0fc5941df770 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a250dda00504acd56d11853afd2cd4aefb4d6fd8f9a1299e052e75c122ed7a4 [INFO] running `Command { std: "docker" "start" "-a" "1a250dda00504acd56d11853afd2cd4aefb4d6fd8f9a1299e052e75c122ed7a4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.2.12 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling openssl v0.10.70 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling openssl-sys v0.9.105 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling wrapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.64s [INFO] running `Command { std: "docker" "inspect" "1a250dda00504acd56d11853afd2cd4aefb4d6fd8f9a1299e052e75c122ed7a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a250dda00504acd56d11853afd2cd4aefb4d6fd8f9a1299e052e75c122ed7a4", kill_on_drop: false }` [INFO] [stdout] 1a250dda00504acd56d11853afd2cd4aefb4d6fd8f9a1299e052e75c122ed7a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3eb98cbc2602b9d3b14870a2e70abe8fb22cb811610399931001bd61e60b222 [INFO] running `Command { std: "docker" "start" "-a" "d3eb98cbc2602b9d3b14870a2e70abe8fb22cb811610399931001bd61e60b222", kill_on_drop: false }` [INFO] [stderr] Compiling wrapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "d3eb98cbc2602b9d3b14870a2e70abe8fb22cb811610399931001bd61e60b222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3eb98cbc2602b9d3b14870a2e70abe8fb22cb811610399931001bd61e60b222", kill_on_drop: false }` [INFO] [stdout] d3eb98cbc2602b9d3b14870a2e70abe8fb22cb811610399931001bd61e60b222 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 121cde3f6caad3f8a2048ea59de741b2726db18505b96d0b3735548ebfb5152d [INFO] running `Command { std: "docker" "start" "-a" "121cde3f6caad3f8a2048ea59de741b2726db18505b96d0b3735548ebfb5152d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wrapi-6da6d21d7509e711) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests wrapi [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/lib.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Serialize, Deserialize)] [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:16:26 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Serialize, Deserialize)] [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:16:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize)] [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:16:26 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize)] [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:16:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> Id: Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 19 | impl Request for NewUser { [INFO] [stdout] | ^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `Id` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Id` 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 `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [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 142 others [INFO] [stdout] = note: required for `Id` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `wrapi::request::Request` [INFO] [stdout] --> /opt/rustwide/workdir/src/request.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Request [INFO] [stdout] | ------- required by a bound in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | T: DeserializeOwned + Send + Sync, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Request` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NewUser: Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 19 | impl Request for NewUser { [INFO] [stdout] | ^^^^^^^ the trait `Serialize` is not implemented for `NewUser` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `NewUser` 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 `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 131 others [INFO] [stdout] note: required by a bound in `wrapi::request::Request` [INFO] [stdout] --> /opt/rustwide/workdir/src/request.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Request [INFO] [stdout] | ------- required by a bound in this trait [INFO] [stdout] 11 | where [INFO] [stdout] 12 | Self: Serialize + Send + Sync, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Request` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NewUser: Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 40 | let response = payload.send(&client, "").await.unwrap(); [INFO] [stdout] | ^^^^ the trait `Serialize` is not implemented for `NewUser` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `NewUser` 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 `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 131 others [INFO] [stdout] note: required by a bound in `send` [INFO] [stdout] --> /opt/rustwide/workdir/src/request.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | Self: Serialize + Send + Sync, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Request::send` [INFO] [stdout] ... [INFO] [stdout] 107 | fn send(&self, client: &Client, base_url: &str) -> impl Future> { [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Id: DeserializeOwned` is not satisfied [INFO] [stdout] --> src/lib.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 40 | let response = payload.send(&client, "").await.unwrap(); [INFO] [stdout] | ^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `Id` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [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 142 others [INFO] [stdout] = note: required for `Id` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `send` [INFO] [stdout] --> /opt/rustwide/workdir/src/request.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | T: DeserializeOwned + Send + Sync, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Request::send` [INFO] [stdout] ... [INFO] [stdout] 107 | fn send(&self, client: &Client, base_url: &str) -> impl Future> { [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NewUser: Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 40 | let response = payload.send(&client, "").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `NewUser` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `NewUser` 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 `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 131 others [INFO] [stdout] note: required by a bound in `wrapi::request::Request` [INFO] [stdout] --> /opt/rustwide/workdir/src/request.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Request [INFO] [stdout] | ------- required by a bound in this trait [INFO] [stdout] 11 | where [INFO] [stdout] 12 | Self: Serialize + Send + Sync, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Request` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> Id: Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 40 | let response = payload.send(&client, "").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `Id` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Id` 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 `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [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 142 others [INFO] [stdout] = note: required for `Id` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `wrapi::request::Request` [INFO] [stdout] --> /opt/rustwide/workdir/src/request.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Request [INFO] [stdout] | ------- required by a bound in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | T: DeserializeOwned + Send + Sync, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Request` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NewUser: Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:52:51 [INFO] [stdout] | [INFO] [stdout] 40 | let response = payload.send(&client, "").await.unwrap(); [INFO] [stdout] | ^^^^^ the trait `Serialize` is not implemented for `NewUser` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `NewUser` 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 `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 131 others [INFO] [stdout] note: required by a bound in `wrapi::request::Request` [INFO] [stdout] --> /opt/rustwide/workdir/src/request.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Request [INFO] [stdout] | ------- required by a bound in this trait [INFO] [stdout] 11 | where [INFO] [stdout] 12 | Self: Serialize + Send + Sync, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Request` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'de> Id: Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:52:51 [INFO] [stdout] | [INFO] [stdout] 40 | let response = payload.send(&client, "").await.unwrap(); [INFO] [stdout] | ^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `Id` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Id` 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 `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [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 142 others [INFO] [stdout] = note: required for `Id` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `wrapi::request::Request` [INFO] [stdout] --> /opt/rustwide/workdir/src/request.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Request [INFO] [stdout] | ------- required by a bound in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | T: DeserializeOwned + Send + Sync, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Request` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 30 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 20 | fn endpoint(&self) -> String { [INFO] [stdout] | ------ expected `std::string::String` because of return type [INFO] [stdout] 21 | "user" [INFO] [stdout] | ^^^^^^ expected `String`, found `&str` [INFO] [stdout] | [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 21 | "user".to_string() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "121cde3f6caad3f8a2048ea59de741b2726db18505b96d0b3735548ebfb5152d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "121cde3f6caad3f8a2048ea59de741b2726db18505b96d0b3735548ebfb5152d", kill_on_drop: false }` [INFO] [stdout] 121cde3f6caad3f8a2048ea59de741b2726db18505b96d0b3735548ebfb5152d