[INFO] fetching crate jup-ag-sdk 1.0.6... [INFO] testing jup-ag-sdk-1.0.6 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate jup-ag-sdk 1.0.6 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jup-ag-sdk 1.0.6 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2d09c3aeef02c386f6ee26057347c48d098f74abf3bb36fa7902602663fd942 [INFO] running `Command { std: "docker" "start" "-a" "b2d09c3aeef02c386f6ee26057347c48d098f74abf3bb36fa7902602663fd942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2d09c3aeef02c386f6ee26057347c48d098f74abf3bb36fa7902602663fd942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2d09c3aeef02c386f6ee26057347c48d098f74abf3bb36fa7902602663fd942", kill_on_drop: false }` [INFO] [stdout] b2d09c3aeef02c386f6ee26057347c48d098f74abf3bb36fa7902602663fd942 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 343023b24f8d30768c02f22da3dc4314e17b22cf087f0254907f0963feb4b68a [INFO] running `Command { std: "docker" "start" "-a" "343023b24f8d30768c02f22da3dc4314e17b22cf087f0254907f0963feb4b68a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling webpki-roots v1.0.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 indexmap v2.9.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [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 zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling 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 idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-util v0.1.11 [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 18.30s [INFO] running `Command { std: "docker" "inspect" "343023b24f8d30768c02f22da3dc4314e17b22cf087f0254907f0963feb4b68a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "343023b24f8d30768c02f22da3dc4314e17b22cf087f0254907f0963feb4b68a", kill_on_drop: false }` [INFO] [stdout] 343023b24f8d30768c02f22da3dc4314e17b22cf087f0254907f0963feb4b68a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c3ba7f8768b5dc9cde779bb4668b3a969bf6d6e82582ba1d1ae80e094a36179 [INFO] running `Command { std: "docker" "start" "-a" "2c3ba7f8768b5dc9cde779bb4668b3a969bf6d6e82582ba1d1ae80e094a36179", 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] [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 `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] [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 3.70s [INFO] running `Command { std: "docker" "inspect" "2c3ba7f8768b5dc9cde779bb4668b3a969bf6d6e82582ba1d1ae80e094a36179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c3ba7f8768b5dc9cde779bb4668b3a969bf6d6e82582ba1d1ae80e094a36179", kill_on_drop: false }` [INFO] [stdout] 2c3ba7f8768b5dc9cde779bb4668b3a969bf6d6e82582ba1d1ae80e094a36179 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b8930bbaf8965c212bf4033536c767a83f98f48b8abbb714274bc19dfe74d8ea [INFO] running `Command { std: "docker" "start" "-a" "b8930bbaf8965c212bf4033536c767a83f98f48b8abbb714274bc19dfe74d8ea", 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.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jup_ag_sdk-8a5b29c365fc5694) [INFO] [stdout] [INFO] [stderr] Doc-tests jup_ag_sdk [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/token_api.rs - client::token_api::JupiterClient::get_tokens_price (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::cancel_trigger_order (line 125) ... FAILED [INFO] [stdout] test src/client/token_api.rs - client::token_api::JupiterClient::get_token_info (line 258) ... FAILED [INFO] [stdout] test src/client/swap_api.rs - client::swap_api::JupiterClient::get_swap_instructions (line 100) ... FAILED [INFO] [stdout] test src/client.rs - client::JupiterClient::new (line 23) ... FAILED [INFO] [stdout] test src/client/trigger_api.rs - client::trigger_api::JupiterClient::cancel_trigger_orders (line 171) ... FAILED [INFO] [stdout] test src/client/ultra_api.rs - client::ultra_api::JupiterClient::get_token_balances (line 117) ... FAILED [INFO] [stdout] test src/client/token_api.rs - client::token_api::JupiterClient::get_token_price (line 209) ... FAILED [INFO] [stdout] test src/client/ultra_api.rs - client::ultra_api::JupiterClient::get_ultra_order (line 29) ... FAILED [INFO] [stdout] test src/client/token_api.rs - client::token_api::JupiterClient::token_search (line 33) ... FAILED [INFO] [stdout] test src/types/quote_request.rs - types::quote_request::QuoteRequest::dexes (line 199) ... FAILED [INFO] [stdout] test src/client/ultra_api.rs - client::ultra_api::JupiterClient::ultra_execute_order (line 73) ... 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_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::create_trigger_order (line 26) ... FAILED [INFO] [stdout] test src/client/swap_api.rs - client::swap_api::JupiterClient::get_swap_transaction (line 64) ... FAILED [INFO] [stdout] test src/client/trigger_api.rs - client::trigger_api::JupiterClient::get_trigger_orders (line 230) ... FAILED [INFO] [stdout] test src/types/quote_request.rs - types::quote_request::QuoteRequest::swap_mode (line 173) ... FAILED [INFO] [stdout] test src/client/ultra_api.rs - client::ultra_api::JupiterClient::ultra_token_search (line 212) ... 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::only_direct_routes (line 277) ... FAILED [INFO] [stdout] test src/types/quote_request.rs - types::quote_request::QuoteRequest::restrict_intermediate_tokens (line 250) ... FAILED [INFO] [stdout] test src/types/swap_transaction.rs - types::swap_transaction::SwapRequest::new (line 131) ... FAILED [INFO] [stdout] test src/types/quote_request.rs - types::quote_request::QuoteRequest::platform_fee_bps (line 329) ... FAILED [INFO] [stdout] test src/types/quote_request.rs - types::quote_request::QuoteRequest::new (line 106) ... 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::as_legacy_transaction (line 303) ... FAILED [INFO] [stdout] test src/types/quote_request.rs - types::quote_request::QuoteRequest::dynamic_slippage (line 385) ... FAILED [INFO] [stdout] test src/types/quote_request.rs - types::quote_request::QuoteRequest::max_accounts (line 357) ... FAILED [INFO] [stdout] test src/types/quote_request.rs - types::quote_request::QuoteRequest::slippage_bps (line 146) ... 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::exclude_routers (line 145) ... FAILED [INFO] [stdout] test src/types/ultra.rs - types::ultra::UltraOrderRequest::new (line 56) ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] test src/types/ultra.rs - types::ultra::UltraOrderRequest::add_taker (line 80) ... FAILED [INFO] [stdout] test src/client/ultra_api.rs - client::ultra_api::JupiterClient::shield (line 163) ... 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] 1 | 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] 1 - let api = JupiterClient::new("https://api.jup.ag").with_api_key('your-api-key'); [INFO] [stdout] 1 + 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] 1 | 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] 1 - let api = JupiterClient::new("https://api.jup.ag").with_api_key('your-api-key'); [INFO] [stdout] 1 + 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/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] 3 | 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] 2 + 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] 2 | 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] 10 | 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/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] 3 | 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] 7 | &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] 8 | &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] 11 | 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] 2 | 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] 11 | 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::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] 3 | 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] 11 | 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] 2 | 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] 11 | 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/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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_token_api_rs_258_0() { [INFO] [stdout] | ------------------------------------------------ this is not `async` [INFO] [stdout] 3 | 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/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] 3 | 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] 2 + 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] 3 | 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] 4 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_swap_api_rs_100_0() { [INFO] [stdout] | ----------------------------------------------- this is not `async` [INFO] [stdout] 3 | let payload = SwapRequest::new("YourPubKey...", quote); [INFO] [stdout] 4 | 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.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] 3 | 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] 2 + 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/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] 3 | 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] 16 | 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] 2 | 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] 16 | 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/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] 5 | 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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_ultra_api_rs_117_0() { [INFO] [stdout] | ------------------------------------------------ this is not `async` [INFO] [stdout] 3 | 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/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] 3 | let client = JupiterClient::new("https://lite-api.jup.ag") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | [INFO] [stdout] 5 | 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] 3 | 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] 2 + 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] 9 | 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] 2 + 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] 2 | 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] 12 | 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/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] 3 | 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] 2 + 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] 4 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_ultra_api_rs_29_0() { [INFO] [stdout] | ----------------------------------------------- this is not `async` [INFO] [stdout] 3 | let req = UltraOrderRequest::new("inputMint", "outputMint", 1_000_000_000); [INFO] [stdout] 4 | 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/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] 7 | 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] 2 | 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] 7 | 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/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] 3 | let request = QuoteRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuoteRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 7 | ).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] 2 + 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] 7 | ).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] 2 + 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/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] 3 | 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] 2 + 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] 3 | let req = UltraExecuteOrderRequest::new(signed_tx, request_id); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [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] 3 | 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] 4 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_ultra_api_rs_73_0() { [INFO] [stdout] | ----------------------------------------------- this is not `async` [INFO] [stdout] 3 | let req = UltraExecuteOrderRequest::new(signed_tx, request_id); [INFO] [stdout] 4 | 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/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] 3 | 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] 4 | .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] 2 + use jup_ag_sdk::types::Category; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 4 | .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] 2 + 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] 2 | 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] 5 | .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_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] 6 | 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] 2 + 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] 7 | 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] 2 | 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] 7 | 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] 4 | 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] 2 | 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] 6 | .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::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] 3 | 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] 16 | 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] 2 | 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] 16 | 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/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] 3 | 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] 2 + 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] 3 | 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] 4 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_swap_api_rs_64_0() { [INFO] [stdout] | ---------------------------------------------- this is not `async` [INFO] [stdout] 3 | let payload = SwapRequest::new("YourPubKey...", quote); [INFO] [stdout] 4 | 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/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] 3 | 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] 13 | 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] 2 | 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] 13 | 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/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] 3 | let request = QuoteRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuoteRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 8 | .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] 2 + 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] 9 | 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] 2 + 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/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] 7 | 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] 2 | 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] 7 | 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/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] 3 | 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] 2 + 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] 9 | ).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] 2 + 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] 9 | ).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] 2 + 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::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] 3 | let request = QuoteRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuoteRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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::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] 3 | 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] 2 + 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/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] 3 | 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] 2 + 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] 3 | 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] ---- 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] 3 | let request = QuoteRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuoteRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 3 | let request = QuoteRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuoteRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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_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] 3 | let request = UltraOrderRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `UltraOrderRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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::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] 3 | let request = QuoteRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuoteRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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::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] 3 | let request = QuoteRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuoteRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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::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] 3 | let request = QuoteRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuoteRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 3 | let request = QuoteRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `QuoteRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 3 | let request = UltraOrderRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `UltraOrderRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 3 | let request = UltraOrderRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `UltraOrderRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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] 3 | let request = UltraOrderRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `UltraOrderRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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/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] 7 | #[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] 8 | async fn main() { [INFO] [stdout] | _________________- [INFO] [stdout] 9 | | let client = JupiterClient::new("https://lite-api.jup.ag"); [INFO] [stdout] 10 | | [INFO] [stdout] 11 | | let quote_request = QuoteRequest::new( [INFO] [stdout] ... | [INFO] [stdout] 17 | | let quote = client.get_quote("e_request).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 20 | | Ok(()) [INFO] [stdout] 21 | | } [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] 20 | 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] 8 | 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/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] 3 | let request = UltraOrderRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `UltraOrderRequest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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/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] 7 | 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] 2 | 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] 7 | 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] [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 0.97s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.37s; merged doctests compilation took 0.39s [INFO] running `Command { std: "docker" "inspect" "b8930bbaf8965c212bf4033536c767a83f98f48b8abbb714274bc19dfe74d8ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8930bbaf8965c212bf4033536c767a83f98f48b8abbb714274bc19dfe74d8ea", kill_on_drop: false }` [INFO] [stdout] b8930bbaf8965c212bf4033536c767a83f98f48b8abbb714274bc19dfe74d8ea