Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails #194

Closed
jhnsmth opened this issue Aug 27, 2021 · 1 comment · Fixed by #199
Closed

Build fails #194

jhnsmth opened this issue Aug 27, 2021 · 1 comment · Fixed by #199

Comments

@jhnsmth
Copy link

jhnsmth commented Aug 27, 2021

I've tried both cargo build and cargo build --release with out success, the full output is bellow

I've found build instructions in the docs, am I missing something?

Click to expand!
cargo build                                                                                                                                                                                           
 Compiling autocfg v1.0.1
 Compiling cfg-if v1.0.0
 Compiling libc v0.2.100
 Compiling proc-macro2 v1.0.28
 Compiling unicode-xid v0.2.2
 Compiling syn v1.0.75
 Compiling typenum v1.13.0
 Compiling memchr v2.4.1
 Compiling lazy_static v1.4.0
 Compiling version_check v0.9.3
 Compiling scopeguard v1.1.0
 Compiling serde_derive v1.0.129
 Compiling itoa v0.4.8
 Compiling pin-project-lite v0.2.7
 Compiling serde v1.0.129
 Compiling futures-core v0.3.16
 Compiling log v0.4.14
 Compiling ppv-lite86 v0.2.10
 Compiling bytes v1.0.1
 Compiling getrandom v0.1.16
 Compiling ryu v1.0.5
 Compiling proc-macro-hack v0.5.19
 Compiling futures-sink v0.3.16
 Compiling futures-task v0.3.16
 Compiling proc-macro-nested v0.1.7
 Compiling core-foundation-sys v0.8.2
 Compiling smallvec v1.6.1
 Compiling futures-channel v0.3.16
 Compiling block-padding v0.2.1
 Compiling byteorder v1.4.3
 Compiling subtle v2.4.1
 Compiling serde_json v1.0.66
 Compiling slab v0.4.4
 Compiling once_cell v1.8.0
 Compiling opaque-debug v0.3.0
 Compiling pin-utils v0.1.0
 Compiling futures-io v0.3.16
 Compiling fnv v1.0.7
 Compiling crossbeam-utils v0.8.5
 Compiling native-tls v0.2.8
 Compiling matches v0.1.9
 Compiling remove_dir_all v0.5.3
 Compiling httparse v1.5.1
 Compiling bitflags v1.3.2
 Compiling cpufeatures v0.1.5
 Compiling tinyvec_macros v0.1.0
 Compiling funty v1.1.0
 Compiling percent-encoding v2.1.0
 Compiling wyz v0.2.0
 Compiling radium v0.3.0
 Compiling either v1.6.1
 Compiling cc v1.0.69
 Compiling const-oid v0.4.5
 Compiling failure_derive v0.1.8
 Compiling unicode-bidi v0.3.6
 Compiling gimli v0.25.0
 Compiling hashbrown v0.11.2
 Compiling crossbeam-epoch v0.9.5
 Compiling adler v1.0.2
 Compiling void v1.0.2
 Compiling try-lock v0.2.3
 Compiling rustc-demangle v0.1.21
 Compiling rayon-core v1.9.1
 Compiling ascii v0.9.3
 Compiling tower-service v0.3.1
 Compiling base64 v0.13.0
 Compiling zeroize v1.4.1
 Compiling async-trait v0.1.51
 Compiling httpdate v1.0.1
 Compiling encoding_rs v0.8.28
 Compiling anyhow v1.0.43
 Compiling byte-tools v0.3.1
 Compiling utf-8 v0.7.6
 Compiling unicode-segmentation v1.8.0
 Compiling crossbeam-queue v0.3.2
 Compiling arrayvec v0.5.2
 Compiling mime v0.3.16
 Compiling ipnet v2.3.1
 Compiling convert_case v0.4.0
 Compiling doc-comment v0.3.3
 Compiling hex v0.4.3
 Compiling opaque-debug v0.2.3
 Compiling fake-simd v0.1.2
 Compiling regex-syntax v0.6.25
 Compiling keccak v0.1.0
 Compiling vec_box v1.0.0
 Compiling maplit v1.0.2
 Compiling openlimits v0.1.22-alpha.0 (/Users/alexey/programming/trading/openlimits)
 Compiling cute v0.3.0
 Compiling min_max_macros v0.1.1
 Compiling dotenv v0.15.0
 Compiling instant v0.1.10
 Compiling tracing-core v0.1.19
 Compiling lock_api v0.4.4
 Compiling futures-macro v0.3.16
 Compiling num-traits v0.2.14
 Compiling futures-util v0.3.16
 Compiling tokio v1.10.1
 Compiling memoffset v0.6.4
 Compiling num-integer v0.1.44
 Compiling miniz_oxide v0.4.4
 Compiling indexmap v1.7.0
 Compiling rayon v1.5.1
 Compiling num-bigint v0.3.2
 Compiling generic-array v0.14.4
 Compiling input_buffer v0.4.0
 Compiling http v0.2.4
 Compiling tinyvec v1.3.1
 Compiling form_urlencoded v1.0.1
 Compiling der v0.1.0
 Compiling unreachable v1.0.0
 Compiling bitvec v0.18.5
 Compiling block-padding v0.1.5
 Compiling backtrace v0.3.61
 Compiling heck v0.3.3
 Compiling sugar v0.2.0
 Compiling addr2line v0.16.0
 Compiling pkcs8 v0.3.3
 Compiling unicode-normalization v0.1.19
 Compiling num_cpus v1.13.0
 Compiling getrandom v0.2.3
 Compiling parking_lot_core v0.8.3
 Compiling signal-hook-registry v1.4.0
 Compiling socket2 v0.4.1
 Compiling time v0.1.44
 Compiling quote v1.0.9
 Compiling object v0.26.1
 Compiling combine v3.8.1
 Compiling aho-corasick v0.7.18
 Compiling mio v0.7.13
 Compiling want v0.3.0
 Compiling core-foundation v0.9.1
 Compiling security-framework-sys v2.3.0
 Compiling http-body v0.4.3
 Compiling crossbeam-channel v0.5.1
 Compiling generic-array v0.12.4
 Compiling rand_core v0.6.3
 Compiling rand_core v0.5.1
 Compiling parking_lot v0.11.1
 Compiling idna v0.2.3
 Compiling regex v1.5.4
 Compiling security-framework v2.3.1
 Compiling block-buffer v0.7.3
 Compiling digest v0.8.1
 Compiling rand_chacha v0.3.1
 Compiling ff v0.8.0
 Compiling rand_chacha v0.2.2
 Compiling digest v0.9.0
 Compiling block-buffer v0.9.0
 Compiling crypto-mac v0.10.1
 Compiling crypto-mac v0.8.0
 Compiling crossbeam-deque v0.8.1
 Compiling url v2.2.2
 Compiling sha2 v0.8.2
 Compiling group v0.8.0
 Compiling rand v0.8.4
 Compiling rand v0.7.3
 Compiling signature v1.2.2
 Compiling Inflector v0.11.4
 Compiling sha-1 v0.9.7
 Compiling sha2 v0.9.5
 Compiling ripemd160 v0.9.1
 Compiling sha3 v0.9.1
 Compiling hmac v0.10.1
 Compiling hmac v0.8.1
 Compiling bs58 v0.3.1
 Compiling elliptic-curve v0.8.5
 Compiling tempfile v3.2.0
 Compiling ecdsa v0.10.2
 Compiling tungstenite v0.12.0
 Compiling k256 v0.7.3
 Compiling p256 v0.7.3
 Compiling synstructure v0.12.5
 Compiling tokio-macros v1.3.0
 Compiling tracing-attributes v0.1.15
 Compiling pin-project-internal v1.0.8
 Compiling thiserror-impl v1.0.26
 Compiling derive_more v0.99.16
 Compiling async-recursion v0.3.2
 Compiling failure v0.1.8
 Compiling graphql-parser v0.2.3
 Compiling thiserror v1.0.26
 Compiling tracing v0.1.26
 Compiling pin-project v1.0.8
 Compiling tracing-futures v0.2.5
 Compiling futures-executor v0.3.16
 Compiling futures v0.3.16
 Compiling openlimits-messaging v0.1.0
 Compiling tokio-util v0.6.7
 Compiling tokio-native-tls v0.3.0
 Compiling tokio-stream v0.1.7
 Compiling tokio-tungstenite v0.13.0
 Compiling h2 v0.3.4
 Compiling chrono v0.4.19
 Compiling serde_urlencoded v0.7.0
 Compiling graphql-introspection-query v0.1.0
 Compiling rust_decimal v1.15.0
 Compiling bigdecimal-rs v0.2.1
 Compiling hyper v0.14.11
 Compiling rust-gmp-serde v0.5.0
 Compiling graphql_client_codegen v0.9.0
 Compiling rust-bigint v1.1.0
 Compiling paillier-common v0.1.1
 Compiling nash-mpc v1.2.3
 Compiling graphql_query_derive v0.9.0
 Compiling hyper-tls v0.5.0
 Compiling reqwest v0.11.4
 Compiling graphql_client v0.9.0
 Compiling openlimits-exchange v0.1.0
 Compiling openlimits-binance v0.1.0
 Compiling nash-protocol v0.1.33
 Compiling nash-native-client v0.1.33
