[INFO] fetching crate nadeo-api 0.2.4...
[INFO] testing nadeo-api-0.2.4 against nightly-2024-10-28 for randomize-layout
[INFO] extracting crate nadeo-api 0.2.4 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate nadeo-api 0.2.4 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nadeo-api 0.2.4
[INFO] finished tweaking crates.io crate nadeo-api 0.2.4
[INFO] tweaked toml for crates.io crate nadeo-api 0.2.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 154 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 59926c7a48e850b8ca8694e04eb163d99a84416d54ee078093160d08be1f583d
[INFO] running `Command { std: "docker" "start" "-a" "59926c7a48e850b8ca8694e04eb163d99a84416d54ee078093160d08be1f583d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "59926c7a48e850b8ca8694e04eb163d99a84416d54ee078093160d08be1f583d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59926c7a48e850b8ca8694e04eb163d99a84416d54ee078093160d08be1f583d", kill_on_drop: false }`
[INFO] [stdout] 59926c7a48e850b8ca8694e04eb163d99a84416d54ee078093160d08be1f583d
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fddf7ea535d886ce9bc8de8809c605b9d5292e73a5dfcad8b768f3f6aaf42770
[INFO] running `Command { std: "docker" "start" "-a" "fddf7ea535d886ce9bc8de8809c605b9d5292e73a5dfcad8b768f3f6aaf42770", kill_on_drop: false }`
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling unicase v2.8.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling rustls-pki-types v1.10.0
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.66
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling ipnet v2.10.1
[INFO] [stderr]    Compiling thiserror v1.0.66
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling derive_more v1.0.0
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.4.6
[INFO] [stderr]    Compiling hyper v1.5.0
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.9
[INFO] [stderr]    Compiling nadeo-api v0.2.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.99s
[INFO] running `Command { std: "docker" "inspect" "fddf7ea535d886ce9bc8de8809c605b9d5292e73a5dfcad8b768f3f6aaf42770", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fddf7ea535d886ce9bc8de8809c605b9d5292e73a5dfcad8b768f3f6aaf42770", kill_on_drop: false }`
[INFO] [stdout] fddf7ea535d886ce9bc8de8809c605b9d5292e73a5dfcad8b768f3f6aaf42770
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 72c12c170c508a9a714ad71aad1469206627ffc8a90147235e4f55f8ba32eabb
[INFO] running `Command { std: "docker" "start" "-a" "72c12c170c508a9a714ad71aad1469206627ffc8a90147235e4f55f8ba32eabb", kill_on_drop: false }`
[INFO] [stderr]    Compiling nadeo-api v0.2.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s
[INFO] running `Command { std: "docker" "inspect" "72c12c170c508a9a714ad71aad1469206627ffc8a90147235e4f55f8ba32eabb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72c12c170c508a9a714ad71aad1469206627ffc8a90147235e4f55f8ba32eabb", kill_on_drop: false }`
[INFO] [stdout] 72c12c170c508a9a714ad71aad1469206627ffc8a90147235e4f55f8ba32eabb
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6aba2a4b07b8ad69626a893a09dc8db0651b62b88edd83fd0e5a541063506f37
[INFO] running `Command { std: "docker" "start" "-a" "6aba2a4b07b8ad69626a893a09dc8db0651b62b88edd83fd0e5a541063506f37", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nadeo_api-a5ca9ca9468b5cdf)
[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 nadeo_api
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/auth/o_auth/mod.rs - auth::o_auth::OAuthInfo::new (line 32) ... FAILED
[INFO] [stdout] test src/client/mod.rs - client::NadeoClient (line 29) ... FAILED
[INFO] [stdout] test src/client/client_builder.rs - client::client_builder::NadeoClientBuilder::user_agent (line 54) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 9) ... FAILED
[INFO] [stdout] test src/request/mod.rs - request::NadeoRequest (line 18) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 51) ... FAILED
[INFO] [stdout] test src/client/mod.rs - client::NadeoClient::execute (line 64) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 31) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/auth/o_auth/mod.rs - auth::o_auth::OAuthInfo::new (line 32) stdout ----
[INFO] [stdout] error[E0603]: struct `OAuthInfo` is private
[INFO] [stdout]   --> src/auth/o_auth/mod.rs:34:30
[INFO] [stdout]    |
[INFO] [stdout] 5  | use nadeo_api::auth::o_auth::OAuthInfo;
[INFO] [stdout]    |                              ^^^^^^^^^ private struct
[INFO] [stdout]    |
[INFO] [stdout] note: the struct `OAuthInfo` is defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/auth/o_auth/mod.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | 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:37:70
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_auth_o_auth_mod_rs_32_0() {
[INFO] [stdout]   |                                      ---------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | 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] ---- 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] 4  | 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] 12 |     .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/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] 4  | 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] 10 |     .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:18:6
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_9_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 |     .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/request/mod.rs - request::NadeoRequest (line 18) stdout ----
[INFO] [stdout] error: expected expression, found `let` statement
[INFO] [stdout]   --> src/request/mod.rs:25:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | 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:31:40
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 16 | 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:29:13
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 14 |     .build()?;
[INFO] [stdout]    |             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, nadeo_api::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_request_mod_rs_18_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use nadeo_api::auth::AuthType;
[INFO] [stdout] ...
[INFO] [stdout] 16 | let response = client.execute(request).await?;
[INFO] [stdout] 17 +     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/lib.rs - (line 51) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/lib.rs:52:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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:52:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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:52:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_51_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 3 | 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/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] 4  | 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] 14 |     .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] 4  | 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] 24 | 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] 4  | 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] 21 |     .build()?;
[INFO] [stdout]    |             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, nadeo_api::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_mod_rs_64_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use nadeo_api::auth::AuthType;
[INFO] [stdout] ...
[INFO] [stdout] 24 | let response = client.execute(request).await?;
[INFO] [stdout] 25 +     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/lib.rs - (line 31) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:41:6
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_31_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 13 |     .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:47:13
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_31_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 19 |     .build()?;
[INFO] [stdout]    |             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, nadeo_api::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_31_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use nadeo_api::{NadeoClient, NadeoRequest};
[INFO] [stdout] ...
[INFO] [stdout] 19 |     .build()?;
[INFO] [stdout] 20 +     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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/auth/o_auth/mod.rs - auth::o_auth::OAuthInfo::new (line 32)
[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 31)
[INFO] [stdout]     src/lib.rs - (line 51)
[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.09s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "6aba2a4b07b8ad69626a893a09dc8db0651b62b88edd83fd0e5a541063506f37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6aba2a4b07b8ad69626a893a09dc8db0651b62b88edd83fd0e5a541063506f37", kill_on_drop: false }`
[INFO] [stdout] 6aba2a4b07b8ad69626a893a09dc8db0651b62b88edd83fd0e5a541063506f37
