[INFO] fetching crate nadeo-api 0.3.0...
[INFO] testing nadeo-api-0.3.0 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate nadeo-api 0.3.0 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate nadeo-api 0.3.0
[INFO] finished tweaking crates.io crate nadeo-api 0.3.0
[INFO] tweaked toml for crates.io crate nadeo-api 0.3.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate nadeo-api 0.3.0 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 189 packages to latest compatible versions
[INFO] [stderr]       Adding reqwest v0.12.28 (available: v0.13.1)
[INFO] [stderr]       Adding strum v0.26.3 (available: v0.27.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2b2ada67a151c3e881dd675b3658525695bda351e26bf8cf2448dceacd52a1f3
[INFO] running `Command { std: "docker" "start" "-a" "2b2ada67a151c3e881dd675b3658525695bda351e26bf8cf2448dceacd52a1f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2b2ada67a151c3e881dd675b3658525695bda351e26bf8cf2448dceacd52a1f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b2ada67a151c3e881dd675b3658525695bda351e26bf8cf2448dceacd52a1f3", kill_on_drop: false }`
[INFO] [stdout] 2b2ada67a151c3e881dd675b3658525695bda351e26bf8cf2448dceacd52a1f3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c7a254a393298c0dcec27a4c422f258c9a51a43ceb8046eaddbca717a88c41ad
[INFO] running `Command { std: "docker" "start" "-a" "c7a254a393298c0dcec27a4c422f258c9a51a43ceb8046eaddbca717a88c41ad", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling iri-string v0.7.10
[INFO] [stderr]    Compiling rustls-pki-types v1.13.2
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling derive_more v2.1.1
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling hyper-util v0.1.19
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling nadeo-api v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.85s
[INFO] running `Command { std: "docker" "inspect" "c7a254a393298c0dcec27a4c422f258c9a51a43ceb8046eaddbca717a88c41ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7a254a393298c0dcec27a4c422f258c9a51a43ceb8046eaddbca717a88c41ad", kill_on_drop: false }`
[INFO] [stdout] c7a254a393298c0dcec27a4c422f258c9a51a43ceb8046eaddbca717a88c41ad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c704c92d782128298f35d4f70d38851b642b43273a98d729254b576f1273c536
[INFO] running `Command { std: "docker" "start" "-a" "c704c92d782128298f35d4f70d38851b642b43273a98d729254b576f1273c536", kill_on_drop: false }`
[INFO] [stderr]    Compiling nadeo-api v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.58s
[INFO] running `Command { std: "docker" "inspect" "c704c92d782128298f35d4f70d38851b642b43273a98d729254b576f1273c536", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c704c92d782128298f35d4f70d38851b642b43273a98d729254b576f1273c536", kill_on_drop: false }`
[INFO] [stdout] c704c92d782128298f35d4f70d38851b642b43273a98d729254b576f1273c536
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 7977bafce39ab1c87a1c3bee3d5fbdc831f2d2c55b69613a55d11d0c53fd4484
[INFO] running `Command { std: "docker" "start" "-a" "7977bafce39ab1c87a1c3bee3d5fbdc831f2d2c55b69613a55d11d0c53fd4484", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nadeo_api-adf7bdfaa7ab6207)
[INFO] [stderr]    Doc-tests nadeo_api
[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] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/client/client_builder.rs - client::client_builder::NadeoClientBuilder::user_agent (line 54) ... FAILED
[INFO] [stdout] test src/client/mod.rs - client::NadeoClient (line 29) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 9) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 32) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 53) ... FAILED
[INFO] [stdout] test src/request/mod.rs - request::NadeoRequest (line 18) ... FAILED
[INFO] [stdout] test src/client/mod.rs - client::NadeoClient::execute (line 64) ... FAILED
[INFO] [stdout] test src/auth/o_auth/mod.rs - auth::o_auth::OAuthInfo::new (line 31) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/client/client_builder.rs - client::client_builder::NadeoClientBuilder::user_agent (line 54) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/client/client_builder.rs:61:6
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_client_builder_rs_54_0() {
[INFO] [stdout]    |                                      ---------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 61 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client/mod.rs - client::NadeoClient (line 29) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/client/mod.rs:38:6
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_mod_rs_29_0() {
[INFO] [stdout]    |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 38 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 9) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:19:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_9_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 19 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 32) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:43:6
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_32_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 43 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_32_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 49 |     .build()?;
[INFO] [stdout]    |             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 33 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_32_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 34 | use nadeo_api::{NadeoClient, NadeoRequest};
[INFO] [stdout] ...
[INFO] [stdout] 49 |     .build()?;
[INFO] [stdout] 50 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 53) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]   --> src/lib.rs:54:11
[INFO] [stdout]    |
[INFO] [stdout] 54 | let res = client.execute(request).await?;
[INFO] [stdout]    |           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `request` in this scope
[INFO] [stdout]   --> src/lib.rs:54:26
[INFO] [stdout]    |
[INFO] [stdout] 54 | let res = client.execute(request).await?;
[INFO] [stdout]    |                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:54:35
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_53_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 54 | let res = client.execute(request).await?;
[INFO] [stdout]    |                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/request/mod.rs - request::NadeoRequest (line 18) stdout ----
[INFO] [stdout] error: expected expression, found `let` statement
[INFO] [stdout]   --> src/request/mod.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | let request = NadeoRequest::builder()
[INFO] [stdout]    | ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: only supported directly in conditions of `if` and `while` expressions
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/request/mod.rs:32:40
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_request_mod_rs_18_0() {
[INFO] [stdout]    |                                      ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 32 | let response = client.execute(request).await?;
[INFO] [stdout]    |                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/request/mod.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_request_mod_rs_18_0() {
[INFO] [stdout]    |                                      ------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 30 |     .build()?;
[INFO] [stdout]    |             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 19 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_request_mod_rs_18_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 20 | use reqwest::Method;
[INFO] [stdout] ...
[INFO] [stdout] 32 | let response = client.execute(request).await?;
[INFO] [stdout] 33 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client/mod.rs - client::NadeoClient::execute (line 64) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/client/mod.rs:75:6
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_mod_rs_64_0() {
[INFO] [stdout]    |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 75 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/client/mod.rs:85:40
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_mod_rs_64_0() {
[INFO] [stdout]    |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 85 | let response = client.execute(request).await?;
[INFO] [stdout]    |                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/client/mod.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_mod_rs_64_0() {
[INFO] [stdout]    |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     .build()?;
[INFO] [stdout]    |             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 65 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_mod_rs_64_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 66 | use nadeo_api::auth::AuthType;
[INFO] [stdout] ...
[INFO] [stdout] 85 | let response = client.execute(request).await?;
[INFO] [stdout] 86 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/auth/o_auth/mod.rs - auth::o_auth::OAuthInfo::new (line 31) stdout ----
[INFO] [stdout] error[E0603]: struct `OAuthInfo` is private
[INFO] [stdout]   --> src/auth/o_auth/mod.rs:33:30
[INFO] [stdout]    |
[INFO] [stdout] 33 | use nadeo_api::auth::o_auth::OAuthInfo;
[INFO] [stdout]    |                              ^^^^^^^^^ private struct
[INFO] [stdout]    |
[INFO] [stdout] note: the struct `OAuthInfo` is defined here
[INFO] [stdout]   --> src/auth/o_auth/mod.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub(crate) struct OAuthInfo {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/auth/o_auth/mod.rs:36:70
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_o_auth_mod_rs_31_0() {
[INFO] [stdout]    |                                      ---------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 36 | let info = OAuthInfo::new("your_identifier", "your_secret", &client).await?;
[INFO] [stdout]    |                                                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0603, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0603`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/auth/o_auth/mod.rs - auth::o_auth::OAuthInfo::new (line 31)
[INFO] [stdout]     src/client/client_builder.rs - client::client_builder::NadeoClientBuilder::user_agent (line 54)
[INFO] [stdout]     src/client/mod.rs - client::NadeoClient (line 29)
[INFO] [stdout]     src/client/mod.rs - client::NadeoClient::execute (line 64)
[INFO] [stdout]     src/lib.rs - (line 32)
[INFO] [stdout]     src/lib.rs - (line 53)
[INFO] [stdout]     src/lib.rs - (line 9)
[INFO] [stdout]     src/request/mod.rs - request::NadeoRequest (line 18)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.53s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "7977bafce39ab1c87a1c3bee3d5fbdc831f2d2c55b69613a55d11d0c53fd4484", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7977bafce39ab1c87a1c3bee3d5fbdc831f2d2c55b69613a55d11d0c53fd4484", kill_on_drop: false }`
[INFO] [stdout] 7977bafce39ab1c87a1c3bee3d5fbdc831f2d2c55b69613a55d11d0c53fd4484