error[E0432]: unresolved import `binance`
--> src/exchange/mod.rs:3:9
|
3 | pub use binance;
|         ^^^^^^^ no external crate `binance`

error[E0432]: unresolved import `exchange`
--> src/exchange/mod.rs:6:9
|
6 | pub use exchange::traits;
|         ^^^^^^^^ help: a similar path exists: `crate::exchange`
|
= note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>

error[E0432]: unresolved import `exchange`
--> src/exchange/mod.rs:7:9
|
7 | pub use exchange::shared;
|         ^^^^^^^^ help: a similar path exists: `crate::exchange`
|
= note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>

error[E0432]: unresolved import `exchange`
--> src/exchange/mod.rs:8:9
|
8 | pub use exchange::model;
|         ^^^^^^^^ help: a similar path exists: `crate::exchange`
|
= note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>

error[E0432]: unresolved import `exchange`
--> src/exchange/mod.rs:9:9
|
9 | pub use exchange::errors;
|         ^^^^^^^^ help: a similar path exists: `crate::exchange`
|
= note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>

error[E0432]: unresolved imports `crate::errors`, `crate::model`, `crate::exchange::traits::info::ExchangeInfoRetrieval`, `crate::exchange::traits::info::MarketPair`, `crate::exchange::traits::info::MarketPairHandle`, `crate::exchange::traits::Exchange`, `super::shared::Result`, `super::shared::timestamp_to_naive_datetime`, `crate::exchange::traits::info::MarketPair`
--> src/exchange/coinbase/mod.rs:29:5
 |
29 |     errors::OpenLimitsError,
 |     ^^^^^^ unresolved import
30 |     model::{
 |     ^^^^^ unresolved import
...
38 | use crate::exchange::traits::info::{ExchangeInfoRetrieval, MarketPair, MarketPairHandle};
 |                                     ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^
39 | use crate::exchange::traits::Exchange;
 |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
40 | use crate::prelude::*;
41 | use super::shared::Result;
 |     ^^^^^^^^^^^^^^^^^^^^^
42 | use super::shared::timestamp_to_naive_datetime;
 |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 |
::: src/exchange/coinbase/client/account.rs:9:5
 |
9  | use crate::exchange::traits::info::MarketPair;
 |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 |
help: a similar path exists
 |
29 |     nash_protocol::errors::OpenLimitsError,
 |     ~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
 |
30 |     openlimits_binance::model::{
 |     ~~~~~~~~~~~~~~~~~~~~~~~~~

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/client/account.rs:11:12
 |
11 | use super::shared::Result;
 |            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/client/market.rs:8:12
|
8 | use super::shared::Result;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved imports `crate::errors`, `crate::exchange::traits::stream::ExchangeWs`, `crate::exchange::traits::stream::Subscriptions`
--> src/exchange/coinbase/client/websocket.rs:15:5
 |
15 |     errors::OpenLimitsError,
 |     ^^^^^^
 |     |
 |     unresolved import
 |     help: a similar path exists: `nash_protocol::errors`
...
19 | use crate::exchange::traits::stream::{ExchangeWs, Subscriptions};
 |                                       ^^^^^^^^^^  ^^^^^^^^^^^^^

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/client/websocket.rs:23:12
 |
23 | use super::shared::Result;
 |            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/client/mod.rs:9:9
|
9 | pub use super::shared;
|         ^^^^^^^^^^^^^ no `shared` in `exchange::coinbase`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/account.rs:4:12
|
4 | use super::shared::string_to_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/book_record_l1.rs:5:12
|
5 | use super::shared::string_to_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/book_record_l2.rs:5:12
|
5 | use super::shared::string_to_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/book_record_l3.rs:5:12
|
5 | use super::shared::string_to_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/data_range.rs:4:12
|
4 | use super::shared::opt_naive_datetime_from_string;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/fill.rs:5:12
|
5 | use super::shared::string_to_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/fill.rs:6:12
|
6 | use super::shared::naive_datetime_from_string;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/order_time_in_force_response.rs:4:12
|
4 | use super::shared::naive_datetime_from_string;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/order_type.rs:5:12
|
5 | use super::shared::string_to_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/order.rs:9:12
|
9 | use super::shared::string_to_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/order.rs:10:12
 |
10 | use super::shared::naive_datetime_from_string;
 |            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/product.rs:4:12
|
4 | use super::shared::string_to_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/ticker.rs:5:12
|
5 | use super::shared::string_to_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/ticker.rs:6:12
|
6 | use super::shared::naive_datetime_from_string;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/trade.rs:5:12
|
5 | use super::shared::string_to_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/trade.rs:6:12
|
6 | use super::shared::naive_datetime_from_string;
|            ^^^^^^ could not find `shared` in `super`

error[E0433]: failed to resolve: unresolved import
--> src/exchange/coinbase/model/websocket/mod.rs:2:12
|
2 | use crate::model::websocket::OpenLimitsWebSocketMessage;
|            ^^^^^
|            |
|            unresolved import
|            help: a similar path exists: `openlimits_binance::model`

error[E0433]: failed to resolve: unresolved import
--> src/exchange/coinbase/model/websocket/mod.rs:3:12
|
3 | use crate::model::websocket::WebSocketResponse;
|            ^^^^^
|            |
|            unresolved import
|            help: a similar path exists: `openlimits_binance::model`

error[E0432]: unresolved imports `crate::errors`, `crate::model::websocket::OpenLimitsWebSocketMessage`, `crate::model::websocket::WebSocketResponse`
--> src/exchange/coinbase/model/websocket/mod.rs:1:12
|
1 | use crate::errors::OpenLimitsError;
|            ^^^^^^
|            |
|            unresolved import
|            help: a similar path exists: `nash_protocol::errors`
2 | use crate::model::websocket::OpenLimitsWebSocketMessage;
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3 | use crate::model::websocket::WebSocketResponse;
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0432]: unresolved import `crate::model`
--> src/exchange/coinbase/model/websocket/mod.rs:4:12
|
4 | use crate::model::AskBid;
|            ^^^^^
|            |
|            unresolved import
|            help: a similar path exists: `openlimits_binance::model`

error[E0432]: unresolved import `crate::model`
--> src/exchange/coinbase/model/websocket/mod.rs:5:12
|
5 | use crate::model::OrderBookResponse;
|            ^^^^^
|            |
|            unresolved import
|            help: a similar path exists: `openlimits_binance::model`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/websocket/mod.rs:6:12
|
6 | use super::shared::Result;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/websocket/activate.rs:4:12
|
4 | use super::shared::string_to_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/websocket/change.rs:4:12
|
4 | use super::shared::string_to_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0433]: failed to resolve: unresolved import
--> src/exchange/coinbase/model/websocket/coinbase_subscription.rs:1:12
|
1 | use crate::model::websocket::Subscription;
|            ^^^^^
|            |
|            unresolved import
|            help: a similar path exists: `openlimits_binance::model`

