[INFO] cloning repository https://github.com/Fabian5859/StateEngine_v2.1.0 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fabian5859/StateEngine_v2.1.0" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFabian5859%2FStateEngine_v2.1.0", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFabian5859%2FStateEngine_v2.1.0'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a019ee76d34d64fdfb162b9ad972ae92ac3b1b58 [INFO] checking Fabian5859/StateEngine_v2.1.0 against master#2972b5e59f1c5529b6ba770437812fd83ab4ebd4 for pr-154781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFabian5859%2FStateEngine_v2.1.0" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Fabian5859/StateEngine_v2.1.0 [INFO] finished tweaking git repo https://github.com/Fabian5859/StateEngine_v2.1.0 [INFO] tweaked toml for git repo https://github.com/Fabian5859/StateEngine_v2.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Fabian5859/StateEngine_v2.1.0 on toolchain 2972b5e59f1c5529b6ba770437812fd83ab4ebd4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2972b5e59f1c5529b6ba770437812fd83ab4ebd4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Fabian5859/StateEngine_v2.1.0 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" "+2972b5e59f1c5529b6ba770437812fd83ab4ebd4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-macros v0.5.13 [INFO] [stderr] Downloaded ndarray-rand v0.15.0 [INFO] [stderr] Downloaded ringbuffer v0.15.0 [INFO] [stderr] Downloaded sqlx v0.5.13 [INFO] [stderr] Downloaded darling_macro v0.12.4 [INFO] [stderr] Downloaded crc v2.1.0 [INFO] [stderr] Downloaded radium v0.3.0 [INFO] [stderr] Downloaded hashlink v0.7.0 [INFO] [stderr] Downloaded sqlformat v0.1.8 [INFO] [stderr] Downloaded ord_subset v3.1.2 [INFO] [stderr] Downloaded rustc-serialize v0.3.25 [INFO] [stderr] Downloaded roxmltree v0.14.1 [INFO] [stderr] Downloaded slog v2.8.2 [INFO] [stderr] Downloaded darling_core v0.12.4 [INFO] [stderr] Downloaded darling v0.12.4 [INFO] [stderr] Downloaded bitvec v0.18.5 [INFO] [stderr] Downloaded fefix_derive v0.7.0 [INFO] [stderr] Downloaded sqlx-rt v0.5.13 [INFO] [stderr] Downloaded indoc v1.0.9 [INFO] [stderr] Downloaded atoi v0.4.0 [INFO] [stderr] Downloaded crc-catalog v1.1.1 [INFO] [stderr] Downloaded sqlx-core v0.5.13 [INFO] [stderr] Downloaded decimal v2.1.0 [INFO] [stderr] Downloaded fefix v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2972b5e59f1c5529b6ba770437812fd83ab4ebd4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f877f1045f9121d76f87b3462568f7fe79820f4a9b3819a41794eb1adf6a6437 [INFO] running `Command { std: "docker" "start" "-a" "f877f1045f9121d76f87b3462568f7fe79820f4a9b3819a41794eb1adf6a6437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f877f1045f9121d76f87b3462568f7fe79820f4a9b3819a41794eb1adf6a6437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f877f1045f9121d76f87b3462568f7fe79820f4a9b3819a41794eb1adf6a6437", kill_on_drop: false }` [INFO] [stdout] f877f1045f9121d76f87b3462568f7fe79820f4a9b3819a41794eb1adf6a6437 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2972b5e59f1c5529b6ba770437812fd83ab4ebd4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b8552218324549faf950fdce4a4e3a0bf598f1e0e2c1a4db7932c9e6ba948d5 [INFO] running `Command { std: "docker" "start" "-a" "7b8552218324549faf950fdce4a4e3a0bf598f1e0e2c1a4db7932c9e6ba948d5", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling zmij v1.0.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling cc v1.2.54 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling roxmltree v0.14.1 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling slog v2.8.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling decimal v2.1.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling strum v0.22.0 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling strum_macros v0.22.0 [INFO] [stderr] Checking ord_subset v3.1.2 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling fefix v0.7.0 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling fefix_derive v0.7.0 [INFO] [stderr] Checking bitvec v0.18.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking nu-ansi-term v0.49.0 [INFO] [stderr] Checking sysinfo v0.30.13 [INFO] [stderr] Checking ringbuffer v0.15.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Checking flexi_logger v0.27.4 [INFO] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking ndarray-rand v0.15.0 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Compiling sqlx-macros v0.5.13 [INFO] [stderr] Checking sqlx v0.5.13 [INFO] [stderr] Checking state_engine_carry_trade v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `MarketState` is never used [INFO] [stdout] --> src/bayesian.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum MarketState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BayesianNetwork` is never constructed [INFO] [stdout] --> src/bayesian.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct BayesianNetwork { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `discretize_spread`, `discretize_velocity`, `discretize_intensity`, `compute_context_score`, and `is_context_favorable` are never used [INFO] [stdout] --> src/bayesian.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl BayesianNetwork { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(threshold: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn discretize_spread(&self, spread: f64) -> MarketState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn discretize_velocity(&self, velocity: f64) -> MarketState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn discretize_intensity(&self, intensity: f64) -> MarketState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn compute_context_score( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn is_context_favorable(&self, score: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sigma_epistemic` is never read [INFO] [stdout] --> src/brain.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BayesianOutput { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 13 | pub mu: f64, [INFO] [stdout] 14 | pub sigma_epistemic: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BayesianOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GaussianFilter` is never constructed [INFO] [stdout] --> src/gaussian.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GaussianFilter { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_price`, `kernel`, and `compute_uncertainty` are never used [INFO] [stdout] --> src/gaussian.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl GaussianFilter { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(window_size: usize, l: f64, sigma_f: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn add_price(&mut self, price: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn kernel(&self, x1: f64, x2: f64) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn compute_uncertainty(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `erf_inv` is never used [INFO] [stdout] --> src/math_utils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn erf_inv(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normal_ppf` is never used [INFO] [stdout] --> src/math_utils.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn normal_ppf(p: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_bayesian_levels` is never used [INFO] [stdout] --> src/math_utils.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn calculate_bayesian_levels( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_snr` is never used [INFO] [stdout] --> src/math_utils.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn calculate_snr(mu: f64, sigma: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_concurrent_trades`, `daily_loss_limit`, and `current_daily_loss` are never read [INFO] [stdout] --> src/risk.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RiskManager { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pub max_concurrent_trades: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | pub daily_loss_limit: f64, // Máxima pérdida diaria permitida [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub current_daily_loss: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate_signal` is never used [INFO] [stdout] --> src/risk.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl RiskManager { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn validate_signal( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `New`, `PartiallyFilled`, and `Rejected` are never constructed [INFO] [stdout] --> src/state.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TradeStatus { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | New, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | PartiallyFilled, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | Filled, [INFO] [stdout] 12 | Rejected, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TradeStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cl_ord_id`, `entry_mu`, `probability`, `hard_stop_price`, `entry_wall_volume`, and `entry_tape_aggression` are never read [INFO] [stdout] --> src/state.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 18 | pub cl_ord_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub entry_mu: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | pub probability: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub hard_stop_price: f64, // El paracaídas físico calculado al entrar [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub entry_wall_volume: f64, // Volumen del muro LOB al entrar [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub entry_tape_aggression: f64, // Volumen real ejecutado (Tape) al entrar [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_best_bid`, `get_best_ask`, `get_imbalance`, and `get_depth_vector` are never used [INFO] [stdout] --> src/state.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl OrderBook { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_best_bid(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get_best_ask(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn get_imbalance(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn get_depth_vector(&self, levels: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MarketState` is never used [INFO] [stdout] --> src/bayesian.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum MarketState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BayesianNetwork` is never constructed [INFO] [stdout] --> src/bayesian.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct BayesianNetwork { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `discretize_spread`, `discretize_velocity`, `discretize_intensity`, `compute_context_score`, and `is_context_favorable` are never used [INFO] [stdout] --> src/bayesian.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl BayesianNetwork { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(threshold: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn discretize_spread(&self, spread: f64) -> MarketState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn discretize_velocity(&self, velocity: f64) -> MarketState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn discretize_intensity(&self, intensity: f64) -> MarketState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn compute_context_score( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn is_context_favorable(&self, score: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sigma_epistemic` is never read [INFO] [stdout] --> src/brain.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BayesianOutput { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 13 | pub mu: f64, [INFO] [stdout] 14 | pub sigma_epistemic: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BayesianOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GaussianFilter` is never constructed [INFO] [stdout] --> src/gaussian.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GaussianFilter { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_price`, `kernel`, and `compute_uncertainty` are never used [INFO] [stdout] --> src/gaussian.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl GaussianFilter { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(window_size: usize, l: f64, sigma_f: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn add_price(&mut self, price: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn kernel(&self, x1: f64, x2: f64) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn compute_uncertainty(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `erf_inv` is never used [INFO] [stdout] --> src/math_utils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn erf_inv(x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normal_ppf` is never used [INFO] [stdout] --> src/math_utils.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn normal_ppf(p: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_bayesian_levels` is never used [INFO] [stdout] --> src/math_utils.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn calculate_bayesian_levels( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_snr` is never used [INFO] [stdout] --> src/math_utils.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn calculate_snr(mu: f64, sigma: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_concurrent_trades`, `daily_loss_limit`, and `current_daily_loss` are never read [INFO] [stdout] --> src/risk.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RiskManager { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 5 | pub max_concurrent_trades: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | pub daily_loss_limit: f64, // Máxima pérdida diaria permitida [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub current_daily_loss: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate_signal` is never used [INFO] [stdout] --> src/risk.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl RiskManager { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn validate_signal( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `New`, `PartiallyFilled`, and `Rejected` are never constructed [INFO] [stdout] --> src/state.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TradeStatus { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | New, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | PartiallyFilled, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | Filled, [INFO] [stdout] 12 | Rejected, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TradeStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cl_ord_id`, `entry_mu`, `probability`, `hard_stop_price`, `entry_wall_volume`, and `entry_tape_aggression` are never read [INFO] [stdout] --> src/state.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 18 | pub cl_ord_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub entry_mu: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | pub probability: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub hard_stop_price: f64, // El paracaídas físico calculado al entrar [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub entry_wall_volume: f64, // Volumen del muro LOB al entrar [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub entry_tape_aggression: f64, // Volumen real ejecutado (Tape) al entrar [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_best_bid`, `get_best_ask`, `get_imbalance`, and `get_depth_vector` are never used [INFO] [stdout] --> src/state.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl OrderBook { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_best_bid(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn get_best_ask(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn get_imbalance(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn get_depth_vector(&self, levels: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0, sqlx-core v0.5.13 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "7b8552218324549faf950fdce4a4e3a0bf598f1e0e2c1a4db7932c9e6ba948d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b8552218324549faf950fdce4a4e3a0bf598f1e0e2c1a4db7932c9e6ba948d5", kill_on_drop: false }` [INFO] [stdout] 7b8552218324549faf950fdce4a4e3a0bf598f1e0e2c1a4db7932c9e6ba948d5