[INFO] fetching crate tradestation-rs 0.1.1...
[INFO] testing tradestation-rs-0.1.1 against beta-2024-12-08 for beta-1.84.0-4-retry
[INFO] extracting crate tradestation-rs 0.1.1 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate tradestation-rs 0.1.1 on toolchain beta-2024-12-08
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate tradestation-rs 0.1.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate tradestation-rs 0.1.1
[INFO] tweaked toml for crates.io crate tradestation-rs 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate crates.io crate tradestation-rs 0.1.1 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" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 46027b781ccdaef318337af4cbd3a78e54671dbd53b4fe75577822ca33be6f6f
[INFO] running `Command { std: "docker" "start" "-a" "46027b781ccdaef318337af4cbd3a78e54671dbd53b4fe75577822ca33be6f6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "46027b781ccdaef318337af4cbd3a78e54671dbd53b4fe75577822ca33be6f6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46027b781ccdaef318337af4cbd3a78e54671dbd53b4fe75577822ca33be6f6f", kill_on_drop: false }`
[INFO] [stdout] 46027b781ccdaef318337af4cbd3a78e54671dbd53b4fe75577822ca33be6f6f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4b4a6d5488e8d2473b4e3bd665caf7775b149c8f62d5b8dd632b438c01652703
[INFO] running `Command { std: "docker" "start" "-a" "4b4a6d5488e8d2473b4e3bd665caf7775b149c8f62d5b8dd632b438c01652703", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling bytes v1.7.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling cc v1.1.14
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling syn v2.0.76
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling indexmap v2.4.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling serde v1.0.209
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling serde_json v1.0.127
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling rustls-pki-types v1.8.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling rustls-pemfile v2.1.3
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling serde_derive v1.0.209
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling tokio v1.39.3
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.4.6
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper v1.4.1
[INFO] [stderr]    Compiling hyper-util v0.1.7
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.7
[INFO] [stderr]    Compiling tradestation-rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s
[INFO] running `Command { std: "docker" "inspect" "4b4a6d5488e8d2473b4e3bd665caf7775b149c8f62d5b8dd632b438c01652703", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b4a6d5488e8d2473b4e3bd665caf7775b149c8f62d5b8dd632b438c01652703", kill_on_drop: false }`
[INFO] [stdout] 4b4a6d5488e8d2473b4e3bd665caf7775b149c8f62d5b8dd632b438c01652703
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ffbad433f459fd2675f56f5392cb1cf0991694b159e698818cf129da2273375f
[INFO] running `Command { std: "docker" "start" "-a" "ffbad433f459fd2675f56f5392cb1cf0991694b159e698818cf129da2273375f", kill_on_drop: false }`
[INFO] [stderr]    Compiling tradestation-rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.95s
[INFO] running `Command { std: "docker" "inspect" "ffbad433f459fd2675f56f5392cb1cf0991694b159e698818cf129da2273375f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ffbad433f459fd2675f56f5392cb1cf0991694b159e698818cf129da2273375f", kill_on_drop: false }`
[INFO] [stdout] ffbad433f459fd2675f56f5392cb1cf0991694b159e698818cf129da2273375f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5ecdabc5b9a3c556c648626b09f6b95f56c46ddb32ba4b8afe583a0086a4ce91
[INFO] running `Command { std: "docker" "start" "-a" "5ecdabc5b9a3c556c648626b09f6b95f56c46ddb32ba4b8afe583a0086a4ce91", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tradestation_rs-d6e4f2d84df48a8e)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]    Doc-tests tradestation_rs
[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] [stdout] 
[INFO] [stdout] running 14 tests
[INFO] [stdout] test src/account.rs - account::Account::stream_orders_by_id_for_accounts (line 529) ... FAILED
[INFO] [stdout] test src/account.rs - account::Account::stream_orders_for_accounts (line 446) ... FAILED
[INFO] [stdout] test src/account.rs - account::MultipleAccounts::stream_orders_by_id (line 935) ... FAILED
[INFO] [stdout] test src/account.rs - account::Account::stream_orders_by_id (line 350) ... FAILED
[INFO] [stdout] test src/account.rs - account::Account::stream_positions_for_accounts (line 713) ... FAILED
[INFO] [stdout] test src/account.rs - account::Account::stream_orders (line 267) ... FAILED
[INFO] [stdout] test src/account.rs - account::Vec<Account>::stream_positions (line 1379) ... FAILED
[INFO] [stdout] test src/account.rs - account::MultipleAccounts::stream_orders (line 868) ... FAILED
[INFO] [stdout] test src/account.rs - account::Account::stream_positions (line 625) ... FAILED
[INFO] [stdout] test src/account.rs - account::Vec<Account>::stream_orders_by_id (line 1284) ... FAILED
[INFO] [stdout] test src/market_data.rs - market_data::Bar::fetch (line 65) ... FAILED
[INFO] [stdout] test src/account.rs - account::MultipleAccounts::stream_positions (line 1011) ... FAILED
[INFO] [stdout] test src/account.rs - account::Vec<Account>::stream_orders (line 1203) ... FAILED
[INFO] [stdout] test src/market_data.rs - market_data::Bar::stream_bars (line 104) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/account.rs - account::Account::stream_orders_by_id_for_accounts (line 529) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stdout]  --> src/account.rs:530:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut some_trades_order_statuses: HashMap<String, String> = HashMap::new();
[INFO] [stdout]   |                                     ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::collections::HashMap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]  --> src/account.rs:530:63
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut some_trades_order_statuses: HashMap<String, String> = HashMap::new();
[INFO] [stdout]   |                                                               ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::collections::HashMap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `specific_account` in this scope
[INFO] [stdout]  --> src/account.rs:531:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | specific_account
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/account.rs:533:31
[INFO] [stdout]   |
[INFO] [stdout] 6 |     .stream_orders_by_id(&mut client, "1111,1112,1113,1114", |stream_data| {
[INFO] [stdout]   |                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:538:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |             StreamOrdersResp::Order(order) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error`
[INFO] [stdout]   --> src/account.rs:548:32
[INFO] [stdout]    |
[INFO] [stdout] 21 |                     return Err(Error::StopStream);
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Error`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 9 other candidates
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:558:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             StreamOrdersResp::Heartbeat(heartbeat) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error`
[INFO] [stdout]   --> src/account.rs:567:32
[INFO] [stdout]    |
[INFO] [stdout] 40 |                     return Err(Error::StopStream);
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Error`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 9 other candidates
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:570:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |             StreamOrdersResp::Status(status) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:575:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             StreamOrdersResp::Error(err) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/account.rs:584:6
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_account_rs_529_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 57 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/account.rs - account::Account::stream_orders_for_accounts (line 446) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `specific_account` in this scope
[INFO] [stdout]  --> src/account.rs:448:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | specific_account
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/account.rs:449:25
[INFO] [stdout]   |
[INFO] [stdout] 5 |     .stream_orders(&mut client, |stream_data| {
[INFO] [stdout]   |                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:454:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |             StreamOrdersResp::Order(order) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:464:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             StreamOrdersResp::Heartbeat(heartbeat) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error`
[INFO] [stdout]   --> src/account.rs:473:32
[INFO] [stdout]    |
[INFO] [stdout] 29 |                     return Err(Error::StopStream);
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Error`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 9 other candidates
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:476:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |             StreamOrdersResp::Status(status) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:481:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |             StreamOrdersResp::Error(err) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/account.rs:490:6
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_account_rs_446_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 46 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/account.rs - account::MultipleAccounts::stream_orders_by_id (line 935) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stdout]  --> src/account.rs:936:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut some_trades_order_statuses: HashMap<String, String> = HashMap::new();
[INFO] [stdout]   |                                     ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::collections::HashMap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]  --> src/account.rs:936:63
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut some_trades_order_statuses: HashMap<String, String> = HashMap::new();
[INFO] [stdout]   |                                                               ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::collections::HashMap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `specific_account` in this scope
[INFO] [stdout]  --> src/account.rs:937:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | specific_account
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/account.rs:939:31
[INFO] [stdout]   |
[INFO] [stdout] 6 |     .stream_orders_by_id(&mut client, "1111,1112,1113,1114", |stream_data| {
[INFO] [stdout]   |                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:944:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |             StreamOrdersResp::Order(order) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error`
[INFO] [stdout]   --> src/account.rs:954:32
[INFO] [stdout]    |
[INFO] [stdout] 21 |                     return Err(Error::StopStream);
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Error`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 9 other candidates
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:964:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             StreamOrdersResp::Heartbeat(heartbeat) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error`
[INFO] [stdout]   --> src/account.rs:973:32
[INFO] [stdout]    |
[INFO] [stdout] 40 |                     return Err(Error::StopStream);
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Error`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 9 other candidates
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:976:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |             StreamOrdersResp::Status(status) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:981:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             StreamOrdersResp::Error(err) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/account.rs:990:6
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_account_rs_935_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 57 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/account.rs - account::Account::stream_orders_by_id (line 350) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stdout]  --> src/account.rs:351:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut some_trades_order_statuses: HashMap<String, String> = HashMap::new();
[INFO] [stdout]   |                                     ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::collections::HashMap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]  --> src/account.rs:351:63
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut some_trades_order_statuses: HashMap<String, String> = HashMap::new();
[INFO] [stdout]   |                                                               ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::collections::HashMap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `specific_account` in this scope
[INFO] [stdout]  --> src/account.rs:352:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | specific_account
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/account.rs:354:31
[INFO] [stdout]   |
[INFO] [stdout] 6 |     .stream_orders_by_id(&mut client, "1111,1112,1113,1114", |stream_data| {
[INFO] [stdout]   |                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:359:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |             StreamOrdersResp::Order(order) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error`
[INFO] [stdout]   --> src/account.rs:369:32
[INFO] [stdout]    |
[INFO] [stdout] 21 |                     return Err(Error::StopStream);
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Error`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 9 other candidates
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:379:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             StreamOrdersResp::Heartbeat(heartbeat) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error`
[INFO] [stdout]   --> src/account.rs:388:32
[INFO] [stdout]    |
[INFO] [stdout] 40 |                     return Err(Error::StopStream);
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Error`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 9 other candidates
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:391:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |             StreamOrdersResp::Status(status) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:396:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             StreamOrdersResp::Error(err) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/account.rs:405:6
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_account_rs_350_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 57 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/account.rs - account::Account::stream_positions_for_accounts (line 713) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Position` in this scope
[INFO] [stdout]  --> src/account.rs:714:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut losing_positions: Vec<Position> = Vec::new();
[INFO] [stdout]   |                               ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tradestation_rs::account::Position;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `specific_account` in this scope
[INFO] [stdout]  --> src/account.rs:715:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | specific_account
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/account.rs:716:28
[INFO] [stdout]   |
[INFO] [stdout] 5 |     .stream_positions(&mut client, |stream_data| {
[INFO] [stdout]   |                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamPositionsResp`
[INFO] [stdout]   --> src/account.rs:721:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |             StreamPositionsResp::Position(position) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `StreamPositionsResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamPositionsResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionType`
[INFO] [stdout]   --> src/account.rs:725:43
[INFO] [stdout]    |
[INFO] [stdout] 14 |                 if position.long_short == PositionType::Long {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^ use of undeclared type `PositionType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::account::PositionType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionType`
[INFO] [stdout]   --> src/account.rs:729:50
[INFO] [stdout]    |
[INFO] [stdout] 18 |                 } else if position.long_short == PositionType::Short {
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^ use of undeclared type `PositionType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::account::PositionType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamPositionsResp`
[INFO] [stdout]   --> src/account.rs:739:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             StreamPositionsResp::Heartbeat(heartbeat) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `StreamPositionsResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamPositionsResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error`
[INFO] [stdout]   --> src/account.rs:748:32
[INFO] [stdout]    |
[INFO] [stdout] 37 |                     return Err(Error::StopStream);
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Error`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 9 other candidates
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamPositionsResp`
[INFO] [stdout]   --> src/account.rs:751:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             StreamPositionsResp::Status(status) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `StreamPositionsResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamPositionsResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamPositionsResp`
[INFO] [stdout]   --> src/account.rs:756:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             StreamPositionsResp::Error(err) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `StreamPositionsResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamPositionsResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/account.rs:765:6
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_account_rs_713_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 54 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/account.rs - account::Account::stream_orders (line 267) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `specific_account` in this scope
[INFO] [stdout]  --> src/account.rs:269:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | specific_account
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/account.rs:270:25
[INFO] [stdout]   |
[INFO] [stdout] 5 |     .stream_orders(&mut client, |stream_data| {
[INFO] [stdout]   |                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:275:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |             StreamOrdersResp::Order(order) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:285:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             StreamOrdersResp::Heartbeat(heartbeat) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error`
[INFO] [stdout]   --> src/account.rs:294:32
[INFO] [stdout]    |
[INFO] [stdout] 29 |                     return Err(Error::StopStream);
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Error`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 9 other candidates
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:297:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |             StreamOrdersResp::Status(status) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:302:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |             StreamOrdersResp::Error(err) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/account.rs:311:6
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_account_rs_267_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 46 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/account.rs - account::Vec<Account>::stream_positions (line 1379) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Position` in this scope
[INFO] [stdout]  --> src/account.rs:1380:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut losing_positions: Vec<Position> = Vec::new();
[INFO] [stdout]   |                               ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tradestation_rs::account::Position;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `specific_account` in this scope
[INFO] [stdout]  --> src/account.rs:1381:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | specific_account
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/account.rs:1382:28
[INFO] [stdout]   |
[INFO] [stdout] 5 |     .stream_positions(&mut client, |stream_data| {
[INFO] [stdout]   |                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamPositionsResp`
[INFO] [stdout]   --> src/account.rs:1387:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |             StreamPositionsResp::Position(position) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `StreamPositionsResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamPositionsResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionType`
[INFO] [stdout]   --> src/account.rs:1391:43
[INFO] [stdout]    |
[INFO] [stdout] 14 |                 if position.long_short == PositionType::Long {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^ use of undeclared type `PositionType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::account::PositionType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionType`
[INFO] [stdout]   --> src/account.rs:1395:50
[INFO] [stdout]    |
[INFO] [stdout] 18 |                 } else if position.long_short == PositionType::Short {
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^ use of undeclared type `PositionType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::account::PositionType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamPositionsResp`
[INFO] [stdout]   --> src/account.rs:1405:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             StreamPositionsResp::Heartbeat(heartbeat) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `StreamPositionsResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamPositionsResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error`
[INFO] [stdout]   --> src/account.rs:1414:32
[INFO] [stdout]    |
[INFO] [stdout] 37 |                     return Err(Error::StopStream);
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Error`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 9 other candidates
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamPositionsResp`
[INFO] [stdout]   --> src/account.rs:1417:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             StreamPositionsResp::Status(status) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `StreamPositionsResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamPositionsResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamPositionsResp`
[INFO] [stdout]   --> src/account.rs:1422:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             StreamPositionsResp::Error(err) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `StreamPositionsResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamPositionsResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/account.rs:1431:6
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_account_rs_1379_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 54 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/account.rs - account::MultipleAccounts::stream_orders (line 868) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `specific_account` in this scope
[INFO] [stdout]  --> src/account.rs:870:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | specific_account
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/account.rs:871:25
[INFO] [stdout]   |
[INFO] [stdout] 5 |     .stream_orders(&mut client, |stream_data| {
[INFO] [stdout]   |                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:876:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |             StreamOrdersResp::Order(order) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:886:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             StreamOrdersResp::Heartbeat(heartbeat) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error`
[INFO] [stdout]   --> src/account.rs:895:32
[INFO] [stdout]    |
[INFO] [stdout] 29 |                     return Err(Error::StopStream);
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Error`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 9 other candidates
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:898:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |             StreamOrdersResp::Status(status) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:903:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |             StreamOrdersResp::Error(err) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/account.rs:912:6
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_account_rs_868_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 46 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/account.rs - account::Account::stream_positions (line 625) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Position` in this scope
[INFO] [stdout]  --> src/account.rs:626:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut losing_positions: Vec<Position> = Vec::new();
[INFO] [stdout]   |                               ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tradestation_rs::account::Position;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `specific_account` in this scope
[INFO] [stdout]  --> src/account.rs:627:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | specific_account
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/account.rs:628:28
[INFO] [stdout]   |
[INFO] [stdout] 5 |     .stream_positions(&mut client, |stream_data| {
[INFO] [stdout]   |                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamPositionsResp`
[INFO] [stdout]   --> src/account.rs:633:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |             StreamPositionsResp::Position(position) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `StreamPositionsResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamPositionsResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionType`
[INFO] [stdout]   --> src/account.rs:637:43
[INFO] [stdout]    |
[INFO] [stdout] 14 |                 if position.long_short == PositionType::Long {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^ use of undeclared type `PositionType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::account::PositionType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionType`
[INFO] [stdout]   --> src/account.rs:641:50
[INFO] [stdout]    |
[INFO] [stdout] 18 |                 } else if position.long_short == PositionType::Short {
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^ use of undeclared type `PositionType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::account::PositionType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamPositionsResp`
[INFO] [stdout]   --> src/account.rs:651:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             StreamPositionsResp::Heartbeat(heartbeat) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `StreamPositionsResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamPositionsResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error`
[INFO] [stdout]   --> src/account.rs:660:32
[INFO] [stdout]    |
[INFO] [stdout] 37 |                     return Err(Error::StopStream);
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Error`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 9 other candidates
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamPositionsResp`
[INFO] [stdout]   --> src/account.rs:663:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             StreamPositionsResp::Status(status) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `StreamPositionsResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamPositionsResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamPositionsResp`
[INFO] [stdout]   --> src/account.rs:668:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             StreamPositionsResp::Error(err) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `StreamPositionsResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamPositionsResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/account.rs:677:6
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_account_rs_625_0() {
[INFO] [stdout]    |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 54 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/account.rs - account::Vec<Account>::stream_orders_by_id (line 1284) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stdout]  --> src/account.rs:1285:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut some_trades_order_statuses: HashMap<String, String> = HashMap::new();
[INFO] [stdout]   |                                     ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::collections::HashMap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]  --> src/account.rs:1285:63
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut some_trades_order_statuses: HashMap<String, String> = HashMap::new();
[INFO] [stdout]   |                                                               ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::collections::HashMap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `specific_account` in this scope
[INFO] [stdout]  --> src/account.rs:1286:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | specific_account
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/account.rs:1288:31
[INFO] [stdout]   |
[INFO] [stdout] 6 |     .stream_orders_by_id(&mut client, "1111,1112,1113,1114", |stream_data| {
[INFO] [stdout]   |                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:1293:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |             StreamOrdersResp::Order(order) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error`
[INFO] [stdout]   --> src/account.rs:1303:32
[INFO] [stdout]    |
[INFO] [stdout] 21 |                     return Err(Error::StopStream);
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Error`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 9 other candidates
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:1313:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             StreamOrdersResp::Heartbeat(heartbeat) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error`
[INFO] [stdout]   --> src/account.rs:1322:32
[INFO] [stdout]    |
[INFO] [stdout] 40 |                     return Err(Error::StopStream);
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Error`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 9 other candidates
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:1325:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |             StreamOrdersResp::Status(status) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:1330:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             StreamOrdersResp::Error(err) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/account.rs:1339:6
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_account_rs_1284_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 57 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/market_data.rs - market_data::Bar::fetch (line 65) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MarketData`
[INFO] [stdout]  --> src/market_data.rs:66:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | let fetch_bars_query = MarketData::GetBarsQueryBuilder::new()
[INFO] [stdout]   |                        ^^^^^^^^^^ use of undeclared type `MarketData`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tradestation_rs::market_data::GetBarsQueryBuilder;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `GetBarsQueryBuilder`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - let fetch_bars_query = MarketData::GetBarsQueryBuilder::new()
[INFO] [stdout] 3 + let fetch_bars_query = GetBarsQueryBuilder::new()
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BarUnit`
[INFO] [stdout]  --> src/market_data.rs:68:15
[INFO] [stdout]   |
[INFO] [stdout] 5 |     .set_unit(BarUnit::Minute)
[INFO] [stdout]   |               ^^^^^^^ use of undeclared type `BarUnit`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tradestation_rs::market_data::BarUnit;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]   --> src/market_data.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | let bars = client.fetch_bars(&fetch_bars_query).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/market_data.rs:73:49
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_market_data_rs_65_0() {
[INFO] [stdout]    |                                      ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | let bars = client.fetch_bars(&fetch_bars_query).await?;
[INFO] [stdout]    |                                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/account.rs - account::MultipleAccounts::stream_positions (line 1011) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Position` in this scope
[INFO] [stdout]  --> src/account.rs:1012:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut losing_positions: Vec<Position> = Vec::new();
[INFO] [stdout]   |                               ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tradestation_rs::account::Position;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `specific_account` in this scope
[INFO] [stdout]  --> src/account.rs:1013:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | specific_account
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/account.rs:1014:28
[INFO] [stdout]   |
[INFO] [stdout] 5 |     .stream_positions(&mut client, |stream_data| {
[INFO] [stdout]   |                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamPositionsResp`
[INFO] [stdout]   --> src/account.rs:1019:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |             StreamPositionsResp::Position(position) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `StreamPositionsResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamPositionsResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionType`
[INFO] [stdout]   --> src/account.rs:1023:43
[INFO] [stdout]    |
[INFO] [stdout] 14 |                 if position.long_short == PositionType::Long {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^ use of undeclared type `PositionType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::account::PositionType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PositionType`
[INFO] [stdout]   --> src/account.rs:1027:50
[INFO] [stdout]    |
[INFO] [stdout] 18 |                 } else if position.long_short == PositionType::Short {
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^ use of undeclared type `PositionType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::account::PositionType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamPositionsResp`
[INFO] [stdout]   --> src/account.rs:1037:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             StreamPositionsResp::Heartbeat(heartbeat) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `StreamPositionsResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamPositionsResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error`
[INFO] [stdout]   --> src/account.rs:1046:32
[INFO] [stdout]    |
[INFO] [stdout] 37 |                     return Err(Error::StopStream);
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Error`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 9 other candidates
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamPositionsResp`
[INFO] [stdout]   --> src/account.rs:1049:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             StreamPositionsResp::Status(status) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `StreamPositionsResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamPositionsResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamPositionsResp`
[INFO] [stdout]   --> src/account.rs:1054:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             StreamPositionsResp::Error(err) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ use of undeclared type `StreamPositionsResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamPositionsResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/account.rs:1063:6
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_account_rs_1011_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 54 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/account.rs - account::Vec<Account>::stream_orders (line 1203) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `specific_account` in this scope
[INFO] [stdout]  --> src/account.rs:1205:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | specific_account
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/account.rs:1206:25
[INFO] [stdout]   |
[INFO] [stdout] 5 |     .stream_orders(&mut client, |stream_data| {
[INFO] [stdout]   |                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:1211:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |             StreamOrdersResp::Order(order) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:1221:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             StreamOrdersResp::Heartbeat(heartbeat) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error`
[INFO] [stdout]   --> src/account.rs:1230:32
[INFO] [stdout]    |
[INFO] [stdout] 29 |                     return Err(Error::StopStream);
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Error`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 9 other candidates
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:1233:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |             StreamOrdersResp::Status(status) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamOrdersResp`
[INFO] [stdout]   --> src/account.rs:1238:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |             StreamOrdersResp::Error(err) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ use of undeclared type `StreamOrdersResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::account::StreamOrdersResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/account.rs:1247:6
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_account_rs_1203_0() {
[INFO] [stdout]    |                                      ---------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 46 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/market_data.rs - market_data::Bar::stream_bars (line 104) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MarketData`
[INFO] [stdout]  --> src/market_data.rs:105:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | let stream_bars_query = MarketData::StreamBarsQueryBuilder::new()
[INFO] [stdout]   |                         ^^^^^^^^^^ use of undeclared type `MarketData`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tradestation_rs::market_data::StreamBarsQueryBuilder;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `StreamBarsQueryBuilder`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - let stream_bars_query = MarketData::StreamBarsQueryBuilder::new()
[INFO] [stdout] 3 + let stream_bars_query = StreamBarsQueryBuilder::new()
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BarUnit`
[INFO] [stdout]  --> src/market_data.rs:107:15
[INFO] [stdout]   |
[INFO] [stdout] 5 |     .set_unit(BarUnit::Minute)
[INFO] [stdout]   |               ^^^^^^^ use of undeclared type `BarUnit`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tradestation_rs::market_data::BarUnit;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/market_data.rs:111:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | let streamed_bars = client
[INFO] [stdout]   |                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamBarsResp`
[INFO] [stdout]   --> src/market_data.rs:117:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |             StreamBarsResp::Bar(bar) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ use of undeclared type `StreamBarsResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::market_data::StreamBarsResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamBarsResp`
[INFO] [stdout]   --> src/market_data.rs:121:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |             StreamBarsResp::Heartbeat(heartbeat) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ use of undeclared type `StreamBarsResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::market_data::StreamBarsResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error`
[INFO] [stdout]   --> src/market_data.rs:130:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |                     return Err(Error::StopStream);
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Error`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]      and 9 other candidates
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamBarsResp`
[INFO] [stdout]   --> src/market_data.rs:133:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             StreamBarsResp::Status(status) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ use of undeclared type `StreamBarsResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::market_data::StreamBarsResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StreamBarsResp`
[INFO] [stdout]   --> src/market_data.rs:138:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             StreamBarsResp::Error(err) => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ use of undeclared type `StreamBarsResp`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tradestation_rs::responses::market_data::StreamBarsResp;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/market_data.rs:147:6
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_market_data_rs_104_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 45 |     .await?;
[INFO] [stdout]    |      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/account.rs - account::Account::stream_orders (line 267)
[INFO] [stdout]     src/account.rs - account::Account::stream_orders_by_id (line 350)
[INFO] [stdout]     src/account.rs - account::Account::stream_orders_by_id_for_accounts (line 529)
[INFO] [stdout]     src/account.rs - account::Account::stream_orders_for_accounts (line 446)
[INFO] [stdout]     src/account.rs - account::Account::stream_positions (line 625)
[INFO] [stdout]     src/account.rs - account::Account::stream_positions_for_accounts (line 713)
[INFO] [stdout]     src/account.rs - account::MultipleAccounts::stream_orders (line 868)
[INFO] [stdout]     src/account.rs - account::MultipleAccounts::stream_orders_by_id (line 935)
[INFO] [stdout]     src/account.rs - account::MultipleAccounts::stream_positions (line 1011)
[INFO] [stdout]     src/account.rs - account::Vec<Account>::stream_orders (line 1203)
[INFO] [stdout]     src/account.rs - account::Vec<Account>::stream_orders_by_id (line 1284)
[INFO] [stdout]     src/account.rs - account::Vec<Account>::stream_positions (line 1379)
[INFO] [stdout]     src/market_data.rs - market_data::Bar::fetch (line 65)
[INFO] [stdout]     src/market_data.rs - market_data::Bar::stream_bars (line 104)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.09s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5ecdabc5b9a3c556c648626b09f6b95f56c46ddb32ba4b8afe583a0086a4ce91", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ecdabc5b9a3c556c648626b09f6b95f56c46ddb32ba4b8afe583a0086a4ce91", kill_on_drop: false }`
[INFO] [stdout] 5ecdabc5b9a3c556c648626b09f6b95f56c46ddb32ba4b8afe583a0086a4ce91