error[E0432]: unresolved imports `super::shared`, `crate::model::websocket::Subscription`
--> src/exchange/coinbase/model/websocket/change.rs:5:12
|
5 | use super::shared::string_to_opt_decimal;
|            ^^^^^^ could not find `shared` in `super`
|
::: src/exchange/coinbase/model/websocket/coinbase_subscription.rs:1:5
|
1 | use crate::model::websocket::Subscription;
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/websocket/done.rs:5:12
|
5 | use super::shared::string_to_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/websocket/level2_snapshot_record.rs:3:12
|
3 | use super::shared::string_to_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/websocket/level2_update_record.rs:4:12
|
4 | use super::shared::string_to_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/websocket/match_.rs:4:12
|
4 | use super::shared::string_to_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/websocket/open.rs:3:12
|
3 | use super::shared::string_to_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/websocket/received.rs:1:12
|
1 | use super::shared::string_to_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/websocket/received.rs:2:12
|
2 | use super::shared::string_to_opt_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/websocket/ticker.rs:4:12
|
4 | use super::shared::string_to_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/websocket/ticker.rs:5:12
|
5 | use super::shared::string_to_opt_decimal;
|            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/websocket/mod.rs:54:9
 |
54 | pub use super::shared;
 |         ^^^^^^^^^^^^^ no `shared` in `exchange::coinbase::model`

error[E0432]: unresolved import `super::shared`
--> src/exchange/coinbase/model/mod.rs:64:9
 |
64 | pub use super::shared;
 |         ^^^^^^^^^^^^^ no `shared` in `exchange::coinbase`

error[E0432]: unresolved import `crate::errors`
--> src/exchange/coinbase/transport.rs:10:12
 |
10 | use crate::errors::OpenLimitsError;
 |            ^^^^^^
 |            |
 |            unresolved import
 |            help: a similar path exists: `nash_protocol::errors`

error[E0432]: unresolved imports `super::shared`, `super::shared`
--> src/exchange/coinbase/mod.rs:54:9
 |
54 | pub use super::shared;
 |         ^^^^^^^^^^^^^
 |
::: src/exchange/coinbase/transport.rs:11:12
 |
11 | use super::shared::Result;
 |            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved imports `crate::errors`, `crate::exchange::traits::stream::ExchangeWs`, `crate::exchange::traits::stream::Subscriptions`
--> src/exchange/nash/nash_websocket.rs:7:12
|
7 | use crate::errors::OpenLimitsError;
|            ^^^^^^
|            |
|            unresolved import
|            help: a similar path exists: `nash_protocol::errors`
8 | use crate::exchange::traits::stream::{ExchangeWs, Subscriptions};
|                                       ^^^^^^^^^^  ^^^^^^^^^^^^^

error[E0432]: unresolved import `super::shared`
--> src/exchange/nash/nash_websocket.rs:12:12
 |
12 | use super::shared::Result;
 |            ^^^^^^ could not find `shared` in `super`

error[E0432]: unresolved imports `super::shared`, `super::shared`
--> src/exchange/nash/mod.rs:15:9
 |
15 | pub use super::shared;
 |         ^^^^^^^^^^^^^
 |
::: src/exchange/nash/utils.rs:3:12
 |
3  | use super::shared::Result;
 |            ^^^^^^ could not find `shared` in `super`

error[E0433]: failed to resolve: unresolved import
--> src/exchange/nash/mod.rs:24:5
 |
24 |     model::{
 |     ^^^^^
 |     |
 |     unresolved import
 |     help: a similar path exists: `openlimits_binance::model`

error[E0433]: failed to resolve: unresolved import
--> src/exchange/nash/mod.rs:31:5
 |
31 |     model::websocket::OpenLimitsWebSocketMessage,
 |     ^^^^^
 |     |
 |     unresolved import
 |     help: a similar path exists: `openlimits_binance::model`

error[E0432]: unresolved imports `crate::errors`, `crate::model`, `crate::model::websocket::WebSocketResponse`, `crate::model::websocket::OpenLimitsWebSocketMessage`, `crate::exchange::traits::info::ExchangeInfo`, `crate::exchange::traits::info::ExchangeInfoRetrieval`, `crate::exchange::traits::Exchange`, `crate::exchange::traits::ExchangeMarketData`, `crate::exchange::traits::ExchangeAccount`, `crate::exchange::traits::info::MarketPair`, `crate::exchange::traits::info::MarketPairHandle`, `super::shared::Result`
--> src/exchange/nash/mod.rs:23:5
 |
23 |     errors::OpenLimitsError,
 |     ^^^^^^ unresolved import
24 |     model::{
 |     ^^^^^ unresolved import
...
29 |         Ticker, Trade, TradeHistoryRequest, websocket::WebSocketResponse,
 |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30 |     },
31 |     model::websocket::OpenLimitsWebSocketMessage,
 |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32 | };
33 | use crate::exchange::traits::info::ExchangeInfo;
 |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
34 | use crate::exchange::traits::info::ExchangeInfoRetrieval;
 |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
35 | use crate::exchange::traits::Exchange;
 |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36 | use crate::exchange::traits::ExchangeMarketData;
 |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
37 | use crate::exchange::traits::ExchangeAccount;
 |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
38 | use crate::exchange::traits::info::MarketPair;
 |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
39 | use crate::exchange::traits::info::MarketPairHandle;
 |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
40 | use super::shared::Result;
 |     ^^^^^^^^^^^^^^^^^^^^^
 |
help: a similar path exists
 |
23 |     nash_protocol::errors::OpenLimitsError,
 |     ~~~~~~~~~~~~~~~~~~~~~
help: a similar path exists
 |
