[INFO] fetching crate oidcrs 0.1.4... [INFO] testing oidcrs-0.1.4 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate oidcrs 0.1.4 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate oidcrs 0.1.4 [INFO] finished tweaking crates.io crate oidcrs 0.1.4 [INFO] tweaked toml for crates.io crate oidcrs 0.1.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate oidcrs 0.1.4 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate oidcrs 0.1.4 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-attributes v0.1.29 [INFO] [stderr] Downloaded windows-registry v0.5.2 [INFO] [stderr] Downloaded syn v2.0.103 [INFO] [stderr] Downloaded reqwest v0.12.20 [INFO] [stderr] Downloaded hyper-util v0.1.14 [INFO] [stderr] Downloaded bumpalo v3.18.1 [INFO] [stderr] Downloaded h2 v0.4.10 [INFO] [stderr] Downloaded libc v0.2.173 [INFO] [stderr] Downloaded tokio v1.45.1 [INFO] [stderr] Downloaded rustls v0.23.28 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6961f616956b4fb4894fc6a7335cf942cbe09046fa7c2e1d2c2788ae36452377 [INFO] running `Command { std: "docker" "start" "-a" "6961f616956b4fb4894fc6a7335cf942cbe09046fa7c2e1d2c2788ae36452377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6961f616956b4fb4894fc6a7335cf942cbe09046fa7c2e1d2c2788ae36452377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6961f616956b4fb4894fc6a7335cf942cbe09046fa7c2e1d2c2788ae36452377", kill_on_drop: false }` [INFO] [stdout] 6961f616956b4fb4894fc6a7335cf942cbe09046fa7c2e1d2c2788ae36452377 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08069ecce1fa1d8825853f2020c042dcc4a10c132a3d3d658a57f3afed3cd0c5 [INFO] running `Command { std: "docker" "start" "-a" "08069ecce1fa1d8825853f2020c042dcc4a10c132a3d3d658a57f3afed3cd0c5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling oidcrs v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.33s [INFO] running `Command { std: "docker" "inspect" "08069ecce1fa1d8825853f2020c042dcc4a10c132a3d3d658a57f3afed3cd0c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08069ecce1fa1d8825853f2020c042dcc4a10c132a3d3d658a57f3afed3cd0c5", kill_on_drop: false }` [INFO] [stdout] 08069ecce1fa1d8825853f2020c042dcc4a10c132a3d3d658a57f3afed3cd0c5 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b13399db4a8f0def91b6e18e4c079357ee4a55ba18ec1511b2276d384b24b07d [INFO] running `Command { std: "docker" "start" "-a" "b13399db4a8f0def91b6e18e4c079357ee4a55ba18ec1511b2276d384b24b07d", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling oidcrs v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 28.29s [INFO] running `Command { std: "docker" "inspect" "b13399db4a8f0def91b6e18e4c079357ee4a55ba18ec1511b2276d384b24b07d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b13399db4a8f0def91b6e18e4c079357ee4a55ba18ec1511b2276d384b24b07d", kill_on_drop: false }` [INFO] [stdout] b13399db4a8f0def91b6e18e4c079357ee4a55ba18ec1511b2276d384b24b07d [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 620890d41fc931a276c5dbca81c35e3257a0c200e0ce4fd6b6083f2a72452bd6 [INFO] running `Command { std: "docker" "start" "-a" "620890d41fc931a276c5dbca81c35e3257a0c200e0ce4fd6b6083f2a72452bd6", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/oidcrs-580862ce237d46b7) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test authentication::tests::check_response_type_of_hybrid_flow ... ok [INFO] [stdout] test authentication::tests::check_response_type_of_authorization_code_flow ... ok [INFO] [stdout] test authentication::tests::check_response_type_of_implicit_flow ... ok [INFO] [stdout] test id_token::tests::expiration_duration_must_be_greater_than_10_seconds ... ok [INFO] [stdout] test id_token::tests::expiration_must_be_complaint ... ok [INFO] [stdout] test id_token::tests::issued_at_must_be_complaint ... ok [INFO] [stdout] test id_token::tests::issuer_cant_have_fragment_component_on_url ... ok [INFO] [stdout] test id_token::tests::id_token_must_deserialize_from_json ... ok [INFO] [stdout] test id_token::tests::issuer_must_be_complaint ... ok [INFO] [stdout] test id_token::tests::subject_must_be_ascii ... ok [INFO] [stdout] test id_token::tests::subject_must_be_complaint ... ok [INFO] [stdout] test id_token::tests::subject_must_be_shortest_than_256 ... ok [INFO] [stdout] test id_token::tests::issuer_cant_have_query_component_on_url ... ok [INFO] [stdout] test authentication::authorization_code_flow::tests::authorization_request_param_scope_must_be_openid ... ok [INFO] [stdout] test authentication::authorization_code_flow::tests::authorization_endpoint_must_be_tls ... ok [INFO] [stdout] test authentication::authorization_code_flow::tests::authorization_request_param_scope_type_openid_can_only_be_added_once ... ok [INFO] [stdout] test authentication::authorization_code_flow::tests::authorization_request_param_response_type_must_be_correct ... ok [INFO] [stdout] test authentication::authorization_code_flow::tests::authorization_request_param_scope_can_be_added ... ok [INFO] [stdout] test authentication::authorization_code_flow::tests::authorization_endpoint_is_tls ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stderr] Doc-tests oidcrs [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/authentication.rs - authentication::authorization_code_flow::AuthorizationCodeFlowClient::with_scope (line 247) ... FAILED [INFO] [stdout] test src/authentication.rs - authentication::authorization_code_flow::AuthorizationCodeFlowClient (line 203) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/authentication.rs - authentication::authorization_code_flow::AuthorizationCodeFlowClient::with_scope (line 247) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationCodeFlowClient` [INFO] [stdout] --> src/authentication.rs:250:18 [INFO] [stdout] | [INFO] [stdout] 5 | let client = AuthorizationCodeFlowClient::new(oidc_uri) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationCodeFlowClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use oidcrs::authentication::authorization_code_flow::AuthorizationCodeFlowClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/authentication.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 6 | .with_scope(Scope::Profile) [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/authentication.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 7 | .with_scope(Scope::Email) [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/authentication.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 8 | .with_scope(Scope::Address) [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Scope` [INFO] [stdout] --> src/authentication.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 9 | .with_scope(Scope::Phone); [INFO] [stdout] | ^^^^^ use of undeclared type `Scope` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::thread::Scope; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/authentication.rs - authentication::authorization_code_flow::AuthorizationCodeFlowClient (line 203) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthorizationCodeFlowClient` [INFO] [stdout] --> src/authentication.rs:206:18 [INFO] [stdout] | [INFO] [stdout] 5 | let client = AuthorizationCodeFlowClient::new(oidc_uri); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthorizationCodeFlowClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use oidcrs::authentication::authorization_code_flow::AuthorizationCodeFlowClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `returned_url` in this scope [INFO] [stdout] --> src/authentication.rs:211:65 [INFO] [stdout] | [INFO] [stdout] 10 | let authorization_code = client.extract_authorization_code(&returned_url)?; [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/authentication.rs:207:72 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_authentication_rs_203_0() { [INFO] [stdout] | ---------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 6 | let authorization_endpoint = client.build_authorization_endpoint().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/authentication.rs:212:87 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_authentication_rs_203_0() { [INFO] [stdout] | ---------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | let authorization_tokens = client.fetch_authorization_tokens(&authorization_code).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/authentication.rs - authentication::authorization_code_flow::AuthorizationCodeFlowClient (line 203) [INFO] [stdout] src/authentication.rs - authentication::authorization_code_flow::AuthorizationCodeFlowClient::with_scope (line 247) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.39s; merged doctests compilation took 0.14s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "620890d41fc931a276c5dbca81c35e3257a0c200e0ce4fd6b6083f2a72452bd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "620890d41fc931a276c5dbca81c35e3257a0c200e0ce4fd6b6083f2a72452bd6", kill_on_drop: false }` [INFO] [stdout] 620890d41fc931a276c5dbca81c35e3257a0c200e0ce4fd6b6083f2a72452bd6