[INFO] cloning repository https://github.com/zipkr13/monorepo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zipkr13/monorepo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzipkr13%2Fmonorepo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzipkr13%2Fmonorepo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d2656f19d2d26abb0c2e9bf6d7ee856350ecb16 [INFO] checking zipkr13/monorepo against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzipkr13%2Fmonorepo" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zipkr13/monorepo on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zipkr13/monorepo [INFO] finished tweaking git repo https://github.com/zipkr13/monorepo [INFO] tweaked toml for git repo https://github.com/zipkr13/monorepo written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/zipkr13/monorepo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded special v0.8.1 [INFO] [stderr] Downloaded nrfind v1.0.3 [INFO] [stderr] Downloaded special v0.7.8 [INFO] [stderr] Downloaded black_scholes v0.5.0 [INFO] [stderr] Downloaded textplots v0.5.4 [INFO] [stderr] Downloaded elasticsearch v7.11.0-alpha.1 [INFO] [stderr] Downloaded nalgebra v0.22.1 [INFO] [stderr] Downloaded changepoint v0.11.0 [INFO] [stderr] Downloaded drawille v0.2.3 [INFO] [stderr] Downloaded simba v0.2.4 [INFO] [stderr] Downloaded rv v0.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 982603737a1c62d46a3da9d0eb7ab7fc6fcc3ddea93041cbb6fa8ca110713cfc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "982603737a1c62d46a3da9d0eb7ab7fc6fcc3ddea93041cbb6fa8ca110713cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "982603737a1c62d46a3da9d0eb7ab7fc6fcc3ddea93041cbb6fa8ca110713cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "982603737a1c62d46a3da9d0eb7ab7fc6fcc3ddea93041cbb6fa8ca110713cfc", kill_on_drop: false }` [INFO] [stdout] 982603737a1c62d46a3da9d0eb7ab7fc6fcc3ddea93041cbb6fa8ca110713cfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bce9e8de26898c040bd468576e018fcf09dd18175cb40120ff35cd7838257af [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8bce9e8de26898c040bd468576e018fcf09dd18175cb40120ff35cd7838257af", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling ndarray v0.14.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking drawille v0.2.3 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking histogram v0.6.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.7 [INFO] [stderr] Compiling rocket v0.4.7 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking textplots v0.5.4 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking tracing v0.1.24 [INFO] [stderr] Checking lru v0.6.5 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking special v0.8.1 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking special v0.7.8 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking mio v0.7.8 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Compiling elasticsearch v7.11.0-alpha.1 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.2 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking universal-hash v0.3.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking aead v0.2.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking polyval v0.3.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking ghash v0.2.3 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking aes v0.3.2 [INFO] [stderr] Checking hkdf v0.8.0 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking ta v0.4.0 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking aes-gcm v0.5.0 [INFO] [stderr] Checking simba v0.2.4 [INFO] [stderr] Compiling parse-zoneinfo v0.1.1 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking nrfind v1.0.3 [INFO] [stderr] Checking black_scholes v0.5.0 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Compiling chrono-tz v0.4.1 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling darling_core v0.12.2 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling darling_macro v0.12.2 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.7 [INFO] [stderr] Compiling darling v0.12.2 [INFO] [stderr] Compiling serde_with_macros v1.4.1 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking nalgebra v0.22.1 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking tokio-util v0.6.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking async-compression v0.3.7 [INFO] [stderr] Checking backoff v0.3.0 [INFO] [stderr] Checking h2 v0.3.0 [INFO] [stderr] Checking serde v1.0.123 [INFO] [stderr] Checking hyper v0.14.4 [INFO] [stderr] Checking serde_json v1.0.62 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking serde_with v1.6.4 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.1 [INFO] [stderr] Checking rocket_contrib v0.4.7 [INFO] [stderr] Checking rv v0.11.1 [INFO] [stderr] Checking changepoint v0.11.0 [INFO] [stderr] Checking monorepo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `last_limit_price` [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:38:55 [INFO] [stdout] | [INFO] [stdout] 38 | let last_option_quote = quotes.get(&order.opt) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 39 | last_limit_price = last_option_quote.bid.unwrap_or(0.0); [INFO] [stdout] | ---------------- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `last_limit_price` [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:38:55 [INFO] [stdout] | [INFO] [stdout] 38 | let last_option_quote = quotes.get(&order.opt) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 39 | last_limit_price = last_option_quote.bid.unwrap_or(0.0); [INFO] [stdout] | ---------------- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `last_option_quote` in this scope [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | let last_bid = last_option_quote.bid.unwrap_or(0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `last_option_quote` in this scope [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | let last_bid = last_option_quote.bid.unwrap_or(0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/mkt_wv_detector/models/store.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Quote` [INFO] [stdout] --> src/mkt_wv_detector/models/store.rs:3:64 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::option_scorer::models::transport::{OptionSpotPrice, Quote}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/mkt_wv_detector/models/data_layer.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tradier::{self, models::entities::{Quote, OptionSpotPrice}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlacedOrder` [INFO] [stdout] --> src/mkt_wv_detector/models/mktmking.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tradier::models::entities::{PlacedOrder, Quote}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, time::Duration}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono_tz::US::Eastern` [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono_tz::US::Eastern; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BollingerBands`, `ChandelierExit`, `ExponentialMovingAverage`, `RateOfChange` [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use ta::indicators::{BollingerBands, ChandelierExit, ExponentialMovingAverage, RateOfChange}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ta::Next` [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ta::Next; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BocpdLike`, `BocpdTruncated`, `utils::*` [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | use changepoint::{utils::*, BocpdTruncated, BocpdLike}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rv::prelude::*` [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use rv::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Chart`, `Plot`, `Shape` [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use textplots::{Chart, Plot, Shape}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::option_scorer::models::transport as option_scorer` [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::option_scorer::models::transport as option_scorer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tradier::models::entities` [INFO] [stdout] --> src/option_scorer/models.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tradier::models::entities; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/mkt_wv_detector/models/store.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Quote` [INFO] [stdout] --> src/mkt_wv_detector/models/store.rs:3:64 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::option_scorer::models::transport::{OptionSpotPrice, Quote}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/mkt_wv_detector/models/data_layer.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tradier::{self, models::entities::{Quote, OptionSpotPrice}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlacedOrder` [INFO] [stdout] --> src/mkt_wv_detector/models/mktmking.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tradier::models::entities::{PlacedOrder, Quote}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, time::Duration}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono_tz::US::Eastern` [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono_tz::US::Eastern; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BollingerBands`, `ChandelierExit`, `ExponentialMovingAverage`, `RateOfChange` [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use ta::indicators::{BollingerBands, ChandelierExit, ExponentialMovingAverage, RateOfChange}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ta::Next` [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ta::Next; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BocpdLike`, `BocpdTruncated`, `utils::*` [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | use changepoint::{utils::*, BocpdTruncated, BocpdLike}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rv::prelude::*` [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use rv::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Chart`, `Plot`, `Shape` [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use textplots::{Chart, Plot, Shape}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::option_scorer::models::transport as option_scorer` [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::option_scorer::models::transport as option_scorer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tradier::models::entities` [INFO] [stdout] --> src/option_scorer/models.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tradier::models::entities; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 4 arguments were supplied [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:226:41 [INFO] [stdout] | [INFO] [stdout] 226 | ... new_price = calculator::calculate_mkt_mkers_ask( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 6 arguments [INFO] [stdout] 227 | ... &order, [INFO] [stdout] | ------ [INFO] [stdout] 228 | ... self.cfg.mktmking.initial_open_spread_increment, [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] 229 | ... self.cfg.mktmking.update_spread_increment, [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] 230 | ... &cache.quotes, [INFO] [stdout] | ------------- supplied 4 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn calculate_mkt_mkers_ask( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | order: &tradier::models::entities::PlacedOrder, [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] 6 | sym: &str, [INFO] [stdout] | --------- [INFO] [stdout] 7 | underlying_sym: &str, [INFO] [stdout] | -------------------- [INFO] [stdout] 8 | standard_initial_open_spread_increment: f64, [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] 9 | update_spread_increment: f64, [INFO] [stdout] | ---------------------------- [INFO] [stdout] 10 | quotes: &HashMap>, [INFO] [stdout] | -------------------------------------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 4 arguments were supplied [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:226:41 [INFO] [stdout] | [INFO] [stdout] 226 | ... new_price = calculator::calculate_mkt_mkers_ask( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 6 arguments [INFO] [stdout] 227 | ... &order, [INFO] [stdout] | ------ [INFO] [stdout] 228 | ... self.cfg.mktmking.initial_open_spread_increment, [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] 229 | ... self.cfg.mktmking.update_spread_increment, [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] 230 | ... &cache.quotes, [INFO] [stdout] | ------------- supplied 4 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn calculate_mkt_mkers_ask( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | order: &tradier::models::entities::PlacedOrder, [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] 6 | sym: &str, [INFO] [stdout] | --------- [INFO] [stdout] 7 | underlying_sym: &str, [INFO] [stdout] | -------------------- [INFO] [stdout] 8 | standard_initial_open_spread_increment: f64, [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] 9 | update_spread_increment: f64, [INFO] [stdout] | ---------------------------- [INFO] [stdout] 10 | quotes: &HashMap>, [INFO] [stdout] | -------------------------------------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:226:41 [INFO] [stdout] | [INFO] [stdout] 226 | ... new_price = calculator::calculate_mkt_mkers_ask( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 227 | | ... &order, [INFO] [stdout] 228 | | ... self.cfg.mktmking.initial_open_spread_increment, [INFO] [stdout] 229 | | ... self.cfg.mktmking.update_spread_increment, [INFO] [stdout] 230 | | ... &cache.quotes, [INFO] [stdout] 231 | | ... ); [INFO] [stdout] | |_______________________^ expected `f64`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:233:41 [INFO] [stdout] | [INFO] [stdout] 233 | ... new_price = calculator::calculate_mkt_mkers_bid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 5 arguments [INFO] [stdout] 234 | ... Some(order), [INFO] [stdout] | ----------- [INFO] [stdout] 235 | ... self.cfg.mktmking.initial_open_spread_increment, [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] 236 | ... self.cfg.mktmking.update_spread_increment, [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] 237 | ... &cache.quotes, [INFO] [stdout] | ------------- supplied 4 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn calculate_mkt_mkers_bid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | order: Option<&tradier::models::entities::PlacedOrder>, [INFO] [stdout] | ------------------------------------------------------ [INFO] [stdout] 29 | sym: &str, [INFO] [stdout] | --------- [INFO] [stdout] 30 | standard_initial_open_spread_increment: f64, [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] 31 | update_spread_increment: f64, [INFO] [stdout] | ---------------------------- [INFO] [stdout] 32 | quotes: &HashMap>, [INFO] [stdout] | -------------------------------------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:226:41 [INFO] [stdout] | [INFO] [stdout] 226 | ... new_price = calculator::calculate_mkt_mkers_ask( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 227 | | ... &order, [INFO] [stdout] 228 | | ... self.cfg.mktmking.initial_open_spread_increment, [INFO] [stdout] 229 | | ... self.cfg.mktmking.update_spread_increment, [INFO] [stdout] 230 | | ... &cache.quotes, [INFO] [stdout] 231 | | ... ); [INFO] [stdout] | |_______________________^ expected `f64`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:233:41 [INFO] [stdout] | [INFO] [stdout] 233 | ... new_price = calculator::calculate_mkt_mkers_bid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 5 arguments [INFO] [stdout] 234 | ... Some(order), [INFO] [stdout] | ----------- [INFO] [stdout] 235 | ... self.cfg.mktmking.initial_open_spread_increment, [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] 236 | ... self.cfg.mktmking.update_spread_increment, [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] 237 | ... &cache.quotes, [INFO] [stdout] | ------------- supplied 4 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn calculate_mkt_mkers_bid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | order: Option<&tradier::models::entities::PlacedOrder>, [INFO] [stdout] | ------------------------------------------------------ [INFO] [stdout] 29 | sym: &str, [INFO] [stdout] | --------- [INFO] [stdout] 30 | standard_initial_open_spread_increment: f64, [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] 31 | update_spread_increment: f64, [INFO] [stdout] | ---------------------------- [INFO] [stdout] 32 | quotes: &HashMap>, [INFO] [stdout] | -------------------------------------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:233:41 [INFO] [stdout] | [INFO] [stdout] 233 | ... new_price = calculator::calculate_mkt_mkers_bid( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 234 | | ... Some(order), [INFO] [stdout] 235 | | ... self.cfg.mktmking.initial_open_spread_increment, [INFO] [stdout] 236 | | ... self.cfg.mktmking.update_spread_increment, [INFO] [stdout] 237 | | ... &cache.quotes, [INFO] [stdout] 238 | | ... ); [INFO] [stdout] | |_______________________^ expected `f64`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:288:45 [INFO] [stdout] | [INFO] [stdout] 288 | ... let price = calculator::calculate_mkt_mkers_bid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 5 arguments [INFO] [stdout] 289 | ... None, [INFO] [stdout] | ---- [INFO] [stdout] 290 | ... self.cfg.mktmking.initial_open_spread_increment, [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] 291 | ... self.cfg.mktmking.update_spread_increment, [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] 292 | ... &cache.quotes, [INFO] [stdout] | ------------- supplied 4 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn calculate_mkt_mkers_bid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | order: Option<&tradier::models::entities::PlacedOrder>, [INFO] [stdout] | ------------------------------------------------------ [INFO] [stdout] 29 | sym: &str, [INFO] [stdout] | --------- [INFO] [stdout] 30 | standard_initial_open_spread_increment: f64, [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] 31 | update_spread_increment: f64, [INFO] [stdout] | ---------------------------- [INFO] [stdout] 32 | quotes: &HashMap>, [INFO] [stdout] | -------------------------------------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:233:41 [INFO] [stdout] | [INFO] [stdout] 233 | ... new_price = calculator::calculate_mkt_mkers_bid( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 234 | | ... Some(order), [INFO] [stdout] 235 | | ... self.cfg.mktmking.initial_open_spread_increment, [INFO] [stdout] 236 | | ... self.cfg.mktmking.update_spread_increment, [INFO] [stdout] 237 | | ... &cache.quotes, [INFO] [stdout] 238 | | ... ); [INFO] [stdout] | |_______________________^ expected `f64`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:288:45 [INFO] [stdout] | [INFO] [stdout] 288 | ... let price = calculator::calculate_mkt_mkers_bid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 5 arguments [INFO] [stdout] 289 | ... None, [INFO] [stdout] | ---- [INFO] [stdout] 290 | ... self.cfg.mktmking.initial_open_spread_increment, [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] 291 | ... self.cfg.mktmking.update_spread_increment, [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] 292 | ... &cache.quotes, [INFO] [stdout] | ------------- supplied 4 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn calculate_mkt_mkers_bid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | order: Option<&tradier::models::entities::PlacedOrder>, [INFO] [stdout] | ------------------------------------------------------ [INFO] [stdout] 29 | sym: &str, [INFO] [stdout] | --------- [INFO] [stdout] 30 | standard_initial_open_spread_increment: f64, [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] 31 | update_spread_increment: f64, [INFO] [stdout] | ---------------------------- [INFO] [stdout] 32 | quotes: &HashMap>, [INFO] [stdout] | -------------------------------------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:294:119 [INFO] [stdout] | [INFO] [stdout] 294 | ... match self.tradier_client.close_limit_option_order(&underlying_sym, &position.symbol, price).await { [INFO] [stdout] | ^^^^^ expected `f64`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:300:57 [INFO] [stdout] | [INFO] [stdout] 300 | ... price: Some(price), [INFO] [stdout] | ^^^^^ expected `f64`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:294:119 [INFO] [stdout] | [INFO] [stdout] 294 | ... match self.tradier_client.close_limit_option_order(&underlying_sym, &position.symbol, price).await { [INFO] [stdout] | ^^^^^ expected `f64`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:315:49 [INFO] [stdout] | [INFO] [stdout] 315 | ... price, [INFO] [stdout] | ^^^^^ expected `f64`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:342:37 [INFO] [stdout] | [INFO] [stdout] 342 | let price = calculator::calculate_mkt_mkers_bid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 5 arguments [INFO] [stdout] 343 | None, [INFO] [stdout] | ---- [INFO] [stdout] 344 | self.cfg.mktmking.initial_open_spread_increment, [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] 345 | self.cfg.mktmking.update_spread_increment, [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] 346 | &cache.quotes, [INFO] [stdout] | ------------- supplied 4 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn calculate_mkt_mkers_bid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | order: Option<&tradier::models::entities::PlacedOrder>, [INFO] [stdout] | ------------------------------------------------------ [INFO] [stdout] 29 | sym: &str, [INFO] [stdout] | --------- [INFO] [stdout] 30 | standard_initial_open_spread_increment: f64, [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] 31 | update_spread_increment: f64, [INFO] [stdout] | ---------------------------- [INFO] [stdout] 32 | quotes: &HashMap>, [INFO] [stdout] | -------------------------------------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:300:57 [INFO] [stdout] | [INFO] [stdout] 300 | ... price: Some(price), [INFO] [stdout] | ^^^^^ expected `f64`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:351:29 [INFO] [stdout] | [INFO] [stdout] 351 | ... price, [INFO] [stdout] | ^^^^^ expected `f64`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:315:49 [INFO] [stdout] | [INFO] [stdout] 315 | ... price, [INFO] [stdout] | ^^^^^ expected `f64`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:342:37 [INFO] [stdout] | [INFO] [stdout] 342 | let price = calculator::calculate_mkt_mkers_bid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 5 arguments [INFO] [stdout] 343 | None, [INFO] [stdout] | ---- [INFO] [stdout] 344 | self.cfg.mktmking.initial_open_spread_increment, [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] 345 | self.cfg.mktmking.update_spread_increment, [INFO] [stdout] | ----------------------------------------- [INFO] [stdout] 346 | &cache.quotes, [INFO] [stdout] | ------------- supplied 4 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn calculate_mkt_mkers_bid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | order: Option<&tradier::models::entities::PlacedOrder>, [INFO] [stdout] | ------------------------------------------------------ [INFO] [stdout] 29 | sym: &str, [INFO] [stdout] | --------- [INFO] [stdout] 30 | standard_initial_open_spread_increment: f64, [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] 31 | update_spread_increment: f64, [INFO] [stdout] | ---------------------------- [INFO] [stdout] 32 | quotes: &HashMap>, [INFO] [stdout] | -------------------------------------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:367:41 [INFO] [stdout] | [INFO] [stdout] 367 | ... price, [INFO] [stdout] | ^^^^^ expected `f64`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:351:29 [INFO] [stdout] | [INFO] [stdout] 351 | ... price, [INFO] [stdout] | ^^^^^ expected `f64`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | match last_option_quote { [INFO] [stdout] | ----------------- this expression has type `&VecDeque` [INFO] [stdout] 15 | Some(oq) => { [INFO] [stdout] | ^^^^^^^^ expected struct `VecDeque`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `VecDeque` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 14 | match last_option_quote { [INFO] [stdout] | ----------------- this expression has type `&VecDeque` [INFO] [stdout] ... [INFO] [stdout] 23 | None => None [INFO] [stdout] | ^^^^ expected struct `VecDeque`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `VecDeque` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `opt` on type `std::option::Option<&PlacedOrder>` [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | let last_option_quote = quotes.get(&order.opt) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `bid` on type `std::option::Option<&VecDeque>` [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:39:46 [INFO] [stdout] | [INFO] [stdout] 39 | last_limit_price = last_option_quote.bid.unwrap_or(0.0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 45 | / match is_last_bid_lte_last_order { [INFO] [stdout] 46 | | true => last_bid - standard_initial_open_spread_increment, [INFO] [stdout] | | ------------------------------------------------- this is found to be of type `std::option::Option` [INFO] [stdout] 47 | | false => last_limit_price + update_spread_increment [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected enum `std::option::Option`, found `f64` [INFO] [stdout] | | help: try using a variant of the expected enum: `config_loader::_::_serde::__private::Some(last_limit_price + update_spread_increment)` [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found type `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:367:41 [INFO] [stdout] | [INFO] [stdout] 367 | ... price, [INFO] [stdout] | ^^^^^ expected `f64`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude` [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `monorepo` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | match last_option_quote { [INFO] [stdout] | ----------------- this expression has type `&VecDeque` [INFO] [stdout] 15 | Some(oq) => { [INFO] [stdout] | ^^^^^^^^ expected struct `VecDeque`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `VecDeque` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 14 | match last_option_quote { [INFO] [stdout] | ----------------- this expression has type `&VecDeque` [INFO] [stdout] ... [INFO] [stdout] 23 | None => None [INFO] [stdout] | ^^^^ expected struct `VecDeque`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `VecDeque` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `opt` on type `std::option::Option<&PlacedOrder>` [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | let last_option_quote = quotes.get(&order.opt) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `bid` on type `std::option::Option<&VecDeque>` [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:39:46 [INFO] [stdout] | [INFO] [stdout] 39 | last_limit_price = last_option_quote.bid.unwrap_or(0.0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/mkt_wv_detector/mktmking/calculator.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 45 | / match is_last_bid_lte_last_order { [INFO] [stdout] 46 | | true => last_bid - standard_initial_open_spread_increment, [INFO] [stdout] | | ------------------------------------------------- this is found to be of type `std::option::Option` [INFO] [stdout] 47 | | false => last_limit_price + update_spread_increment [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected enum `std::option::Option`, found `f64` [INFO] [stdout] | | help: try using a variant of the expected enum: `config_loader::_::_serde::__private::Some(last_limit_price + update_spread_increment)` [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found type `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude` [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/mkt_wv_detector/engine/core_engine.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8bce9e8de26898c040bd468576e018fcf09dd18175cb40120ff35cd7838257af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bce9e8de26898c040bd468576e018fcf09dd18175cb40120ff35cd7838257af", kill_on_drop: false }` [INFO] [stdout] 8bce9e8de26898c040bd468576e018fcf09dd18175cb40120ff35cd7838257af