24 |     openlimits_binance::model::{
 |     ~~~~~~~~~~~~~~~~~~~~~~~~~

error[E0432]: unresolved imports `crate::model`, `crate::exchange::traits::stream::ExchangeWs`, `crate::exchange::traits::info::ExchangeInfo`, `crate::exchange::traits::info::ExchangeInfoRetrieval`, `crate::exchange::traits::info::MarketPair`, `crate::exchange::traits::info::MarketPairHandle`, `crate::exchange::traits::Exchange`, `crate::exchange::traits::ExchangeAccount`, `crate::exchange::traits::ExchangeMarketData`, `crate::exchange::shared::Result`, `crate::exchange::errors`, `crate::exchange::model`
--> src/lib.rs:45:5
 |
45 | use crate::exchange::shared::Result;
 |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
46 | pub use crate::exchange::errors;
 |         ^^^^^^^^^^^^^^^^^^^^^^^
47 | pub use crate::exchange::model;
 |         ^^^^^^^^^^^^^^^^^^^^^^
 |
::: src/prelude/mod.rs:2:16
 |
2  | pub use crate::model::{OrderBookRequest, OrderBookResponse};
 |                ^^^^^
 |                |
 |                unresolved import
 |                help: a similar path exists: `openlimits_binance::model`
3  |
4  | pub use crate::exchange::traits::stream::ExchangeWs;
 |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5  | pub use crate::exchange::traits::info::{ExchangeInfo, ExchangeInfoRetrieval, MarketPair, MarketPairHandle};
 |                                         ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^^^
6  | pub use crate::exchange::traits::{Exchange, ExchangeAccount, ExchangeMarketData};
 |                                   ^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^

error[E0433]: failed to resolve: use of undeclared type `Subscription`
--> src/exchange/coinbase/model/websocket/coinbase_subscription.rs:18:13
 |
18 |             Subscription::OrderBookUpdates(symbol) => CoinbaseSubscription::Level2(symbol),
 |             ^^^^^^^^^^^^ use of undeclared type `Subscription`

error[E0433]: failed to resolve: use of undeclared type `OrderType`
 --> src/exchange/nash/mod.rs:427:55
  |
427 |             nash_protocol::types::OrderType::Limit => OrderType::Limit,
  |                                                       ^^^^^^^^^ use of undeclared type `OrderType`

error[E0433]: failed to resolve: use of undeclared type `OrderType`
 --> src/exchange/nash/mod.rs:428:56
  |
428 |             nash_protocol::types::OrderType::Market => OrderType::Market,
  |                                                        ^^^^^^^^^ use of undeclared type `OrderType`

error[E0433]: failed to resolve: use of undeclared type `OrderType`
 --> src/exchange/nash/mod.rs:429:59
  |
429 |             nash_protocol::types::OrderType::StopLimit => OrderType::StopLimit,
  |                                                           ^^^^^^^^^ use of undeclared type `OrderType`

error[E0433]: failed to resolve: use of undeclared type `OrderType`
 --> src/exchange/nash/mod.rs:430:60
  |
430 |             nash_protocol::types::OrderType::StopMarket => OrderType::StopMarket,
  |                                                            ^^^^^^^^^ use of undeclared type `OrderType`

error[E0433]: failed to resolve: use of undeclared type `Side`
 --> src/exchange/nash/mod.rs:507:53
  |
507 |             nash_protocol::types::BuyOrSell::Buy => Side::Buy,
  |                                                     ^^^^ use of undeclared type `Side`

error[E0433]: failed to resolve: use of undeclared type `Side`
 --> src/exchange/nash/mod.rs:508:54
  |
508 |             nash_protocol::types::BuyOrSell::Sell => Side::Sell,
  |                                                      ^^^^ use of undeclared type `Side`

error[E0433]: failed to resolve: use of undeclared type `Liquidity`
 --> src/exchange/nash/mod.rs:516:62
  |
516 |             nash_protocol::types::AccountTradeSide::Taker => Liquidity::Taker,
  |                                                              ^^^^^^^^^ use of undeclared type `Liquidity`

error[E0433]: failed to resolve: use of undeclared type `Liquidity`
 --> src/exchange/nash/mod.rs:517:18
  |
517 |             _ => Liquidity::Maker,
  |                  ^^^^^^^^^ use of undeclared type `Liquidity`

error[E0433]: failed to resolve: use of undeclared type `Interval`
 --> src/exchange/nash/mod.rs:564:13
  |
564 |             Interval::OneMinute => Ok(nash_protocol::types::CandleInterval::OneMinute),
  |             ^^^^^^^^ use of undeclared type `Interval`

error[E0433]: failed to resolve: use of undeclared type `Interval`
 --> src/exchange/nash/mod.rs:565:13
  |
565 |             Interval::FiveMinutes => Ok(nash_protocol::types::CandleInterval::FiveMinute),
  |             ^^^^^^^^ use of undeclared type `Interval`

error[E0433]: failed to resolve: use of undeclared type `Interval`
 --> src/exchange/nash/mod.rs:566:13
  |
566 |             Interval::FifteenMinutes => Ok(nash_protocol::types::CandleInterval::FifteenMinute),
  |             ^^^^^^^^ use of undeclared type `Interval`

error[E0433]: failed to resolve: use of undeclared type `Interval`
 --> src/exchange/nash/mod.rs:567:13
  |
567 |             Interval::ThirtyMinutes => Ok(nash_protocol::types::CandleInterval::ThirtyMinute),
  |             ^^^^^^^^ use of undeclared type `Interval`

error[E0433]: failed to resolve: use of undeclared type `Interval`
 --> src/exchange/nash/mod.rs:568:13
  |
568 |             Interval::OneHour => Ok(nash_protocol::types::CandleInterval::OneHour),
  |             ^^^^^^^^ use of undeclared type `Interval`

error[E0433]: failed to resolve: use of undeclared type `Interval`
 --> src/exchange/nash/mod.rs:569:13
  |
569 |             Interval::SixHours => Ok(nash_protocol::types::CandleInterval::SixHour),
  |             ^^^^^^^^ use of undeclared type `Interval`

error[E0433]: failed to resolve: use of undeclared type `Interval`
 --> src/exchange/nash/mod.rs:570:13
  |
570 |             Interval::TwelveHours => Ok(nash_protocol::types::CandleInterval::TwelveHour),
  |             ^^^^^^^^ use of undeclared type `Interval`

error[E0433]: failed to resolve: use of undeclared type `Interval`
 --> src/exchange/nash/mod.rs:571:13
  |
571 |             Interval::OneDay => Ok(nash_protocol::types::CandleInterval::OneDay),
  |             ^^^^^^^^ use of undeclared type `Interval`

error[E0433]: failed to resolve: use of undeclared type `OrderStatus`
 --> src/exchange/nash/mod.rs:663:58
  |
663 |             nash_protocol::types::OrderStatus::Filled => OrderStatus::Filled,
  |                                                          ^^^^^^^^^^^ use of undeclared type `OrderStatus`

error[E0433]: failed to resolve: use of undeclared type `OrderStatus`
 --> src/exchange/nash/mod.rs:664:56
  |
664 |             nash_protocol::types::OrderStatus::Open => OrderStatus::Open,
  |                                                        ^^^^^^^^^^^ use of undeclared type `OrderStatus`

error[E0433]: failed to resolve: use of undeclared type `OrderStatus`
 --> src/exchange/nash/mod.rs:665:60
  |
665 |             nash_protocol::types::OrderStatus::Canceled => OrderStatus::Canceled,
  |                                                            ^^^^^^^^^^^ use of undeclared type `OrderStatus`

error[E0433]: failed to resolve: use of undeclared type `OrderStatus`
 --> src/exchange/nash/mod.rs:666:59
  |
666 |             nash_protocol::types::OrderStatus::Pending => OrderStatus::Pending,
  |                                                           ^^^^^^^^^^^ use of undeclared type `OrderStatus`

error[E0433]: failed to resolve: use of undeclared type `OrderStatus`
 --> src/exchange/nash/mod.rs:675:13
  |
675 |             OrderStatus::Filled => nash_protocol::types::OrderStatus::Filled,
  |             ^^^^^^^^^^^ use of undeclared type `OrderStatus`

error[E0433]: failed to resolve: use of undeclared type `OrderStatus`
 --> src/exchange/nash/mod.rs:676:13
  |
676 |             OrderStatus::Open => nash_protocol::types::OrderStatus::Open,
  |             ^^^^^^^^^^^ use of undeclared type `OrderStatus`

error[E0433]: failed to resolve: use of undeclared type `OrderStatus`
 --> src/exchange/nash/mod.rs:677:13
  |
677 |             OrderStatus::Canceled => nash_protocol::types::OrderStatus::Canceled,
  |             ^^^^^^^^^^^ use of undeclared type `OrderStatus`

error[E0433]: failed to resolve: use of undeclared type `OrderStatus`
 --> src/exchange/nash/mod.rs:678:13
  |
678 |             OrderStatus::Pending => nash_protocol::types::OrderStatus::Pending,
  |             ^^^^^^^^^^^ use of undeclared type `OrderStatus`

error[E0433]: failed to resolve: use of undeclared type `Side`
 --> src/exchange/nash/mod.rs:739:13
  |
739 |             Side::Buy => BuyOrSell::Buy,
  |             ^^^^ use of undeclared type `Side`

error[E0433]: failed to resolve: use of undeclared type `BuyOrSell`
 --> src/exchange/nash/mod.rs:739:26
  |
739 |             Side::Buy => BuyOrSell::Buy,
  |                          ^^^^^^^^^ use of undeclared type `BuyOrSell`

error[E0433]: failed to resolve: use of undeclared type `Side`
 --> src/exchange/nash/mod.rs:740:13
  |
740 |             Side::Sell => BuyOrSell::Sell,
  |             ^^^^ use of undeclared type `Side`

error[E0433]: failed to resolve: use of undeclared type `BuyOrSell`
 --> src/exchange/nash/mod.rs:740:27
  |
740 |             Side::Sell => BuyOrSell::Sell,
  |                           ^^^^^^^^^ use of undeclared type `BuyOrSell`

error[E0433]: failed to resolve: use of undeclared type `OrderType`
 --> src/exchange/nash/mod.rs:749:13
  |
749 |             OrderType::Limit => Ok(Self::Limit),
  |             ^^^^^^^^^ use of undeclared type `OrderType`

error[E0433]: failed to resolve: use of undeclared type `OrderType`
 --> src/exchange/nash/mod.rs:750:13
  |
750 |             OrderType::Market => Ok(Self::Market),
  |             ^^^^^^^^^ use of undeclared type `OrderType`

error[E0433]: failed to resolve: use of undeclared type `OrderType`
 --> src/exchange/nash/mod.rs:751:13
  |
751 |             OrderType::StopLimit => Ok(Self::StopLimit),
  |             ^^^^^^^^^ use of undeclared type `OrderType`

error[E0433]: failed to resolve: use of undeclared type `OrderType`
 --> src/exchange/nash/mod.rs:752:13
  |
752 |             OrderType::StopMarket => Ok(Self::StopMarket),
  |             ^^^^^^^^^ use of undeclared type `OrderType`

error[E0433]: failed to resolve: use of undeclared type `OrderType`
 --> src/exchange/nash/mod.rs:753:13
  |
753 |             OrderType::Unknown => Err(OpenLimitsError::InvalidParameter(
  |             ^^^^^^^^^ use of undeclared type `OrderType`

error[E0433]: failed to resolve: use of undeclared type `Subscription`
 --> src/exchange/nash/mod.rs:792:13
  |
792 |             Subscription::OrderBookUpdates(market) => Self::Orderbook(
  |             ^^^^^^^^^^^^ use of undeclared type `Subscription`

error[E0433]: failed to resolve: use of undeclared type `Subscription`
 --> src/exchange/nash/mod.rs:797:13
  |
797 |             Subscription::Trades(market) => Self::Trades(
  |             ^^^^^^^^^^^^ use of undeclared type `Subscription`

error[E0433]: failed to resolve: use of undeclared type `Subscription`
 --> src/exchange/nash/mod.rs:800:13
  |
800 |             Subscription::AccountOrders(account_orders) => Self::AccountOrders(
  |             ^^^^^^^^^^^^ use of undeclared type `Subscription`

error[E0433]: failed to resolve: use of undeclared type `Subscription`
 --> src/exchange/nash/mod.rs:803:13
  |
803 |             Subscription::AccountTrades(market_name) => Self::AccountTrades(
  |             ^^^^^^^^^^^^ use of undeclared type `Subscription`

error[E0433]: failed to resolve: use of undeclared type `Subscription`
 --> src/exchange/nash/mod.rs:808:13
  |
808 |             Subscription::AccountBalance(symbol) => Self::AccountBalances(
  |             ^^^^^^^^^^^^ use of undeclared type `Subscription`

error[E0412]: cannot find type `MarketPair` in this scope
--> src/exchange/coinbase/client/account.rs:29:42
 |
29 |     pub async fn market_buy(&self, pair: MarketPair, size: Decimal) -> Result<Order> {
 |                                          ^^^^^^^^^^ not found in this scope
 |
help: consider importing one of these items
 |
1  | use openlimits_exchange::market::MarketPair;
 |
1  | use openlimits_exchange::traits::info::MarketPair;
 |

error[E0412]: cannot find type `MarketPair` in this scope
--> src/exchange/coinbase/client/account.rs:50:43
 |
50 |     pub async fn market_sell(&self, pair: MarketPair, size: Decimal) -> Result<Order> {
 |                                           ^^^^^^^^^^ not found in this scope
 |
help: consider importing one of these items
 |
1  | use openlimits_exchange::market::MarketPair;
 |
1  | use openlimits_exchange::traits::info::MarketPair;
 |

error[E0412]: cannot find type `MarketPair` in this scope
--> src/exchange/coinbase/client/account.rs:73:15
 |
73 |         pair: MarketPair,
 |               ^^^^^^^^^^ not found in this scope
 |
help: consider importing one of these items
 |
1  | use openlimits_exchange::market::MarketPair;
 |
1  | use openlimits_exchange::traits::info::MarketPair;
 |

error[E0412]: cannot find type `MarketPair` in this scope
 --> src/exchange/coinbase/client/account.rs:105:15
  |
105 |         pair: MarketPair,
  |               ^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
1   | use openlimits_exchange::market::MarketPair;
  |
1   | use openlimits_exchange::traits::info::MarketPair;
  |

error[E0405]: cannot find trait `ExchangeWs` in this scope
 --> src/exchange/coinbase/client/websocket.rs:120:6
  |
120 | impl ExchangeWs for CoinbaseWebsocket {
  |      ^^^^^^^^^^ not found in this scope
  |
help: consider importing this trait
  |
1   | use openlimits_exchange::traits::stream::ExchangeWs;
  |

error[E0412]: cannot find type `Subscriptions` in this scope
 --> src/exchange/coinbase/client/websocket.rs:140:23
  |
140 |         subscription: Subscriptions<Self::Subscription>,
  |                       ^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing this struct
  |
1   | use openlimits_exchange::traits::stream::Subscriptions;
  |

error[E0412]: cannot find type `Subscription` in this scope
--> src/exchange/coinbase/model/websocket/coinbase_subscription.rs:15:11
 |
15 | impl From<Subscription> for CoinbaseSubscription {
 |           ^^^^^^^^^^^^ not found in this scope
 |
help: consider importing one of these items
 |
1  | use openlimits_binance::client::websocket::Subscription;
 |
1  | use openlimits_exchange::message::subscription::Subscription;
 |
1  | use openlimits_exchange::model::websocket::Subscription;
 |

error[E0412]: cannot find type `Subscription` in this scope
--> src/exchange/coinbase/model/websocket/coinbase_subscription.rs:16:27
 |
16 |     fn from(subscription: Subscription) -> Self {
 |                           ^^^^^^^^^^^^ not found in this scope
 |
help: consider importing one of these items
 |
1  | use openlimits_binance::client::websocket::Subscription;
 |
1  | use openlimits_exchange::message::subscription::Subscription;
 |
1  | use openlimits_exchange::model::websocket::Subscription;
 |

error[E0412]: cannot find type `WebSocketResponse` in this scope
--> src/exchange/coinbase/model/websocket/mod.rs:56:44
 |
56 | impl TryFrom<CoinbaseWebsocketMessage> for WebSocketResponse<CoinbaseWebsocketMessage> {
 |                                            ^^^^^^^^^^^^^^^^^ not found in this scope
 |
help: consider importing one of these items
 |
1  | use openlimits_binance::client::websocket::WebSocketResponse;
 |
1  | use openlimits_exchange::model::websocket::WebSocketResponse;
 |

error[E0433]: failed to resolve: use of undeclared type `WebSocketResponse`
--> src/exchange/coinbase/model/websocket/mod.rs:62:20
 |
62 |                 Ok(WebSocketResponse::Generic(level2.try_into()?))
 |                    ^^^^^^^^^^^^^^^^^ not found in this scope
 |
help: consider importing one of these items
 |
1  | use openlimits_binance::client::websocket::WebSocketResponse;
 |
1  | use openlimits_exchange::model::websocket::WebSocketResponse;
 |

error[E0433]: failed to resolve: use of undeclared type `WebSocketResponse`
--> src/exchange/coinbase/model/websocket/mod.rs:64:21
 |
64 |             _ => Ok(WebSocketResponse::Raw(value)),
 |                     ^^^^^^^^^^^^^^^^^ not found in this scope
 |
help: consider importing one of these items
 |
1  | use openlimits_binance::client::websocket::WebSocketResponse;
 |
1  | use openlimits_exchange::model::websocket::WebSocketResponse;
 |

error[E0412]: cannot find type `OpenLimitsWebSocketMessage` in this scope
--> src/exchange/coinbase/model/websocket/mod.rs:69:26
 |
69 | impl TryFrom<Level2> for OpenLimitsWebSocketMessage {
 |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
 |
help: consider importing one of these items
 |
1  | use openlimits_binance::client::websocket::OpenLimitsWebSocketMessage;
 |
1  | use openlimits_exchange::model::websocket::OpenLimitsWebSocketMessage;
 |

error[E0433]: failed to resolve: use of undeclared type `OpenLimitsWebSocketMessage`
--> src/exchange/coinbase/model/websocket/mod.rs:86:17
 |
86 |                 OpenLimitsWebSocketMessage::OrderBook(order_book_response)
 |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
 |
help: consider importing one of these items
 |
1  | use openlimits_binance::client::websocket::OpenLimitsWebSocketMessage;
 |
1  | use openlimits_exchange::model::websocket::OpenLimitsWebSocketMessage;
 |

error[E0433]: failed to resolve: use of undeclared type `OpenLimitsWebSocketMessage`
 --> src/exchange/coinbase/model/websocket/mod.rs:105:17
  |
105 |                 OpenLimitsWebSocketMessage::OrderBookDiff(order_book_response)
  |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
1   | use openlimits_binance::client::websocket::OpenLimitsWebSocketMessage;
  |
1   | use openlimits_exchange::model::websocket::OpenLimitsWebSocketMessage;
  |

error[E0412]: cannot find type `ExchangeInfo` in this scope
--> src/exchange/coinbase/mod.rs:58:24
 |
58 |     pub exchange_info: ExchangeInfo,
 |                        ^^^^^^^^^^^^ not found in this scope
 |
help: consider importing this struct
 |
23 | use openlimits_exchange::traits::info::ExchangeInfo;
 |

error[E0405]: cannot find trait `Exchange` in this scope
--> src/exchange/coinbase/mod.rs:63:6
 |
63 | impl Exchange for Coinbase {
 |      ^^^^^^^^ not found in this scope
 |
help: consider importing this trait
 |
23 | use openlimits_exchange::traits::Exchange;
 |

error[E0433]: failed to resolve: use of undeclared type `ExchangeInfo`
--> src/exchange/coinbase/mod.rs:70:32
 |
70 |                 exchange_info: ExchangeInfo::new(),
 |                                ^^^^^^^^^^^^ not found in this scope
 |
help: consider importing this struct
 |
23 | use openlimits_exchange::traits::info::ExchangeInfo;
 |

error[E0433]: failed to resolve: use of undeclared type `ExchangeInfo`
--> src/exchange/coinbase/mod.rs:81:32
 |
81 |                 exchange_info: ExchangeInfo::new(),
 |                                ^^^^^^^^^^^^ not found in this scope
 |
help: consider importing this struct
 |
23 | use openlimits_exchange::traits::info::ExchangeInfo;
 |

error[E0405]: cannot find trait `ExchangeInfoRetrieval` in this scope
--> src/exchange/coinbase/mod.rs:98:6
 |
98 | impl ExchangeInfoRetrieval for Coinbase {
 |      ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
 |
help: consider importing this trait
 |
23 | use openlimits_exchange::traits::info::ExchangeInfoRetrieval;
 |

error[E0412]: cannot find type `MarketPair` in this scope
--> src/exchange/coinbase/mod.rs:99:50
 |
99 |     async fn retrieve_pairs(&self) -> Result<Vec<MarketPair>> {
 |                                                  ^^^^^^^^^^ not found in this scope
 |
help: consider importing one of these items
 |
23 | use openlimits_exchange::market::MarketPair;
 |
23 | use openlimits_exchange::traits::info::MarketPair;
 |

error[E0422]: cannot find struct, variant or union type `MarketPair` in this scope
 --> src/exchange/coinbase/mod.rs:102:32
  |
102 |                 .map(|product| MarketPair {
  |                                ^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
23  | use openlimits_exchange::market::MarketPair;
  |
23  | use openlimits_exchange::traits::info::MarketPair;
  |

error[E0412]: cannot find type `MarketPairHandle` in this scope
 --> src/exchange/coinbase/mod.rs:115:55
  |
115 |     async fn refresh_market_info(&self) -> Result<Vec<MarketPairHandle>> {
  |                                                       ^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing this struct
  |
23  | use openlimits_exchange::traits::info::MarketPairHandle;
  |

error[E0405]: cannot find trait `ExchangeInfoRetrieval` in this scope
 --> src/exchange/coinbase/mod.rs:117:35
  |
117 |             .refresh(self as &dyn ExchangeInfoRetrieval)
  |                                   ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing this trait
  |
23  | use openlimits_exchange::traits::info::ExchangeInfoRetrieval;
  |

error[E0412]: cannot find type `MarketPairHandle` in this scope
 --> src/exchange/coinbase/mod.rs:121:52
  |
121 |     async fn get_pair(&self, name: &str) -> Result<MarketPairHandle> {
  |                                                    ^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing this struct
  |
23  | use openlimits_exchange::traits::info::MarketPairHandle;
  |

error[E0405]: cannot find trait `ExchangeMarketData` in this scope
 --> src/exchange/coinbase/mod.rs:127:6
  |
127 | impl ExchangeMarketData for Coinbase {
  |      ^^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing this trait
  |
23  | use openlimits_exchange::traits::ExchangeMarketData;
  |

error[E0405]: cannot find trait `ExchangeAccount` in this scope
 --> src/exchange/coinbase/mod.rs:200:6
  |
200 | impl ExchangeAccount for Coinbase {
  |      ^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing this trait
  |
23  | use openlimits_exchange::traits::ExchangeAccount;
  |

error[E0425]: cannot find value `timestamp_to_naive_datetime` in this scope
 --> src/exchange/coinbase/mod.rs:418:45
  |
418 |             start: paginator.start_time.map(timestamp_to_naive_datetime),
  |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
23  | use openlimits_binance::shared::timestamp_to_naive_datetime;
  |
23  | use openlimits_exchange::shared::timestamp_to_naive_datetime;
  |

error[E0425]: cannot find value `timestamp_to_naive_datetime` in this scope
 --> src/exchange/coinbase/mod.rs:419:41
  |
419 |             end: paginator.end_time.map(timestamp_to_naive_datetime),
  |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
23  | use openlimits_binance::shared::timestamp_to_naive_datetime;
  |
23  | use openlimits_exchange::shared::timestamp_to_naive_datetime;
  |

error[E0425]: cannot find value `timestamp_to_naive_datetime` in this scope
 --> src/exchange/coinbase/mod.rs:427:45
  |
427 |             start: paginator.start_time.map(timestamp_to_naive_datetime),
  |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
23  | use openlimits_binance::shared::timestamp_to_naive_datetime;
  |
23  | use openlimits_exchange::shared::timestamp_to_naive_datetime;
  |

error[E0425]: cannot find value `timestamp_to_naive_datetime` in this scope
 --> src/exchange/coinbase/mod.rs:428:41
  |
428 |             end: paginator.end_time.map(timestamp_to_naive_datetime),
  |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
23  | use openlimits_binance::shared::timestamp_to_naive_datetime;
  |
23  | use openlimits_exchange::shared::timestamp_to_naive_datetime;
  |

error[E0405]: cannot find trait `ExchangeWs` in this scope
--> src/exchange/nash/nash_websocket.rs:31:6
 |
31 | impl ExchangeWs for NashWebsocket {
 |      ^^^^^^^^^^ not found in this scope
 |
help: consider importing this trait
 |
1  | use openlimits_exchange::traits::stream::ExchangeWs;
 |

error[E0412]: cannot find type `Subscriptions` in this scope
--> src/exchange/nash/nash_websocket.rs:49:24
 |
49 |         subscriptions: Subscriptions<Self::Subscription>,
 |                        ^^^^^^^^^^^^^ not found in this scope
 |
help: consider importing this struct
 |
1  | use openlimits_exchange::traits::stream::Subscriptions;
 |

error[E0412]: cannot find type `ExchangeInfo` in this scope
--> src/exchange/nash/mod.rs:45:24
 |
45 |     pub exchange_info: ExchangeInfo,
 |                        ^^^^^^^^^^^^ not found in this scope
 |
help: consider importing this struct
 |
10 | use openlimits_exchange::traits::info::ExchangeInfo;
 |

error[E0405]: cannot find trait `Exchange` in this scope
--> src/exchange/nash/mod.rs:49:6
 |
49 | impl Exchange for Nash {
 |      ^^^^^^^^ not found in this scope
 |
help: consider importing this trait
 |
10 | use openlimits_exchange::traits::Exchange;
 |

error[E0433]: failed to resolve: use of undeclared type `ExchangeInfo`
--> src/exchange/nash/mod.rs:55:28
 |
55 |             exchange_info: ExchangeInfo::new(),
 |                            ^^^^^^^^^^^^ not found in this scope
 |
help: consider importing this struct
 |
10 | use openlimits_exchange::traits::info::ExchangeInfo;
 |

error[E0405]: cannot find trait `ExchangeMarketData` in this scope
--> src/exchange/nash/mod.rs:66:6
 |
66 | impl ExchangeMarketData for Nash {
 |      ^^^^^^^^^^^^^^^^^^ not found in this scope
 |
help: consider importing this trait
 |
10 | use openlimits_exchange::traits::ExchangeMarketData;
 |

error[E0405]: cannot find trait `ExchangeAccount` in this scope
 --> src/exchange/nash/mod.rs:111:6
  |
111 | impl ExchangeAccount for Nash {
  |      ^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing this trait
  |
10  | use openlimits_exchange::traits::ExchangeAccount;
  |

error[E0405]: cannot find trait `ExchangeInfoRetrieval` in this scope
 --> src/exchange/nash/mod.rs:332:6
  |
332 | impl ExchangeInfoRetrieval for Nash {
  |      ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing this trait
  |
10  | use openlimits_exchange::traits::info::ExchangeInfoRetrieval;
  |

error[E0412]: cannot find type `MarketPair` in this scope
 --> src/exchange/nash/mod.rs:333:50
  |
333 |     async fn retrieve_pairs(&self) -> Result<Vec<MarketPair>> {
  |                                                  ^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_exchange::market::MarketPair;
  |
10  | use openlimits_exchange::traits::info::MarketPair;
  |

error[E0422]: cannot find struct, variant or union type `MarketPair` in this scope
 --> src/exchange/nash/mod.rs:339:32
  |
339 |             .map(|(symbol, v)| MarketPair {
  |                                ^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_exchange::market::MarketPair;
  |
10  | use openlimits_exchange::traits::info::MarketPair;
  |

error[E0412]: cannot find type `MarketPairHandle` in this scope
 --> src/exchange/nash/mod.rs:357:55
  |
357 |     async fn refresh_market_info(&self) -> Result<Vec<MarketPairHandle>> {
  |                                                       ^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing this struct
  |
10  | use openlimits_exchange::traits::info::MarketPairHandle;
  |

error[E0405]: cannot find trait `ExchangeInfoRetrieval` in this scope
 --> src/exchange/nash/mod.rs:359:35
  |
359 |             .refresh(self as &dyn ExchangeInfoRetrieval)
  |                                   ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing this trait
  |
10  | use openlimits_exchange::traits::info::ExchangeInfoRetrieval;
  |

error[E0412]: cannot find type `MarketPairHandle` in this scope
 --> src/exchange/nash/mod.rs:363:52
  |
363 |     async fn get_pair(&self, name: &str) -> Result<MarketPairHandle> {
  |                                                    ^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing this struct
  |
10  | use openlimits_exchange::traits::info::MarketPairHandle;
  |

error[E0412]: cannot find type `AskBid` in this scope
 --> src/exchange/nash/mod.rs:386:53
  |
386 | impl From<nash_protocol::types::OrderbookOrder> for AskBid {
  |                                                     ^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_binance::model::AskBid;
  |
10  | use openlimits_exchange::model::AskBid;
  |

error[E0412]: cannot find type `OrderType` in this scope
 --> src/exchange/nash/mod.rs:424:48
  |
424 | impl From<nash_protocol::types::OrderType> for OrderType {
  |                                                ^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use crate::exchange::coinbase::model::OrderType;
  |
10  | use nash_protocol::graphql::get_account_order::OrderType;
  |
10  | use nash_protocol::graphql::list_account_orders::OrderType;
  |
10  | use nash_protocol::graphql::place_limit_order::OrderType;
  |
    and 5 other candidates

error[E0425]: cannot find function `try_split_paginator` in this scope
 --> src/exchange/nash/mod.rs:458:38
  |
458 |         let (before, limit, range) = try_split_paginator(req.paginator.clone())?;
  |                                      ^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0412]: cannot find type `Side` in this scope
 --> src/exchange/nash/mod.rs:504:48
  |
504 | impl From<nash_protocol::types::BuyOrSell> for Side {
  |                                                ^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_binance::model::Side;
  |
10  | use openlimits_exchange::model::Side;
  |

error[E0412]: cannot find type `Liquidity` in this scope
 --> src/exchange/nash/mod.rs:513:55
  |
513 | impl From<nash_protocol::types::AccountTradeSide> for Liquidity {
  |                                                       ^^^^^^^^^ not found in this scope
  |
help: consider importing this enum
  |
10  | use openlimits_exchange::model::Liquidity;
  |

error[E0425]: cannot find function `try_split_paginator` in this scope
 --> src/exchange/nash/mod.rs:527:38
  |
527 |         let (before, limit, range) = try_split_paginator(req.paginator.clone())?;
  |                                      ^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find function `try_split_paginator` in this scope
 --> src/exchange/nash/mod.rs:550:34
  |
550 |         let (before, limit, _) = try_split_paginator(req.paginator.clone())?;
  |                                  ^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0412]: cannot find type `Interval` in this scope
 --> src/exchange/nash/mod.rs:560:14
  |
560 | impl TryFrom<Interval> for nash_protocol::types::CandleInterval {
  |              ^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_binance::model::Interval;
  |
10  | use openlimits_exchange::model::Interval;
  |
10  | use tokio::time::Interval;
  |

error[E0412]: cannot find type `Interval` in this scope
 --> src/exchange/nash/mod.rs:562:27
  |
562 |     fn try_from(interval: Interval) -> super::shared::Result<Self> {
  |                           ^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_binance::model::Interval;
  |
10  | use openlimits_exchange::model::Interval;
  |
10  | use tokio::time::Interval;
  |

error[E0422]: cannot find struct, variant or union type `MissingImplementationContent` in this scope
 --> src/exchange/nash/mod.rs:573:27
  |
573 |                 let err = MissingImplementationContent {
  |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing this struct
  |
10  | use openlimits_exchange::MissingImplementationContent;
  |

error[E0425]: cannot find function `try_split_paginator` in this scope
 --> src/exchange/nash/mod.rs:611:38
  |
611 |         let (before, limit, range) = try_split_paginator(req.paginator.clone())?;
  |                                      ^^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0412]: cannot find type `OrderStatus` in this scope
 --> src/exchange/nash/mod.rs:660:50
  |
660 | impl From<nash_protocol::types::OrderStatus> for OrderStatus {
  |                                                  ^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use crate::exchange::coinbase::model::OrderStatus;
  |
10  | use nash_protocol::graphql::get_account_order::OrderStatus;
  |
10  | use nash_protocol::graphql::list_account_orders::OrderStatus;
  |
10  | use nash_protocol::graphql::place_limit_order::OrderStatus;
  |
    and 5 other candidates

error[E0412]: cannot find type `OrderStatus` in this scope
 --> src/exchange/nash/mod.rs:671:14
  |
671 | impl TryFrom<OrderStatus> for nash_protocol::types::OrderStatus {
  |              ^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use crate::exchange::coinbase::model::OrderStatus;
  |
10  | use nash_protocol::graphql::get_account_order::OrderStatus;
  |
10  | use nash_protocol::graphql::list_account_orders::OrderStatus;
  |
10  | use nash_protocol::graphql::place_limit_order::OrderStatus;
  |
    and 5 other candidates

error[E0412]: cannot find type `OrderStatus` in this scope
 --> src/exchange/nash/mod.rs:673:25
  |
673 |     fn try_from(status: OrderStatus) -> super::shared::Result<Self> {
  |                         ^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use crate::exchange::coinbase::model::OrderStatus;
  |
10  | use nash_protocol::graphql::get_account_order::OrderStatus;
  |
10  | use nash_protocol::graphql::list_account_orders::OrderStatus;
  |
10  | use nash_protocol::graphql::place_limit_order::OrderStatus;
  |
    and 5 other candidates

error[E0412]: cannot find type `Side` in this scope
 --> src/exchange/nash/mod.rs:736:11
  |
736 | impl From<Side> for BuyOrSell {
  |           ^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_binance::model::Side;
  |
10  | use openlimits_exchange::model::Side;
  |

error[E0412]: cannot find type `BuyOrSell` in this scope
 --> src/exchange/nash/mod.rs:736:21
  |
736 | impl From<Side> for BuyOrSell {
  |                     ^^^^^^^^^ not found in this scope
  |
help: consider importing this enum
  |
10  | use nash_protocol::types::BuyOrSell;
  |

error[E0412]: cannot find type `Side` in this scope
 --> src/exchange/nash/mod.rs:737:19
  |
737 |     fn from(side: Side) -> Self {
  |                   ^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_binance::model::Side;
  |
10  | use openlimits_exchange::model::Side;
  |

error[E0412]: cannot find type `OrderType` in this scope
 --> src/exchange/nash/mod.rs:745:14
  |
745 | impl TryFrom<OrderType> for nash_protocol::types::OrderType {
  |              ^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use crate::exchange::coinbase::model::OrderType;
  |
10  | use nash_protocol::graphql::get_account_order::OrderType;
  |
10  | use nash_protocol::graphql::list_account_orders::OrderType;
  |
10  | use nash_protocol::graphql::place_limit_order::OrderType;
  |
    and 5 other candidates

error[E0412]: cannot find type `OrderType` in this scope
 --> src/exchange/nash/mod.rs:747:29
  |
747 |     fn try_from(order_type: OrderType) -> Result<Self> {
  |                             ^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use crate::exchange::coinbase::model::OrderType;
  |
10  | use nash_protocol::graphql::get_account_order::OrderType;
  |
10  | use nash_protocol::graphql::list_account_orders::OrderType;
  |
10  | use nash_protocol::graphql::place_limit_order::OrderType;
  |
    and 5 other candidates

error[E0412]: cannot find type `AccountOrders` in this scope
 --> src/exchange/nash/mod.rs:760:11
  |
760 | impl From<AccountOrders> for SubscribeAccountOrders {
  |           ^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing this struct
  |
10  | use openlimits_exchange::model::websocket::AccountOrders;
  |

error[E0412]: cannot find type `SubscribeAccountOrders` in this scope
 --> src/exchange/nash/mod.rs:760:30
  |
760 | impl From<AccountOrders> for SubscribeAccountOrders {
  |                              ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing this struct
  |
10  | use nash_protocol::protocol::subscriptions::updated_account_orders::SubscribeAccountOrders;
  |

error[E0412]: cannot find type `AccountOrders` in this scope
 --> src/exchange/nash/mod.rs:761:29
  |
761 |     fn from(account_orders: AccountOrders) -> Self {
  |                             ^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing this struct
  |
10  | use openlimits_exchange::model::websocket::AccountOrders;
  |

error[E0422]: cannot find struct, variant or union type `DateTimeRange` in this scope
 --> src/exchange/nash/mod.rs:772:53
  |
772 |             range: account_orders.range.map(|range| DateTimeRange {
  |                                                     ^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing this struct
  |
10  | use nash_protocol::types::DateTimeRange;
  |

error[E0425]: cannot find function `timestamp_to_utc_datetime` in this scope
 --> src/exchange/nash/mod.rs:773:24
  |
773 |                 start: timestamp_to_utc_datetime(range.start),
  |                        ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_binance::shared::timestamp_to_utc_datetime;
  |
10  | use openlimits_exchange::shared::timestamp_to_utc_datetime;
  |

error[E0425]: cannot find function `timestamp_to_utc_datetime` in this scope
 --> src/exchange/nash/mod.rs:774:23
  |
774 |                 stop: timestamp_to_utc_datetime(range.end),
  |                       ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_binance::shared::timestamp_to_utc_datetime;
  |
10  | use openlimits_exchange::shared::timestamp_to_utc_datetime;
  |

error[E0412]: cannot find type `Subscription` in this scope
 --> src/exchange/nash/mod.rs:789:11
  |
789 | impl From<Subscription> for nash_protocol::protocol::subscriptions::SubscriptionRequest {
  |           ^^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_binance::client::websocket::Subscription;
  |
10  | use openlimits_exchange::message::subscription::Subscription;
  |
10  | use openlimits_exchange::model::websocket::Subscription;
  |

error[E0412]: cannot find type `Subscription` in this scope
 --> src/exchange/nash/mod.rs:790:18
  |
790 |     fn from(sub: Subscription) -> Self {
  |                  ^^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_binance::client::websocket::Subscription;
  |
10  | use openlimits_exchange::message::subscription::Subscription;
  |
10  | use openlimits_exchange::model::websocket::Subscription;
  |

error[E0412]: cannot find type `WebSocketResponse` in this scope
 --> src/exchange/nash/mod.rs:818:47
  |
818 | impl TryFrom<SubscriptionResponseWrapper> for WebSocketResponse<SubscriptionResponseWrapper> {
  |                                               ^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_binance::client::websocket::WebSocketResponse;
  |
10  | use openlimits_exchange::model::websocket::WebSocketResponse;
  |

error[E0433]: failed to resolve: use of undeclared type `WebSocketResponse`
 --> src/exchange/nash/mod.rs:823:57
  |
823 |             SubscriptionResponse::Orderbook(resp) => Ok(WebSocketResponse::Generic(
  |                                                         ^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_binance::client::websocket::WebSocketResponse;
  |
10  | use openlimits_exchange::model::websocket::WebSocketResponse;
  |

error[E0433]: failed to resolve: use of undeclared type `OpenLimitsWebSocketMessage`
 --> src/exchange/nash/mod.rs:824:17
  |
824 |                 OpenLimitsWebSocketMessage::OrderBook(OrderBookResponse {
  |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_binance::client::websocket::OpenLimitsWebSocketMessage;
  |
10  | use openlimits_exchange::model::websocket::OpenLimitsWebSocketMessage;
  |

error[E0433]: failed to resolve: use of undeclared type `WebSocketResponse`
 --> src/exchange/nash/mod.rs:833:20
  |
833 |                 Ok(WebSocketResponse::Generic(
  |                    ^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_binance::client::websocket::WebSocketResponse;
  |
10  | use openlimits_exchange::model::websocket::WebSocketResponse;
  |

error[E0433]: failed to resolve: use of undeclared type `OpenLimitsWebSocketMessage`
 --> src/exchange/nash/mod.rs:834:21
  |
834 |                     OpenLimitsWebSocketMessage::Trades(trades),
  |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_binance::client::websocket::OpenLimitsWebSocketMessage;
  |
10  | use openlimits_exchange::model::websocket::OpenLimitsWebSocketMessage;
  |

error[E0433]: failed to resolve: use of undeclared type `WebSocketResponse`
 --> src/exchange/nash/mod.rs:837:54
  |
837 |             SubscriptionResponse::Ticker(resp) => Ok(WebSocketResponse::Raw(
  |                                                      ^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_binance::client::websocket::WebSocketResponse;
  |
10  | use openlimits_exchange::model::websocket::WebSocketResponse;
  |

error[E0433]: failed to resolve: use of undeclared type `WebSocketResponse`
 --> src/exchange/nash/mod.rs:840:61
  |
840 |             SubscriptionResponse::AccountTrades(resp) => Ok(WebSocketResponse::Raw(
  |                                                             ^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_binance::client::websocket::WebSocketResponse;
  |
10  | use openlimits_exchange::model::websocket::WebSocketResponse;
  |

error[E0433]: failed to resolve: use of undeclared type `WebSocketResponse`
 --> src/exchange/nash/mod.rs:843:61
  |
843 |             SubscriptionResponse::AccountOrders(resp) => Ok(WebSocketResponse::Raw(
  |                                                             ^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_binance::client::websocket::WebSocketResponse;
  |
10  | use openlimits_exchange::model::websocket::WebSocketResponse;
  |

error[E0433]: failed to resolve: use of undeclared type `WebSocketResponse`
 --> src/exchange/nash/mod.rs:846:63
  |
846 |             SubscriptionResponse::AccountBalances(resp) => Ok(WebSocketResponse::Raw(
  |                                                               ^^^^^^^^^^^^^^^^^ not found in this scope
  |
help: consider importing one of these items
  |
10  | use openlimits_binance::client::websocket::WebSocketResponse;
  |
10  | use openlimits_exchange::model::websocket::WebSocketResponse;
  |

error[E0405]: cannot find trait `Exchange` in this scope
--> src/lib.rs:53:33
 |
53 |     pub async fn instantiate<E: Exchange>(parameters: E::InitParams) -> Result<E> {
 |                                 ^^^^^^^^ not found in this scope
 |
help: consider importing this trait
 |
44 | use openlimits_exchange::traits::Exchange;
 |

warning: unused import: `crate::prelude::*`
--> src/exchange/coinbase/mod.rs:40:5
 |
40 | use crate::prelude::*;
 |     ^^^^^^^^^^^^^^^^^
 |
 = note: `#[warn(unused_imports)]` on by default

warning: unused import: `crate::prelude::*`
--> src/lib.rs:44:5
 |
44 | use crate::prelude::*;
 |     ^^^^^^^^^^^^^^^^^

Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433.
For more information about an error, try `rustc --explain E0405`.
warning: `openlimits` (lib) generated 2 warnings
error: could not compile `openlimits` due to 176 previous errors; 2 warnings emitted
@notdanilo
Copy link
Contributor

@jhnsmth I will check it asap. The git repo is a bit unstable atm because there is a major rework going on. I suggest you to use the latest version published at crates.io

@notdanilo notdanilo linked a pull request Nov 11, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants