[INFO] cloning repository https://github.com/lprnmns/gem3-hype [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lprnmns/gem3-hype" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flprnmns%2Fgem3-hype", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flprnmns%2Fgem3-hype'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f6885733f4013bb93547998d67ad84eea29bf0d8 [INFO] checking lprnmns/gem3-hype/f6885733f4013bb93547998d67ad84eea29bf0d8 against master#e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 for pr-149195 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flprnmns%2Fgem3-hype" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lprnmns/gem3-hype [INFO] finished tweaking git repo https://github.com/lprnmns/gem3-hype [INFO] tweaked toml for git repo https://github.com/lprnmns/gem3-hype written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lprnmns/gem3-hype on toolchain e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lprnmns/gem3-hype 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" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyperliquid_rust_sdk v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc41676518898fcbb4930c5c4f72f5d9b1de3339dabd1a90f85ca35978ae2228 [INFO] running `Command { std: "docker" "start" "-a" "cc41676518898fcbb4930c5c4f72f5d9b1de3339dabd1a90f85ca35978ae2228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc41676518898fcbb4930c5c4f72f5d9b1de3339dabd1a90f85ca35978ae2228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc41676518898fcbb4930c5c4f72f5d9b1de3339dabd1a90f85ca35978ae2228", kill_on_drop: false }` [INFO] [stdout] cc41676518898fcbb4930c5c4f72f5d9b1de3339dabd1a90f85ca35978ae2228 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28af0af6fcbc95eba358de6a266a03201a880317fb70ae6e7e6b7aa7bc84207c [INFO] running `Command { std: "docker" "start" "-a" "28af0af6fcbc95eba358de6a266a03201a880317fb70ae6e7e6b7aa7bc84207c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking unicode-ident v1.0.22 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking const_format v0.2.35 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling camino v1.2.1 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.105 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking semver v1.0.27 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking scale-info v2.11.6 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking cargo-platform v0.1.9 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking ethabi v18.0.0 [INFO] [stderr] Checking open-fastrlp v0.1.4 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking num_enum v0.7.5 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.105 [INFO] [stderr] Checking const-hex v1.17.0 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.105 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Checking ethers-core v2.0.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.105 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Checking js-sys v0.3.82 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Checking coins-core v0.8.7 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking gloo-timers v0.2.6 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking scrypt v0.10.0 [INFO] [stderr] Checking hashers v1.0.1 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking coins-bip32 v0.8.7 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking enr v0.10.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking ethers-etherscan v2.0.14 [INFO] [stderr] Checking futures-locks v0.7.1 [INFO] [stderr] Checking coins-bip39 v0.8.7 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking eth-keystore v0.5.0 [INFO] [stderr] Checking ethers-addressbook v2.0.14 [INFO] [stderr] Checking ethers-providers v2.0.14 [INFO] [stderr] Checking ethers-contract-abigen v2.0.14 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking humantime v2.3.0 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking ethers-signers v2.0.14 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Checking jiff v0.2.16 [INFO] [stderr] Checking rust_decimal v1.39.0 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling ethers-contract-derive v2.0.14 [INFO] [stderr] Checking ethers-contract v2.0.14 [INFO] [stderr] Checking ethers-middleware v2.0.14 [INFO] [stderr] Checking ethers v2.0.14 [INFO] [stderr] Checking hyperliquid_rust_sdk v0.6.0 [INFO] [stderr] Checking gemini3-hype v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `hyperliquid_rust_sdk` [INFO] [stdout] --> src/bin/test_order.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use hyperliquid_rust_sdk::types::exchange::request::{Limit, OrderRequest, Tif}; [INFO] [stdout] | ^^^^^ could not find `types` in `hyperliquid_rust_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyperliquid_rust_sdk::types` [INFO] [stdout] --> src/bin/test_order.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use hyperliquid_rust_sdk::types::H160; [INFO] [stdout] | ^^^^^ could not find `types` in `hyperliquid_rust_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyperliquid_rust_sdk::types` [INFO] [stdout] --> src/main.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use hyperliquid_rust_sdk::types::H160; [INFO] [stdout] | ^^^^^ could not find `types` in `hyperliquid_rust_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyperliquid_rust_sdk::types` [INFO] [stdout] --> src/main.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use hyperliquid_rust_sdk::types::H160; [INFO] [stdout] | ^^^^^ could not find `types` in `hyperliquid_rust_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `hyperliquid_rust_sdk` [INFO] [stdout] --> src/bin/test_fill.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use hyperliquid_rust_sdk::types::{ [INFO] [stdout] | ^^^^^ could not find `types` in `hyperliquid_rust_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyperliquid_rust_sdk::types` [INFO] [stdout] --> src/bin/test_fill.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use hyperliquid_rust_sdk::types::{ [INFO] [stdout] | ^^^^^ could not find `types` in `hyperliquid_rust_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `hyperliquid_rust_sdk` [INFO] [stdout] --> src/bin/test_fill.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use hyperliquid_rust_sdk::types::{ [INFO] [stdout] | ^^^^^ could not find `types` in `hyperliquid_rust_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `hyperliquid_rust_sdk` [INFO] [stdout] --> src/bin/test_order.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use hyperliquid_rust_sdk::types::exchange::request::{Limit, OrderRequest, Tif}; [INFO] [stdout] | ^^^^^ could not find `types` in `hyperliquid_rust_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyperliquid_rust_sdk::types` [INFO] [stdout] --> src/bin/test_order.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use hyperliquid_rust_sdk::types::H160; [INFO] [stdout] | ^^^^^ could not find `types` in `hyperliquid_rust_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyperliquid_rust_sdk::types` [INFO] [stdout] --> src/bin/test_fill.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use hyperliquid_rust_sdk::types::{ [INFO] [stdout] | ^^^^^ could not find `types` in `hyperliquid_rust_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/bin/test_fill.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use log::{info, error, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/bin/test_fill.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/bin/test_fill.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> src/bin/test_fill.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/bin/test_fill.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use log::{info, error, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/bin/test_fill.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/bin/test_fill.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> src/bin/test_fill.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/bin/test_fill.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | let mut info_client = InfoClient::new(BaseUrl::Mainnet).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------ argument #2 of type `Option` is missing [INFO] [stdout] | [INFO] [stdout] note: expected `Option`, found `BaseUrl` [INFO] [stdout] --> src/bin/test_fill.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | let mut info_client = InfoClient::new(BaseUrl::Mainnet).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `BaseUrl` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyperliquid_rust_sdk-0.6.0/src/info/info_client.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | pub async fn new(client: Option, base_url: Option) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 23 - let mut info_client = InfoClient::new(BaseUrl::Mainnet).await?; [INFO] [stdout] 23 + let mut info_client = InfoClient::new(/* Option */, /* Option */).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | let mut info_client = InfoClient::new(BaseUrl::Mainnet).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------ argument #2 of type `Option` is missing [INFO] [stdout] | [INFO] [stdout] note: expected `Option`, found `BaseUrl` [INFO] [stdout] --> src/main.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | let mut info_client = InfoClient::new(BaseUrl::Mainnet).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `BaseUrl` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyperliquid_rust_sdk-0.6.0/src/info/info_client.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | pub async fn new(client: Option, base_url: Option) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 25 - let mut info_client = InfoClient::new(BaseUrl::Mainnet).await?; [INFO] [stdout] 25 + let mut info_client = InfoClient::new(/* Option */, /* Option */).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | let mut info_client = InfoClient::new(BaseUrl::Mainnet).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------ argument #2 of type `Option` is missing [INFO] [stdout] | [INFO] [stdout] note: expected `Option`, found `BaseUrl` [INFO] [stdout] --> src/main.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | let mut info_client = InfoClient::new(BaseUrl::Mainnet).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `BaseUrl` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyperliquid_rust_sdk-0.6.0/src/info/info_client.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | pub async fn new(client: Option, base_url: Option) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 25 - let mut info_client = InfoClient::new(BaseUrl::Mainnet).await?; [INFO] [stdout] 25 + let mut info_client = InfoClient::new(/* Option */, /* Option */).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/bin/test_order.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | let exchange_client = ExchangeClient::new( [INFO] [stdout] | ___________________________^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 21 | | BaseUrl::Mainnet, [INFO] [stdout] 22 | | config.wallet_private_key.clone(), [INFO] [stdout] 23 | | Some(H160::from_str(&config.wallet_address)?), [INFO] [stdout] 24 | | None, [INFO] [stdout] 25 | | ).await?; [INFO] [stdout] | |_____- argument #5 of type `Option` is missing [INFO] [stdout] | [INFO] [stdout] note: expected `Option`, found `BaseUrl` [INFO] [stdout] --> src/bin/test_order.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | BaseUrl::Mainnet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `BaseUrl` [INFO] [stdout] note: expected `Wallet>`, found `String` [INFO] [stdout] --> src/bin/test_order.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | config.wallet_private_key.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected struct `ethers_signers::wallet::Wallet>` [INFO] [stdout] found struct `String` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyperliquid_rust_sdk-0.6.0/src/exchange/exchange_client.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 20 ~ let exchange_client = ExchangeClient::new( [INFO] [stdout] 21 + /* Option */, [INFO] [stdout] 22 + /* ethers_signers::wallet::Wallet> */, [INFO] [stdout] 23 + Some(H160::from_str(&config.wallet_address)?), [INFO] [stdout] 24 + None, [INFO] [stdout] 25 + /* Option */, [INFO] [stdout] 26 ~ ).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/bin/test_fill.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | let mut info_client = InfoClient::new(BaseUrl::Mainnet).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------ argument #2 of type `Option` is missing [INFO] [stdout] | [INFO] [stdout] note: expected `Option`, found `BaseUrl` [INFO] [stdout] --> src/bin/test_fill.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | let mut info_client = InfoClient::new(BaseUrl::Mainnet).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `BaseUrl` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyperliquid_rust_sdk-0.6.0/src/info/info_client.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | pub async fn new(client: Option, base_url: Option) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 23 - let mut info_client = InfoClient::new(BaseUrl::Mainnet).await?; [INFO] [stdout] 23 + let mut info_client = InfoClient::new(/* Option */, /* Option */).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/bin/test_order.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | let exchange_client = ExchangeClient::new( [INFO] [stdout] | ___________________________^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 21 | | BaseUrl::Mainnet, [INFO] [stdout] 22 | | config.wallet_private_key.clone(), [INFO] [stdout] 23 | | Some(H160::from_str(&config.wallet_address)?), [INFO] [stdout] 24 | | None, [INFO] [stdout] 25 | | ).await?; [INFO] [stdout] | |_____- argument #5 of type `Option` is missing [INFO] [stdout] | [INFO] [stdout] note: expected `Option`, found `BaseUrl` [INFO] [stdout] --> src/bin/test_order.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | BaseUrl::Mainnet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `BaseUrl` [INFO] [stdout] note: expected `Wallet>`, found `String` [INFO] [stdout] --> src/bin/test_order.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | config.wallet_private_key.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected struct `ethers_signers::wallet::Wallet>` [INFO] [stdout] found struct `String` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyperliquid_rust_sdk-0.6.0/src/exchange/exchange_client.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 20 ~ let exchange_client = ExchangeClient::new( [INFO] [stdout] 21 + /* Option */, [INFO] [stdout] 22 + /* ethers_signers::wallet::Wallet> */, [INFO] [stdout] 23 + Some(H160::from_str(&config.wallet_address)?), [INFO] [stdout] 24 + None, [INFO] [stdout] 25 + /* Option */, [INFO] [stdout] 26 ~ ).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/bin/test_fill.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | let exchange_client = ExchangeClient::new( [INFO] [stdout] | ___________________________^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 25 | | BaseUrl::Mainnet, [INFO] [stdout] 26 | | config.wallet_private_key.clone(), [INFO] [stdout] 27 | | Some(H160::from_str(&config.wallet_address)?), [INFO] [stdout] 28 | | None, [INFO] [stdout] 29 | | ).await?; [INFO] [stdout] | |_____- argument #5 of type `Option` is missing [INFO] [stdout] | [INFO] [stdout] note: expected `Option`, found `BaseUrl` [INFO] [stdout] --> src/bin/test_fill.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | BaseUrl::Mainnet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `BaseUrl` [INFO] [stdout] note: expected `Wallet>`, found `String` [INFO] [stdout] --> src/bin/test_fill.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | config.wallet_private_key.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected struct `ethers_signers::wallet::Wallet>` [INFO] [stdout] found struct `String` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyperliquid_rust_sdk-0.6.0/src/exchange/exchange_client.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 24 ~ let exchange_client = ExchangeClient::new( [INFO] [stdout] 25 + /* Option */, [INFO] [stdout] 26 + /* ethers_signers::wallet::Wallet> */, [INFO] [stdout] 27 + Some(H160::from_str(&config.wallet_address)?), [INFO] [stdout] 28 + None, [INFO] [stdout] 29 + /* Option */, [INFO] [stdout] 30 ~ ).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/bin/test_fill.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | let exchange_client = ExchangeClient::new( [INFO] [stdout] | ___________________________^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 25 | | BaseUrl::Mainnet, [INFO] [stdout] 26 | | config.wallet_private_key.clone(), [INFO] [stdout] 27 | | Some(H160::from_str(&config.wallet_address)?), [INFO] [stdout] 28 | | None, [INFO] [stdout] 29 | | ).await?; [INFO] [stdout] | |_____- argument #5 of type `Option` is missing [INFO] [stdout] | [INFO] [stdout] note: expected `Option`, found `BaseUrl` [INFO] [stdout] --> src/bin/test_fill.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | BaseUrl::Mainnet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `BaseUrl` [INFO] [stdout] note: expected `Wallet>`, found `String` [INFO] [stdout] --> src/bin/test_fill.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | config.wallet_private_key.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected struct `ethers_signers::wallet::Wallet>` [INFO] [stdout] found struct `String` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyperliquid_rust_sdk-0.6.0/src/exchange/exchange_client.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 24 ~ let exchange_client = ExchangeClient::new( [INFO] [stdout] 25 + /* Option */, [INFO] [stdout] 26 + /* ethers_signers::wallet::Wallet> */, [INFO] [stdout] 27 + Some(H160::from_str(&config.wallet_address)?), [INFO] [stdout] 28 + None, [INFO] [stdout] 29 + /* Option */, [INFO] [stdout] 30 ~ ).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `px` on type `&Vec` [INFO] [stdout] --> src/bin/test_fill.rs:41:57 [INFO] [stdout] | [INFO] [stdout] 41 | let best_ask = l2_snapshot.levels.first().map(|l| l.px).ok_or(anyhow::anyhow!("No asks in book"))?; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `px` on type `&Vec` [INFO] [stdout] --> src/bin/test_fill.rs:41:57 [INFO] [stdout] | [INFO] [stdout] 41 | let best_ask = l2_snapshot.levels.first().map(|l| l.px).ok_or(anyhow::anyhow!("No asks in book"))?; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/test_order.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | match response { [INFO] [stdout] | -------- this expression has type `ExchangeResponseStatus` [INFO] [stdout] 53 | Ok(status) => { [INFO] [stdout] | ^^^^^^^^^^ expected `ExchangeResponseStatus`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `ExchangeResponseStatus` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/test_order.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 52 | match response { [INFO] [stdout] | -------- this expression has type `ExchangeResponseStatus` [INFO] [stdout] ... [INFO] [stdout] 69 | Err(e) => { [INFO] [stdout] | ^^^^^^ expected `ExchangeResponseStatus`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `ExchangeResponseStatus` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/test_order.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | match response { [INFO] [stdout] | -------- this expression has type `ExchangeResponseStatus` [INFO] [stdout] 53 | Ok(status) => { [INFO] [stdout] | ^^^^^^^^^^ expected `ExchangeResponseStatus`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `ExchangeResponseStatus` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/test_order.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 52 | match response { [INFO] [stdout] | -------- this expression has type `ExchangeResponseStatus` [INFO] [stdout] ... [INFO] [stdout] 69 | Err(e) => { [INFO] [stdout] | ^^^^^^ expected `ExchangeResponseStatus`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `ExchangeResponseStatus` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `floor` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/bin/test_fill.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | let sz = (raw_sz * 100.0).floor() / 100.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `floor` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/bin/test_fill.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | let sz = (raw_sz * 100.0).floor() / 100.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/test_fill.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 75 | match response { [INFO] [stdout] | -------- this expression has type `ExchangeResponseStatus` [INFO] [stdout] 76 | Ok(status) => { [INFO] [stdout] | ^^^^^^^^^^ expected `ExchangeResponseStatus`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `ExchangeResponseStatus` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/test_fill.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 75 | match response { [INFO] [stdout] | -------- this expression has type `ExchangeResponseStatus` [INFO] [stdout] ... [INFO] [stdout] 82 | Err(e) => { [INFO] [stdout] | ^^^^^^ expected `ExchangeResponseStatus`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `ExchangeResponseStatus` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/test_fill.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 75 | match response { [INFO] [stdout] | -------- this expression has type `ExchangeResponseStatus` [INFO] [stdout] 76 | Ok(status) => { [INFO] [stdout] | ^^^^^^^^^^ expected `ExchangeResponseStatus`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `ExchangeResponseStatus` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/test_fill.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 75 | match response { [INFO] [stdout] | -------- this expression has type `ExchangeResponseStatus` [INFO] [stdout] ... [INFO] [stdout] 82 | Err(e) => { [INFO] [stdout] | ^^^^^^ expected `ExchangeResponseStatus`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `ExchangeResponseStatus` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spot_clearinghouse_state` found for struct `InfoClient` in the current scope [INFO] [stdout] --> src/main.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | let spot_state = info_client.spot_clearinghouse_state(target_address).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `InfoClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `spot_clearinghouse_state` found for struct `InfoClient` in the current scope [INFO] [stdout] --> src/main.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | let spot_state = info_client.spot_clearinghouse_state(target_address).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `InfoClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cancel_all` found for struct `ExchangeClient` in the current scope [INFO] [stdout] --> src/bin/test_order.rs:63:51 [INFO] [stdout] | [INFO] [stdout] 63 | let cancel_response = exchange_client.cancel_all(asset_name.to_string(), None).await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `cancel` with a similar name [INFO] [stdout] | [INFO] [stdout] 63 - let cancel_response = exchange_client.cancel_all(asset_name.to_string(), None).await?; [INFO] [stdout] 63 + let cancel_response = exchange_client.cancel(asset_name.to_string(), None).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cancel_all` found for struct `ExchangeClient` in the current scope [INFO] [stdout] --> src/bin/test_order.rs:63:51 [INFO] [stdout] | [INFO] [stdout] 63 | let cancel_response = exchange_client.cancel_all(asset_name.to_string(), None).await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `cancel` with a similar name [INFO] [stdout] | [INFO] [stdout] 63 - let cancel_response = exchange_client.cancel_all(asset_name.to_string(), None).await?; [INFO] [stdout] 63 + let cancel_response = exchange_client.cancel(asset_name.to_string(), None).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Option` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:47:111 [INFO] [stdout] | [INFO] [stdout] 47 | ...{}, Size: {}, Entry: {}", position.position.coin, position.position.szi, position.position.entry_px); [INFO] [stdout] | -- required by this formatting parameter ^^^^^^^^^^^^^^^^^^^^^^^^^^ `Option` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Option` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__private_api::format_args` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Option` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:47:111 [INFO] [stdout] | [INFO] [stdout] 47 | ...{}, Size: {}, Entry: {}", position.position.coin, position.position.szi, position.position.entry_px); [INFO] [stdout] | -- required by this formatting parameter ^^^^^^^^^^^^^^^^^^^^^^^^^^ `Option` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Option` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__private_api::format_args` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432, E0433, E0609, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432, E0433, E0609, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gemini3-hype` (bin "test_fill" test) due to 8 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gemini3-hype` (bin "test_fill") due to 8 previous errors; 4 warnings emitted [INFO] [stderr] error: could not compile `gemini3-hype` (bin "test_order" test) due to 6 previous errors [INFO] [stderr] error: could not compile `gemini3-hype` (bin "test_order") due to 6 previous errors [INFO] [stderr] error: could not compile `gemini3-hype` (bin "gemini3-hype" test) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] error: could not compile `gemini3-hype` (bin "gemini3-hype") due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "28af0af6fcbc95eba358de6a266a03201a880317fb70ae6e7e6b7aa7bc84207c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28af0af6fcbc95eba358de6a266a03201a880317fb70ae6e7e6b7aa7bc84207c", kill_on_drop: false }` [INFO] [stdout] 28af0af6fcbc95eba358de6a266a03201a880317fb70ae6e7e6b7aa7bc84207c