[INFO] cloning repository https://github.com/AngelDao/spin-fi-sdk
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AngelDao/spin-fi-sdk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngelDao%2Fspin-fi-sdk", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngelDao%2Fspin-fi-sdk'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dfefcd6d186cef37eb53c79084a0c87b70fce42c
[INFO] checking AngelDao/spin-fi-sdk against 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngelDao%2Fspin-fi-sdk" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AngelDao/spin-fi-sdk
[INFO] finished tweaking git repo https://github.com/AngelDao/spin-fi-sdk
[INFO] tweaked toml for git repo https://github.com/AngelDao/spin-fi-sdk written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AngelDao/spin-fi-sdk on toolchain 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AngelDao/spin-fi-sdk 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" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest
[INFO] [stderr]   See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature.
[INFO] [stderr] warning: `spin-sdk` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded primitive-types v0.10.1
[INFO] [stderr]   Downloaded reed-solomon-erasure v4.0.2
[INFO] [stderr]   Downloaded smart-default v0.6.0
[INFO] [stderr]   Downloaded ed25519 v1.3.0
[INFO] [stderr]   Downloaded near-rpc-error-core v0.11.0
[INFO] [stderr]   Downloaded zeroize_derive v1.2.2
[INFO] [stderr]   Downloaded near-primitives v0.11.0
[INFO] [stderr]   Downloaded strum_macros v0.20.1
[INFO] [stderr]   Downloaded c2-chacha v0.3.3
[INFO] [stderr]   Downloaded near-network-primitives v0.11.0
[INFO] [stderr]   Downloaded bytesize v1.1.0
[INFO] [stderr]   Downloaded near-chunks-primitives v0.11.0
[INFO] [stderr]   Downloaded byte-slice-cast v1.2.0
[INFO] [stderr]   Downloaded cipher v0.2.5
[INFO] [stderr]   Downloaded actix_derive v0.6.0
[INFO] [stderr]   Downloaded near-client-primitives v0.11.0
[INFO] [stderr]   Downloaded near-vm-errors v0.11.0
[INFO] [stderr]   Downloaded parity-scale-codec-derive v2.3.1
[INFO] [stderr]   Downloaded strum v0.20.0
[INFO] [stderr]   Downloaded near-metrics v0.11.0
[INFO] [stderr]   Downloaded security-framework-sys v2.4.2
[INFO] [stderr]   Downloaded tracing-attributes v0.1.18
[INFO] [stderr]   Downloaded near-crypto v0.11.0
[INFO] [stderr]   Downloaded easy-ext v0.2.9
[INFO] [stderr]   Downloaded near-primitives-core v0.11.0
[INFO] [stderr]   Downloaded actix-rt v2.5.0
[INFO] [stderr]   Downloaded semver v1.0.4
[INFO] [stderr]   Downloaded near-chain-configs v0.11.0
[INFO] [stderr]   Downloaded native-tls v0.2.8
[INFO] [stderr]   Downloaded core-foundation v0.9.2
[INFO] [stderr]   Downloaded pkg-config v0.3.24
[INFO] [stderr]   Downloaded httparse v1.5.1
[INFO] [stderr]   Downloaded parity-scale-codec v2.3.1
[INFO] [stderr]   Downloaded blake2 v0.9.2
[INFO] [stderr]   Downloaded near-jsonrpc-client v0.2.0
[INFO] [stderr]   Downloaded anyhow v1.0.52
[INFO] [stderr]   Downloaded socket2 v0.4.2
[INFO] [stderr]   Downloaded tracing-core v0.1.21
[INFO] [stderr]   Downloaded security-framework v2.4.2
[INFO] [stderr]   Downloaded tokio-util v0.6.9
[INFO] [stderr]   Downloaded prometheus v0.11.0
[INFO] [stderr]   Downloaded backtrace v0.3.63
[INFO] [stderr]   Downloaded tracing v0.1.29
[INFO] [stderr]   Downloaded actix v0.11.0-beta.2
[INFO] [stderr]   Downloaded num-bigint v0.3.3
[INFO] [stderr]   Downloaded http v0.2.5
[INFO] [stderr]   Downloaded reqwest v0.11.8
[INFO] [stderr]   Downloaded near-rpc-error-macro v0.11.0
[INFO] [stderr]   Downloaded near-jsonrpc-primitives v0.11.0
[INFO] [stderr]   Downloaded hyper v0.14.16
[INFO] [stderr]   Downloaded parity-secp256k1 v0.7.0
[INFO] [stderr]   Downloaded near-chain-primitives v0.11.0
[INFO] [stderr]   Downloaded protobuf v2.25.2
[INFO] [stderr]   Downloaded near-account-id v0.11.0
[INFO] [stderr]   Downloaded h2 v0.3.9
[INFO] [stderr]   Downloaded object v0.27.1
[INFO] [stderr]   Downloaded tokio v1.15.0
[INFO] [stderr]   Downloaded gimli v0.26.1
[INFO] [stderr]   Downloaded encoding_rs v0.8.30
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b42533ffc5d68af0d00665394ca40ded174d83d70f88a4396a3386e4b00abda4
[INFO] running `Command { std: "docker" "start" "b42533ffc5d68af0d00665394ca40ded174d83d70f88a4396a3386e4b00abda4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b42533ffc5d68af0d00665394ca40ded174d83d70f88a4396a3386e4b00abda4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b42533ffc5d68af0d00665394ca40ded174d83d70f88a4396a3386e4b00abda4" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b42533ffc5d68af0d00665394ca40ded174d83d70f88a4396a3386e4b00abda4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b42533ffc5d68af0d00665394ca40ded174d83d70f88a4396a3386e4b00abda4" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest
[INFO] [stderr]   See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature.
[INFO] [stderr] warning: `spin-sdk` (manifest) generated 1 warning
[INFO] [stderr]    Compiling syn v1.0.84
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling serde_derive v1.0.132
[INFO] [stderr]    Compiling serde v1.0.132
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]     Checking smallvec v1.7.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking once_cell v1.9.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.15
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]    Compiling quote v1.0.14
[INFO] [stderr]     Checking pin-project-lite v0.2.7
[INFO] [stderr]     Checking lock_api v0.4.5
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling serde_json v1.0.73
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling radium v0.6.2
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling futures-core v0.3.19
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking ahash v0.4.7
[INFO] [stderr]     Checking funty v1.1.0
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking wyz v0.2.0
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling num-bigint v0.3.3
[INFO] [stderr]     Checking byte-slice-cast v1.2.0
[INFO] [stderr]    Compiling futures-task v0.3.19
[INFO] [stderr]     Checking cpufeatures v0.2.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]     Checking arrayvec v0.7.2
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking bitvec v0.20.4
[INFO] [stderr]     Checking signature v1.4.0
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking ed25519 v1.3.0
[INFO] [stderr]     Checking uint v0.9.1
[INFO] [stderr]     Checking tracing-core v0.1.21
[INFO] [stderr]    Compiling reed-solomon-erasure v4.0.2
[INFO] [stderr]     Checking futures-sink v0.3.19
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]    Compiling parity-secp256k1 v0.7.0
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]     Checking base64 v0.11.0
[INFO] [stderr]    Compiling backtrace v0.3.63
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking bytesize v1.1.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]    Compiling easy-ext v0.2.9
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]     Checking gimli v0.26.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking cipher v0.2.5
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking sha2 v0.9.8
[INFO] [stderr]     Checking object v0.27.1
[INFO] [stderr]     Checking blake2 v0.9.2
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking c2-chacha v0.3.3
[INFO] [stderr]    Compiling unicode-segmentation v1.8.0
[INFO] [stderr]    Compiling futures-util v0.3.19
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]     Checking rustc-demangle v0.1.21
[INFO] [stderr]     Checking http v0.2.5
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling futures-channel v0.3.19
[INFO] [stderr]    Compiling protobuf v2.25.2
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]    Compiling anyhow v1.0.52
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]     Checking tinyvec v1.5.1
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]    Compiling prometheus v0.11.0
[INFO] [stderr]     Checking openssl-probe v0.1.4
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]     Checking slab v0.4.5
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking fixed-hash v0.7.0
[INFO] [stderr]     Checking socket2 v0.4.2
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]     Checking unicode-bidi v0.3.7
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking ipnet v2.3.1
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking addr2line v0.17.0
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.1
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.1
[INFO] [stderr]    Compiling zeroize_derive v1.2.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.18
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling smart-default v0.6.0
[INFO] [stderr]    Compiling actix_derive v0.6.0
[INFO] [stderr]    Compiling strum_macros v0.20.1
[INFO] [stderr]     Checking zeroize v1.4.3
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking curve25519-dalek v3.2.0
[INFO] [stderr]     Checking tokio v1.15.0
[INFO] [stderr]     Checking tracing v0.1.29
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]     Checking strum v0.20.0
[INFO] [stderr]     Checking near-metrics v0.11.0
[INFO] [stderr]     Checking tokio-util v0.6.9
[INFO] [stderr]     Checking actix-rt v2.5.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking h2 v0.3.9
[INFO] [stderr]     Checking actix v0.11.0-beta.2
[INFO] [stderr]     Checking ed25519-dalek v1.0.1
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking serde_urlencoded v0.7.0
[INFO] [stderr]     Checking hyper v0.14.16
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling near-rpc-error-core v0.11.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling proc-macro-crate v1.1.0
[INFO] [stderr]    Compiling near-rpc-error-macro v0.11.0
[INFO] [stderr]    Compiling borsh-derive v0.9.1
[INFO] [stderr]    Compiling parity-scale-codec-derive v2.3.1
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking borsh v0.9.1
[INFO] [stderr]     Checking reqwest v0.11.8
[INFO] [stderr]     Checking parity-scale-codec v2.3.1
[INFO] [stderr]     Checking near-account-id v0.11.0
[INFO] [stderr]     Checking near-vm-errors v0.11.0
[INFO] [stderr]     Checking near-primitives-core v0.11.0
[INFO] [stderr]     Checking impl-codec v0.5.1
[INFO] [stderr]     Checking primitive-types v0.10.1
[INFO] [stderr]     Checking near-crypto v0.11.0
[INFO] [stderr]     Checking near-primitives v0.11.0
[INFO] [stderr]     Checking near-chain-primitives v0.11.0
[INFO] [stderr]     Checking near-network-primitives v0.11.0
[INFO] [stderr]     Checking near-chain-configs v0.11.0
[INFO] [stderr]     Checking near-chunks-primitives v0.11.0
[INFO] [stderr]     Checking near-client-primitives v0.11.0
[INFO] [stderr]     Checking near-jsonrpc-primitives v0.11.0
[INFO] [stderr]     Checking near-jsonrpc-client v0.2.0
[INFO] [stderr]     Checking spin-sdk v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `near_jsonrpc_client::auth::Unauthenticated`
[INFO] [stdout]  --> src/config/config_client.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use near_jsonrpc_client::auth::Unauthenticated;
[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 imports: `JsonRpcClient` and `methods`
[INFO] [stdout]  --> src/config/config_client.rs:5:27
[INFO] [stdout]   |
[INFO] [stdout] 5 | use near_jsonrpc_client::{methods, JsonRpcClient};
[INFO] [stdout]   |                           ^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `KeyType`
[INFO] [stdout]  --> src/config/connect_wallet.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use near_crypto::{InMemorySigner, KeyType, SecretKey};
[INFO] [stdout]   |                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `methods`
[INFO] [stdout]   --> src/sdk.rs:11:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | use near_jsonrpc_client::{methods, JsonRpcClient};
[INFO] [stdout]    |                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]   --> src/sdk.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use serde::Deserialize;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyType` and `SecretKey`
[INFO] [stdout]  --> src/sends/post_ask.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use near_crypto::{InMemorySigner, KeyType, SecretKey};
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransferAction`
[INFO] [stdout]  --> src/sends/post_ask.rs:6:64
[INFO] [stdout]   |
[INFO] [stdout] 6 | use near_primitives::transaction::{Action, FunctionCallAction, TransferAction};
[INFO] [stdout]   |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyType` and `SecretKey`
[INFO] [stdout]  --> src/sends/post_bid.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use near_crypto::{InMemorySigner, KeyType, SecretKey};
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransferAction`
[INFO] [stdout]  --> src/sends/post_bid.rs:6:64
[INFO] [stdout]   |
[INFO] [stdout] 6 | use near_primitives::transaction::{Action, FunctionCallAction, TransferAction};
[INFO] [stdout]   |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `structs::PlacedOrder`
[INFO] [stdout]  --> src/sends/post_cancel_all_orders.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::utils::{create_tx, send_tx, structs::PlacedOrder};
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyType` and `SecretKey`
[INFO] [stdout]  --> src/sends/post_cancel_all_orders.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use near_crypto::{InMemorySigner, KeyType, SecretKey};
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransferAction`
[INFO] [stdout]  --> src/sends/post_cancel_all_orders.rs:6:64
[INFO] [stdout]   |
[INFO] [stdout] 6 | use near_primitives::transaction::{Action, FunctionCallAction, TransferAction};
[INFO] [stdout]   |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `structs::PlacedOrder`
[INFO] [stdout]  --> src/sends/post_cancel_market_orders.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::utils::{create_tx, send_tx, structs::PlacedOrder};
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyType` and `SecretKey`
[INFO] [stdout]  --> src/sends/post_cancel_market_orders.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use near_crypto::{InMemorySigner, KeyType, SecretKey};
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransferAction`
[INFO] [stdout]  --> src/sends/post_cancel_market_orders.rs:6:64
[INFO] [stdout]   |
[INFO] [stdout] 6 | use near_primitives::transaction::{Action, FunctionCallAction, TransferAction};
[INFO] [stdout]   |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `structs::PlacedOrder`
[INFO] [stdout]  --> src/sends/post_cancel_order.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::utils::{create_tx, send_tx, structs::PlacedOrder};
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyType` and `SecretKey`
[INFO] [stdout]  --> src/sends/post_cancel_order.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use near_crypto::{InMemorySigner, KeyType, SecretKey};
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransferAction`
[INFO] [stdout]  --> src/sends/post_cancel_order.rs:6:64
[INFO] [stdout]   |
[INFO] [stdout] 6 | use near_primitives::transaction::{Action, FunctionCallAction, TransferAction};
[INFO] [stdout]   |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyType` and `SecretKey`
[INFO] [stdout]  --> src/sends/post_deposit.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use near_crypto::{InMemorySigner, KeyType, SecretKey};
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransferAction`
[INFO] [stdout]  --> src/sends/post_deposit.rs:6:64
[INFO] [stdout]   |
[INFO] [stdout] 6 | use near_primitives::transaction::{Action, FunctionCallAction, TransferAction};
[INFO] [stdout]   |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyType` and `SecretKey`
[INFO] [stdout]  --> src/sends/post_withdraw.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use near_crypto::{InMemorySigner, KeyType, SecretKey};
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransferAction`
[INFO] [stdout]  --> src/sends/post_withdraw.rs:6:64
[INFO] [stdout]   |
[INFO] [stdout] 6 | use near_primitives::transaction::{Action, FunctionCallAction, TransferAction};
[INFO] [stdout]   |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyType` and `SecretKey`
[INFO] [stdout]  --> src/utils/create_tx.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use near_crypto::{InMemorySigner, KeyType, SecretKey};
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyType` and `SecretKey`
[INFO] [stdout]  --> src/utils/send_tx.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use near_crypto::{InMemorySigner, KeyType, SecretKey};
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/views/get_market.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/views/get_markets.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/views/get_order.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/views/get_order_history.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/views/get_orders.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::structs::PlacedOrder`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::utils::structs::PlacedOrder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `near_crypto::InMemorySigner`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use near_crypto::InMemorySigner;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[path]` attribute cannot be used on use statements
[INFO] [stdout]  --> src/views/get_order_history.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[path = "../utils/structs.rs"]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: `#[path]` can only be applied to modules
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[path]` attribute cannot be used on use statements
[INFO] [stdout]  --> src/views/get_orders.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[path = "../utils/structs.rs"]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: `#[path]` can only be applied to modules
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `near_jsonrpc_client::auth::Unauthenticated`
[INFO] [stdout]  --> src/config/config_client.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use near_jsonrpc_client::auth::Unauthenticated;
[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 imports: `JsonRpcClient` and `methods`
[INFO] [stdout]  --> src/config/config_client.rs:5:27
[INFO] [stdout]   |
[INFO] [stdout] 5 | use near_jsonrpc_client::{methods, JsonRpcClient};
[INFO] [stdout]   |                           ^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `KeyType`
[INFO] [stdout]  --> src/config/connect_wallet.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use near_crypto::{InMemorySigner, KeyType, SecretKey};
[INFO] [stdout]   |                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `methods`
[INFO] [stdout]   --> src/sdk.rs:11:27
[INFO] [stdout]    |
[INFO] [stdout] 11 | use near_jsonrpc_client::{methods, JsonRpcClient};
[INFO] [stdout]    |                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]   --> src/sdk.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use serde::Deserialize;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyType` and `SecretKey`
[INFO] [stdout]  --> src/sends/post_ask.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use near_crypto::{InMemorySigner, KeyType, SecretKey};
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransferAction`
[INFO] [stdout]  --> src/sends/post_ask.rs:6:64
[INFO] [stdout]   |
[INFO] [stdout] 6 | use near_primitives::transaction::{Action, FunctionCallAction, TransferAction};
[INFO] [stdout]   |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyType` and `SecretKey`
[INFO] [stdout]  --> src/sends/post_bid.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use near_crypto::{InMemorySigner, KeyType, SecretKey};
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransferAction`
[INFO] [stdout]  --> src/sends/post_bid.rs:6:64
[INFO] [stdout]   |
[INFO] [stdout] 6 | use near_primitives::transaction::{Action, FunctionCallAction, TransferAction};
[INFO] [stdout]   |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `structs::PlacedOrder`
[INFO] [stdout]  --> src/sends/post_cancel_all_orders.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::utils::{create_tx, send_tx, structs::PlacedOrder};
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyType` and `SecretKey`
[INFO] [stdout]  --> src/sends/post_cancel_all_orders.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use near_crypto::{InMemorySigner, KeyType, SecretKey};
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransferAction`
[INFO] [stdout]  --> src/sends/post_cancel_all_orders.rs:6:64
[INFO] [stdout]   |
[INFO] [stdout] 6 | use near_primitives::transaction::{Action, FunctionCallAction, TransferAction};
[INFO] [stdout]   |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `structs::PlacedOrder`
[INFO] [stdout]  --> src/sends/post_cancel_market_orders.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::utils::{create_tx, send_tx, structs::PlacedOrder};
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyType` and `SecretKey`
[INFO] [stdout]  --> src/sends/post_cancel_market_orders.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use near_crypto::{InMemorySigner, KeyType, SecretKey};
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransferAction`
[INFO] [stdout]  --> src/sends/post_cancel_market_orders.rs:6:64
[INFO] [stdout]   |
[INFO] [stdout] 6 | use near_primitives::transaction::{Action, FunctionCallAction, TransferAction};
[INFO] [stdout]   |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `structs::PlacedOrder`
[INFO] [stdout]  --> src/sends/post_cancel_order.rs:1:40
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::utils::{create_tx, send_tx, structs::PlacedOrder};
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyType` and `SecretKey`
[INFO] [stdout]  --> src/sends/post_cancel_order.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use near_crypto::{InMemorySigner, KeyType, SecretKey};
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransferAction`
[INFO] [stdout]  --> src/sends/post_cancel_order.rs:6:64
[INFO] [stdout]   |
[INFO] [stdout] 6 | use near_primitives::transaction::{Action, FunctionCallAction, TransferAction};
[INFO] [stdout]   |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyType` and `SecretKey`
[INFO] [stdout]  --> src/sends/post_deposit.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use near_crypto::{InMemorySigner, KeyType, SecretKey};
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransferAction`
[INFO] [stdout]  --> src/sends/post_deposit.rs:6:64
[INFO] [stdout]   |
[INFO] [stdout] 6 | use near_primitives::transaction::{Action, FunctionCallAction, TransferAction};
[INFO] [stdout]   |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyType` and `SecretKey`
[INFO] [stdout]  --> src/sends/post_withdraw.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use near_crypto::{InMemorySigner, KeyType, SecretKey};
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransferAction`
[INFO] [stdout]  --> src/sends/post_withdraw.rs:6:64
[INFO] [stdout]   |
[INFO] [stdout] 6 | use near_primitives::transaction::{Action, FunctionCallAction, TransferAction};
[INFO] [stdout]   |                                                                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyType` and `SecretKey`
[INFO] [stdout]  --> src/utils/create_tx.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use near_crypto::{InMemorySigner, KeyType, SecretKey};
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `KeyType` and `SecretKey`
[INFO] [stdout]  --> src/utils/send_tx.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use near_crypto::{InMemorySigner, KeyType, SecretKey};
[INFO] [stdout]   |                                   ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/views/get_market.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/views/get_markets.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/views/get_order.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/views/get_order_history.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/views/get_orders.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::structs::PlacedOrder`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::utils::structs::PlacedOrder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `near_crypto::InMemorySigner`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use near_crypto::InMemorySigner;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[path]` attribute cannot be used on use statements
[INFO] [stdout]  --> src/views/get_order_history.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[path = "../utils/structs.rs"]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: `#[path]` can only be applied to modules
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `#[path]` attribute cannot be used on use statements
[INFO] [stdout]  --> src/views/get_orders.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[path = "../utils/structs.rs"]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: `#[path]` can only be applied to modules
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/sends/post_deposit.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut actions: Vec<Action>;
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/sends/post_deposit.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut contract_id: &str;
[INFO] [stdout]    |         ----^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/sends/post_withdraw.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut deposit_val: u128;
[INFO] [stdout]    |         ----^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/utils/create_tx.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut nonce: Nonce;
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/utils/create_tx.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut block_hash: CryptoHash;
[INFO] [stdout]    |         ----^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/sends/post_deposit.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut actions: Vec<Action>;
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/sends/post_deposit.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut contract_id: &str;
[INFO] [stdout]    |         ----^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/sends/post_withdraw.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut deposit_val: u128;
[INFO] [stdout]    |         ----^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/utils/create_tx.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut nonce: Nonce;
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/utils/create_tx.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let mut block_hash: CryptoHash;
[INFO] [stdout]    |         ----^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dres`
[INFO] [stdout]   --> src/views/get_markets.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |             let dres = &rest.len();
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_dres`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]   --> src/utils/create_tx.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut tx: Transaction;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/utils/create_tx.rs:31:45
[INFO] [stdout]    |
[INFO] [stdout] 31 |     if let QueryResponseKind::AccessKeyList(result) = access_key_query_response.kind {
[INFO] [stdout]    |                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `market_id`
[INFO] [stdout]   --> src/sends/post_cancel_order.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     market_id: u8,
[INFO] [stdout]    |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_market_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ttl`
[INFO] [stdout]   --> src/sends/post_cancel_order.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let ttl: u8 = 60;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_ttl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `market_id`
[INFO] [stdout]   --> src/sends/post_cancel_market_orders.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     market_id: u8,
[INFO] [stdout]    |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_market_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ttl`
[INFO] [stdout]   --> src/sends/post_cancel_market_orders.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let ttl: u8 = 60;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_ttl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `market_id`
[INFO] [stdout]   --> src/sends/post_cancel_all_orders.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let market_id: u8 = 1;
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_market_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ttl`
[INFO] [stdout]   --> src/sends/post_cancel_all_orders.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let ttl: u8 = 60;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_ttl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dres`
[INFO] [stdout]   --> src/views/get_markets.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |             let dres = &rest.len();
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_dres`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]   --> src/utils/create_tx.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut tx: Transaction;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/utils/create_tx.rs:31:45
[INFO] [stdout]    |
[INFO] [stdout] 31 |     if let QueryResponseKind::AccessKeyList(result) = access_key_query_response.kind {
[INFO] [stdout]    |                                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `market_id`
[INFO] [stdout]   --> src/sends/post_cancel_order.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     market_id: u8,
[INFO] [stdout]    |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_market_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ttl`
[INFO] [stdout]   --> src/sends/post_cancel_order.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let ttl: u8 = 60;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_ttl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `market_id`
[INFO] [stdout]   --> src/sends/post_cancel_market_orders.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     market_id: u8,
[INFO] [stdout]    |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_market_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ttl`
[INFO] [stdout]   --> src/sends/post_cancel_market_orders.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let ttl: u8 = 60;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_ttl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `view_balance`, `view_all_markets`, `view_market`, `view_all_orders`, `view_order`, and `view_order_history` are never used
[INFO] [stdout]   --> src/sdk.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl SpinSDK {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub async fn view_balance(
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub async fn view_all_markets(&self) -> Result<structs::AllMarkets, &'static str> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub async fn view_market(&self, market_id: u8) -> Result<structs::SingleMarket, &'static str> {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub async fn view_all_orders(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub async fn view_order(
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub async fn view_order_history(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `send_withdrawal`, `send_bid`, `send_ask`, `send_cancel_order`, `send_cancel_market_orders`, and `send_cancel_all_orders` are never used
[INFO] [stdout]   --> src/sdk.rs:75:18
[INFO] [stdout]    |
[INFO] [stdout] 66 | impl SpinSDK {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub async fn send_withdrawal(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub async fn send_bid(&self, order: PlacedOrder, decimals: u8) -> Result<(), ()> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub async fn send_ask(&self, order: PlacedOrder, decimals: u8) -> Result<(), ()> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub async fn send_cancel_order(&self, market_id: u8, order_id: u64) -> Result<(), ()> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub async fn send_cancel_market_orders(&self, market_id: u8) -> Result<(), ()> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 |     pub async fn send_cancel_all_orders(&self) -> Result<(), ()> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/sends/post_ask.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub async fn run(
[INFO] [stdout]   |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/sends/post_bid.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub async fn run(
[INFO] [stdout]   |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/sends/post_cancel_all_orders.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub async fn run(
[INFO] [stdout]   |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/sends/post_cancel_market_orders.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub async fn run(
[INFO] [stdout]   |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/sends/post_cancel_order.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub async fn run(
[INFO] [stdout]   |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/sends/post_withdraw.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub async fn run(
[INFO] [stdout]   |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Base` is never constructed
[INFO] [stdout]  --> src/utils/structs.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Base {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Quote` is never constructed
[INFO] [stdout]   --> src/utils/structs.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Quote {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Market` is never constructed
[INFO] [stdout]   --> src/utils/structs.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Market {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Order` is never constructed
[INFO] [stdout]   --> src/utils/structs.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Order {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `OrderList` is never used
[INFO] [stdout]   --> src/utils/structs.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub type OrderList = Vec<Order>;
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SingleMarket` is never constructed
[INFO] [stdout]   --> src/utils/structs.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct SingleMarket {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SingleOrder` is never constructed
[INFO] [stdout]   --> src/utils/structs.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct SingleOrder {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PlacedOrder` is never constructed
[INFO] [stdout]   --> src/utils/structs.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct PlacedOrder {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HistoricalOrder` is never constructed
[INFO] [stdout]   --> src/utils/structs.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct HistoricalOrder {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `OrderHistory` is never used
[INFO] [stdout]   --> src/utils/structs.rs:72:10
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub type OrderHistory = Vec<HistoricalOrder>;
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `AllOrders` is never used
[INFO] [stdout]   --> src/utils/structs.rs:74:10
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub type AllOrders = Vec<SingleOrder>;
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `AllMarkets` is never used
[INFO] [stdout]   --> src/utils/structs.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub type AllMarkets = Vec<Market>;
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/views/get_balance.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn run(
[INFO] [stdout]   |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/views/get_market.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn run(
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/views/get_markets.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn run(client: &JsonRpcClient<Unauthenticated>) -> Result<AllMarkets, &'static str> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/views/get_order.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn run(
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/views/get_order_history.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub async fn run(
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/views/get_orders.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub async fn run(
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `market_id`
[INFO] [stdout]   --> src/sends/post_cancel_all_orders.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let market_id: u8 = 1;
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_market_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ttl`
[INFO] [stdout]   --> src/sends/post_cancel_all_orders.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let ttl: u8 = 60;
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_ttl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     spin_sdk.view_all_balances("danielw.testnet").await;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let _ = spin_sdk.view_all_balances("danielw.testnet").await;
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     spin_sdk.send_deposit(1.0, "near.near", 24).await;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let _ = spin_sdk.send_deposit(1.0, "near.near", 24).await;
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `view_balance`, `view_all_markets`, `view_market`, `view_all_orders`, `view_order`, and `view_order_history` are never used
[INFO] [stdout]   --> src/sdk.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl SpinSDK {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub async fn view_balance(
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub async fn view_all_markets(&self) -> Result<structs::AllMarkets, &'static str> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub async fn view_market(&self, market_id: u8) -> Result<structs::SingleMarket, &'static str> {
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub async fn view_all_orders(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub async fn view_order(
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub async fn view_order_history(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `send_withdrawal`, `send_bid`, `send_ask`, `send_cancel_order`, `send_cancel_market_orders`, and `send_cancel_all_orders` are never used
[INFO] [stdout]   --> src/sdk.rs:75:18
[INFO] [stdout]    |
[INFO] [stdout] 66 | impl SpinSDK {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub async fn send_withdrawal(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub async fn send_bid(&self, order: PlacedOrder, decimals: u8) -> Result<(), ()> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub async fn send_ask(&self, order: PlacedOrder, decimals: u8) -> Result<(), ()> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 |     pub async fn send_cancel_order(&self, market_id: u8, order_id: u64) -> Result<(), ()> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub async fn send_cancel_market_orders(&self, market_id: u8) -> Result<(), ()> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 |     pub async fn send_cancel_all_orders(&self) -> Result<(), ()> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/sends/post_ask.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub async fn run(
[INFO] [stdout]   |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/sends/post_bid.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub async fn run(
[INFO] [stdout]   |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/sends/post_cancel_all_orders.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub async fn run(
[INFO] [stdout]   |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/sends/post_cancel_market_orders.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub async fn run(
[INFO] [stdout]   |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/sends/post_cancel_order.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub async fn run(
[INFO] [stdout]   |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/sends/post_withdraw.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub async fn run(
[INFO] [stdout]   |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Base` is never constructed
[INFO] [stdout]  --> src/utils/structs.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Base {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Quote` is never constructed
[INFO] [stdout]   --> src/utils/structs.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Quote {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Market` is never constructed
[INFO] [stdout]   --> src/utils/structs.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Market {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Order` is never constructed
[INFO] [stdout]   --> src/utils/structs.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Order {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `OrderList` is never used
[INFO] [stdout]   --> src/utils/structs.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub type OrderList = Vec<Order>;
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SingleMarket` is never constructed
[INFO] [stdout]   --> src/utils/structs.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct SingleMarket {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SingleOrder` is never constructed
[INFO] [stdout]   --> src/utils/structs.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct SingleOrder {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PlacedOrder` is never constructed
[INFO] [stdout]   --> src/utils/structs.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct PlacedOrder {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HistoricalOrder` is never constructed
[INFO] [stdout]   --> src/utils/structs.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct HistoricalOrder {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `OrderHistory` is never used
[INFO] [stdout]   --> src/utils/structs.rs:72:10
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub type OrderHistory = Vec<HistoricalOrder>;
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `AllOrders` is never used
[INFO] [stdout]   --> src/utils/structs.rs:74:10
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub type AllOrders = Vec<SingleOrder>;
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `AllMarkets` is never used
[INFO] [stdout]   --> src/utils/structs.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub type AllMarkets = Vec<Market>;
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]  --> src/views/get_balance.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn run(
[INFO] [stdout]   |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/views/get_market.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn run(
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/views/get_markets.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn run(client: &JsonRpcClient<Unauthenticated>) -> Result<AllMarkets, &'static str> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/views/get_order.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn run(
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/views/get_order_history.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub async fn run(
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/views/get_orders.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub async fn run(
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     spin_sdk.view_all_balances("danielw.testnet").await;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let _ = spin_sdk.view_all_balances("danielw.testnet").await;
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     spin_sdk.send_deposit(1.0, "near.near", 24).await;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let _ = spin_sdk.send_deposit(1.0, "near.near", 24).await;
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.46s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: primitive-types v0.10.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "b42533ffc5d68af0d00665394ca40ded174d83d70f88a4396a3386e4b00abda4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b42533ffc5d68af0d00665394ca40ded174d83d70f88a4396a3386e4b00abda4", kill_on_drop: false }`
[INFO] [stdout] b42533ffc5d68af0d00665394ca40ded174d83d70f88a4396a3386e4b00abda4
