[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] 425b39afcc9fe8a6165e68818c940f4610564102
[INFO] testing IvanovOleg/alpaca_markets against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvanovOleg%2Falpaca_markets" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/IvanovOleg/alpaca_markets on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9ecda47709db412d78bd0f4638e8d7ce3aa63ef995dccb6c98a57fe627e87732
[INFO] running `Command { std: "docker" "start" "-a" "9ecda47709db412d78bd0f4638e8d7ce3aa63ef995dccb6c98a57fe627e87732", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9ecda47709db412d78bd0f4638e8d7ce3aa63ef995dccb6c98a57fe627e87732", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ecda47709db412d78bd0f4638e8d7ce3aa63ef995dccb6c98a57fe627e87732", kill_on_drop: false }`
[INFO] [stdout] 9ecda47709db412d78bd0f4638e8d7ce3aa63ef995dccb6c98a57fe627e87732
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 65621c971dbd364374b5788d3f3614acc848f93cc23573cff4444c4e2088f807
[INFO] running `Command { std: "docker" "start" "-a" "65621c971dbd364374b5788d3f3614acc848f93cc23573cff4444c4e2088f807", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling find-msvc-tools v0.1.3
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling cc v1.2.40
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling indexmap v2.11.4
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling synstructure v0.13.2
[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 zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling zerofrom v0.1.6
[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 icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[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 h2 v0.4.12
[INFO] [stderr]    Compiling tower-http v0.6.6
[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 1m 11s
[INFO] running `Command { std: "docker" "inspect" "65621c971dbd364374b5788d3f3614acc848f93cc23573cff4444c4e2088f807", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "65621c971dbd364374b5788d3f3614acc848f93cc23573cff4444c4e2088f807", kill_on_drop: false }`
[INFO] [stdout] 65621c971dbd364374b5788d3f3614acc848f93cc23573cff4444c4e2088f807
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e228696741cc83ba7013660a7fd508b656e2c02a49fa53e3deed2f645fc26235
[INFO] running `Command { std: "docker" "start" "-a" "e228696741cc83ba7013660a7fd508b656e2c02a49fa53e3deed2f645fc26235", 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 16.47s
[INFO] running `Command { std: "docker" "inspect" "e228696741cc83ba7013660a7fd508b656e2c02a49fa53e3deed2f645fc26235", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e228696741cc83ba7013660a7fd508b656e2c02a49fa53e3deed2f645fc26235", kill_on_drop: false }`
[INFO] [stdout] e228696741cc83ba7013660a7fd508b656e2c02a49fa53e3deed2f645fc26235
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 546ac36be5e48216a29ee1558b3f44257dd97f773f65f885255ad0ad2f058293
[INFO] running `Command { std: "docker" "start" "-a" "546ac36be5e48216a29ee1558b3f44257dd97f773f65f885255ad0ad2f058293", 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-d6716268a5ec9ec6)
[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 alpaca_markets
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[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::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::get_calendar (line 216) ... FAILED
[INFO] [stdout] test src/clients/trading.rs - clients::trading::TradingClient::list_crypto_wallets (line 288) ... 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::delete_whitelisted_address (line 508) ... FAILED
[INFO] [stdout] test src/clients/trading.rs - clients::trading::TradingClient::list_whitelisted_addresses (line 433) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 3 | let request = CreateWhitelistedAddressRequest {
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 8 | 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] 2 | 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] 8 | 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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_trading_rs_255_0() {
[INFO] [stdout]   |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] 3 | 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::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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_trading_rs_327_0() {
[INFO] [stdout]   |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] 3 | 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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_trading_rs_401_0() {
[INFO] [stdout]   |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] 3 | 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] 3 | let request = CreateCryptoTransferRequest {
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 8 | 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] 2 | 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] 8 | 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::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] 4 | 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] 8 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_trading_rs_216_0() {
[INFO] [stdout]   |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] 3 | // Get all trading days for January 2023
[INFO] [stdout] 4 | 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] 2 | 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] 8 | 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_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] 4 | 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] 7 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_trading_rs_288_0() {
[INFO] [stdout]   |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] 3 | // Get all wallets
[INFO] [stdout] 4 | 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] 2 | 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] 7 | let btc_wallets = client.list_crypto_wallets(Some("BTC")).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::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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_trading_rs_540_0() {
[INFO] [stdout]   |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] 3 | 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::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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_trading_rs_508_0() {
[INFO] [stdout]   |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] 3 | 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::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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_clients_trading_rs_433_0() {
[INFO] [stdout]   |                                      ----------------------------------------------- this is not `async`
[INFO] [stdout] 3 | 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] 
[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.82s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.98s; merged doctests compilation took 0.16s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "546ac36be5e48216a29ee1558b3f44257dd97f773f65f885255ad0ad2f058293", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "546ac36be5e48216a29ee1558b3f44257dd97f773f65f885255ad0ad2f058293", kill_on_drop: false }`
[INFO] [stdout] 546ac36be5e48216a29ee1558b3f44257dd97f773f65f885255ad0ad2f058293
