[INFO] cloning repository https://github.com/GalaxyDev-24/Rust-HFT-Server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GalaxyDev-24/Rust-HFT-Server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGalaxyDev-24%2FRust-HFT-Server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGalaxyDev-24%2FRust-HFT-Server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0e9b28758d5e70cfe07adcac187e170b36213ee9
[INFO] checking GalaxyDev-24/Rust-HFT-Server against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGalaxyDev-24%2FRust-HFT-Server" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/GalaxyDev-24/Rust-HFT-Server
[INFO] finished tweaking git repo https://github.com/GalaxyDev-24/Rust-HFT-Server
[INFO] tweaked toml for git repo https://github.com/GalaxyDev-24/Rust-HFT-Server written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/GalaxyDev-24/Rust-HFT-Server on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/GalaxyDev-24/Rust-HFT-Server 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aeec9724c40776c1273308e0055ac53147580103cb3679e41effe3ef11007201
[INFO] running `Command { std: "docker" "start" "-a" "aeec9724c40776c1273308e0055ac53147580103cb3679e41effe3ef11007201", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aeec9724c40776c1273308e0055ac53147580103cb3679e41effe3ef11007201", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aeec9724c40776c1273308e0055ac53147580103cb3679e41effe3ef11007201", kill_on_drop: false }`
[INFO] [stdout] aeec9724c40776c1273308e0055ac53147580103cb3679e41effe3ef11007201
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 14988de48df9ffe8ced9367967ea104587fb95a485e9cc2c44a1aa6fe82ebc0f
[INFO] running `Command { std: "docker" "start" "-a" "14988de48df9ffe8ced9367967ea104587fb95a485e9cc2c44a1aa6fe82ebc0f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]     Checking bytes v1.6.1
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking tinyvec v1.8.0
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking rustc-hex v2.1.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling serde_json v1.0.120
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling thiserror v1.0.62
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking regex-syntax v0.8.4
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]    Compiling syn v2.0.71
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling jobserver v0.1.31
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking rlp v0.5.2
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling cc v1.1.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]     Checking impl-rlp v0.3.0
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]    Compiling zstd-safe v7.2.0
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]     Checking uint v0.9.5
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking miniz_oxide v0.7.4
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]    Compiling bytestring v1.3.1
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking brotli-decompressor v4.0.1
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]     Checking opaque-debug v0.3.1
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling pq-sys v0.4.8
[INFO] [stderr]     Checking keccak v0.1.5
[INFO] [stderr]     Checking sha-1 v0.9.8
[INFO] [stderr]     Checking fixed-hash v0.8.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking flate2 v1.0.30
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.7
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking r2d2 v0.8.10
[INFO] [stderr]     Checking headers v0.3.9
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]    Compiling zstd-sys v2.0.12+zstd.1.5.6
[INFO] [stderr]    Compiling secp256k1-sys v0.8.1
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking pem v1.1.1
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking brotli v6.0.0
[INFO] [stderr]     Checking sha1_smol v1.0.0
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]     Checking futures-timer v3.0.3
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking bcrypt v0.12.1
[INFO] [stderr]     Checking uuid v1.10.0
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking cookie v0.16.2
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]     Checking regex v1.10.5
[INFO] [stderr]     Checking env_logger v0.9.3
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.62
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling async-trait v0.1.81
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking secp256k1 v0.27.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking tokio v1.38.1
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking simple_asn1 v0.6.2
[INFO] [stderr]     Checking zstd v0.13.2
[INFO] [stderr]     Checking diesel v1.4.8
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking soketto v0.7.1
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking tokio-stream v0.1.15
[INFO] [stderr]     Checking web3-async-native-tls v0.4.0
[INFO] [stderr]     Checking actix-server v2.4.0
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking impl-serde v0.4.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking ethbloom v0.13.0
[INFO] [stderr]     Checking primitive-types v0.12.2
[INFO] [stderr]     Checking jsonrpc-core v18.0.0
[INFO] [stderr]     Checking jsonwebtoken v8.3.0
[INFO] [stderr]     Checking ethereum-types v0.14.1
[INFO] [stderr]     Checking ethabi v18.0.0
[INFO] [stderr]     Checking redis v0.25.4
[INFO] [stderr]     Checking hyper v0.14.30
[INFO] [stderr]     Checking actix-http v3.8.0
[INFO] [stderr]     Checking actix-web v4.8.0
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking web3 v0.19.0
[INFO] [stderr]     Checking hft_trading_server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `state`
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | mod state;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `state`, create file "src/state.rs" or "src/state/mod.rs"
[INFO] [stdout]   = note: if there is a `mod state` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `state`
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | mod state;
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `state`, create file "src/state.rs" or "src/state/mod.rs"
[INFO] [stdout]   = note: if there is a `mod state` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `web3::types::Value`
[INFO] [stdout]   --> src/handlers.rs:16:31
[INFO] [stdout]    |
[INFO] [stdout] 16 | use web3::types::{H160, U256, Value};
[INFO] [stdout]    |                               ^^^^^ no `Value` in `types`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing one of these enums instead:
[INFO] [stdout]            redis::Value
[INFO] [stdout]            serde_json::Value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `web3::types::Value`
[INFO] [stdout]   --> src/handlers.rs:16:31
[INFO] [stdout]    |
[INFO] [stdout] 16 | use web3::types::{H160, U256, Value};
[INFO] [stdout]    |                               ^^^^^ no `Value` in `types`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing one of these enums instead:
[INFO] [stdout]            redis::Value
[INFO] [stdout]            serde_json::Value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]   --> src/handlers.rs:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 |             assets: HashMap::new(),
[INFO] [stdout]    |                     ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web`
[INFO] [stdout]   --> src/events.rs:45:33
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub async fn handle_event(data: web::Data<AsyncMutex<AppState>>, event: OrderMatchedEvent) {
[INFO] [stdout]    |                                 ^^^ use of unresolved module or unlinked crate `web`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub async fn handle_event(data: web3::Data<AsyncMutex<AppState>>, event: OrderMatchedEvent) {
[INFO] [stdout]    |                                    +
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::web;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use actix_web::web;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web`
[INFO] [stdout]    --> src/events.rs:150:38
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub async fn listen_for_events(data: web::Data<AsyncMutex<AppState>>) {
[INFO] [stdout]     |                                      ^^^ use of unresolved module or unlinked crate `web`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub async fn listen_for_events(data: web3::Data<AsyncMutex<AppState>>) {
[INFO] [stdout]     |                                         +
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout] 1   + use crate::web;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use actix_web::web;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `H160` in this scope
[INFO] [stdout]    --> src/events.rs:154:27
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let contract_address: H160 = env::var("CONTRACT_ADDRESS").expect("CONTRACT_ADDRESS not set in .env file").parse().expect("Invalid con...
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use web3::types::H160;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env`
[INFO] [stdout]    --> src/events.rs:154:34
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let contract_address: H160 = env::var("CONTRACT_ADDRESS").expect("CONTRACT_ADDRESS not set in .env file").parse().expect("Invalid con...
[INFO] [stdout]     |                                  ^^^ use of unresolved module or unlinked crate `env`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `env`, use `cargo add env` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout] 1   + use crate::env;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::env;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `FilterBuilder` in `ethabi`
[INFO] [stdout]    --> src/events.rs:155:26
[INFO] [stdout]     |
[INFO] [stdout] 155 |     let filter = ethabi::FilterBuilder::default()
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ could not find `FilterBuilder` in `ethabi`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use web3::types::FilterBuilder;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `FilterBuilder`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 155 -     let filter = ethabi::FilterBuilder::default()
[INFO] [stdout] 155 +     let filter = FilterBuilder::default()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `H160` in this scope
[INFO] [stdout]   --> src/main.rs:23:27
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let contract_address: H160 = env::var("CONTRACT_ADDRESS").expect("CONTRACT_ADDRESS not set in .env file")
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 6  + use web3::types::H160;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `H160` in this scope
[INFO] [stdout]   --> src/main.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let account: H160 = env::var("ACCOUNT_ADDRESS").expect("ACCOUNT_ADDRESS not set in .env file")
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 6  + use web3::types::H160;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `place_sell_order` in this scope
[INFO] [stdout]    --> src/main.rs:57:44
[INFO] [stdout]     |
[INFO] [stdout] 57  |               .route("/sell", web::post().to(place_sell_order))
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `place_buy_order`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/handlers.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | / pub async fn place_buy_order(
[INFO] [stdout] 118 | |     req: HttpRequest,
[INFO] [stdout] 119 | |     data: web::Data<AsyncMutex<AppState>>,
[INFO] [stdout] 120 | |     order: web::Json<OrderRequest>
[INFO] [stdout] ...   |
[INFO] [stdout] 217 | | }
[INFO] [stdout]     | |_- similarly named function `place_buy_order` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `get_user_orders` in this scope
[INFO] [stdout]   --> src/main.rs:58:59
[INFO] [stdout]    |
[INFO] [stdout] 58 |             .route("/order/user/{user_id}", web::get().to(get_user_orders))
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `get_order_by_id` in this scope
[INFO] [stdout]   --> src/main.rs:59:58
[INFO] [stdout]    |
[INFO] [stdout] 59 |             .route("/order/id/{order_id}", web::get().to(get_order_by_id))
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `get_user_portfolio` in this scope
[INFO] [stdout]   --> src/main.rs:60:63
[INFO] [stdout]    |
[INFO] [stdout] 60 |             .route("/portfolio/user/{user_id}", web::get().to(get_user_portfolio))
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `get_portfolio_by_id` in this scope
[INFO] [stdout]   --> src/main.rs:61:66
[INFO] [stdout]    |
[INFO] [stdout] 61 |             .route("/portfolio/id/{portfolio_id}", web::get().to(get_portfolio_by_id))
[INFO] [stdout]    |                                                                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `get_user_transactions` in this scope
[INFO] [stdout]   --> src/main.rs:62:51
[INFO] [stdout]    |
[INFO] [stdout] 62 |             .route("/transactions", web::get().to(get_user_transactions))
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `get_all_users` in this scope
[INFO] [stdout]   --> src/main.rs:65:53
[INFO] [stdout]    |
[INFO] [stdout] 65 |             .route("utils/get/users", web::get().to(get_all_users))
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `get_order_book` in this scope
[INFO] [stdout]   --> src/main.rs:66:54
[INFO] [stdout]    |
[INFO] [stdout] 66 |             .route("utils/get/orders", web::get().to(get_order_book))
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `get_all_portfolios` in this scope
[INFO] [stdout]   --> src/main.rs:67:58
[INFO] [stdout]    |
[INFO] [stdout] 67 |             .route("utils/get/portfolios", web::get().to(get_all_portfolios))
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `initialize_user` in this scope
[INFO] [stdout]   --> src/main.rs:68:65
[INFO] [stdout]    |
[INFO] [stdout] 68 |             .route("utils/post/initialize_user", web::post().to(initialize_user))
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delete_all_data` in this scope
[INFO] [stdout]   --> src/main.rs:69:62
[INFO] [stdout]    |
[INFO] [stdout] 69 |             .route("utils/delete/all_data", web::delete().to(delete_all_data))
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delete_all_users` in this scope
[INFO] [stdout]   --> src/main.rs:70:59
[INFO] [stdout]    |
[INFO] [stdout] 70 |             .route("utils/delete/users", web::delete().to(delete_all_users))
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delete_all_orders` in this scope
[INFO] [stdout]   --> src/main.rs:71:60
[INFO] [stdout]    |
[INFO] [stdout] 71 |             .route("utils/delete/orders", web::delete().to(delete_all_orders))
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delete_all_portfolios` in this scope
[INFO] [stdout]   --> src/main.rs:72:64
[INFO] [stdout]    |
[INFO] [stdout] 72 |             .route("utils/delete/portfolios", web::delete().to(delete_all_portfolios))
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/models.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `H160`
[INFO] [stdout]  --> src/models.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | use web3::types::{Address, H160, U256};
[INFO] [stdout]   |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/handlers.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `H160`
[INFO] [stdout]   --> src/handlers.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 | use web3::types::{H160, U256, Value};
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Address` and `U256`
[INFO] [stdout]  --> src/events.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use web3::types::{Log, Address, U256};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `info`
[INFO] [stdout]  --> src/events.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{info, error};
[INFO] [stdout]   |           ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Order`, `Portfolio`, and `Transaction`
[INFO] [stdout]  --> src/events.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::models::{UserState, Order, Transaction, Portfolio, Asset};
[INFO] [stdout]   |                                ^^^^^  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/events.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]   --> src/handlers.rs:55:21
[INFO] [stdout]    |
[INFO] [stdout] 55 |             assets: HashMap::new(),
[INFO] [stdout]    |                     ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web`
[INFO] [stdout]   --> src/events.rs:45:33
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub async fn handle_event(data: web::Data<AsyncMutex<AppState>>, event: OrderMatchedEvent) {
[INFO] [stdout]    |                                 ^^^ use of unresolved module or unlinked crate `web`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub async fn handle_event(data: web3::Data<AsyncMutex<AppState>>, event: OrderMatchedEvent) {
[INFO] [stdout]    |                                    +
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::web;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use actix_web::web;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web`
[INFO] [stdout]    --> src/events.rs:150:38
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub async fn listen_for_events(data: web::Data<AsyncMutex<AppState>>) {
[INFO] [stdout]     |                                      ^^^ use of unresolved module or unlinked crate `web`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub async fn listen_for_events(data: web3::Data<AsyncMutex<AppState>>) {
[INFO] [stdout]     |                                         +
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout] 1   + use crate::web;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use actix_web::web;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `H160` in this scope
[INFO] [stdout]    --> src/events.rs:154:27
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let contract_address: H160 = env::var("CONTRACT_ADDRESS").expect("CONTRACT_ADDRESS not set in .env file").parse().expect("Invalid con...
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use web3::types::H160;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env`
[INFO] [stdout]    --> src/events.rs:154:34
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let contract_address: H160 = env::var("CONTRACT_ADDRESS").expect("CONTRACT_ADDRESS not set in .env file").parse().expect("Invalid con...
[INFO] [stdout]     |                                  ^^^ use of unresolved module or unlinked crate `env`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `env`, use `cargo add env` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout] 1   + use crate::env;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::env;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `FilterBuilder` in `ethabi`
[INFO] [stdout]    --> src/events.rs:155:26
[INFO] [stdout]     |
[INFO] [stdout] 155 |     let filter = ethabi::FilterBuilder::default()
[INFO] [stdout]     |                          ^^^^^^^^^^^^^ could not find `FilterBuilder` in `ethabi`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 1   + use web3::types::FilterBuilder;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `FilterBuilder`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 155 -     let filter = ethabi::FilterBuilder::default()
[INFO] [stdout] 155 +     let filter = FilterBuilder::default()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `H160` in this scope
[INFO] [stdout]   --> src/main.rs:23:27
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let contract_address: H160 = env::var("CONTRACT_ADDRESS").expect("CONTRACT_ADDRESS not set in .env file")
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 6  + use web3::types::H160;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `H160` in this scope
[INFO] [stdout]   --> src/main.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let account: H160 = env::var("ACCOUNT_ADDRESS").expect("ACCOUNT_ADDRESS not set in .env file")
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 6  + use web3::types::H160;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `place_sell_order` in this scope
[INFO] [stdout]    --> src/main.rs:57:44
[INFO] [stdout]     |
[INFO] [stdout] 57  |               .route("/sell", web::post().to(place_sell_order))
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `place_buy_order`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/handlers.rs:117:1
[INFO] [stdout]     |
[INFO] [stdout] 117 | / pub async fn place_buy_order(
[INFO] [stdout] 118 | |     req: HttpRequest,
[INFO] [stdout] 119 | |     data: web::Data<AsyncMutex<AppState>>,
[INFO] [stdout] 120 | |     order: web::Json<OrderRequest>
[INFO] [stdout] ...   |
[INFO] [stdout] 217 | | }
[INFO] [stdout]     | |_- similarly named function `place_buy_order` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `get_user_orders` in this scope
[INFO] [stdout]   --> src/main.rs:58:59
[INFO] [stdout]    |
[INFO] [stdout] 58 |             .route("/order/user/{user_id}", web::get().to(get_user_orders))
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `get_order_by_id` in this scope
[INFO] [stdout]   --> src/main.rs:59:58
[INFO] [stdout]    |
[INFO] [stdout] 59 |             .route("/order/id/{order_id}", web::get().to(get_order_by_id))
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `get_user_portfolio` in this scope
[INFO] [stdout]   --> src/main.rs:60:63
[INFO] [stdout]    |
[INFO] [stdout] 60 |             .route("/portfolio/user/{user_id}", web::get().to(get_user_portfolio))
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `get_portfolio_by_id` in this scope
[INFO] [stdout]   --> src/main.rs:61:66
[INFO] [stdout]    |
[INFO] [stdout] 61 |             .route("/portfolio/id/{portfolio_id}", web::get().to(get_portfolio_by_id))
[INFO] [stdout]    |                                                                  ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `get_user_transactions` in this scope
[INFO] [stdout]   --> src/main.rs:62:51
[INFO] [stdout]    |
[INFO] [stdout] 62 |             .route("/transactions", web::get().to(get_user_transactions))
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `get_all_users` in this scope
[INFO] [stdout]   --> src/main.rs:65:53
[INFO] [stdout]    |
[INFO] [stdout] 65 |             .route("utils/get/users", web::get().to(get_all_users))
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `get_order_book` in this scope
[INFO] [stdout]   --> src/main.rs:66:54
[INFO] [stdout]    |
[INFO] [stdout] 66 |             .route("utils/get/orders", web::get().to(get_order_book))
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `get_all_portfolios` in this scope
[INFO] [stdout]   --> src/main.rs:67:58
[INFO] [stdout]    |
[INFO] [stdout] 67 |             .route("utils/get/portfolios", web::get().to(get_all_portfolios))
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `initialize_user` in this scope
[INFO] [stdout]   --> src/main.rs:68:65
[INFO] [stdout]    |
[INFO] [stdout] 68 |             .route("utils/post/initialize_user", web::post().to(initialize_user))
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delete_all_data` in this scope
[INFO] [stdout]   --> src/main.rs:69:62
[INFO] [stdout]    |
[INFO] [stdout] 69 |             .route("utils/delete/all_data", web::delete().to(delete_all_data))
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delete_all_users` in this scope
[INFO] [stdout]   --> src/main.rs:70:59
[INFO] [stdout]    |
[INFO] [stdout] 70 |             .route("utils/delete/users", web::delete().to(delete_all_users))
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delete_all_orders` in this scope
[INFO] [stdout]   --> src/main.rs:71:60
[INFO] [stdout]    |
[INFO] [stdout] 71 |             .route("utils/delete/orders", web::delete().to(delete_all_orders))
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `delete_all_portfolios` in this scope
[INFO] [stdout]   --> src/main.rs:72:64
[INFO] [stdout]    |
[INFO] [stdout] 72 |             .route("utils/delete/portfolios", web::delete().to(delete_all_portfolios))
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/models.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `H160`
[INFO] [stdout]  --> src/models.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | use web3::types::{Address, H160, U256};
[INFO] [stdout]   |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/handlers.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `H160`
[INFO] [stdout]   --> src/handlers.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 | use web3::types::{H160, U256, Value};
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Address` and `U256`
[INFO] [stdout]  --> src/events.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use web3::types::{Log, Address, U256};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `error` and `info`
[INFO] [stdout]  --> src/events.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::{info, error};
[INFO] [stdout]   |           ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Order`, `Portfolio`, and `Transaction`
[INFO] [stdout]  --> src/events.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::models::{UserState, Order, Transaction, Portfolio, Asset};
[INFO] [stdout]   |                                ^^^^^  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> src/events.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/handlers.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 82 |     if let Some(user_state_json) = user_state_json {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::marker::Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `std::prelude::v1::Some`
[INFO] [stdout]   --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:599:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/handlers.rs:106:22
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub async fn signout(req: HttpRequest) -> impl Responder {
[INFO] [stdout]     |                      ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/handlers.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 82 |     if let Some(user_state_json) = user_state_json {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::marker::Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `std::prelude::v1::Some`
[INFO] [stdout]   --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/option.rs:599:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `req`
[INFO] [stdout]    --> src/handlers.rs:106:22
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub async fn signout(req: HttpRequest) -> impl Responder {
[INFO] [stdout]     |                      ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/events.rs:77:15
[INFO] [stdout]    |
[INFO] [stdout] 77 |     if let Ok(buyer_state_json) = con.get::<String, String>(event.buyer_user_id.clone()).await {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::marker::Sized` is not implemented for `str`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/events.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |     if let Ok(buyer_state_json) = con.get::<String, String>(event.buyer_user_id.clone()).await {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::marker::Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `Ok`
[INFO] [stdout]   --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/result.rs:552:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/events.rs:77:90
[INFO] [stdout]    |
[INFO] [stdout] 77 |     if let Ok(buyer_state_json) = con.get::<String, String>(event.buyer_user_id.clone()).await {
[INFO] [stdout]    |                                                                                          ^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::marker::Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Result`
[INFO] [stdout]   --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/result.rs:548:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/events.rs:113:15
[INFO] [stdout]     |
[INFO] [stdout] 113 |     if let Ok(seller_state_json) = con.get::<String, String>(event.seller_user_id.clone()).await {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::marker::Sized` is not implemented for `str`
[INFO] [stdout]     = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/events.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 113 |     if let Ok(seller_state_json) = con.get::<String, String>(event.seller_user_id.clone()).await {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::marker::Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `Ok`
[INFO] [stdout]    --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/result.rs:552:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/events.rs:113:92
[INFO] [stdout]     |
[INFO] [stdout] 113 |     if let Ok(seller_state_json) = con.get::<String, String>(event.seller_user_id.clone()).await {
[INFO] [stdout]     |                                                                                            ^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::marker::Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Result`
[INFO] [stdout]    --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/result.rs:548:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/events.rs:77:15
[INFO] [stdout]    |
[INFO] [stdout] 77 |     if let Ok(buyer_state_json) = con.get::<String, String>(event.buyer_user_id.clone()).await {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::marker::Sized` is not implemented for `str`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/events.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |     if let Ok(buyer_state_json) = con.get::<String, String>(event.buyer_user_id.clone()).await {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::marker::Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `Ok`
[INFO] [stdout]   --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/result.rs:552:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/events.rs:77:90
[INFO] [stdout]    |
[INFO] [stdout] 77 |     if let Ok(buyer_state_json) = con.get::<String, String>(event.buyer_user_id.clone()).await {
[INFO] [stdout]    |                                                                                          ^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::marker::Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Result`
[INFO] [stdout]   --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/result.rs:548:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/events.rs:113:15
[INFO] [stdout]     |
[INFO] [stdout] 113 |     if let Ok(seller_state_json) = con.get::<String, String>(event.seller_user_id.clone()).await {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::marker::Sized` is not implemented for `str`
[INFO] [stdout]     = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/events.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 113 |     if let Ok(seller_state_json) = con.get::<String, String>(event.seller_user_id.clone()).await {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::marker::Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `Ok`
[INFO] [stdout]    --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/result.rs:552:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/events.rs:113:92
[INFO] [stdout]     |
[INFO] [stdout] 113 |     if let Ok(seller_state_json) = con.get::<String, String>(event.seller_user_id.clone()).await {
[INFO] [stdout]     |                                                                                            ^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::marker::Sized` is not implemented for `str`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Result`
[INFO] [stdout]    --> /rustc/2b39fe756f52bc2825bf5b2bfc385cab922dae10/library/core/src/result.rs:548:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `next` found for struct `SubscriptionStream` in the current scope
[INFO] [stdout]    --> src/events.rs:161:40
[INFO] [stdout]     |
[INFO] [stdout] 161 |     while let Some(log) = event_stream.next().await {
[INFO] [stdout]     |                                        ^^^^ method not found in `SubscriptionStream<WebSocket, web3::types::Log>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following traits which provide `next` are implemented but not in scope; perhaps you want to import one of them
[INFO] [stdout]     |
[INFO] [stdout] 1   + use serde_json::de::Read;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::iter::Iterator;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::str::pattern::Searcher;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use tokio_stream::stream_ext::StreamExt;
[INFO] [stdout]     |
[INFO] [stdout]       and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `next` found for struct `SubscriptionStream` in the current scope
[INFO] [stdout]    --> src/events.rs:161:40
[INFO] [stdout]     |
[INFO] [stdout] 161 |     while let Some(log) = event_stream.next().await {
[INFO] [stdout]     |                                        ^^^^ method not found in `SubscriptionStream<WebSocket, web3::types::Log>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following traits which provide `next` are implemented but not in scope; perhaps you want to import one of them
[INFO] [stdout]     |
[INFO] [stdout] 1   + use serde_json::de::Read;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::iter::Iterator;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::str::pattern::Searcher;
[INFO] [stdout]     |
[INFO] [stdout] 1   + use tokio_stream::stream_ext::StreamExt;
[INFO] [stdout]     |
[INFO] [stdout]       and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433, E0583, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433, E0583, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hft_trading_server` (bin "hft_trading_server" test) due to 32 previous errors; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `hft_trading_server` (bin "hft_trading_server") due to 32 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "14988de48df9ffe8ced9367967ea104587fb95a485e9cc2c44a1aa6fe82ebc0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14988de48df9ffe8ced9367967ea104587fb95a485e9cc2c44a1aa6fe82ebc0f", kill_on_drop: false }`
[INFO] [stdout] 14988de48df9ffe8ced9367967ea104587fb95a485e9cc2c44a1aa6fe82ebc0f
