[INFO] cloning repository https://github.com/CephasSoga/market_data
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CephasSoga/market_data" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCephasSoga%2Fmarket_data", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCephasSoga%2Fmarket_data'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a187265ec24ddbf91e9913147f89bef480835f90
[INFO] testing CephasSoga/market_data against beta-2024-12-08 for beta-1.84.0-4-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCephasSoga%2Fmarket_data" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/CephasSoga/market_data 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 git repo https://github.com/CephasSoga/market_data
[INFO] finished tweaking git repo https://github.com/CephasSoga/market_data
[INFO] tweaked toml for git repo https://github.com/CephasSoga/market_data written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/CephasSoga/market_data 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 539a85b0dac4426f71a11886c9a7ac150fed878ec19fca5f2c79b7c0860325a1
[INFO] running `Command { std: "docker" "start" "-a" "539a85b0dac4426f71a11886c9a7ac150fed878ec19fca5f2c79b7c0860325a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "539a85b0dac4426f71a11886c9a7ac150fed878ec19fca5f2c79b7c0860325a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "539a85b0dac4426f71a11886c9a7ac150fed878ec19fca5f2c79b7c0860325a1", kill_on_drop: false }`
[INFO] [stdout] 539a85b0dac4426f71a11886c9a7ac150fed878ec19fca5f2c79b7c0860325a1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 86a5ffd58c4ed214a31c8c5403557328cb059f623827d6ae32edc510b11ef5e6
[INFO] running `Command { std: "docker" "start" "-a" "86a5ffd58c4ed214a31c8c5403557328cb059f623827d6ae32edc510b11ef5e6", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling bytes v1.9.0
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling cc v1.2.2
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling ipnet v2.10.1
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling tokio v1.42.0
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling hyper v0.14.31
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling market_data v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.80s
[INFO] running `Command { std: "docker" "inspect" "86a5ffd58c4ed214a31c8c5403557328cb059f623827d6ae32edc510b11ef5e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86a5ffd58c4ed214a31c8c5403557328cb059f623827d6ae32edc510b11ef5e6", kill_on_drop: false }`
[INFO] [stdout] 86a5ffd58c4ed214a31c8c5403557328cb059f623827d6ae32edc510b11ef5e6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e9c92ab3e5c0ec01b9122a17b07f29387c191811e283b4fd28ae7fbaa33b5e74
[INFO] running `Command { std: "docker" "start" "-a" "e9c92ab3e5c0ec01b9122a17b07f29387c191811e283b4fd28ae7fbaa33b5e74", kill_on_drop: false }`
[INFO] [stderr]    Compiling market_data v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.16s
[INFO] running `Command { std: "docker" "inspect" "e9c92ab3e5c0ec01b9122a17b07f29387c191811e283b4fd28ae7fbaa33b5e74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9c92ab3e5c0ec01b9122a17b07f29387c191811e283b4fd28ae7fbaa33b5e74", kill_on_drop: false }`
[INFO] [stdout] e9c92ab3e5c0ec01b9122a17b07f29387c191811e283b4fd28ae7fbaa33b5e74
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 30c4ef5b4056a350e2724ced9adc900fe8f320939262e6d024d8ee6c19d8c84e
[INFO] running `Command { std: "docker" "start" "-a" "30c4ef5b4056a350e2724ced9adc900fe8f320939262e6d024d8ee6c19d8c84e", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/market_data-5a172a789eb54588)
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/market_data-e418ec385b2e846a)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests market_data
[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] [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] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/crypto.rs - crypto::Cryptos::quote (line 55) ... FAILED
[INFO] [stdout] test src/search.rs - search::Search::query (line 26) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/crypto.rs - crypto::Cryptos::quote (line 55) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cryptos`
[INFO] [stdout]  --> src/crypto.rs:57:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | let btc_quote = Cryptos::quote(Some(Either::Single("BTC"))).await?;
[INFO] [stdout]   |                 ^^^^^^^ use of undeclared type `Cryptos`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use market_data::crypto::Cryptos;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Either`
[INFO] [stdout]  --> src/crypto.rs:57:37
[INFO] [stdout]   |
[INFO] [stdout] 4 | let btc_quote = Cryptos::quote(Some(Either::Single("BTC"))).await?;
[INFO] [stdout]   |                                     ^^^^^^ use of undeclared type `Either`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use market_data::crypto::Either;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cryptos`
[INFO] [stdout]  --> src/crypto.rs:60:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | let quotes = Cryptos::quote(Some(Either::Array(&["BTC", "ETH"]))).await?;
[INFO] [stdout]   |              ^^^^^^^ use of undeclared type `Cryptos`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use market_data::crypto::Cryptos;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Either`
[INFO] [stdout]  --> src/crypto.rs:60:34
[INFO] [stdout]   |
[INFO] [stdout] 7 | let quotes = Cryptos::quote(Some(Either::Array(&["BTC", "ETH"]))).await?;
[INFO] [stdout]   |                                  ^^^^^^ use of undeclared type `Either`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 3 + use market_data::crypto::Either;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cryptos`
[INFO] [stdout]   --> src/crypto.rs:63:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | let all_quotes = Cryptos::quote(None).await?;
[INFO] [stdout]    |                  ^^^^^^^ use of undeclared type `Cryptos`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 3  + use market_data::crypto::Cryptos;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/crypto.rs:57:61
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_crypto_rs_55_0() {
[INFO] [stdout]   |                                      ------------------------------------- this is not `async`
[INFO] [stdout] 4 | let btc_quote = Cryptos::quote(Some(Either::Single("BTC"))).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/crypto.rs:60:67
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_crypto_rs_55_0() {
[INFO] [stdout]   |                                      ------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let quotes = Cryptos::quote(Some(Either::Array(&["BTC", "ETH"]))).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/crypto.rs:63:39
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_crypto_rs_55_0() {
[INFO] [stdout]    |                                      ------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | let all_quotes = Cryptos::quote(None).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: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/search.rs - search::Search::query (line 26) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Search`
[INFO] [stdout]  --> src/search.rs:28:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | let results = Search::query("apple", Some(10), Some("NASDAQ")).await?;
[INFO] [stdout]   |               ^^^^^^ use of undeclared type `Search`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use market_data::search::Search;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Search`
[INFO] [stdout]  --> src/search.rs:31:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | let results = Search::query("tesla", None, None).await?;
[INFO] [stdout]   |               ^^^^^^ use of undeclared type `Search`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use market_data::search::Search;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/search.rs:28:64
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_search_rs_26_0() {
[INFO] [stdout]   |                                      ------------------------------------- this is not `async`
[INFO] [stdout] 4 | let results = Search::query("apple", Some(10), Some("NASDAQ")).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/search.rs:31:50
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_search_rs_26_0() {
[INFO] [stdout]   |                                      ------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let results = Search::query("tesla", 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: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/crypto.rs - crypto::Cryptos::quote (line 55)
[INFO] [stdout]     src/search.rs - search::Search::query (line 26)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "30c4ef5b4056a350e2724ced9adc900fe8f320939262e6d024d8ee6c19d8c84e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30c4ef5b4056a350e2724ced9adc900fe8f320939262e6d024d8ee6c19d8c84e", kill_on_drop: false }`
[INFO] [stdout] 30c4ef5b4056a350e2724ced9adc900fe8f320939262e6d024d8ee6c19d8c84e
