[INFO] fetching crate jup-ag-sdk 1.0.6... [INFO] testing jup-ag-sdk-1.0.6 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate jup-ag-sdk 1.0.6 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate jup-ag-sdk 1.0.6 [INFO] finished tweaking crates.io crate jup-ag-sdk 1.0.6 [INFO] tweaked toml for crates.io crate jup-ag-sdk 1.0.6 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jup-ag-sdk 1.0.6 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jup-ag-sdk 1.0.6 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c7a3e2403194a8632df0601f778eed2a8c5fc8a9da6fd74d7e38f5ab5de277b [INFO] running `Command { std: "docker" "start" "-a" "6c7a3e2403194a8632df0601f778eed2a8c5fc8a9da6fd74d7e38f5ab5de277b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c7a3e2403194a8632df0601f778eed2a8c5fc8a9da6fd74d7e38f5ab5de277b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c7a3e2403194a8632df0601f778eed2a8c5fc8a9da6fd74d7e38f5ab5de277b", kill_on_drop: false }` [INFO] [stdout] 6c7a3e2403194a8632df0601f778eed2a8c5fc8a9da6fd74d7e38f5ab5de277b [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2b403835a58914f53a994af155cb739ea2196602beae94a19eb36ac8d0f5ec0 [INFO] running `Command { std: "docker" "start" "-a" "c2b403835a58914f53a994af155cb739ea2196602beae94a19eb36ac8d0f5ec0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling jup-ag-sdk v1.0.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/types/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use trigger::*; [INFO] [stdout] | ^^^^^^^^^^ the name `Order` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 23 | pub use recurring::*; [INFO] [stdout] | ------------ but the name `Order` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/types/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use trigger::*; [INFO] [stdout] | ^^^^^^^^^^ the name `Trade` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 23 | pub use recurring::*; [INFO] [stdout] | ------------ but the name `Trade` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "c2b403835a58914f53a994af155cb739ea2196602beae94a19eb36ac8d0f5ec0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2b403835a58914f53a994af155cb739ea2196602beae94a19eb36ac8d0f5ec0", kill_on_drop: false }` [INFO] [stdout] c2b403835a58914f53a994af155cb739ea2196602beae94a19eb36ac8d0f5ec0 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 026adbd963e6633d22f6f274f52d6c2db19a24172c036e6a25862b0ba9b3a65e [INFO] running `Command { std: "docker" "start" "-a" "026adbd963e6633d22f6f274f52d6c2db19a24172c036e6a25862b0ba9b3a65e", kill_on_drop: false }` [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/types/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use trigger::*; [INFO] [stdout] | ^^^^^^^^^^ the name `Order` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 23 | pub use recurring::*; [INFO] [stdout] | ------------ but the name `Order` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/types/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use trigger::*; [INFO] [stdout] | ^^^^^^^^^^ the name `Trade` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 23 | pub use recurring::*; [INFO] [stdout] | ------------ but the name `Trade` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jup-ag-sdk v1.0.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/types/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use trigger::*; [INFO] [stdout] | ^^^^^^^^^^ the name `Order` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 23 | pub use recurring::*; [INFO] [stdout] | ------------ but the name `Order` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/types/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use trigger::*; [INFO] [stdout] | ^^^^^^^^^^ the name `Trade` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 23 | pub use recurring::*; [INFO] [stdout] | ------------ but the name `Trade` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.29s [INFO] running `Command { std: "docker" "inspect" "026adbd963e6633d22f6f274f52d6c2db19a24172c036e6a25862b0ba9b3a65e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "026adbd963e6633d22f6f274f52d6c2db19a24172c036e6a25862b0ba9b3a65e", kill_on_drop: false }` [INFO] [stdout] 026adbd963e6633d22f6f274f52d6c2db19a24172c036e6a25862b0ba9b3a65e [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c161f7bd11eb3786c1e478b2eb737e8c9c0105601baff7eb6011e473041bfcc2 [INFO] running `Command { std: "docker" "start" "-a" "c161f7bd11eb3786c1e478b2eb737e8c9c0105601baff7eb6011e473041bfcc2", kill_on_drop: false }` [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> src/types/mod.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | pub use trigger::*; [INFO] [stderr] | ^^^^^^^^^^ the name `Order` in the type namespace is first re-exported here [INFO] [stderr] ... [INFO] [stderr] 23 | pub use recurring::*; [INFO] [stderr] | ------------ but the name `Order` in the type namespace is also re-exported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> src/types/mod.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | pub use trigger::*; [INFO] [stderr] | ^^^^^^^^^^ the name `Trade` in the type namespace is first re-exported here [INFO] [stderr] ... [INFO] [stderr] 23 | pub use recurring::*; [INFO] [stderr] | ------------ but the name `Trade` in the type namespace is also re-exported here [INFO] [stderr] [INFO] [stderr] warning: `jup-ag-sdk` (lib) generated 2 warnings [INFO] [stderr] warning: `jup-ag-sdk` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jup_ag_sdk-8a5b29c365fc5694) [INFO] [stderr] Doc-tests jup_ag_sdk [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 39 tests [INFO] [stdout] test src/client.rs - client::JupiterClient::with_api_key (line 51) ... FAILED [INFO] [stdout] test src/client.rs - client::JupiterClient::new (line 23) ... FAILED [INFO] [stdout] test src/client/token_api.rs - client::token_api::JupiterClient::get_token_price (line 209) ... FAILED [INFO] [stdout] test src/client/token_api.rs - client::token_api::JupiterClient::get_token_info (line 258) ... FAILED [INFO] [stdout] test src/client/token_api.rs - client::token_api::JupiterClient::get_tokens_price (line 171) ... FAILED [INFO] [stdout] test src/client/swap_api.rs - client::swap_api::JupiterClient::get_swap_instructions (line 100) ... FAILED [INFO] [stdout] test src/client/token_api.rs - client::token_api::JupiterClient::get_tokens_by_category (line 119) ... FAILED [INFO] [stdout] test src/client/swap_api.rs - client::swap_api::JupiterClient::get_swap_transaction (line 64) ... FAILED [INFO] [stdout] test src/client/swap_api.rs - client::swap_api::JupiterClient::get_quote (line 25) ... FAILED [INFO] [stdout] test src/client/token_api.rs - client::token_api::JupiterClient::get_mints_by_tags (line 67) ... FAILED [INFO] [stdout] test src/client/trigger_api.rs - client::trigger_api::JupiterClient::cancel_trigger_orders (line 171) ... FAILED [INFO] [stdout] test src/client/trigger_api.rs - client::trigger_api::JupiterClient::execute_trigger_order (line 77) ... FAILED [INFO] [stdout] test src/client/trigger_api.rs - client::trigger_api::JupiterClient::create_trigger_order (line 26) ... FAILED [INFO] [stdout] test src/client/ultra_api.rs - client::ultra_api::JupiterClient::get_ultra_order (line 29) ... FAILED [INFO] [stdout] test src/client/ultra_api.rs - client::ultra_api::JupiterClient::shield (line 163) ... FAILED [INFO] [stdout] test src/client/ultra_api.rs - client::ultra_api::JupiterClient::ultra_token_search (line 212) ... FAILED [INFO] [stdout] test src/client/trigger_api.rs - client::trigger_api::JupiterClient::get_trigger_orders (line 230) ... FAILED [INFO] [stdout] test src/client/token_api.rs - client::token_api::JupiterClient::token_search (line 33) ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] test src/client/trigger_api.rs - client::trigger_api::JupiterClient::cancel_trigger_order (line 125) ... FAILED [INFO] [stdout] test src/types/quote_request.rs - types::quote_request::QuoteRequest::as_legacy_transaction (line 303) ... FAILED [INFO] [stdout] test src/types/quote_request.rs - types::quote_request::QuoteRequest::new (line 106) ... FAILED [INFO] [stdout] test src/types/quote_request.rs - types::quote_request::QuoteRequest::exclude_dexes (line 224) ... FAILED [INFO] [stdout] test src/types/quote_request.rs - types::quote_request::QuoteRequest::max_accounts (line 357) ... FAILED [INFO] [stdout] test src/client/ultra_api.rs - client::ultra_api::JupiterClient::get_token_balances (line 117) ... FAILED [INFO] [stdout] test src/client/ultra_api.rs - client::ultra_api::JupiterClient::ultra_execute_order (line 73) ... FAILED [INFO] [stdout] test src/types/quote_request.rs - types::quote_request::QuoteRequest::only_direct_routes (line 277) ... FAILED [INFO] [stdout] test src/types/quote_request.rs - types::quote_request::QuoteRequest::slippage_bps (line 146) ... FAILED [INFO] [stdout] test src/types/quote_request.rs - types::quote_request::QuoteRequest::dexes (line 199) ... FAILED [INFO] [stdout] test src/types/quote_request.rs - types::quote_request::QuoteRequest::restrict_intermediate_tokens (line 250) ... FAILED [INFO] [stdout] test src/types/quote_request.rs - types::quote_request::QuoteRequest::swap_mode (line 173) ... FAILED [INFO] [stdout] test src/types/quote_request.rs - types::quote_request::QuoteRequest::dynamic_slippage (line 385) ... FAILED [INFO] [stdout] test src/types/ultra.rs - types::ultra::UltraOrderRequest::add_referral_fee (line 123) ... FAILED [INFO] [stdout] test src/types/ultra.rs - types::ultra::UltraOrderRequest::add_referral_account (line 100) ... FAILED [INFO] [stdout] test src/types/quote_request.rs - types::quote_request::QuoteRequest::platform_fee_bps (line 329) ... FAILED [INFO] [stdout] test src/types/ultra.rs - types::ultra::UltraOrderRequest::add_taker (line 80) ... FAILED [INFO] [stdout] test src/types/ultra.rs - types::ultra::UltraOrderRequest::exclude_routers (line 145) ... FAILED [INFO] [stdout] test src/types/ultra.rs - types::ultra::UltraOrderRequest::new (line 56) ... FAILED [INFO] [stdout] test src/types/swap_transaction.rs - types::swap_transaction::SwapRequest::new (line 131) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/client.rs - client::JupiterClient::with_api_key (line 51) stdout ---- [INFO] [stdout] error: prefix `key` is unknown [INFO] [stdout] --> src/client.rs:52:75 [INFO] [stdout] | [INFO] [stdout] 52 | let api = JupiterClient::new("https://api.jup.ag").with_api_key('your-api-key'); [INFO] [stdout] | ^^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 52 - let api = JupiterClient::new("https://api.jup.ag").with_api_key('your-api-key'); [INFO] [stdout] 52 + let api = JupiterClient::new("https://api.jup.ag").with_api_key("your-api-key"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0762]: unterminated character literal [INFO] [stdout] --> src/client.rs:52:78 [INFO] [stdout] | [INFO] [stdout] 52 | let api = JupiterClient::new("https://api.jup.ag").with_api_key('your-api-key'); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to write a string literal, use double quotes [INFO] [stdout] | [INFO] [stdout] 52 - let api = JupiterClient::new("https://api.jup.ag").with_api_key('your-api-key'); [INFO] [stdout] 52 + let api = JupiterClient::new("https://api.jup.ag").with_api_key("your-api-key"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0762`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::JupiterClient::new (line 23) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JupiterClient` [INFO] [stdout] --> src/client.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | let api = JupiterClient::new("https://lite-api.jup.ag"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `JupiterClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 23 + use jup_ag_sdk::JupiterClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/token_api.rs - client::token_api::JupiterClient::get_token_price (line 209) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/client/token_api.rs:210:59 [INFO] [stdout] | [INFO] [stdout] 210 | let client = JupiterClient::new("https://lite-api.jup.ag") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 211 | [INFO] [stdout] 212 | let token_mints = vec![ [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JupiterClient` [INFO] [stdout] --> src/client/token_api.rs:210:14 [INFO] [stdout] | [INFO] [stdout] 210 | let client = JupiterClient::new("https://lite-api.jup.ag") [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `JupiterClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 209 + use jup_ag_sdk::JupiterClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenPriceRequest` [INFO] [stdout] --> src/client/token_api.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | let params = TokenPriceRequest::new(&token_mints) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TokenPriceRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 209 + use jup_ag_sdk::types::TokenPriceRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/client/token_api.rs:219:45 [INFO] [stdout] | [INFO] [stdout] 209 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_token_api_rs_209_0() { [INFO] [stdout] | ------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 219 | let price = client.get_token_price(¶ms).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] ---- src/client/token_api.rs - client::token_api::JupiterClient::get_token_info (line 258) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client/token_api.rs:259:18 [INFO] [stdout] | [INFO] [stdout] 259 | let token_info = client.get_token_info("JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN").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/client/token_api.rs:259:87 [INFO] [stdout] | [INFO] [stdout] 258 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_token_api_rs_258_0() { [INFO] [stdout] | ------------------------------------------------ this is not `async` [INFO] [stdout] 259 | let token_info = client.get_token_info("JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN").await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/token_api.rs - client::token_api::JupiterClient::get_tokens_price (line 171) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JupiterClient` [INFO] [stdout] --> src/client/token_api.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | let client = JupiterClient::new("https://lite-api.jup.ag"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `JupiterClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] | [INFO] [stdout] 171 + use jup_ag_sdk::JupiterClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/client/token_api.rs:179:45 [INFO] [stdout] | [INFO] [stdout] 171 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_token_api_rs_171_0() { [INFO] [stdout] | ------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 179 | let price = client.get_tokens_price(&mints).await.expect("failed to get token price"); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/swap_api.rs - client::swap_api::JupiterClient::get_swap_instructions (line 100) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwapRequest` [INFO] [stdout] --> src/client/swap_api.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | let payload = SwapRequest::new("YourPubKey...", quote); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SwapRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 100 + use jup_ag_sdk::types::SwapRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `quote` in this scope [INFO] [stdout] --> src/client/swap_api.rs:101:49 [INFO] [stdout] | [INFO] [stdout] 101 | let payload = SwapRequest::new("YourPubKey...", quote); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `api` in this scope [INFO] [stdout] --> src/client/swap_api.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | let swap_instructions = api.get_swap_instructions(payload).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/client/swap_api.rs:102:60 [INFO] [stdout] | [INFO] [stdout] 100 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_swap_api_rs_100_0() { [INFO] [stdout] | ----------------------------------------------- this is not `async` [INFO] [stdout] 101 | let payload = SwapRequest::new("YourPubKey...", quote); [INFO] [stdout] 102 | let swap_instructions = api.get_swap_instructions(payload).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/client/token_api.rs - client::token_api::JupiterClient::get_tokens_by_category (line 119) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client/token_api.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | let tokens = client [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Category` [INFO] [stdout] --> src/client/token_api.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | .get_mints_by_category(Category::TopTrending, Interval::OneHour, None) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Category` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 119 + use jup_ag_sdk::types::Category; [INFO] [stdout] | [INFO] [stdout] 119 + use serde_json::error::Category; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interval` [INFO] [stdout] --> src/client/token_api.rs:121:48 [INFO] [stdout] | [INFO] [stdout] 121 | .get_mints_by_category(Category::TopTrending, Interval::OneHour, None) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Interval` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 119 + use jup_ag_sdk::types::Interval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/client/token_api.rs:122:3 [INFO] [stdout] | [INFO] [stdout] 119 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_token_api_rs_119_0() { [INFO] [stdout] | ------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 122 | .await.expect("failed to get tokens"); [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/client/swap_api.rs - client::swap_api::JupiterClient::get_swap_transaction (line 64) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwapRequest` [INFO] [stdout] --> src/client/swap_api.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | let payload = SwapRequest::new("YourPubKey...", quote); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SwapRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 64 + use jup_ag_sdk::types::SwapRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `quote` in this scope [INFO] [stdout] --> src/client/swap_api.rs:65:49 [INFO] [stdout] | [INFO] [stdout] 65 | let payload = SwapRequest::new("YourPubKey...", quote); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `api` in this scope [INFO] [stdout] --> src/client/swap_api.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | let swap_transaction = api.get_swap_transaction(payload).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/client/swap_api.rs:66:58 [INFO] [stdout] | [INFO] [stdout] 64 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_swap_api_rs_64_0() { [INFO] [stdout] | ---------------------------------------------- this is not `async` [INFO] [stdout] 65 | let payload = SwapRequest::new("YourPubKey...", quote); [INFO] [stdout] 66 | let swap_transaction = api.get_swap_transaction(payload).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/client/swap_api.rs - client::swap_api::JupiterClient::get_quote (line 25) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuoteRequest` [INFO] [stdout] --> src/client/swap_api.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | let req = QuoteRequest::new(inputMint, outputMint, amount); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuoteRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 25 + use jup_ag_sdk::types::QuoteRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `api` in this scope [INFO] [stdout] --> src/client/swap_api.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let quote = api.get_quote(req).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/client/swap_api.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 25 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_swap_api_rs_25_0() { [INFO] [stdout] | ---------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 30 | let quote = api.get_quote(req).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: 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/client/token_api.rs - client::token_api::JupiterClient::get_mints_by_tags (line 67) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client/token_api.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | let tagged = client [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/client/token_api.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 67 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_token_api_rs_67_0() { [INFO] [stdout] | ----------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 71 | .await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/trigger_api.rs - client::trigger_api::JupiterClient::cancel_trigger_orders (line 171) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jupiter_client` [INFO] [stdout] --> src/client/trigger_api.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | use jupiter_client::types::CancelTriggerOrders; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jupiter_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jupiter_client`, use `cargo add jupiter_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client/trigger_api.rs:185:23 [INFO] [stdout] | [INFO] [stdout] 185 | let cancel_response = client.cancel_trigger_orders(&cancel_orders).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/client/trigger_api.rs:185:68 [INFO] [stdout] | [INFO] [stdout] 171 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_trigger_api_rs_171_0() { [INFO] [stdout] | -------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 185 | let cancel_response = client.cancel_trigger_orders(&cancel_orders).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: 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/client/trigger_api.rs - client::trigger_api::JupiterClient::execute_trigger_order (line 77) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jupiter_client` [INFO] [stdout] --> src/client/trigger_api.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | use jupiter_client::types::ExecuteTriggerOrder; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jupiter_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jupiter_client`, use `cargo add jupiter_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `create_response` in this scope [INFO] [stdout] --> src/client/trigger_api.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 82 | &create_response.request_id, // found in the response of create_trigger_order, cancel_order_response [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `signed_tx` in this scope [INFO] [stdout] --> src/client/trigger_api.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | &signed_tx [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client/trigger_api.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | let response = client.execute_trigger_order(&execute_order).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/client/trigger_api.rs:86:61 [INFO] [stdout] | [INFO] [stdout] 77 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_trigger_api_rs_77_0() { [INFO] [stdout] | ------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 86 | let response = client.execute_trigger_order(&execute_order).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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/client/trigger_api.rs - client::trigger_api::JupiterClient::create_trigger_order (line 26) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jupiter_client` [INFO] [stdout] --> src/client/trigger_api.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use jupiter_client::types::CreateTriggerOrder; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jupiter_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jupiter_client`, use `cargo add jupiter_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client/trigger_api.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | let response = client.create_trigger_order(&create_order).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/client/trigger_api.rs:40:59 [INFO] [stdout] | [INFO] [stdout] 26 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_trigger_api_rs_26_0() { [INFO] [stdout] | ------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 40 | let response = client.create_trigger_order(&create_order).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: 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/client/ultra_api.rs - client::ultra_api::JupiterClient::get_ultra_order (line 29) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UltraOrderRequest` [INFO] [stdout] --> src/client/ultra_api.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | let req = UltraOrderRequest::new("inputMint", "outputMint", 1_000_000_000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `UltraOrderRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 29 + use jup_ag_sdk::types::UltraOrderRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `api` in this scope [INFO] [stdout] --> src/client/ultra_api.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let order = api.get_ultra_order(&req).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/client/ultra_api.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 29 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_ultra_api_rs_29_0() { [INFO] [stdout] | ----------------------------------------------- this is not `async` [INFO] [stdout] 30 | let req = UltraOrderRequest::new("inputMint", "outputMint", 1_000_000_000); [INFO] [stdout] 31 | let order = api.get_ultra_order(&req).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: 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/client/ultra_api.rs - client::ultra_api::JupiterClient::shield (line 163) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client/ultra_api.rs:168:19 [INFO] [stdout] | [INFO] [stdout] 168 | let shield_info = client.shield(&mints).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/client/ultra_api.rs:168:41 [INFO] [stdout] | [INFO] [stdout] 163 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_ultra_api_rs_163_0() { [INFO] [stdout] | ------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 168 | let shield_info = client.shield(&mints).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/ultra_api.rs - client::ultra_api::JupiterClient::ultra_token_search (line 212) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client/ultra_api.rs:217:18 [INFO] [stdout] | [INFO] [stdout] 217 | let token_info = client.ultra_token_search(&mints).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/client/ultra_api.rs:217:52 [INFO] [stdout] | [INFO] [stdout] 212 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_ultra_api_rs_212_0() { [INFO] [stdout] | ------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 217 | let token_info = client.ultra_token_search(&mints).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/trigger_api.rs - client::trigger_api::JupiterClient::get_trigger_orders (line 230) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jupiter_client` [INFO] [stdout] --> src/client/trigger_api.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | use jupiter_client::types::{GetTriggerOrders, OrderStatus}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jupiter_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jupiter_client`, use `cargo add jupiter_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client/trigger_api.rs:241:16 [INFO] [stdout] | [INFO] [stdout] 241 | let response = client.get_trigger_orders(&get_orders).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/client/trigger_api.rs:241:55 [INFO] [stdout] | [INFO] [stdout] 230 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_trigger_api_rs_230_0() { [INFO] [stdout] | -------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 241 | let response = client.get_trigger_orders(&get_orders).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: 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/client/token_api.rs - client::token_api::JupiterClient::token_search (line 33) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client/token_api.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | let token_info = client.token_search(&mints).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/client/token_api.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_token_api_rs_33_0() { [INFO] [stdout] | ----------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 38 | let token_info = client.token_search(&mints).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/lib.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:27:55 [INFO] [stdout] | [INFO] [stdout] 18 | async fn main() { [INFO] [stdout] | _________________- [INFO] [stdout] 19 | | let client = JupiterClient::new("https://lite-api.jup.ag"); [INFO] [stdout] 20 | | [INFO] [stdout] 21 | | let quote_request = QuoteRequest::new( [INFO] [stdout] ... | [INFO] [stdout] 27 | | let quote = client.get_quote("e_request).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 30 | | Ok(()) [INFO] [stdout] 31 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(()) [INFO] [stdout] | ^^^^^^ expected `()`, found `Result<(), _>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<(), _>` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/trigger_api.rs - client::trigger_api::JupiterClient::cancel_trigger_order (line 125) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jupiter_client` [INFO] [stdout] --> src/client/trigger_api.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | use jupiter_client::types::CancelTriggerOrder; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jupiter_client` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jupiter_client`, use `cargo add jupiter_client` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/client/trigger_api.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | let cancel_response = client.cancel_trigger_order(&cancel_order).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/client/trigger_api.rs:134:66 [INFO] [stdout] | [INFO] [stdout] 125 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_trigger_api_rs_125_0() { [INFO] [stdout] | -------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 134 | let cancel_response = client.cancel_trigger_order(&cancel_order).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: 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/types/quote_request.rs - types::quote_request::QuoteRequest::as_legacy_transaction (line 303) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuoteRequest` [INFO] [stdout] --> src/types/quote_request.rs:304:15 [INFO] [stdout] | [INFO] [stdout] 304 | let request = QuoteRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuoteRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 303 + use jup_ag_sdk::types::QuoteRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/quote_request.rs - types::quote_request::QuoteRequest::new (line 106) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuoteRequest` [INFO] [stdout] --> src/types/quote_request.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | let request = QuoteRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuoteRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 106 + use jup_ag_sdk::types::QuoteRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/quote_request.rs - types::quote_request::QuoteRequest::exclude_dexes (line 224) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `quote_request` [INFO] [stdout] --> src/types/quote_request.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | use quote_request::{QuoteRequest, QuoteRequestBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `quote_request` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/types/quote_request.rs, use `mod quote_request` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 224 + mod quote_request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DexEnum` [INFO] [stdout] --> src/types/quote_request.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | ).exclude_dexes(vec![DexEnum::Raydium, DexEnum::OrcaV2]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `DexEnum` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 224 + use jup_ag_sdk::types::DexEnum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DexEnum` [INFO] [stdout] --> src/types/quote_request.rs:231:40 [INFO] [stdout] | [INFO] [stdout] 231 | ).exclude_dexes(vec![DexEnum::Raydium, DexEnum::OrcaV2]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `DexEnum` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 224 + use jup_ag_sdk::types::DexEnum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/quote_request.rs - types::quote_request::QuoteRequest::max_accounts (line 357) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuoteRequest` [INFO] [stdout] --> src/types/quote_request.rs:358:15 [INFO] [stdout] | [INFO] [stdout] 358 | let request = QuoteRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuoteRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 357 + use jup_ag_sdk::types::QuoteRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/ultra_api.rs - client::ultra_api::JupiterClient::get_token_balances (line 117) stdout ---- [INFO] [stdout] error: expected `,`, found `balances` [INFO] [stdout] --> src/client/ultra_api.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | println!("{:?" balances.get("JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN")); [INFO] [stdout] | ^^^^^^^^ expected `,` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `api` in this scope [INFO] [stdout] --> src/client/ultra_api.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | let balances = api.get_token_balances("3X2LFoTQecbpqCR7G5tL1kczqBKurjKPHhKSZrJ4wgWc").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/client/ultra_api.rs:118:87 [INFO] [stdout] | [INFO] [stdout] 117 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_ultra_api_rs_117_0() { [INFO] [stdout] | ------------------------------------------------ this is not `async` [INFO] [stdout] 118 | let balances = api.get_token_balances("3X2LFoTQecbpqCR7G5tL1kczqBKurjKPHhKSZrJ4wgWc").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/ultra_api.rs - client::ultra_api::JupiterClient::ultra_execute_order (line 73) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UltraExecuteOrderRequest` [INFO] [stdout] --> src/client/ultra_api.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | let req = UltraExecuteOrderRequest::new(signed_tx, request_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `UltraExecuteOrderRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 73 + use jup_ag_sdk::types::UltraExecuteOrderRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `signed_tx` in this scope [INFO] [stdout] --> src/client/ultra_api.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | let req = UltraExecuteOrderRequest::new(signed_tx, request_id); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `request_id` in this scope [INFO] [stdout] --> src/client/ultra_api.rs:74:52 [INFO] [stdout] | [INFO] [stdout] 74 | let req = UltraExecuteOrderRequest::new(signed_tx, request_id); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `api` in this scope [INFO] [stdout] --> src/client/ultra_api.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | let res = api.ultra_execute_order(&req).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/client/ultra_api.rs:75:41 [INFO] [stdout] | [INFO] [stdout] 73 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_ultra_api_rs_73_0() { [INFO] [stdout] | ----------------------------------------------- this is not `async` [INFO] [stdout] 74 | let req = UltraExecuteOrderRequest::new(signed_tx, request_id); [INFO] [stdout] 75 | let res = api.ultra_execute_order(&req).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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/types/quote_request.rs - types::quote_request::QuoteRequest::only_direct_routes (line 277) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuoteRequest` [INFO] [stdout] --> src/types/quote_request.rs:278:15 [INFO] [stdout] | [INFO] [stdout] 278 | let request = QuoteRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuoteRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 277 + use jup_ag_sdk::types::QuoteRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/quote_request.rs - types::quote_request::QuoteRequest::slippage_bps (line 146) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuoteRequest` [INFO] [stdout] --> src/types/quote_request.rs:147:15 [INFO] [stdout] | [INFO] [stdout] 147 | let request = QuoteRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuoteRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 146 + use jup_ag_sdk::types::QuoteRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/quote_request.rs - types::quote_request::QuoteRequest::dexes (line 199) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuoteRequest` [INFO] [stdout] --> src/types/quote_request.rs:200:15 [INFO] [stdout] | [INFO] [stdout] 200 | let request = QuoteRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuoteRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 199 + use jup_ag_sdk::types::QuoteRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DexEnum` [INFO] [stdout] --> src/types/quote_request.rs:204:14 [INFO] [stdout] | [INFO] [stdout] 204 | ).dexes(vec![DexEnum::MeteoraDlmm, DexEnum::Meteora]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `DexEnum` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 199 + use jup_ag_sdk::types::DexEnum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DexEnum` [INFO] [stdout] --> src/types/quote_request.rs:204:36 [INFO] [stdout] | [INFO] [stdout] 204 | ).dexes(vec![DexEnum::MeteoraDlmm, DexEnum::Meteora]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `DexEnum` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 199 + use jup_ag_sdk::types::DexEnum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/quote_request.rs - types::quote_request::QuoteRequest::restrict_intermediate_tokens (line 250) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `quote_request` [INFO] [stdout] --> src/types/quote_request.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | use quote_request::{QuoteRequest, QuoteRequestBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `quote_request` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/types/quote_request.rs, use `mod quote_request` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 250 + mod quote_request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/quote_request.rs - types::quote_request::QuoteRequest::swap_mode (line 173) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuoteRequest` [INFO] [stdout] --> src/types/quote_request.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 174 | let request = QuoteRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuoteRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 173 + use jup_ag_sdk::types::QuoteRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuoteGetSwapModeEnum` [INFO] [stdout] --> src/types/quote_request.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | .swap_mode(QuoteGetSwapModeEnum::ExactOut); // Want exactly 1 JUP output [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `QuoteGetSwapModeEnum` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 173 + use jup_ag_sdk::types::QuoteGetSwapModeEnum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuoteGetSwapModeEnum` [INFO] [stdout] --> src/types/quote_request.rs:180:36 [INFO] [stdout] | [INFO] [stdout] 180 | assert_eq!(request.swap_mode, Some(QuoteGetSwapModeEnum::ExactOut)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `QuoteGetSwapModeEnum` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 173 + use jup_ag_sdk::types::QuoteGetSwapModeEnum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/quote_request.rs - types::quote_request::QuoteRequest::dynamic_slippage (line 385) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuoteRequest` [INFO] [stdout] --> src/types/quote_request.rs:386:15 [INFO] [stdout] | [INFO] [stdout] 386 | let request = QuoteRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuoteRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 385 + use jup_ag_sdk::types::QuoteRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/ultra.rs - types::ultra::UltraOrderRequest::add_referral_fee (line 123) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UltraOrderRequest` [INFO] [stdout] --> src/types/ultra.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 124 | let request = UltraOrderRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `UltraOrderRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 123 + use jup_ag_sdk::types::UltraOrderRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/ultra.rs - types::ultra::UltraOrderRequest::add_referral_account (line 100) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UltraOrderRequest` [INFO] [stdout] --> src/types/ultra.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | let request = UltraOrderRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `UltraOrderRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 100 + use jup_ag_sdk::types::UltraOrderRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/quote_request.rs - types::quote_request::QuoteRequest::platform_fee_bps (line 329) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QuoteRequest` [INFO] [stdout] --> src/types/quote_request.rs:330:15 [INFO] [stdout] | [INFO] [stdout] 330 | let request = QuoteRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuoteRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 329 + use jup_ag_sdk::types::QuoteRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/ultra.rs - types::ultra::UltraOrderRequest::add_taker (line 80) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UltraOrderRequest` [INFO] [stdout] --> src/types/ultra.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | let request = UltraOrderRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `UltraOrderRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 80 + use jup_ag_sdk::types::UltraOrderRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/ultra.rs - types::ultra::UltraOrderRequest::exclude_routers (line 145) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UltraOrderRequest` [INFO] [stdout] --> src/types/ultra.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | let request = UltraOrderRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `UltraOrderRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 145 + use jup_ag_sdk::types::UltraOrderRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/ultra.rs - types::ultra::UltraOrderRequest::new (line 56) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UltraOrderRequest` [INFO] [stdout] --> src/types/ultra.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | let request = UltraOrderRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `UltraOrderRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 56 + use jup_ag_sdk::types::UltraOrderRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/swap_transaction.rs - types::swap_transaction::SwapRequest::new (line 131) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SwapRequest` [INFO] [stdout] --> src/types/swap_transaction.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | let payload = SwapRequest::new("YourPubKey...", quote); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SwapRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 131 + use jup_ag_sdk::types::SwapRequest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `quote` in this scope [INFO] [stdout] --> src/types/swap_transaction.rs:132:49 [INFO] [stdout] | [INFO] [stdout] 132 | let payload = SwapRequest::new("YourPubKey...", quote); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [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/client.rs - client::JupiterClient::new (line 23) [INFO] [stdout] src/client.rs - client::JupiterClient::with_api_key (line 51) [INFO] [stdout] src/client/swap_api.rs - client::swap_api::JupiterClient::get_quote (line 25) [INFO] [stdout] src/client/swap_api.rs - client::swap_api::JupiterClient::get_swap_instructions (line 100) [INFO] [stdout] src/client/swap_api.rs - client::swap_api::JupiterClient::get_swap_transaction (line 64) [INFO] [stdout] src/client/token_api.rs - client::token_api::JupiterClient::get_mints_by_tags (line 67) [INFO] [stdout] src/client/token_api.rs - client::token_api::JupiterClient::get_token_info (line 258) [INFO] [stdout] src/client/token_api.rs - client::token_api::JupiterClient::get_token_price (line 209) [INFO] [stdout] src/client/token_api.rs - client::token_api::JupiterClient::get_tokens_by_category (line 119) [INFO] [stdout] src/client/token_api.rs - client::token_api::JupiterClient::get_tokens_price (line 171) [INFO] [stdout] src/client/token_api.rs - client::token_api::JupiterClient::token_search (line 33) [INFO] [stdout] src/client/trigger_api.rs - client::trigger_api::JupiterClient::cancel_trigger_order (line 125) [INFO] [stdout] src/client/trigger_api.rs - client::trigger_api::JupiterClient::cancel_trigger_orders (line 171) [INFO] [stdout] src/client/trigger_api.rs - client::trigger_api::JupiterClient::create_trigger_order (line 26) [INFO] [stdout] src/client/trigger_api.rs - client::trigger_api::JupiterClient::execute_trigger_order (line 77) [INFO] [stdout] src/client/trigger_api.rs - client::trigger_api::JupiterClient::get_trigger_orders (line 230) [INFO] [stdout] src/client/ultra_api.rs - client::ultra_api::JupiterClient::get_token_balances (line 117) [INFO] [stdout] src/client/ultra_api.rs - client::ultra_api::JupiterClient::get_ultra_order (line 29) [INFO] [stdout] src/client/ultra_api.rs - client::ultra_api::JupiterClient::shield (line 163) [INFO] [stdout] src/client/ultra_api.rs - client::ultra_api::JupiterClient::ultra_execute_order (line 73) [INFO] [stdout] src/client/ultra_api.rs - client::ultra_api::JupiterClient::ultra_token_search (line 212) [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] src/types/quote_request.rs - types::quote_request::QuoteRequest::as_legacy_transaction (line 303) [INFO] [stdout] src/types/quote_request.rs - types::quote_request::QuoteRequest::dexes (line 199) [INFO] [stdout] src/types/quote_request.rs - types::quote_request::QuoteRequest::dynamic_slippage (line 385) [INFO] [stdout] src/types/quote_request.rs - types::quote_request::QuoteRequest::exclude_dexes (line 224) [INFO] [stdout] src/types/quote_request.rs - types::quote_request::QuoteRequest::max_accounts (line 357) [INFO] [stdout] src/types/quote_request.rs - types::quote_request::QuoteRequest::new (line 106) [INFO] [stdout] src/types/quote_request.rs - types::quote_request::QuoteRequest::only_direct_routes (line 277) [INFO] [stdout] src/types/quote_request.rs - types::quote_request::QuoteRequest::platform_fee_bps (line 329) [INFO] [stdout] src/types/quote_request.rs - types::quote_request::QuoteRequest::restrict_intermediate_tokens (line 250) [INFO] [stdout] src/types/quote_request.rs - types::quote_request::QuoteRequest::slippage_bps (line 146) [INFO] [stdout] src/types/quote_request.rs - types::quote_request::QuoteRequest::swap_mode (line 173) [INFO] [stdout] src/types/swap_transaction.rs - types::swap_transaction::SwapRequest::new (line 131) [INFO] [stdout] src/types/ultra.rs - types::ultra::UltraOrderRequest::add_referral_account (line 100) [INFO] [stdout] src/types/ultra.rs - types::ultra::UltraOrderRequest::add_referral_fee (line 123) [INFO] [stdout] src/types/ultra.rs - types::ultra::UltraOrderRequest::add_taker (line 80) [INFO] [stdout] src/types/ultra.rs - types::ultra::UltraOrderRequest::exclude_routers (line 145) [INFO] [stdout] src/types/ultra.rs - types::ultra::UltraOrderRequest::new (line 56) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 39 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.66s [INFO] [stdout] [INFO] [stdout] all doctests ran in 3.01s; merged doctests compilation took 0.35s [INFO] running `Command { std: "docker" "inspect" "c161f7bd11eb3786c1e478b2eb737e8c9c0105601baff7eb6011e473041bfcc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c161f7bd11eb3786c1e478b2eb737e8c9c0105601baff7eb6011e473041bfcc2", kill_on_drop: false }` [INFO] [stdout] c161f7bd11eb3786c1e478b2eb737e8c9c0105601baff7eb6011e473041bfcc2