[INFO] fetching crate fars 0.2.0... [INFO] testing fars-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate fars 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate fars 0.2.0 [INFO] finished tweaking crates.io crate fars 0.2.0 [INFO] tweaked toml for crates.io crate fars 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fars 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fars 0.2.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time-macros v0.2.16 [INFO] [stderr] Downloaded unicode-bidi v0.3.14 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.39 [INFO] [stderr] Downloaded jsonwebtoken v9.2.0 [INFO] [stderr] Downloaded anyhow v1.0.78 [INFO] [stderr] Downloaded pem v3.0.3 [INFO] [stderr] Downloaded time v0.3.31 [INFO] [stderr] Downloaded openssl-sys v0.9.98 [INFO] [stderr] Downloaded openssl v0.10.62 [INFO] [stderr] Downloaded reqwest v0.11.23 [INFO] [stderr] Downloaded web-sys v0.3.66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77ab4df9372e3c1f53d1e5bd101099b37c1aeeca9cbfa61e70cc4e57408da58c [INFO] running `Command { std: "docker" "start" "-a" "77ab4df9372e3c1f53d1e5bd101099b37c1aeeca9cbfa61e70cc4e57408da58c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77ab4df9372e3c1f53d1e5bd101099b37c1aeeca9cbfa61e70cc4e57408da58c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77ab4df9372e3c1f53d1e5bd101099b37c1aeeca9cbfa61e70cc4e57408da58c", kill_on_drop: false }` [INFO] [stdout] 77ab4df9372e3c1f53d1e5bd101099b37c1aeeca9cbfa61e70cc4e57408da58c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa0a56252e54fc90f60a195f5e318795585d26173e29ce147b183b9861cda949 [INFO] running `Command { std: "docker" "start" "-a" "aa0a56252e54fc90f60a195f5e318795585d26173e29ce147b183b9861cda949", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.52 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.52 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.23 [INFO] [stderr] Compiling fars v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.16s [INFO] running `Command { std: "docker" "inspect" "aa0a56252e54fc90f60a195f5e318795585d26173e29ce147b183b9861cda949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa0a56252e54fc90f60a195f5e318795585d26173e29ce147b183b9861cda949", kill_on_drop: false }` [INFO] [stdout] aa0a56252e54fc90f60a195f5e318795585d26173e29ce147b183b9861cda949 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63b886c9eec6402cf53121353f176289fc1a9ea333542b8934b1a0a86517420a [INFO] running `Command { std: "docker" "start" "-a" "63b886c9eec6402cf53121353f176289fc1a9ea333542b8934b1a0a86517420a", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling anyhow v1.0.78 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling clap_builder v4.4.12 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling clap v4.4.12 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.23 [INFO] [stderr] Compiling fars v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 35.71s [INFO] running `Command { std: "docker" "inspect" "63b886c9eec6402cf53121353f176289fc1a9ea333542b8934b1a0a86517420a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63b886c9eec6402cf53121353f176289fc1a9ea333542b8934b1a0a86517420a", kill_on_drop: false }` [INFO] [stdout] 63b886c9eec6402cf53121353f176289fc1a9ea333542b8934b1a0a86517420a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 20764090c31cc41e3a71ddcd9fc3e23708e867539a09a32de9396b35a27571eb [INFO] running `Command { std: "docker" "start" "-a" "20764090c31cc41e3a71ddcd9fc3e23708e867539a09a32de9396b35a27571eb", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fars-055519521fede94d) [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 fars [INFO] [stdout] [INFO] [stdout] running 50 tests [INFO] [stdout] test src/api/send_password_reset_email.rs - api::send_password_reset_email::send_password_reset_email (line 75) ... FAILED [INFO] [stdout] test src/api/change_password.rs - api::change_password::change_password (line 103) ... FAILED [INFO] [stdout] test src/api/link_with_oauth_credential.rs - api::link_with_oauth_credential::link_with_oauth_credential (line 146) ... FAILED [INFO] [stdout] test src/api/get_user_data.rs - api::get_user_data::get_user_data (line 71) ... FAILED [INFO] [stdout] test src/api/change_email.rs - api::change_email::change_email (line 106) ... FAILED [INFO] [stdout] test src/api/sign_in_anonymously.rs - api::sign_in_anonymously::sign_in_anonymously (line 80) ... FAILED [INFO] [stdout] test src/api/fetch_providers_for_email.rs - api::fetch_providers_for_email::fetch_providers_for_email (line 79) ... FAILED [INFO] [stdout] test src/api.rs - api (line 66) ... FAILED [INFO] [stdout] test src/api/link_with_email_password.rs - api::link_with_email_password::link_with_email_password (line 118) ... FAILED [INFO] [stdout] test src/api/confirm_password_reset.rs - api::confirm_password_reset::confirm_password_reset (line 82) ... FAILED [INFO] [stdout] test src/api.rs - api (line 36) ... FAILED [INFO] [stdout] test src/api/exchange_custom_token_for_an_id_and_refresh_token.rs - api::exchange_custom_token_for_an_id_and_refresh_token::exchange_custom_token_for_an_id_and_refresh_token (line 79) ... FAILED [INFO] [stdout] test src/api/delete_account.rs - api::delete_account::delete_account (line 66) ... FAILED [INFO] [stdout] test src/api/send_email_verification.rs - api::send_email_verification::send_email_verification (line 77) ... FAILED [INFO] [stdout] test src/api/update_profile.rs - api::update_profile::update_profile (line 131) ... FAILED [INFO] [stdout] test src/api/exchange_refresh_token.rs - api::exchange_refresh_token::exchange_refresh_token (line 94) ... FAILED [INFO] [stdout] test src/config.rs - config::Config::fetch_providers_for_email (line 551) ... FAILED [INFO] [stdout] test src/config.rs - config::Config::exchange_refresh_token (line 491) ... FAILED [INFO] [stdout] test src/config.rs - config::Config::send_reset_password_email (line 617) ... FAILED [INFO] [stdout] test src/api/sign_in_with_email_password.rs - api::sign_in_with_email_password::sign_in_with_email_password (line 97) ... FAILED [INFO] [stdout] test src/client.rs - client (line 16) ... FAILED [INFO] [stdout] test src/api/confirm_email_verification.rs - api::confirm_email_verification::confirm_email_verification (line 87) ... FAILED [INFO] [stdout] test src/api/verify_password_reset_code.rs - api::verify_password_reset_code::verify_password_reset_code (line 73) ... FAILED [INFO] [stdout] test src/config.rs - config::Config::sign_in_anonymously (line 374) ... FAILED [INFO] [stdout] test src/api/sign_in_with_oauth_credential.rs - api::sign_in_with_oauth_credential::sign_in_with_oauth_credential (line 143) ... FAILED [INFO] [stdout] test src/api/sign_up_with_email_password.rs - api::sign_up_with_email_password::sign_up_with_email_password (line 94) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::change_email (line 285) ... FAILED [INFO] [stdout] test src/config.rs - config (line 115) ... FAILED [INFO] [stdout] test src/config.rs - config::Config (line 158) ... ok [INFO] [stdout] test src/session.rs - session::Session::change_password (line 339) ... FAILED [INFO] [stdout] test src/api/unlink_provider.rs - api::unlink_provider::unlink_provider (line 102) ... FAILED [INFO] [stdout] test src/config.rs - config::Config::sign_in_with_email_password (line 315) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::delete_profile (line 445) ... FAILED [INFO] [stdout] test src/config.rs - config::Config::sign_in_with_oauth_credential (line 424) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::get_user_data (line 499) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::refresh_token (line 799) ... FAILED [INFO] [stdout] test src/config.rs - config::Config::sign_up_with_email_password (line 252) ... FAILED [INFO] [stdout] test src/session.rs - session::Session (line 94) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::delete_account (line 758) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::link_with_oauth_credential (line 605) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::unlink_provider (line 662) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::update_profile (line 390) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::link_with_email_password (line 545) ... FAILED [INFO] [stdout] test src/session.rs - session::Session::send_email_verification (line 714) ... FAILED [INFO] [stdout] test src/verification.rs - verification (line 12) ... FAILED [INFO] [stdout] test src/client.rs - client (line 6) ... ok [INFO] [stdout] test src/config.rs - config::Config::new (line 181) ... ok [INFO] [stdout] test src/config.rs - config (line 46) ... FAILED [INFO] [stdout] test src/config.rs - config (line 78) ... FAILED [INFO] [stdout] test src/session.rs - session (line 37) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/api/send_password_reset_email.rs - api::send_password_reset_email::send_password_reset_email (line 75) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/send_password_reset_email.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_send_password_reset_email_rs_75_0() { [INFO] [stdout] | ------------------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 18 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api/send_password_reset_email.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 13 | let response_payload = api::send_password_reset_email( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 15 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/send_password_reset_email.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | pub async fn send_password_reset_email( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 14 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 15 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/change_password.rs - api::change_password::change_password (line 103) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/change_password.rs:119:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_change_password_rs_103_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[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api/change_password.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 15 | let resopnse_payload = api::change_password( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 17 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/change_password.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | pub async fn change_password( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 16 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 17 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/link_with_oauth_credential.rs - api::link_with_oauth_credential::link_with_oauth_credential (line 146) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/link_with_oauth_credential.rs:164:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_link_with_oauth_credential_rs_146_0() { [INFO] [stdout] | -------------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 21 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api/link_with_oauth_credential.rs:160:24 [INFO] [stdout] | [INFO] [stdout] 17 | let response_payload = api::link_with_oauth_credential( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 19 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/link_with_oauth_credential.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | pub async fn link_with_oauth_credential( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 18 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 19 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/get_user_data.rs - api::get_user_data::get_user_data (line 71) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/get_user_data.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_get_user_data_rs_71_0() { [INFO] [stdout] | ------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 17 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api/get_user_data.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 13 | let response_payload = api::get_user_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 15 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/get_user_data.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | pub async fn get_user_data( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 14 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 15 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/change_email.rs - api::change_email::change_email (line 106) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/change_email.rs:123:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_change_email_rs_106_0() { [INFO] [stdout] | ------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 20 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api/change_email.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 15 | let resopnse_payload = api::change_email( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 17 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/change_email.rs:124:14 [INFO] [stdout] | [INFO] [stdout] 124 | pub async fn change_email( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 16 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 17 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/sign_in_anonymously.rs - api::sign_in_anonymously::sign_in_anonymously (line 80) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/sign_in_anonymously.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_sign_in_anonymously_rs_80_0() { [INFO] [stdout] | ------------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 15 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api/sign_in_anonymously.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 11 | let response_payload = api::sign_in_anonymously( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 13 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/sign_in_anonymously.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn sign_in_anonymously( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 12 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 13 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/fetch_providers_for_email.rs - api::fetch_providers_for_email::fetch_providers_for_email (line 79) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/fetch_providers_for_email.rs:94:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_fetch_providers_for_email_rs_79_0() { [INFO] [stdout] | ------------------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 18 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api/fetch_providers_for_email.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 14 | let response_payload = api::fetch_providers_for_email( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 16 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/fetch_providers_for_email.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | pub async fn fetch_providers_for_email( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 15 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 16 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api.rs - api (line 66) stdout ---- [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 16 | let response_payload = api::get_user_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 18 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/get_user_data.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | pub async fn get_user_data( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 17 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 18 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/link_with_email_password.rs - api::link_with_email_password::link_with_email_password (line 118) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/link_with_email_password.rs:134:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_link_with_email_password_rs_118_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[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api/link_with_email_password.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 15 | let response_payload = api::link_with_email_password( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 17 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/link_with_email_password.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | pub async fn link_with_email_password( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 16 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 17 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/confirm_password_reset.rs - api::confirm_password_reset::confirm_password_reset (line 82) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/confirm_password_reset.rs:97:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_confirm_password_reset_rs_82_0() { [INFO] [stdout] | --------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 18 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api/confirm_password_reset.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 14 | let response_payload = api::confirm_password_reset( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 16 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/confirm_password_reset.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | pub async fn confirm_password_reset( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 15 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 16 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api.rs - api (line 36) stdout ---- [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 17 | let response_payload = api::sign_up_with_email_password( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 19 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/sign_up_with_email_password.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | pub async fn sign_up_with_email_password( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 18 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 19 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/exchange_custom_token_for_an_id_and_refresh_token.rs - api::exchange_custom_token_for_an_id_and_refresh_token::exchange_custom_token_for_an_id_and_refresh_token (line 79) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/exchange_custom_token_for_an_id_and_refresh_token.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_exchange_custom_token_for_an_id_and_refresh_token_rs_79_0() { [INFO] [stdout] | ------------------------------------------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 17 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api/exchange_custom_token_for_an_id_and_refresh_token.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 13 | let response_payload = api::exchange_custom_token_for_an_id_and_refresh_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 15 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/exchange_custom_token_for_an_id_and_refresh_token.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn exchange_custom_token_for_an_id_and_refresh_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 14 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 15 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/delete_account.rs - api::delete_account::delete_account (line 66) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/delete_account.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_delete_account_rs_66_0() { [INFO] [stdout] | ------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 17 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api/delete_account.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 13 | let response_payload = api::delete_account( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 15 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/delete_account.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub async fn delete_account( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 14 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 15 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/send_email_verification.rs - api::send_email_verification::send_email_verification (line 77) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/send_email_verification.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_send_email_verification_rs_77_0() { [INFO] [stdout] | ---------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 18 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api/send_email_verification.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 13 | let response_payload = api::send_email_verification( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 15 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/send_email_verification.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn send_email_verification( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 14 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 15 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/update_profile.rs - api::update_profile::update_profile (line 131) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/update_profile.rs:148:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_update_profile_rs_131_0() { [INFO] [stdout] | -------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 20 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/api/update_profile.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 9 | let request_payload = api::UpdateProfileRequestBodyPayload::new( [INFO] [stdout] | _______________________^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 10 | | "id-token".to_string(), [INFO] [stdout] 11 | | Some("new-display-name".to_string()), [INFO] [stdout] 12 | | Some("new-photo-url".to_string()), [INFO] [stdout] 13 | | None, [INFO] [stdout] 14 | | ); [INFO] [stdout] | |_- argument #5 of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/update_profile.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 14 | let request_payload = api::UpdateProfileRequestBodyPayload::new( [INFO] [stdout] ... [INFO] [stdout] 18 | None, [INFO] [stdout] 19 + /* bool */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api/update_profile.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 16 | let response_payload = api::update_profile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 18 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/update_profile.rs:149:14 [INFO] [stdout] | [INFO] [stdout] 149 | pub async fn update_profile( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 17 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 18 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/exchange_refresh_token.rs - api::exchange_refresh_token::exchange_refresh_token (line 94) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/exchange_refresh_token.rs:108:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_exchange_refresh_token_rs_94_0() { [INFO] [stdout] | --------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 17 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api/exchange_refresh_token.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 13 | let response_payload = api::exchange_refresh_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 15 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/exchange_refresh_token.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | pub async fn exchange_refresh_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 14 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 15 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::Config::fetch_providers_for_email (line 551) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/config.rs:565:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_551_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 17 | ).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/config.rs - config::Config::exchange_refresh_token (line 491) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/config.rs:503:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_491_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 15 | ).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/config.rs - config::Config::send_reset_password_email (line 617) stdout ---- [INFO] [stdout] error: unexpected token: `)` [INFO] [stdout] --> src/config.rs:628:31 [INFO] [stdout] | [INFO] [stdout] 14 | Email::new("user@example".), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/config.rs:630:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_617_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 16 | ).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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/sign_in_with_email_password.rs - api::sign_in_with_email_password::sign_in_with_email_password (line 97) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/sign_in_with_email_password.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_sign_in_with_email_password_rs_97_0() { [INFO] [stdout] | -------------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 18 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api/sign_in_with_email_password.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 14 | let response_payload = api::sign_in_with_email_password( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 16 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/sign_in_with_email_password.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 113 | pub async fn sign_in_with_email_password( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 15 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 16 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `reqwest` in `fars` [INFO] [stdout] --> src/client.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 9 | let client = fars::reqwest::ClientBuilder::new() [INFO] [stdout] | ^^^^^^^ could not find `reqwest` in `fars` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | #[cfg(feature = "custom_client")] [INFO] [stdout] | ------------------------- the item is gated behind the `custom_client` feature [INFO] [stdout] 70 | pub use reqwest; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use reqwest::ClientBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `ClientBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 9 - let client = fars::reqwest::ClientBuilder::new() [INFO] [stdout] 9 + let client = ClientBuilder::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `custom` found for struct `Client` in the current scope [INFO] [stdout] --> src/client.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 15 | let client = Client::custom(client); [INFO] [stdout] | ^^^^^^ function or associated item not found in `Client` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Client`, consider using `Client::new` which returns `Client` [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/confirm_email_verification.rs - api::confirm_email_verification::confirm_email_verification (line 87) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/confirm_email_verification.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_confirm_email_verification_rs_87_0() { [INFO] [stdout] | ------------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 17 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api/confirm_email_verification.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 13 | let response_payload = api::confirm_email_verification( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 15 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/confirm_email_verification.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | pub async fn confirm_email_verification( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 14 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 15 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/verify_password_reset_code.rs - api::verify_password_reset_code::verify_password_reset_code (line 73) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/verify_password_reset_code.rs:87:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_verify_password_reset_code_rs_73_0() { [INFO] [stdout] | ------------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 17 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api/verify_password_reset_code.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 13 | let response_payload = api::verify_password_reset_code( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 15 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/verify_password_reset_code.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | pub async fn verify_password_reset_code( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 14 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 15 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::Config::sign_in_anonymously (line 374) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/config.rs:383:44 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_374_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 12 | let session = config.sign_in_anonymously().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/api/sign_in_with_oauth_credential.rs - api::sign_in_with_oauth_credential::sign_in_with_oauth_credential (line 143) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/sign_in_with_oauth_credential.rs:160:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_sign_in_with_oauth_credential_rs_143_0() { [INFO] [stdout] | ----------------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 20 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api/sign_in_with_oauth_credential.rs:156:24 [INFO] [stdout] | [INFO] [stdout] 16 | let response_payload = api::sign_in_with_oauth_credential( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 18 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/sign_in_with_oauth_credential.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 161 | pub async fn sign_in_with_oauth_credential( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 17 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 18 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/sign_up_with_email_password.rs - api::sign_up_with_email_password::sign_up_with_email_password (line 94) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/sign_up_with_email_password.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_sign_up_with_email_password_rs_94_0() { [INFO] [stdout] | -------------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 18 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api/sign_up_with_email_password.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 14 | let response_payload = api::sign_up_with_email_password( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 16 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/sign_up_with_email_password.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | pub async fn sign_up_with_email_password( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 15 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 16 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::change_email (line 285) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/session.rs:298:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_285_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 16 | ).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/session.rs:303:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_285_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 21 | ).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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config (line 115) stdout ---- [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/config.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 16 | config.send_reset_password_email( [INFO] [stdout] | ____________^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 17 | | Email::new("user@example"), [INFO] [stdout] 18 | | ).await?; [INFO] [stdout] | |_____- argument #2 of type `Option` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/config.rs:631:18 [INFO] [stdout] | [INFO] [stdout] 631 | pub async fn send_reset_password_email( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 16 - config.send_reset_password_email( [INFO] [stdout] 17 - Email::new("user@example"), [INFO] [stdout] 18 - ).await?; [INFO] [stdout] 16 + config.send_reset_password_email(Email::new("user@example"), /* Option */).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::change_password (line 339) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/session.rs:352:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_339_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 16 | ).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/session.rs:356:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_339_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 20 | ).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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/unlink_provider.rs - api::unlink_provider::unlink_provider (line 102) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/unlink_provider.rs:118:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_unlink_provider_rs_102_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[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/api/unlink_provider.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 15 | let response_payload = api::unlink_provider( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | Client::new(), [INFO] [stdout] | ------------- expected `&Client`, found `Client` [INFO] [stdout] 17 | ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | -------------------------------------------- expected `&ApiKey`, found `ApiKey` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/unlink_provider.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | pub async fn unlink_provider( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 16 | &Client::new(), [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 17 | &ApiKey::new("your-firebase-project-api-key"), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::Config::sign_in_with_email_password (line 315) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/config.rs:329:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_315_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 17 | ).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/session.rs - session::Session::delete_profile (line 445) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/session.rs:459:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_445_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 17 | ).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/session.rs:466:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_445_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 24 | ).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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::Config::sign_in_with_oauth_credential (line 424) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/config.rs:440:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_424_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/session.rs - session::Session::get_user_data (line 499) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/session.rs:512:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_499_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 16 | ).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/session.rs:514:56 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_499_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 18 | let (new_session, user_data) = session.get_user_data().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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::refresh_token (line 799) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/session.rs:813:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_799_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 17 | ).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/session.rs:817:43 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_799_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 21 | let new_session = session.refresh_token().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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::Config::sign_up_with_email_password (line 252) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/config.rs:266:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_config_rs_252_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 17 | ).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/session.rs - session::Session (line 94) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/session.rs:108:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_94_0() { [INFO] [stdout] | -------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 17 | ).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/session.rs - session::Session::delete_account (line 758) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/session.rs:771:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_758_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 16 | ).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/session.rs:773:26 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_758_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 18 | session.delete_account().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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::link_with_oauth_credential (line 605) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/session.rs:620:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_605_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 18 | ).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/session.rs:627:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_605_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 25 | ).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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::unlink_provider (line 662) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/session.rs:676:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_662_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 17 | ).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/session.rs:680:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_662_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 21 | ).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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::update_profile (line 390) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/session.rs:405:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_390_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 18 | ).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/session.rs:410:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_390_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 23 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/session.rs - session::Session::link_with_email_password (line 545) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/session.rs:562:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_545_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 20 | ).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/session.rs:567:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_545_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 25 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sign_in_oauth_credencial` found for struct `Config` in the current scope [INFO] [stdout] --> src/session.rs:557:22 [INFO] [stdout] | [INFO] [stdout] 15 | let session = config.sign_in_oauth_credencial( [INFO] [stdout] | -------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `sign_in_with_oauth_credential` with a similar name [INFO] [stdout] | [INFO] [stdout] 15 - let session = config.sign_in_oauth_credencial( [INFO] [stdout] 15 + let session = config.sign_in_with_oauth_credential( [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/session.rs - session::Session::send_email_verification (line 714) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/session.rs:727:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_714_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 16 | ).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/session.rs:731:3 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_session_rs_714_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 20 | ).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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/verification.rs - verification (line 12) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `fars::VerificationConfig` [INFO] [stdout] --> src/verification.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 4 | use fars::VerificationConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `VerificationConfig` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(feature = "verify")] [INFO] [stdout] | ------------------ the item is gated behind the `verify` feature [INFO] [stdout] 61 | pub use crate::verification::VerificationConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config (line 46) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: HTTP request error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("identitytoolkit.googleapis.com")), port: None, path: "/v1/accounts:signInWithPassword", query: Some("key=your-firebase-project-api-key"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] 2: rust_out::main::{{closure}} [INFO] [stdout] 3: tokio::runtime::park::CachedParkThread::block_on::{{closure}} [INFO] [stdout] 4: tokio::runtime::park::CachedParkThread::block_on [INFO] [stdout] 5: tokio::runtime::context::blocking::BlockingRegionGuard::block_on [INFO] [stdout] 6: tokio::runtime::scheduler::multi_thread::MultiThread::block_on::{{closure}} [INFO] [stdout] 7: tokio::runtime::context::runtime::enter_runtime [INFO] [stdout] 8: tokio::runtime::scheduler::multi_thread::MultiThread::block_on [INFO] [stdout] 9: tokio::runtime::runtime::Runtime::block_on [INFO] [stdout] 10: rust_out::main [INFO] [stdout] 11: core::ops::function::FnOnce::call_once [INFO] [stdout] 12: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 13: std::rt::lang_start::{{closure}} [INFO] [stdout] 14: core::ops::function::impls:: for &F>::call_once [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 15: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 16: std::panicking::catch_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 17: std::panic::catch_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 18: std::rt::lang_start_internal::{{closure}} [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/rt.rs:175:24 [INFO] [stdout] 19: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 20: std::panicking::catch_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 21: std::panic::catch_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 22: std::rt::lang_start_internal [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/rt.rs:171:5 [INFO] [stdout] 23: std::rt::lang_start [INFO] [stdout] 24: main [INFO] [stdout] 25: [INFO] [stdout] 26: __libc_start_main [INFO] [stdout] 27: _start [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/config.rs - config (line 78) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: HTTP request error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("identitytoolkit.googleapis.com")), port: None, path: "/v1/accounts:signInWithIdp", query: Some("key=your-firebase-project-api-key"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] 2: rust_out::main::{{closure}} [INFO] [stdout] 3: tokio::runtime::park::CachedParkThread::block_on::{{closure}} [INFO] [stdout] 4: tokio::runtime::park::CachedParkThread::block_on [INFO] [stdout] 5: tokio::runtime::context::blocking::BlockingRegionGuard::block_on [INFO] [stdout] 6: tokio::runtime::scheduler::multi_thread::MultiThread::block_on::{{closure}} [INFO] [stdout] 7: tokio::runtime::context::runtime::enter_runtime [INFO] [stdout] 8: tokio::runtime::scheduler::multi_thread::MultiThread::block_on [INFO] [stdout] 9: tokio::runtime::runtime::Runtime::block_on [INFO] [stdout] 10: rust_out::main [INFO] [stdout] 11: core::ops::function::FnOnce::call_once [INFO] [stdout] 12: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 13: std::rt::lang_start::{{closure}} [INFO] [stdout] 14: core::ops::function::impls:: for &F>::call_once [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 15: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 16: std::panicking::catch_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 17: std::panic::catch_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 18: std::rt::lang_start_internal::{{closure}} [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/rt.rs:175:24 [INFO] [stdout] 19: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 20: std::panicking::catch_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 21: std::panic::catch_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 22: std::rt::lang_start_internal [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/rt.rs:171:5 [INFO] [stdout] 23: std::rt::lang_start [INFO] [stdout] 24: main [INFO] [stdout] 25: [INFO] [stdout] 26: __libc_start_main [INFO] [stdout] 27: _start [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/session.rs - session (line 37) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: HTTP request error: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("identitytoolkit.googleapis.com")), port: None, path: "/v1/accounts:signInWithPassword", query: Some("key=your-firebase-project-api-key"), fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) } [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] 2: rust_out::main::{{closure}} [INFO] [stdout] 3: tokio::runtime::park::CachedParkThread::block_on::{{closure}} [INFO] [stdout] 4: tokio::runtime::park::CachedParkThread::block_on [INFO] [stdout] 5: tokio::runtime::context::blocking::BlockingRegionGuard::block_on [INFO] [stdout] 6: tokio::runtime::scheduler::multi_thread::MultiThread::block_on::{{closure}} [INFO] [stdout] 7: tokio::runtime::context::runtime::enter_runtime [INFO] [stdout] 8: tokio::runtime::scheduler::multi_thread::MultiThread::block_on [INFO] [stdout] 9: tokio::runtime::runtime::Runtime::block_on [INFO] [stdout] 10: rust_out::main [INFO] [stdout] 11: core::ops::function::FnOnce::call_once [INFO] [stdout] 12: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 13: std::rt::lang_start::{{closure}} [INFO] [stdout] 14: core::ops::function::impls:: for &F>::call_once [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 15: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 16: std::panicking::catch_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 17: std::panic::catch_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 18: std::rt::lang_start_internal::{{closure}} [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/rt.rs:175:24 [INFO] [stdout] 19: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 20: std::panicking::catch_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 21: std::panic::catch_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 22: std::rt::lang_start_internal [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/rt.rs:171:5 [INFO] [stdout] 23: std::rt::lang_start [INFO] [stdout] 24: main [INFO] [stdout] 25: [INFO] [stdout] 26: __libc_start_main [INFO] [stdout] 27: _start [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/api.rs - api (line 36) [INFO] [stdout] src/api.rs - api (line 66) [INFO] [stdout] src/api/change_email.rs - api::change_email::change_email (line 106) [INFO] [stdout] src/api/change_password.rs - api::change_password::change_password (line 103) [INFO] [stdout] src/api/confirm_email_verification.rs - api::confirm_email_verification::confirm_email_verification (line 87) [INFO] [stdout] src/api/confirm_password_reset.rs - api::confirm_password_reset::confirm_password_reset (line 82) [INFO] [stdout] src/api/delete_account.rs - api::delete_account::delete_account (line 66) [INFO] [stdout] src/api/exchange_custom_token_for_an_id_and_refresh_token.rs - api::exchange_custom_token_for_an_id_and_refresh_token::exchange_custom_token_for_an_id_and_refresh_token (line 79) [INFO] [stdout] src/api/exchange_refresh_token.rs - api::exchange_refresh_token::exchange_refresh_token (line 94) [INFO] [stdout] src/api/fetch_providers_for_email.rs - api::fetch_providers_for_email::fetch_providers_for_email (line 79) [INFO] [stdout] src/api/get_user_data.rs - api::get_user_data::get_user_data (line 71) [INFO] [stdout] src/api/link_with_email_password.rs - api::link_with_email_password::link_with_email_password (line 118) [INFO] [stdout] src/api/link_with_oauth_credential.rs - api::link_with_oauth_credential::link_with_oauth_credential (line 146) [INFO] [stdout] src/api/send_email_verification.rs - api::send_email_verification::send_email_verification (line 77) [INFO] [stdout] src/api/send_password_reset_email.rs - api::send_password_reset_email::send_password_reset_email (line 75) [INFO] [stdout] src/api/sign_in_anonymously.rs - api::sign_in_anonymously::sign_in_anonymously (line 80) [INFO] [stdout] src/api/sign_in_with_email_password.rs - api::sign_in_with_email_password::sign_in_with_email_password (line 97) [INFO] [stdout] src/api/sign_in_with_oauth_credential.rs - api::sign_in_with_oauth_credential::sign_in_with_oauth_credential (line 143) [INFO] [stdout] src/api/sign_up_with_email_password.rs - api::sign_up_with_email_password::sign_up_with_email_password (line 94) [INFO] [stdout] src/api/unlink_provider.rs - api::unlink_provider::unlink_provider (line 102) [INFO] [stdout] src/api/update_profile.rs - api::update_profile::update_profile (line 131) [INFO] [stdout] src/api/verify_password_reset_code.rs - api::verify_password_reset_code::verify_password_reset_code (line 73) [INFO] [stdout] src/client.rs - client (line 16) [INFO] [stdout] src/config.rs - config (line 115) [INFO] [stdout] src/config.rs - config (line 46) [INFO] [stdout] src/config.rs - config (line 78) [INFO] [stdout] src/config.rs - config::Config::exchange_refresh_token (line 491) [INFO] [stdout] src/config.rs - config::Config::fetch_providers_for_email (line 551) [INFO] [stdout] src/config.rs - config::Config::send_reset_password_email (line 617) [INFO] [stdout] src/config.rs - config::Config::sign_in_anonymously (line 374) [INFO] [stdout] src/config.rs - config::Config::sign_in_with_email_password (line 315) [INFO] [stdout] src/config.rs - config::Config::sign_in_with_oauth_credential (line 424) [INFO] [stdout] src/config.rs - config::Config::sign_up_with_email_password (line 252) [INFO] [stdout] src/session.rs - session (line 37) [INFO] [stdout] src/session.rs - session::Session (line 94) [INFO] [stdout] src/session.rs - session::Session::change_email (line 285) [INFO] [stdout] src/session.rs - session::Session::change_password (line 339) [INFO] [stdout] src/session.rs - session::Session::delete_account (line 758) [INFO] [stdout] src/session.rs - session::Session::delete_profile (line 445) [INFO] [stdout] src/session.rs - session::Session::get_user_data (line 499) [INFO] [stdout] src/session.rs - session::Session::link_with_email_password (line 545) [INFO] [stdout] src/session.rs - session::Session::link_with_oauth_credential (line 605) [INFO] [stdout] src/session.rs - session::Session::refresh_token (line 799) [INFO] [stdout] src/session.rs - session::Session::send_email_verification (line 714) [INFO] [stdout] src/session.rs - session::Session::unlink_provider (line 662) [INFO] [stdout] src/session.rs - session::Session::update_profile (line 390) [INFO] [stdout] src/verification.rs - verification (line 12) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 47 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.89s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "20764090c31cc41e3a71ddcd9fc3e23708e867539a09a32de9396b35a27571eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20764090c31cc41e3a71ddcd9fc3e23708e867539a09a32de9396b35a27571eb", kill_on_drop: false }` [INFO] [stdout] 20764090c31cc41e3a71ddcd9fc3e23708e867539a09a32de9396b35a27571eb