[INFO] cloning repository https://github.com/IvanovOleg/alpaca_markets
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IvanovOleg/alpaca_markets" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvanovOleg%2Falpaca_markets", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvanovOleg%2Falpaca_markets'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c072499240fa8456f7e3cf53bd1c840a54e0b162
[INFO] testing IvanovOleg/alpaca_markets against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvanovOleg%2Falpaca_markets" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/IvanovOleg/alpaca_markets
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/IvanovOleg/alpaca_markets
[INFO] tweaked toml for git repo https://github.com/IvanovOleg/alpaca_markets written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/IvanovOleg/alpaca_markets on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/IvanovOleg/alpaca_markets 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded find-msvc-tools v0.1.3
[INFO] [stderr]   Downloaded windows-core v0.62.1
[INFO] [stderr]   Downloaded cc v1.2.40
[INFO] [stderr]   Downloaded rustls-webpki v0.103.7
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9bb590c297893e6f47e3618f1b2855211dd334ef2fe0b84651b5574c622a8bcb
[INFO] running `Command { std: "docker" "start" "-a" "9bb590c297893e6f47e3618f1b2855211dd334ef2fe0b84651b5574c622a8bcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9bb590c297893e6f47e3618f1b2855211dd334ef2fe0b84651b5574c622a8bcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9bb590c297893e6f47e3618f1b2855211dd334ef2fe0b84651b5574c622a8bcb", kill_on_drop: false }`
[INFO] [stdout] 9bb590c297893e6f47e3618f1b2855211dd334ef2fe0b84651b5574c622a8bcb
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e68e6915cd7db3b5191a1aa97064a11c248577bb0d40a41e01a7f2cd9738c8c8
[INFO] running `Command { std: "docker" "start" "-a" "e68e6915cd7db3b5191a1aa97064a11c248577bb0d40a41e01a7f2cd9738c8c8", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling find-msvc-tools v0.1.3
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling cc v1.2.40
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling indexmap v2.11.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling hyper-util v0.1.17
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.23
[INFO] [stderr]    Compiling alpaca_markets v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/models.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub use trading::*;
[INFO] [stdout]    |         ^^^^^^^^^^ the name `crypto` in the type namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 14 | pub use market_data::*;
[INFO] [stdout]    |         -------------- but the name `crypto` in the type namespace is also re-exported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/models.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub use trading::*;
[INFO] [stdout]    |         ^^^^^^^^^^ the name `options` in the type namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 14 | pub use market_data::*;
[INFO] [stdout]    |         -------------- but the name `options` in the type namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.51s
[INFO] running `Command { std: "docker" "inspect" "e68e6915cd7db3b5191a1aa97064a11c248577bb0d40a41e01a7f2cd9738c8c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e68e6915cd7db3b5191a1aa97064a11c248577bb0d40a41e01a7f2cd9738c8c8", kill_on_drop: false }`
[INFO] [stdout] e68e6915cd7db3b5191a1aa97064a11c248577bb0d40a41e01a7f2cd9738c8c8
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 899e14568373a52499c4c9d9c54c887e7c55dbd58f2f01c6c0dd96ebf0e1c77f
[INFO] running `Command { std: "docker" "start" "-a" "899e14568373a52499c4c9d9c54c887e7c55dbd58f2f01c6c0dd96ebf0e1c77f", kill_on_drop: false }`
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/models.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub use trading::*;
[INFO] [stdout]    |         ^^^^^^^^^^ the name `crypto` in the type namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 14 | pub use market_data::*;
[INFO] [stdout]    |         -------------- but the name `crypto` in the type namespace is also re-exported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/models.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub use trading::*;
[INFO] [stdout]    |         ^^^^^^^^^^ the name `options` in the type namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 14 | pub use market_data::*;
[INFO] [stdout]    |         -------------- but the name `options` in the type namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling alpaca_markets v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/models.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub use trading::*;
[INFO] [stdout]    |         ^^^^^^^^^^ the name `crypto` in the type namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 14 | pub use market_data::*;
[INFO] [stdout]    |         -------------- but the name `crypto` in the type namespace is also re-exported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/models.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub use trading::*;
[INFO] [stdout]    |         ^^^^^^^^^^ the name `options` in the type namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 14 | pub use market_data::*;
[INFO] [stdout]    |         -------------- but the name `options` in the type namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 9.23s
[INFO] running `Command { std: "docker" "inspect" "899e14568373a52499c4c9d9c54c887e7c55dbd58f2f01c6c0dd96ebf0e1c77f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "899e14568373a52499c4c9d9c54c887e7c55dbd58f2f01c6c0dd96ebf0e1c77f", kill_on_drop: false }`
[INFO] [stdout] 899e14568373a52499c4c9d9c54c887e7c55dbd58f2f01c6c0dd96ebf0e1c77f
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e43fb263cf654f108471e3b03e02705969de3188b8034e8848ae21c6748c6e13
[INFO] running `Command { std: "docker" "start" "-a" "e43fb263cf654f108471e3b03e02705969de3188b8034e8848ae21c6748c6e13", kill_on_drop: false }`
[INFO] [stderr] warning: ambiguous glob re-exports
[INFO] [stderr]   --> src/models.rs:9:9
[INFO] [stderr]    |
[INFO] [stderr]  9 | pub use trading::*;
[INFO] [stderr]    |         ^^^^^^^^^^ the name `crypto` in the type namespace is first re-exported here
[INFO] [stderr] ...
[INFO] [stderr] 14 | pub use market_data::*;
[INFO] [stderr]    |         -------------- but the name `crypto` in the type namespace is also re-exported here
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: ambiguous glob re-exports
[INFO] [stderr]   --> src/models.rs:9:9
[INFO] [stderr]    |
[INFO] [stderr]  9 | pub use trading::*;
[INFO] [stderr]    |         ^^^^^^^^^^ the name `options` in the type namespace is first re-exported here
[INFO] [stderr] ...
[INFO] [stderr] 14 | pub use market_data::*;
[INFO] [stderr]    |         -------------- but the name `options` in the type namespace is also re-exported here
[INFO] [stderr] 
[INFO] [stderr] warning: `alpaca_markets` (lib) generated 2 warnings
[INFO] [stderr] warning: `alpaca_markets` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/alpaca_markets-70cc6d1dc1528ea9)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test models::market_data::bars::tests::test_adjustment_as_str ... ok
[INFO] [stdout] test models::market_data::bars::tests::test_sort_as_str ... ok
[INFO] [stdout] test models::market_data::bars::tests::test_sort_default ... ok
[INFO] [stdout] test models::market_data::bars::tests::test_adjustment_default ... ok
[INFO] [stdout] test models::market_data::bars::tests::test_adjustment_display ... ok
[INFO] [stdout] test models::market_data::bars::tests::test_sort_display ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests alpaca_markets
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test src/clients/trading.rs - clients::trading::TradingClient::delete_whitelisted_address (line 508) ... FAILED
[INFO] [stdout] test src/clients/trading.rs - clients::trading::TradingClient::create_whitelisted_address (line 468) ... FAILED
[INFO] [stdout] test src/clients/trading.rs - clients::trading::TradingClient::get_clock (line 255) ... FAILED
[INFO] [stdout] test src/clients/trading.rs - clients::trading::TradingClient::get_crypto_transfer_estimate (line 540) ... FAILED
[INFO] [stdout] test src/clients/trading.rs - clients::trading::TradingClient::get_calendar (line 216) ... FAILED
[INFO] [stdout] test src/clients/trading.rs - clients::trading::TradingClient::list_whitelisted_addresses (line 433) ... FAILED
[INFO] [stdout] test src/clients/trading.rs - clients::trading::TradingClient::list_crypto_transfers (line 327) ... FAILED
[INFO] [stdout] test src/clients/trading.rs - clients::trading::TradingClient::get_crypto_transfer (line 401) ... FAILED
[INFO] [stdout] test src/clients/trading.rs - clients::trading::TradingClient::create_crypto_transfer (line 362) ... FAILED
[INFO] [stdout] test src/clients/trading.rs - clients::trading::TradingClient::list_crypto_wallets (line 288) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/clients/trading.rs - clients::trading::TradingClient::delete_whitelisted_address (line 508) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/clients/trading.rs:509:1
[INFO] [stdout]     |
[INFO] [stdout] 509 | client.delete_whitelisted_address("address_123").await?;
[INFO] [stdout]     | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/clients/trading.rs:509:50
[INFO] [stdout]     |
[INFO] [stdout] 508 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_trading_rs_508_0() {
[INFO] [stdout]     |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] 509 | client.delete_whitelisted_address("address_123").await?;
[INFO] [stdout]     |                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/trading.rs - clients::trading::TradingClient::create_whitelisted_address (line 468) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateWhitelistedAddressRequest` in this scope
[INFO] [stdout]    --> src/clients/trading.rs:469:15
[INFO] [stdout]     |
[INFO] [stdout] 469 | let request = CreateWhitelistedAddressRequest {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 468 + use alpaca_markets::CreateWhitelistedAddressRequest;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/clients/trading.rs:474:15
[INFO] [stdout]     |
[INFO] [stdout] 474 | let address = client.create_whitelisted_address(request).await?;
[INFO] [stdout]     |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/clients/trading.rs:474:58
[INFO] [stdout]     |
[INFO] [stdout] 468 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_trading_rs_468_0() {
[INFO] [stdout]     |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 474 | let address = client.create_whitelisted_address(request).await?;
[INFO] [stdout]     |                                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/trading.rs - clients::trading::TradingClient::get_clock (line 255) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/clients/trading.rs:256:13
[INFO] [stdout]     |
[INFO] [stdout] 256 | let clock = client.get_clock().await?;
[INFO] [stdout]     |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/clients/trading.rs:256:32
[INFO] [stdout]     |
[INFO] [stdout] 255 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_trading_rs_255_0() {
[INFO] [stdout]     |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] 256 | let clock = client.get_clock().await?;
[INFO] [stdout]     |                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/trading.rs - clients::trading::TradingClient::get_crypto_transfer_estimate (line 540) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/clients/trading.rs:541:16
[INFO] [stdout]     |
[INFO] [stdout] 541 | let estimate = client.get_crypto_transfer_estimate("BTC", "0.001").await?;
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/clients/trading.rs:541:68
[INFO] [stdout]     |
[INFO] [stdout] 540 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_trading_rs_540_0() {
[INFO] [stdout]     |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] 541 | let estimate = client.get_crypto_transfer_estimate("BTC", "0.001").await?;
[INFO] [stdout]     |                                                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/trading.rs - clients::trading::TradingClient::get_calendar (line 216) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/clients/trading.rs:218:16
[INFO] [stdout]     |
[INFO] [stdout] 218 | let calendar = client.get_calendar(Some("2023-01-01"), Some("2023-01-31")).await?;
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/clients/trading.rs:222:16
[INFO] [stdout]     |
[INFO] [stdout] 222 | let upcoming = client.get_calendar(None, None).await?;
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/clients/trading.rs:218:76
[INFO] [stdout]     |
[INFO] [stdout] 216 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_trading_rs_216_0() {
[INFO] [stdout]     |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] 217 | // Get all trading days for January 2023
[INFO] [stdout] 218 | let calendar = client.get_calendar(Some("2023-01-01"), Some("2023-01-31")).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/clients/trading.rs:222:48
[INFO] [stdout]     |
[INFO] [stdout] 216 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_trading_rs_216_0() {
[INFO] [stdout]     |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 222 | let upcoming = client.get_calendar(None, None).await?;
[INFO] [stdout]     |                                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/trading.rs - clients::trading::TradingClient::list_whitelisted_addresses (line 433) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/clients/trading.rs:434:17
[INFO] [stdout]     |
[INFO] [stdout] 434 | let addresses = client.list_whitelisted_addresses(Some("BTC")).await?;
[INFO] [stdout]     |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/clients/trading.rs:434:64
[INFO] [stdout]     |
[INFO] [stdout] 433 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_trading_rs_433_0() {
[INFO] [stdout]     |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] 434 | let addresses = client.list_whitelisted_addresses(Some("BTC")).await?;
[INFO] [stdout]     |                                                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/trading.rs - clients::trading::TradingClient::list_crypto_transfers (line 327) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/clients/trading.rs:328:17
[INFO] [stdout]     |
[INFO] [stdout] 328 | let transfers = client.list_crypto_transfers(None).await?;
[INFO] [stdout]     |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/clients/trading.rs:328:52
[INFO] [stdout]     |
[INFO] [stdout] 327 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_trading_rs_327_0() {
[INFO] [stdout]     |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] 328 | let transfers = client.list_crypto_transfers(None).await?;
[INFO] [stdout]     |                                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/trading.rs - clients::trading::TradingClient::get_crypto_transfer (line 401) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/clients/trading.rs:402:16
[INFO] [stdout]     |
[INFO] [stdout] 402 | let transfer = client.get_crypto_transfer("transfer_123").await?;
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/clients/trading.rs:402:59
[INFO] [stdout]     |
[INFO] [stdout] 401 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_trading_rs_401_0() {
[INFO] [stdout]     |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] 402 | let transfer = client.get_crypto_transfer("transfer_123").await?;
[INFO] [stdout]     |                                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/trading.rs - clients::trading::TradingClient::create_crypto_transfer (line 362) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateCryptoTransferRequest` in this scope
[INFO] [stdout]    --> src/clients/trading.rs:363:15
[INFO] [stdout]     |
[INFO] [stdout] 363 | let request = CreateCryptoTransferRequest {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 362 + use alpaca_markets::CreateCryptoTransferRequest;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/clients/trading.rs:368:16
[INFO] [stdout]     |
[INFO] [stdout] 368 | let transfer = client.create_crypto_transfer(request).await?;
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/clients/trading.rs:368:55
[INFO] [stdout]     |
[INFO] [stdout] 362 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_trading_rs_362_0() {
[INFO] [stdout]     |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 368 | let transfer = client.create_crypto_transfer(request).await?;
[INFO] [stdout]     |                                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/clients/trading.rs - clients::trading::TradingClient::list_crypto_wallets (line 288) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/clients/trading.rs:290:15
[INFO] [stdout]     |
[INFO] [stdout] 290 | let wallets = client.list_crypto_wallets(None).await?;
[INFO] [stdout]     |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/clients/trading.rs:293:19
[INFO] [stdout]     |
[INFO] [stdout] 293 | let btc_wallets = client.list_crypto_wallets(Some("BTC")).await?;
[INFO] [stdout]     |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/clients/trading.rs:290:48
[INFO] [stdout]     |
[INFO] [stdout] 288 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_trading_rs_288_0() {
[INFO] [stdout]     |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] 289 | // Get all wallets
[INFO] [stdout] 290 | let wallets = client.list_crypto_wallets(None).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/clients/trading.rs:293:59
[INFO] [stdout]     |
[INFO] [stdout] 288 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_trading_rs_288_0() {
[INFO] [stdout]     |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 293 | let btc_wallets = client.list_crypto_wallets(Some("BTC")).await?;
[INFO] [stdout]     |                                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/clients/trading.rs - clients::trading::TradingClient::create_crypto_transfer (line 362)
[INFO] [stdout]     src/clients/trading.rs - clients::trading::TradingClient::create_whitelisted_address (line 468)
[INFO] [stdout]     src/clients/trading.rs - clients::trading::TradingClient::delete_whitelisted_address (line 508)
[INFO] [stdout]     src/clients/trading.rs - clients::trading::TradingClient::get_calendar (line 216)
[INFO] [stdout]     src/clients/trading.rs - clients::trading::TradingClient::get_clock (line 255)
[INFO] [stdout]     src/clients/trading.rs - clients::trading::TradingClient::get_crypto_transfer (line 401)
[INFO] [stdout]     src/clients/trading.rs - clients::trading::TradingClient::get_crypto_transfer_estimate (line 540)
[INFO] [stdout]     src/clients/trading.rs - clients::trading::TradingClient::list_crypto_transfers (line 327)
[INFO] [stdout]     src/clients/trading.rs - clients::trading::TradingClient::list_crypto_wallets (line 288)
[INFO] [stdout]     src/clients/trading.rs - clients::trading::TradingClient::list_whitelisted_addresses (line 433)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.49s; merged doctests compilation took 0.17s
[INFO] running `Command { std: "docker" "inspect" "e43fb263cf654f108471e3b03e02705969de3188b8034e8848ae21c6748c6e13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e43fb263cf654f108471e3b03e02705969de3188b8034e8848ae21c6748c6e13", kill_on_drop: false }`
[INFO] [stdout] e43fb263cf654f108471e3b03e02705969de3188b8034e8848ae21c6748c6e13
