[INFO] fetching crate nadeo-api 0.2.2...
[INFO] testing nadeo-api-0.2.2 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate nadeo-api 0.2.2 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate nadeo-api 0.2.2 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nadeo-api 0.2.2
[INFO] finished tweaking crates.io crate nadeo-api 0.2.2
[INFO] tweaked toml for crates.io crate nadeo-api 0.2.2 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" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 160 packages to latest compatible versions
[INFO] [stderr]       Adding addr2line v0.21.0 (latest: v0.22.0)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding convert_case v0.4.0 (latest: v0.6.0)
[INFO] [stderr]       Adding foreign-types v0.3.2 (latest: v0.5.0)
[INFO] [stderr]       Adding foreign-types-shared v0.1.1 (latest: v0.3.1)
[INFO] [stderr]       Adding gimli v0.28.1 (latest: v0.29.0)
[INFO] [stderr]       Adding heck v0.4.1 (latest: v0.5.0)
[INFO] [stderr]       Adding linux-raw-sys v0.4.14 (latest: v0.6.4)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding sync_wrapper v0.1.2 (latest: v1.0.1)
[INFO] [stderr]       Adding system-configuration v0.5.1 (latest: v0.6.0)
[INFO] [stderr]       Adding system-configuration-sys v0.5.0 (latest: v0.6.0)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding windows-core v0.52.0 (latest: v0.56.0)
[INFO] [stderr]       Adding windows-sys v0.48.0 (latest: v0.52.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 457f78b49f5790085bb05de04854f84db0aa136f6d4848115b4a49e4c16f0bc8
[INFO] running `Command { std: "docker" "start" "-a" "457f78b49f5790085bb05de04854f84db0aa136f6d4848115b4a49e4c16f0bc8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "457f78b49f5790085bb05de04854f84db0aa136f6d4848115b4a49e4c16f0bc8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "457f78b49f5790085bb05de04854f84db0aa136f6d4848115b4a49e4c16f0bc8", kill_on_drop: false }`
[INFO] [stdout] 457f78b49f5790085bb05de04854f84db0aa136f6d4848115b4a49e4c16f0bc8
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 61904697597c4a99050da37098844c776a99c1dfbf0e314d5fedcab74e5476a2
[INFO] running `Command { std: "docker" "start" "-a" "61904697597c4a99050da37098844c776a99c1dfbf0e314d5fedcab74e5476a2", kill_on_drop: false }`
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling rustls-pki-types v1.7.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling rustls-pemfile v2.1.2
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling http-body-util v0.1.1
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling strum_macros v0.26.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling strum v0.26.2
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.4.5
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper v1.3.1
[INFO] [stderr]    Compiling hyper-util v0.1.4
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.4
[INFO] [stderr]    Compiling nadeo-api v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.26s
[INFO] running `Command { std: "docker" "inspect" "61904697597c4a99050da37098844c776a99c1dfbf0e314d5fedcab74e5476a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "61904697597c4a99050da37098844c776a99c1dfbf0e314d5fedcab74e5476a2", kill_on_drop: false }`
[INFO] [stdout] 61904697597c4a99050da37098844c776a99c1dfbf0e314d5fedcab74e5476a2
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c0cdf1d9012121e259cf94db803e062ee672c51c4cd0d17778b30e32a3b31632
[INFO] running `Command { std: "docker" "start" "-a" "c0cdf1d9012121e259cf94db803e062ee672c51c4cd0d17778b30e32a3b31632", kill_on_drop: false }`
[INFO] [stderr]    Compiling nadeo-api v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s
[INFO] running `Command { std: "docker" "inspect" "c0cdf1d9012121e259cf94db803e062ee672c51c4cd0d17778b30e32a3b31632", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0cdf1d9012121e259cf94db803e062ee672c51c4cd0d17778b30e32a3b31632", kill_on_drop: false }`
[INFO] [stdout] c0cdf1d9012121e259cf94db803e062ee672c51c4cd0d17778b30e32a3b31632
[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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 60d6a179be69501e85909b5a5f10a1b439ef4dda7ec45abeec25e0ccbe5b4edc
[INFO] running `Command { std: "docker" "start" "-a" "60d6a179be69501e85909b5a5f10a1b439ef4dda7ec45abeec25e0ccbe5b4edc", 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/nadeo_api-db48426d89a8c69c)
[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/client/client_builder.rs - client::client_builder::NadeoClientBuilder::user_agent (line 44) ... FAILED
[INFO] [stdout] test src/auth/o_auth/mod.rs - auth::o_auth::OAuthInfo::new (line 32) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 9) ... FAILED
[INFO] [stdout] test src/client/mod.rs - client::NadeoClient (line 27) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 50) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 30) ... FAILED
[INFO] [stdout] test src/client/mod.rs - client::NadeoClient::execute (line 61) ... FAILED
[INFO] [stdout] test src/request/mod.rs - request::NadeoRequest (line 19) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/client/client_builder.rs - client::client_builder::NadeoClientBuilder::user_agent (line 44) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/client/client_builder.rs:51:6
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_client_builder_rs_44_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/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/lib.rs - (line 9) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:17: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] 11 |     .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 27) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/client/mod.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_mod_rs_27_0() {
[INFO] [stdout]    |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 |     .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 50) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/lib.rs:51: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:51: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:51:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_50_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/lib.rs - (line 30) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:40:6
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_30_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:46:13
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_30_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] 
[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/client/mod.rs - client::NadeoClient::execute (line 61) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/client/mod.rs:72:6
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_mod_rs_61_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:82:40
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_mod_rs_61_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[E0599]: no method named `http_method` found for struct `NadeoRequestBuilder` in the current scope
[INFO] [stdout]   --> src/client/mod.rs:78:6
[INFO] [stdout]    |
[INFO] [stdout] 17 |   let request = NadeoRequest::builder()
[INFO] [stdout]    |  _______________-
[INFO] [stdout] 18 | |     .url("https://prod.trackmania.core.nadeo.online/accounts/clubTags/?accountIdList=29e75531-1a9d-4880-98da-e2acfe17c578")
[INFO] [stdout] 19 | |     .auth_type(AuthType::NadeoServices)
[INFO] [stdout] 20 | |     .http_method(HttpMethod::Get)
[INFO] [stdout]    | |_____-^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `method` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 20 |     .method(HttpMethod::Get)
[INFO] [stdout]    |      ~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/request/mod.rs - request::NadeoRequest (line 19) stdout ----
[INFO] [stdout] error: expected expression, found `let` statement
[INFO] [stdout]   --> src/request/mod.rs:26: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:32:40
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_request_mod_rs_19_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[E0599]: no method named `http_method` found for struct `NadeoRequestBuilder` in the current scope
[INFO] [stdout]   --> src/request/mod.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 10 |   let request = NadeoRequest::builder()
[INFO] [stdout]    |  _______________-
[INFO] [stdout] 11 | |          .url("https://prod.trackmania.core.nadeo.online/accounts/clubTags/?accountIdList=29e75531-1a9d-4880-98da-e2acfe17c578")
[INFO] [stdout] 12 | |          .auth_type(AuthType::NadeoServices)
[INFO] [stdout] 13 | |          .http_method(HttpMethod::Get)
[INFO] [stdout]    | |__________-^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `method` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 13 |          .method(HttpMethod::Get)
[INFO] [stdout]    |           ~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[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 44)
[INFO] [stdout]     src/client/mod.rs - client::NadeoClient (line 27)
[INFO] [stdout]     src/client/mod.rs - client::NadeoClient::execute (line 61)
[INFO] [stdout]     src/lib.rs - (line 30)
[INFO] [stdout]     src/lib.rs - (line 50)
[INFO] [stdout]     src/lib.rs - (line 9)
[INFO] [stdout]     src/request/mod.rs - request::NadeoRequest (line 19)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "60d6a179be69501e85909b5a5f10a1b439ef4dda7ec45abeec25e0ccbe5b4edc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "60d6a179be69501e85909b5a5f10a1b439ef4dda7ec45abeec25e0ccbe5b4edc", kill_on_drop: false }`
[INFO] [stdout] 60d6a179be69501e85909b5a5f10a1b439ef4dda7ec45abeec25e0ccbe5b4edc
