Files
foxhunt/coverage_output.txt
jgrusewski 61801cfd06 feat(deprecation): Complete deprecated code analysis and cleanup preparation
**Wave D Phase 6 - Technical Debt Cleanup (Agent C6)**

## Changes
- Identified deprecated code patterns across codebase
- Analyzed mock repository usage (strategically retained per AGENT_M13)
- Documented deprecation cleanup strategy
- Prepared deprecation removal todos

## Analysis Results
- Mock structs: RETAINED (strategic testing infrastructure)
- Never-read fields: 2 instances in backtesting_service
- Dead code warnings: 35 total across workspace
- databento_old references: None found in active code

## Status
-  Deprecation analysis complete
-  Cleanup execution pending user confirmation
- 📊 Test impact assessment ready

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-19 00:46:19 +02:00

2154 lines
78 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
info: cargo-llvm-cov currently setting cfg(coverage); you can opt-out it by passing --no-cfg-coverage
Compiling proc-macro2 v1.0.101
Compiling unicode-ident v1.0.19
Compiling quote v1.0.41
Compiling serde v1.0.228
Compiling libc v0.2.176
Compiling cfg-if v1.0.3
Compiling serde_core v1.0.228
Compiling memchr v2.7.6
Compiling autocfg v1.5.0
Compiling libm v0.2.15
Compiling once_cell v1.21.3
Compiling version_check v0.9.5
Compiling log v0.4.28
Compiling zerocopy v0.8.27
Compiling equivalent v1.0.2
Compiling bytes v1.10.1
Compiling hashbrown v0.16.0
Compiling simd-adler32 v0.3.7
Compiling adler2 v2.0.1
Compiling shlex v1.3.0
Compiling miniz_oxide v0.8.9
Compiling find-msvc-tools v0.1.3
Compiling object v0.37.3
Compiling itoa v1.0.15
Compiling getrandom v0.3.3
Compiling scopeguard v1.2.0
Compiling gimli v0.32.3
Compiling lock_api v0.4.14
Compiling pin-project-lite v0.2.16
Compiling rustc-demangle v0.1.26
Compiling fixedbitset v0.4.2
Compiling num-traits v0.2.19
Compiling parking_lot_core v0.9.12
Compiling bitflags v2.9.4
Compiling futures-core v0.3.31
Compiling syn v2.0.106
Compiling futures-sink v0.3.31
Compiling futures-channel v0.3.31
Compiling slab v0.4.11
Compiling futures-task v0.3.31
Compiling jobserver v0.1.34
Compiling pin-utils v0.1.0
Compiling futures-io v0.3.31
Compiling crossbeam-utils v0.8.21
Compiling heck v0.5.0
Compiling cc v1.2.40
Compiling signal-hook-registry v1.4.6
Compiling mio v1.0.4
Compiling rand_core v0.9.3
Compiling getrandom v0.2.16
Compiling socket2 v0.6.0
Compiling ppv-lite86 v0.2.21
Compiling num-integer v0.1.46
Compiling indexmap v2.11.4
Compiling typenum v1.19.0
Compiling anyhow v1.0.100
Compiling ryu v1.0.20
Compiling num-bigint v0.4.6
Compiling addr2line v0.25.1
Compiling rand_chacha v0.9.0
Compiling tracing-core v0.1.34
Compiling fnv v1.0.7
Compiling generic-array v0.14.7
Compiling subtle v2.6.1
Compiling rand v0.9.2
Compiling pkg-config v0.3.32
Compiling serde_json v1.0.145
Compiling stable_deref_trait v1.2.0
Compiling rand_core v0.6.4
Compiling aho-corasick v1.1.3
Compiling regex-syntax v0.8.6
Compiling base64 v0.22.1
Compiling percent-encoding v2.3.2
Compiling icu_normalizer_data v2.0.0
Compiling icu_properties_data v2.0.1
Compiling http v1.3.1
Compiling iana-time-zone v0.1.64
Compiling httparse v1.10.1
Compiling tower-service v0.3.3
Compiling untrusted v0.9.0
Compiling crc32fast v1.5.0
Compiling cmake v0.1.54
Compiling fs_extra v1.3.0
Compiling dunce v1.0.5
Compiling backtrace v0.3.76
Compiling writeable v0.6.1
Compiling try-lock v0.2.5
Compiling litemap v0.8.0
Compiling want v0.3.1
Compiling aws-lc-rs v1.14.0
Compiling http-body v1.0.1
Compiling httpdate v1.0.3
Compiling thiserror v1.0.69
Compiling zlib-rs v0.5.2
Compiling crypto-common v0.1.6
Compiling form_urlencoded v1.2.2
Compiling ipnet v2.11.0
Compiling atomic-waker v1.1.2
Compiling rustls v0.23.32
Compiling allocator-api2 v0.2.21
Compiling utf8_iter v1.0.4
Compiling regex-automata v0.4.11
Compiling http-body-util v0.1.3
Compiling tower-layer v0.3.3
Compiling vcpkg v0.2.15
Compiling sync_wrapper v1.0.2
Compiling mime v0.3.17
Compiling synstructure v0.13.2
Compiling cpufeatures v0.2.17
Compiling openssl-probe v0.1.6
Compiling block-buffer v0.10.4
Compiling zstd-safe v7.2.1
Compiling foreign-types-shared v0.1.1
Compiling openssl v0.10.73
Compiling foreign-types v0.3.2
Compiling digest v0.10.7
Compiling native-tls v0.2.14
Compiling foldhash v0.1.5
Compiling hashbrown v0.15.5
Compiling syn v1.0.109
Compiling byteorder v1.5.0
Compiling rand_chacha v0.3.1
Compiling thiserror v2.0.17
Compiling rand v0.8.5
Compiling compression-core v0.4.29
Compiling libz-rs-sys v0.5.2
Compiling flate2 v1.1.3
Compiling encoding_rs v0.8.35
Compiling ring v0.17.14
Compiling regex v1.11.3
Compiling aws-lc-sys v0.31.0
Compiling zstd-sys v2.0.12+zstd.1.5.6
Compiling openssl-sys v0.9.109
Compiling iri-string v0.7.8
Compiling atoi v2.0.0
Compiling arrayvec v0.7.6
Compiling zeroize v1.8.2
Compiling ident_case v1.0.1
Compiling rustls-pki-types v1.12.0
Compiling num_cpus v1.17.0
Compiling bigdecimal v0.4.8
Compiling rust_decimal v1.38.0
Compiling tinyvec_macros v0.1.1
Compiling tinyvec v1.10.0
Compiling tokio v1.47.1
Compiling webpki-roots v1.0.2
Compiling sha2 v0.10.9
Compiling concurrent-queue v2.5.0
Compiling crc-catalog v2.4.0
Compiling parking v2.2.1
Compiling futures-util v0.3.31
Compiling hashlink v0.10.0
Compiling event-listener v5.4.1
Compiling chrono v0.4.42
Compiling crc v3.3.0
Compiling webpki-roots v0.26.11
Compiling unicode-normalization v0.1.24
Compiling hmac v0.12.1
Compiling crossbeam-queue v0.3.12
Compiling strsim v0.10.0
Compiling unicode-properties v0.1.3
Compiling uuid v1.18.1
Compiling tokio-stream v0.1.17
Compiling unicode-bidi v0.3.18
Compiling rustls-webpki v0.103.7
Compiling darling_core v0.14.4
Compiling stringprep v0.1.5
Compiling hkdf v0.12.4
Compiling md-5 v0.10.6
Compiling whoami v1.6.1
Compiling dotenvy v0.15.7
Compiling hex v0.4.3
Compiling home v0.5.11
Compiling unicode-xid v0.2.6
Compiling synstructure v0.12.6
Compiling toml_write v0.1.2
Compiling winnow v0.7.13
Compiling unsafe-libyaml v0.2.11
Compiling socket2 v0.5.10
Compiling fastrand v2.3.0
Compiling rustix v1.1.2
Compiling arc-swap v1.7.1
Compiling lazy_static v1.5.0
Compiling sha1_smol v1.0.1
Compiling rand_distr v0.5.1
Compiling ahash v0.8.12
Compiling rayon-core v1.13.0
Compiling lru v0.12.5
Compiling semver v1.0.27
Compiling crossbeam-epoch v0.9.18
Compiling serde_derive v1.0.228
Compiling zerofrom-derive v0.1.6
Compiling tokio-macros v2.5.0
Compiling futures-macro v0.3.31
Compiling displaydoc v0.2.5
Compiling tracing-attributes v0.1.30
Compiling yoke-derive v0.8.0
Compiling zerovec-derive v0.11.1
Compiling zeroize_derive v1.4.2
Compiling thiserror-impl v1.0.69
Compiling bytemuck_derive v1.10.2
Compiling async-trait v0.1.89
Compiling openssl-macros v0.1.1
Compiling zstd v0.13.3
Compiling thiserror-impl v2.0.17
Compiling compression-codecs v0.4.31
Compiling rust_decimal_macros v1.38.0
Compiling darling_macro v0.14.4
Compiling rustls-native-certs v0.8.1
Compiling rustc_version v0.4.1
Compiling anstyle v1.0.13
Compiling same-file v1.0.6
Compiling utf8parse v0.2.2
Compiling darling v0.14.4
Compiling walkdir v2.5.0
Compiling derive_builder_core v0.12.0
Compiling anstyle-parse v0.2.7
Compiling crossbeam-deque v0.8.6
Compiling futures-executor v0.3.31
Compiling colorchoice v1.0.4
Compiling is_terminal_polyfill v1.70.1
Compiling anstyle-query v1.1.4
Compiling futures v0.3.31
Compiling anstream v0.6.21
Compiling strsim v0.11.1
Compiling clap_lex v0.7.5
Compiling clap_derive v4.5.47
Compiling clap_builder v4.5.48
Compiling inout v0.1.4
Compiling libloading v0.8.9
Compiling cipher v0.4.4
Compiling tracing v0.1.41
Compiling hashbrown v0.14.5
Compiling universal-hash v0.5.1
Compiling opaque-debug v0.3.1
Compiling polyval v0.6.2
Compiling aead v0.5.2
Compiling aes v0.8.4
Compiling ghash v0.5.1
Compiling ctr v0.9.2
Compiling minimal-lexical v0.2.1
Compiling base64 v0.21.7
Compiling aes-gcm v0.10.3
Compiling zerofrom v0.1.6
Compiling yoke v0.8.0
Compiling nom v7.1.3
Compiling crossbeam-channel v0.5.15
Compiling zerovec v0.11.4
Compiling zerotrie v0.2.2
Compiling bytemuck v1.24.0
Compiling protobuf v3.7.2
Compiling protobuf-support v3.7.2
Compiling prometheus v0.14.0
Compiling safe_arch v0.7.4
Compiling poly1305 v0.8.0
Compiling chacha20 v0.9.1
Compiling tinystr v0.8.1
Compiling potential_utf v0.1.3
Compiling icu_locale_core v2.0.0
Compiling icu_collections v2.0.0
Compiling hdrhistogram v7.5.4
Compiling sharded-slab v0.1.7
Compiling matchers v0.2.0
Compiling icu_provider v2.0.0
Compiling tracing-log v0.2.0
Compiling derive_builder_macro v0.12.0
Compiling icu_properties v2.0.1
Compiling thread_local v1.1.9
Compiling nu-ansi-term v0.50.1
Compiling chacha20poly1305 v0.10.1
Compiling smallvec v1.15.1
Compiling petgraph v0.6.5
Compiling either v1.15.0
Compiling icu_normalizer v2.0.0
Compiling serde_urlencoded v0.7.1
Compiling idna_adapter v1.2.1
Compiling idna v1.1.0
Compiling parking_lot v0.12.5
Compiling url v2.5.7
Compiling futures-intrusive v0.5.0
Compiling rustify_derive v0.5.4
Compiling toml_datetime v0.6.11
Compiling serde_spanned v0.6.9
Compiling derive_builder v0.12.0
Compiling toml_edit v0.22.27
Compiling secrecy v0.8.0
Compiling sqlx-core v0.8.6
Compiling serde_yaml v0.9.34+deprecated
Compiling itertools v0.13.0
Compiling half v2.6.0
Compiling clap v4.5.48
Compiling rayon v1.11.0
Compiling dashmap v6.1.0
Compiling wide v0.7.33
Compiling cron v0.12.1
Compiling tracing-subscriber v0.3.20
Compiling hostname v0.4.1
Compiling toml v0.8.23
Compiling md5 v0.7.0
Compiling linux-raw-sys v0.11.0
Compiling sqlx-postgres v0.8.6
Compiling paste v1.0.15
Compiling fdeflate v0.3.7
Compiling weezl v0.1.10
Compiling color_quant v1.1.0
Compiling option-ext v0.2.0
Compiling pathfinder_simd v0.5.5
Compiling tempfile v3.23.0
Compiling freetype-sys v0.20.1
Compiling yeslogic-fontconfig-sys v6.0.0
Compiling rustversion v1.0.22
Compiling bitflags v1.3.2
Compiling png v0.17.16
Compiling dirs-sys v0.5.0
Compiling dlib v0.5.2
Compiling font-kit v0.14.3
Compiling jpeg-decoder v0.3.2
Compiling plotters-backend v0.3.7
Compiling tokio-util v0.7.16
Compiling tokio-native-tls v0.3.1
Compiling async-compression v0.4.32
Compiling backon v1.5.2
Compiling pathfinder_geometry v0.5.1
Compiling dirs v6.0.0
Compiling gif v0.12.0
Compiling float-ord v0.3.2
Compiling image v0.24.9
Compiling plotters-svg v0.3.7
Compiling num-rational v0.4.2
Compiling h2 v0.4.12
Compiling tower v0.5.2
Compiling sqlx-macros-core v0.8.6
Compiling combine v4.6.7
Compiling ttf-parser v0.20.0
Compiling powerfmt v0.2.0
Compiling tower-http v0.6.6
Compiling ciborium-io v0.2.2
Compiling time-core v0.1.6
Compiling num-conv v0.1.0
Compiling ciborium-ll v0.2.2
Compiling deranged v0.5.4
Compiling itertools v0.10.5
Compiling time-macros v0.2.24
Compiling plotters-bitmap v0.3.7
Compiling cast v0.3.0
Compiling ciborium v0.2.2
Compiling tinytemplate v1.2.1
Compiling plotters v0.3.7
Compiling criterion-plot v0.5.0
Compiling is-terminal v0.4.16
Compiling anes v0.1.6
Compiling oorandom v11.1.5
Compiling async-stream-impl v0.3.6
Compiling num-complex v0.4.6
Compiling signal-hook v0.3.18
Compiling pin-project-internal v1.1.10
Compiling mio v0.8.11
Compiling hyper v1.7.0
Compiling criterion v0.5.1
Compiling rustix v0.38.44
Compiling redis v0.27.6
Compiling signal-hook-mio v0.2.4
Compiling unicode-width v0.2.1
Compiling linux-raw-sys v0.4.15
Compiling strum_macros v0.26.4
Compiling num-iter v0.1.45
Compiling async-stream v0.3.6
Compiling num v0.4.3
Compiling portable-atomic v1.11.1
Compiling futures-timer v3.0.3
Compiling hyper-util v0.1.17
Compiling time v0.3.44
Compiling crossterm v0.28.1
Compiling raw-cpuid v11.6.0
Compiling sha1 v0.10.6
Compiling data-encoding v2.9.0
Compiling hyper-tls v0.6.0
Compiling dashmap v5.5.3
Compiling quanta v0.12.6
Compiling spinning_top v0.3.0
Compiling no-std-compat v0.4.1
Compiling nonzero_ext v0.3.0
Compiling bincode v1.3.3
Compiling governor v0.6.3
Compiling toml_datetime v0.7.2
Compiling csv-core v0.1.12
Compiling pin-project v1.1.10
Compiling matrixmultiply v0.3.10
Compiling lexical-util v1.0.7
Compiling rawpointer v0.2.1
Compiling arrow-buffer v56.2.0
Compiling csv v1.3.1
Compiling approx v0.5.1
Compiling lexical-parse-integer v1.0.6
Compiling lexical-write-integer v1.0.6
Compiling arrow-schema v56.2.0
Compiling seq-macro v0.3.6
Compiling lexical-parse-float v1.0.6
Compiling lexical-write-float v1.0.6
Compiling nalgebra-macros v0.2.2
Compiling arrow-data v56.2.0
Compiling lexical-core v1.0.6
Compiling rand_distr v0.4.3
Compiling toml_parser v1.0.3
Compiling ndarray v0.15.6
Compiling toml_edit v0.23.6
Compiling simba v0.8.1
Compiling json-writer v0.4.0
Compiling arrow-array v56.2.0
Compiling fallible-streaming-iterator v0.1.9
Compiling simba v0.9.1
Compiling proc-macro-crate v3.4.0
Compiling flatbuffers v25.9.23
Compiling oval v2.0.0
Compiling simdutf8 v0.1.5
Compiling tokio-test v0.4.4
Compiling glob v0.3.3
Compiling rustls v0.22.4
Compiling rustls-webpki v0.102.8
Compiling utf-8 v0.7.6
Compiling alloc-no-stdlib v2.0.4
Compiling lz4-sys v1.11.1+lz4-1.10.0
Compiling alloc-stdlib v0.2.2
Compiling snap v1.1.1
Compiling num_enum_derive v0.7.4
Compiling dbn-macros v0.42.0
Compiling arrow-select v56.2.0
Compiling strum v0.26.3
Compiling comfy-table v7.1.2
Compiling brotli-decompressor v5.0.0
Compiling ordered-float v2.10.1
Compiling twox-hash v2.1.2
Compiling nalgebra v0.32.6
Compiling integer-encoding v3.0.4
Compiling thrift v0.17.0
Compiling arrow-cast v56.2.0
Compiling nalgebra v0.33.2
Compiling arrow-ipc v56.2.0
Compiling tungstenite v0.21.0
Compiling tokio-rustls v0.25.0
Compiling brotli v8.0.2
Compiling arrow-string v56.2.0
Compiling num_enum v0.7.4
Compiling dbn v0.42.0
Compiling arrow-json v56.2.0
Compiling sqlx-macros v0.8.6
Compiling arrow-csv v56.2.0
Compiling arrow-ord v56.2.0
Compiling lz4_flex v0.11.5
Compiling statrs v0.17.1
Compiling arrow-arith v56.2.0
Compiling arrow-row v56.2.0
Compiling arrow v56.2.0
Compiling parquet v56.2.0
Compiling tokio-tungstenite v0.21.0
Compiling crossbeam v0.8.4
Compiling nonzero v0.2.0
Compiling xml-rs v0.8.27
Compiling lz4 v1.28.1
Compiling snafu-derive v0.8.9
Compiling quick-xml v0.37.5
Compiling humantime v2.3.0
Compiling fs2 v0.4.3
Compiling rustc-hash v1.1.0
Compiling pulp v0.21.5
Compiling reborrow v0.5.5
Compiling dyn-stack-macros v0.1.0
Compiling sdd v3.0.10
Compiling dyn-stack v0.13.2
Compiling scc v2.4.0
Compiling serial_test_derive v3.2.0
Compiling cudarc v0.17.3
Compiling float8 v0.3.0
Compiling yoke-derive v0.7.5
Compiling gemm-common v0.18.2
Compiling safetensors v0.4.5
Compiling serial_test v3.2.0
Compiling gemm-f32 v0.18.2
Compiling bindgen_cuda v0.1.5
Compiling gemm-c64 v0.18.2
Compiling gemm-f16 v0.18.2
Compiling gemm-c32 v0.18.2
Compiling gemm-f64 v0.18.2
Compiling memmap2 v0.9.8
Compiling zip v1.1.4
Compiling candle-kernels v0.9.1 (https://github.com/huggingface/candle?rev=671de1db#671de1db)
Compiling gemm v0.18.2
Compiling float8 v0.4.2
Compiling siphasher v1.0.1
Compiling phf_shared v0.12.1
Compiling typed-builder-macro v0.22.0
Compiling chrono-tz v0.10.4
Compiling phf v0.12.1
Compiling ml v1.0.0 (/home/jgrusewski/Work/foxhunt/ml)
Compiling sysinfo v0.33.1
Compiling dotenv v0.15.0
Compiling snafu v0.8.9
Compiling itertools v0.14.0
Compiling yoke v0.7.5
Compiling ug v0.5.0
Compiling prettyplease v0.2.37
Compiling pulldown-cmark v0.13.0
Compiling unicase v2.8.1
Compiling tokio-rustls v0.26.4
Compiling hyper-rustls v0.27.7
Compiling reqwest v0.12.23
Compiling rustify v0.6.1
Compiling object_store v0.11.2
Compiling ug-cuda v0.5.0
Compiling prost-derive v0.14.1
Compiling fixedbitset v0.5.7
Compiling vaultrs v0.7.4
Compiling petgraph v0.7.1
Compiling typed-builder v0.22.0
Compiling databento v0.34.1
Compiling pulldown-cmark-to-cmark v21.0.0
Compiling multimap v0.10.1
Compiling tonic-build v0.14.2
Compiling axum-core v0.5.5
Compiling sqlx v0.8.6
Compiling matchit v0.8.4
Compiling hyper-timeout v0.5.2
Compiling axum v0.8.6
Compiling wait-timeout v0.2.1
Compiling quick-error v1.2.3
Compiling bit-vec v0.8.0
Compiling rusty-fork v0.3.1
Compiling bit-set v0.8.0
Compiling console v0.15.11
Compiling rand_xorshift v0.4.0
Compiling unarray v0.1.4
Compiling simple_asn1 v0.6.3
Compiling proptest v1.8.0
Compiling pem v3.0.5
Compiling prost v0.14.1
Compiling prost-types v0.14.1
Compiling jsonwebtoken v9.3.1
Compiling axum-core v0.4.5
Compiling tonic v0.14.2
Compiling prost-build v0.14.1
Compiling serde_path_to_error v0.1.20
Compiling matchit v0.7.3
Compiling tonic-prost-build v0.14.2
Compiling axum v0.7.9
Compiling tonic-prost v0.14.2
Compiling relative-path v1.9.3
Compiling config v1.0.0 (/home/jgrusewski/Work/foxhunt/config)
Compiling similar v2.7.0
Compiling rstest_macros v0.22.0
Compiling test-case-core v3.3.1
Compiling tower v0.4.13
Compiling insta v1.43.2
Compiling futures-test v0.3.31
Compiling rusticata-macros v4.1.0
Compiling asn1-rs-impl v0.2.0
Compiling asn1-rs-derive v0.5.1
Compiling oid-registry v0.7.1
Compiling common v1.0.0 (/home/jgrusewski/Work/foxhunt/common)
Compiling base64ct v1.8.0
Compiling arrow-buffer v55.2.0
Compiling test-case-macros v3.3.1
Compiling password-hash v0.5.0
Compiling arrow-schema v55.2.0
Compiling tonic-health v0.14.2
Compiling asn1-rs v0.6.2
Compiling arrow-data v55.2.0
Compiling candle-core v0.9.1 (https://github.com/huggingface/candle?rev=671de1db#671de1db)
Compiling test-case v3.3.1
Compiling tonic-reflection v0.14.2
warning: multiple fields are never read
--> common/src/ml_strategy.rs:124:5
|
66 | pub struct MLFeatureExtractor {
| ------------------ fields in this struct
...
124 | volatility_history: Vec<f64>,
| ^^^^^^^^^^^^^^^^^^
125 | /// Rolling volume history for percentile calculation (separate from main volume buffer)
126 | volume_percentile_buffer: Vec<f64>,
| ^^^^^^^^^^^^^^^^^^^^^^^^
127 | /// Return history for autocorrelation calculation
128 | returns_history: Vec<f64>,
| ^^^^^^^^^^^^^^^
129 | /// Momentum ROC(5) history for acceleration calculation
130 | momentum_roc_5_history: Vec<f64>,
| ^^^^^^^^^^^^^^^^^^^^^^
131 | /// Momentum ROC(10) history for acceleration calculation
132 | momentum_roc_10_history: Vec<f64>,
| ^^^^^^^^^^^^^^^^^^^^^^^
133 | /// Acceleration history for jerk calculation
134 | acceleration_history: Vec<f64>,
| ^^^^^^^^^^^^^^^^^^^^
135 | /// Price highs for divergence detection (last 20 periods)
136 | price_highs: Vec<f64>,
| ^^^^^^^^^^^
137 | /// Momentum highs for divergence detection (last 20 periods)
138 | momentum_highs: Vec<f64>,
| ^^^^^^^^^^^^^^
139 | /// Historical momentum values for regime classification (last 100 periods)
140 | momentum_regime_history: Vec<f64>,
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `MLFeatureExtractor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
Compiling trading_engine v1.0.0 (/home/jgrusewski/Work/foxhunt/trading_engine)
Compiling storage v1.0.0 (/home/jgrusewski/Work/foxhunt/storage)
Compiling der-parser v9.0.0
Compiling arrow-array v55.2.0
warning: `common` (lib) generated 1 warning
Compiling adaptive-strategy v1.0.0 (/home/jgrusewski/Work/foxhunt/adaptive-strategy)
Compiling x509-parser v0.16.0
Compiling colored v2.2.0
Compiling proc-macro-error-attr v1.0.4
Compiling darling_core v0.20.11
Compiling proc-macro-error v1.0.4
Compiling unicode-width v0.1.14
Compiling arrow-select v55.2.0
Compiling arrow-row v55.2.0
Compiling arrow-arith v55.2.0
Compiling arrow-ipc v55.2.0
Compiling candle-nn v0.9.1 (https://github.com/huggingface/candle?rev=671de1db#671de1db)
Compiling candle-optimisers v0.10.0-alpha.1 (https://github.com/KGrewal1/optimisers#5cbb312e)
Compiling arrow-cast v55.2.0
Compiling arrow-ord v55.2.0
Compiling arrow-csv v55.2.0
Compiling arrow-json v55.2.0
Compiling arrow-string v55.2.0
Compiling rstest v0.22.0
Compiling arrow v55.2.0
Compiling darling_macro v0.20.11
Compiling instability v0.3.9
Compiling castaway v0.2.4
Compiling static_assertions v1.1.0
Compiling unicode-segmentation v1.12.0
Compiling darling v0.20.11
Compiling indoc v2.0.6
Compiling bytecount v0.6.9
Compiling owo-colors v4.2.3
Compiling heck v0.4.1
Compiling papergrid v0.11.0
Compiling tabled_derive v0.7.0
Compiling unicode-truncate v1.1.0
Compiling compact_str v0.8.1
Compiling tli v1.0.0 (/home/jgrusewski/Work/foxhunt/tli)
Compiling dirs-sys v0.4.1
Compiling blake2 v0.10.6
Compiling rtoolbox v0.0.3
Compiling cassowary v0.3.0
Compiling number_prefix v0.4.0
Compiling argon2 v0.5.3
Compiling indicatif v0.17.11
Compiling ratatui v0.28.1
Compiling rpassword v7.4.0
Compiling dirs v5.0.1
Compiling tabled v0.15.0
Compiling crossterm v0.27.0
Compiling keyring v3.6.3
Compiling equator-macro v0.4.2
Compiling built v0.7.7
Compiling profiling-procmacros v1.0.17
Compiling quick-error v2.0.1
Compiling maybe-rayon v0.1.1
Compiling rav1e v0.7.1
Compiling itertools v0.12.1
Compiling num-derive v0.4.2
Compiling arg_enum_proc_macro v0.3.4
Compiling fax_derive v0.2.0
Compiling profiling v1.0.17
Compiling simd_helpers v0.1.0
Compiling new_debug_unreachable v1.0.6
Compiling imgref v1.12.0
Compiling zune-core v0.4.12
Compiling noop_proc_macro v0.3.0
Compiling equator v0.4.2
Compiling bitstream-io v2.6.0
Compiling aligned-vec v0.6.4
Compiling zune-jpeg v0.4.21
Compiling loop9 v0.1.5
Compiling v_frame v0.3.9
Compiling avif-serialize v0.8.6
Compiling pxfm v0.1.24
Compiling av1-grain v0.2.4
Compiling zune-inflate v0.2.54
Compiling rgb v0.8.52
Compiling risk v1.0.0 (/home/jgrusewski/Work/foxhunt/risk)
Compiling data v1.0.0 (/home/jgrusewski/Work/foxhunt/data)
Compiling database v1.0.0 (/home/jgrusewski/Work/foxhunt/database)
Compiling fax v0.2.6
Compiling ml-data v0.1.0 (/home/jgrusewski/Work/foxhunt/ml-data)
Compiling byteorder-lite v0.1.0
Compiling bit_field v0.10.3
Compiling lebe v0.5.3
Compiling image-webp v0.2.4
Compiling exr v1.73.0
Compiling moxcms v0.7.6
Compiling tiff v0.10.3
Compiling gif v0.13.3
Compiling ravif v0.11.20
Compiling png v0.18.0
Compiling qoi v0.4.1
Compiling api_gateway v1.0.0 (/home/jgrusewski/Work/foxhunt/services/api_gateway)
Compiling base32 v0.5.1
Compiling constant_time_eq v0.3.1
Compiling totp-rs v5.7.0
Compiling image v0.25.8
Compiling urlencoding v2.1.3
Compiling doc-comment v0.3.3
Compiling trading_service v1.0.0 (/home/jgrusewski/Work/foxhunt/services/trading_service)
Compiling tungstenite v0.24.0
Compiling tower-test v0.4.0
Compiling assert-json-diff v2.0.2
Compiling http v0.2.12
Compiling tokio-tungstenite v0.24.0
Compiling deadpool-runtime v0.1.4
Compiling http-body v0.4.6
Compiling deadpool v0.12.3
Compiling h2 v0.3.27
Compiling dbn-macros v0.22.1
Compiling parking_lot_core v0.8.6
Compiling wiremock v0.6.5
Compiling instant v0.1.13
Compiling model_loader v1.0.0 (/home/jgrusewski/Work/foxhunt/model_loader)
Compiling qrcode v0.14.1
Compiling rustls-pemfile v1.0.4
Compiling snafu-derive v0.6.10
Compiling ordered-float v3.9.2
Compiling dbn v0.22.1
Compiling hyper v0.14.32
Compiling sync_wrapper v0.1.2
Compiling influxdb2-derive v0.1.1
Compiling hyper-tls v0.5.0
Compiling reqwest v0.11.27
Compiling influxdb2-structmap v0.2.0
Compiling parking_lot v0.11.2
Compiling snafu v0.6.10
Compiling backtesting_service v1.0.0 (/home/jgrusewski/Work/foxhunt/services/backtesting_service)
Compiling sys-info v0.9.1
Compiling fallible-iterator v0.2.0
Compiling go-parse-duration v0.1.1
Compiling base64 v0.13.1
Compiling metrics v0.23.1
Compiling influxdb2 v0.5.2
Compiling foxhunt_e2e v0.1.0 (/home/jgrusewski/Work/foxhunt/tests/e2e)
Compiling tokio-retry v0.3.0
Compiling assert_matches v1.5.0
Compiling predicates-core v1.0.9
Compiling cfg_aliases v0.2.1
Compiling nix v0.29.0
warning: unused import: `data::providers::databento::dbn_parser::ProcessedMessage`
--> ml/src/trainers/dqn.rs:23:5
|
23 | use data::providers::databento::dbn_parser::ProcessedMessage;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Compiling float-cmp v0.10.0
Compiling difflib v0.4.0
Compiling normalize-line-endings v0.3.0
Compiling sketches-ddsketch v0.2.2
Compiling termtree v0.5.1
Compiling assert_cmd v2.0.17
Compiling predicates-tree v1.0.12
Compiling metrics-util v0.17.0
Compiling predicates v3.1.3
Compiling ml_training_service v1.0.0 (/home/jgrusewski/Work/foxhunt/services/ml_training_service)
Compiling bstr v1.12.0
Compiling metrics-exporter-prometheus v0.15.3
Compiling pbkdf2 v0.12.2
Compiling rstest_macros v0.18.2
Compiling sysinfo v0.34.2
Compiling trading_agent_service v1.0.0 (/home/jgrusewski/Work/foxhunt/services/trading_agent_service)
Compiling integration_load_tests v0.1.0 (/home/jgrusewski/Work/foxhunt/tests/load_tests)
Compiling trading_service_load_tests v1.0.0 (/home/jgrusewski/Work/foxhunt/services/load_tests)
Compiling data_acquisition_service v1.0.0 (/home/jgrusewski/Work/foxhunt/services/data_acquisition_service)
Compiling integration_tests v1.0.0 (/home/jgrusewski/Work/foxhunt/services/integration_tests)
Compiling stress_tests v1.0.0 (/home/jgrusewski/Work/foxhunt/services/stress_tests)
Compiling ctor v0.2.9
Compiling mockito v1.7.0
warning: field `feature_extractor` is never read
--> services/trading_agent_service/src/assets.rs:127:5
|
119 | pub struct AssetSelector {
| ------------- field in this struct
...
127 | feature_extractor: Arc<MLFeatureExtractor>,
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
Compiling env_logger v0.8.4
Compiling quickcheck v1.0.3
Compiling risk-data v1.0.0 (/home/jgrusewski/Work/foxhunt/risk-data)
Compiling prost-derive v0.13.5
Compiling market-data v1.0.0 (/home/jgrusewski/Work/foxhunt/market-data)
Compiling prost v0.13.5
Compiling api_gateway_load_tests v0.1.0 (/home/jgrusewski/Work/foxhunt/services/api_gateway/load_tests)
warning: unused variable: `order_id`
--> services/load_tests/tests/throughput_tests.rs:191:5
|
191 | order_id: u64,
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id`
|
= note: `#[warn(unused_variables)]` on by default
warning: constant `TARGET_RPS` is never used
--> services/load_tests/tests/throughput_tests.rs:214:11
|
214 | const TARGET_RPS: usize = 10_000;
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: constant `TARGET_RPS` is never used
--> services/load_tests/tests/throughput_tests.rs:307:11
|
307 | const TARGET_RPS: usize = 50_000;
| ^^^^^^^^^^
Compiling rstest v0.18.2
warning: extern crate `anyhow` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use anyhow as _;` to the crate root
= note: requested on the command line with `-W unused-crate-dependencies`
warning: extern crate `arrow` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use arrow as _;` to the crate root
warning: extern crate `async_trait` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use async_trait as _;` to the crate root
warning: extern crate `base64` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use base64 as _;` to the crate root
warning: extern crate `bincode` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use bincode as _;` to the crate root
warning: extern crate `bytes` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use bytes as _;` to the crate root
warning: extern crate `config` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use config as _;` to the crate root
warning: extern crate `criterion` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use criterion as _;` to the crate root
warning: extern crate `crossbeam` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use crossbeam as _;` to the crate root
warning: extern crate `crossbeam_channel` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use crossbeam_channel as _;` to the crate root
warning: extern crate `dashmap` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use dashmap as _;` to the crate root
warning: extern crate `dbn` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use dbn as _;` to the crate root
warning: extern crate `fastrand` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use fastrand as _;` to the crate root
warning: extern crate `flate2` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use flate2 as _;` to the crate root
warning: extern crate `futures` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use futures as _;` to the crate root
warning: extern crate `futures_core` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use futures_core as _;` to the crate root
warning: extern crate `futures_util` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use futures_util as _;` to the crate root
warning: extern crate `governor` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use governor as _;` to the crate root
warning: extern crate `hashbrown` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use hashbrown as _;` to the crate root
warning: extern crate `hdrhistogram` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use hdrhistogram as _;` to the crate root
warning: extern crate `hex` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use hex as _;` to the crate root
warning: extern crate `lz4` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use lz4 as _;` to the crate root
warning: extern crate `md5` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use md5 as _;` to the crate root
warning: extern crate `native_tls` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use native_tls as _;` to the crate root
warning: extern crate `nonzero` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use nonzero as _;` to the crate root
warning: extern crate `num_cpus` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use num_cpus as _;` to the crate root
warning: extern crate `num_traits` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use num_traits as _;` to the crate root
warning: extern crate `parking_lot` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use parking_lot as _;` to the crate root
warning: extern crate `parquet` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use parquet as _;` to the crate root
warning: extern crate `rand` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use rand as _;` to the crate root
warning: extern crate `regex` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use regex as _;` to the crate root
warning: extern crate `reqwest` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use reqwest as _;` to the crate root
warning: extern crate `rust_decimal` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use rust_decimal as _;` to the crate root
warning: extern crate `rust_decimal_macros` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use rust_decimal_macros as _;` to the crate root
warning: extern crate `serde` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use serde as _;` to the crate root
warning: extern crate `serde_json` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use serde_json as _;` to the crate root
warning: extern crate `serial_test` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use serial_test as _;` to the crate root
warning: extern crate `sha2` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use sha2 as _;` to the crate root
warning: extern crate `smallvec` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use smallvec as _;` to the crate root
warning: extern crate `tempfile` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use tempfile as _;` to the crate root
warning: extern crate `thiserror` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use thiserror as _;` to the crate root
warning: extern crate `time` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use time as _;` to the crate root
warning: extern crate `tokio_native_tls` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use tokio_native_tls as _;` to the crate root
warning: extern crate `tokio_stream` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use tokio_stream as _;` to the crate root
warning: extern crate `tokio_test` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use tokio_test as _;` to the crate root
warning: extern crate `tokio_tungstenite` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use tokio_tungstenite as _;` to the crate root
warning: extern crate `tokio_util` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use tokio_util as _;` to the crate root
warning: extern crate `toml` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use toml as _;` to the crate root
warning: extern crate `tracing` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use tracing as _;` to the crate root
warning: extern crate `tracing_subscriber` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use tracing_subscriber as _;` to the crate root
warning: extern crate `trading_engine` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use trading_engine as _;` to the crate root
warning: extern crate `tungstenite` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use tungstenite as _;` to the crate root
warning: extern crate `url` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use url as _;` to the crate root
warning: extern crate `uuid` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use uuid as _;` to the crate root
warning: extern crate `webpki_roots` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use webpki_roots as _;` to the crate root
warning: extern crate `xml` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use xml as _;` to the crate root
warning: extern crate `zstd` is unused in crate `benzinga_news`
|
= help: remove the dependency or add `use zstd as _;` to the crate root
warning: unused import: `Duration`
--> data/tests/benzinga_news.rs:5:14
|
5 | use chrono::{Duration, Utc};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `MarketDataEvent`
--> data/tests/benzinga_news.rs:6:14
|
6 | use common::{MarketDataEvent, Symbol};
| ^^^^^^^^^^^^^^^
warning: unused import: `data::error::Result`
--> data/tests/benzinga_news.rs:7:5
|
7 | use data::error::Result;
| ^^^^^^^^^^^^^^^^^^^
warning: unused imports: `HistoricalProvider`, `HistoricalSchema`, and `RealTimeProvider`
--> data/tests/benzinga_news.rs:13:31
|
13 | use data::providers::traits::{HistoricalProvider, HistoricalSchema, RealTimeProvider};
| ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
warning: unused import: `mock_downloader::*`
--> services/data_acquisition_service/tests/common/mod.rs:13:9
|
13 | pub use mock_downloader::*;
| ^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `mock_service::*`
--> services/data_acquisition_service/tests/common/mod.rs:14:9
|
14 | pub use mock_service::*;
| ^^^^^^^^^^^^^^^
warning: unused import: `types::*`
--> services/data_acquisition_service/tests/common/mod.rs:16:9
|
16 | pub use types::*;
| ^^^^^^^^
warning: unused import: `Sha256`
--> services/data_acquisition_service/tests/minio_upload_tests.rs:14:20
|
14 | use sha2::{Digest, Sha256};
| ^^^^^^
warning: unused imports: `Arc` and `Mutex`
--> services/data_acquisition_service/tests/minio_upload_tests.rs:15:17
|
15 | use std::sync::{Arc, Mutex};
| ^^^ ^^^^^
warning: unused variable: `request`
--> services/data_acquisition_service/tests/common/mock_downloader.rs:243:9
|
243 | request: DownloadRequest,
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
|
= note: `#[warn(unused_variables)]` on by default
warning: use of deprecated field `data::providers::common::NewsEvent::sentiment`: Use sentiment_score instead
--> data/tests/benzinga_news.rs:105:9
|
105 | sentiment: Some(0.6),
| ^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated field `data::providers::common::NewsEvent::sentiment`: Use sentiment_score instead
--> data/tests/benzinga_news.rs:241:9
|
241 | sentiment: Some(0.0),
| ^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated field `data::providers::common::NewsEvent::sentiment`: Use sentiment_score instead
--> data/tests/benzinga_news.rs:262:9
|
262 | sentiment: Some(0.8),
| ^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated field `data::providers::common::NewsEvent::sentiment`: Use sentiment_score instead
--> data/tests/benzinga_news.rs:322:13
|
322 | sentiment: Some(0.0),
| ^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated field `data::providers::common::NewsEvent::sentiment`: Use sentiment_score instead
--> data/tests/benzinga_news.rs:397:9
|
397 | sentiment: Some(0.7),
| ^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated field `data::providers::common::NewsEvent::sentiment`: Use sentiment_score instead
--> data/tests/benzinga_news.rs:593:9
|
593 | sentiment: Some(0.0),
| ^^^^^^^^^^^^^^^^^^^^
warning: unused import: `Digest`
--> services/data_acquisition_service/tests/minio_upload_tests.rs:14:12
|
14 | use sha2::{Digest, Sha256};
| ^^^^^^
warning: unused variable: `streaming`
--> data/tests/benzinga_news.rs:486:9
|
486 | let streaming = BenzingaStreamingProvider::new(streaming_config).unwrap();
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_streaming`
|
= note: `#[warn(unused_variables)]` on by default
warning: unused variable: `historical`
--> data/tests/benzinga_news.rs:487:9
|
487 | let historical = BenzingaHistoricalProvider::new(historical_config).unwrap();
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_historical`
warning: enum `ErrorMode` is never used
--> services/data_acquisition_service/tests/common/mock_downloader.rs:13:10
|
13 | pub enum ErrorMode {
| ^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: struct `TestDownloader` is never constructed
--> services/data_acquisition_service/tests/common/mock_downloader.rs:26:12
|
26 | pub struct TestDownloader {
| ^^^^^^^^^^^^^^
warning: multiple associated items are never used
--> services/data_acquisition_service/tests/common/mock_downloader.rs:36:12
|
35 | impl TestDownloader {
| ------------------- associated items in this implementation
36 | pub fn new() -> Self {
| ^^^
...
47 | pub fn with_error_mode(mut self, mode: ErrorMode) -> Self {
| ^^^^^^^^^^^^^^^
...
52 | pub fn with_max_failures(mut self, max: u32) -> Self {
| ^^^^^^^^^^^^^^^^^
...
57 | pub fn with_timeout(mut self, timeout: Duration) -> Self {
| ^^^^^^^^^^^^
...
62 | pub async fn download(
| ^^^^^^^^
...
142 | pub fn get_retry_delays(&self) -> Vec<Duration> {
| ^^^^^^^^^^^^^^^^
...
146 | pub fn get_retry_count(&self) -> u32 {
| ^^^^^^^^^^^^^^^
warning: function `create_test_downloader_with_network_issues` is never used
--> services/data_acquisition_service/tests/common/mock_downloader.rs:155:14
|
155 | pub async fn create_test_downloader_with_network_issues(_path: &Path) -> TestDownloader {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `create_test_downloader_with_retry_tracking` is never used
--> services/data_acquisition_service/tests/common/mock_downloader.rs:161:14
|
161 | pub async fn create_test_downloader_with_retry_tracking(_path: &Path) -> TestDownloader {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `create_test_downloader_with_rate_limiting` is never used
--> services/data_acquisition_service/tests/common/mock_downloader.rs:167:14
|
167 | pub async fn create_test_downloader_with_rate_limiting(_path: &Path) -> TestDownloader {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `create_test_downloader_with_invalid_auth` is never used
--> services/data_acquisition_service/tests/common/mock_downloader.rs:173:14
|
173 | pub async fn create_test_downloader_with_invalid_auth(_path: &Path) -> TestDownloader {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `create_test_downloader_with_timeout` is never used
--> services/data_acquisition_service/tests/common/mock_downloader.rs:179:14
|
179 | pub async fn create_test_downloader_with_timeout(_path: &Path, timeout: Duration) -> TestDownloader {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `create_test_downloader_with_corrupted_data` is never used
--> services/data_acquisition_service/tests/common/mock_downloader.rs:183:14
|
183 | pub async fn create_test_downloader_with_corrupted_data(_path: &Path) -> TestDownloader {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `create_test_downloader_with_invalid_format` is never used
--> services/data_acquisition_service/tests/common/mock_downloader.rs:189:14
|
189 | pub async fn create_test_downloader_with_invalid_format(_path: &Path) -> TestDownloader {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `create_test_downloader_with_limited_disk` is never used
--> services/data_acquisition_service/tests/common/mock_downloader.rs:195:14
|
195 | pub async fn create_test_downloader_with_limited_disk(_path: &Path) -> TestDownloader {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `create_test_downloader_that_fails_midway` is never used
--> services/data_acquisition_service/tests/common/mock_downloader.rs:201:14
|
201 | pub async fn create_test_downloader_that_fails_midway(_path: &Path) -> TestDownloader {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function `create_test_downloader_with_error_type` is never used
--> services/data_acquisition_service/tests/common/mock_downloader.rs:207:14
|
207 | pub async fn create_test_downloader_with_error_type(_path: &Path, error_type: &str) -> TestDownloader {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: struct `TestService` is never constructed
--> services/data_acquisition_service/tests/common/mock_downloader.rs:226:12
|
226 | pub struct TestService {
| ^^^^^^^^^^^
warning: associated items `new`, `schedule_download`, and `get_download_status` are never used
--> services/data_acquisition_service/tests/common/mock_downloader.rs:233:12
|
232 | impl TestService {
| ---------------- associated items in this implementation
233 | pub fn new(concurrency_limit: usize) -> Self {
| ^^^
...
241 | pub async fn schedule_download(
| ^^^^^^^^^^^^^^^^^
...
295 | pub async fn get_download_status(
| ^^^^^^^^^^^^^^^^^^^
warning: function `create_test_service_with_concurrency_limit` is never used
--> services/data_acquisition_service/tests/common/mock_downloader.rs:309:14
|
309 | pub async fn create_test_service_with_concurrency_limit(_path: &Path, limit: usize) -> TestService {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: constant `STATUS_PENDING` is never used
--> services/data_acquisition_service/tests/common/mock_service.rs:16:7
|
16 | const STATUS_PENDING: i32 = 1;
| ^^^^^^^^^^^^^^
warning: constant `STATUS_DOWNLOADING` is never used
--> services/data_acquisition_service/tests/common/mock_service.rs:17:7
|
17 | const STATUS_DOWNLOADING: i32 = 2;
| ^^^^^^^^^^^^^^^^^^
warning: constant `STATUS_VALIDATING` is never used
--> services/data_acquisition_service/tests/common/mock_service.rs:18:7
|
18 | const STATUS_VALIDATING: i32 = 3;
| ^^^^^^^^^^^^^^^^^
warning: constant `STATUS_UPLOADING` is never used
--> services/data_acquisition_service/tests/common/mock_service.rs:19:7
|
19 | const STATUS_UPLOADING: i32 = 4;
| ^^^^^^^^^^^^^^^^
warning: constant `STATUS_COMPLETED` is never used
--> services/data_acquisition_service/tests/common/mock_service.rs:20:7
|
20 | const STATUS_COMPLETED: i32 = 5;
| ^^^^^^^^^^^^^^^^
warning: constant `STATUS_FAILED` is never used
--> services/data_acquisition_service/tests/common/mock_service.rs:21:7
|
21 | const STATUS_FAILED: i32 = 6;
| ^^^^^^^^^^^^^
warning: constant `STATUS_CANCELLED` is never used
--> services/data_acquisition_service/tests/common/mock_service.rs:22:7
|
22 | const STATUS_CANCELLED: i32 = 7;
| ^^^^^^^^^^^^^^^^
warning: struct `JobState` is never constructed
--> services/data_acquisition_service/tests/common/mock_service.rs:29:8
|
29 | struct JobState {
| ^^^^^^^^
warning: associated items `new`, `estimate_cost`, and `to_job_details` are never used
--> services/data_acquisition_service/tests/common/mock_service.rs:52:8
|
51 | impl JobState {
| ------------- associated items in this implementation
52 | fn new(job_id: String, request: ScheduleDownloadRequest) -> Self {
| ^^^
...
78 | fn estimate_cost(start_date: &str, end_date: &str, symbols: &[String]) -> f64 {
| ^^^^^^^^^^^^^
...
92 | fn to_job_details(&self) -> DownloadJobDetails {
| ^^^^^^^^^^^^^^
warning: struct `TestDataAcquisitionService` is never constructed
--> services/data_acquisition_service/tests/common/mock_service.rs:113:12
|
113 | pub struct TestDataAcquisitionService {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: associated items `new`, `schedule_download`, `progress_job_states`, `get_download_status`, `list_download_jobs`, and `cancel_download` are never used
--> services/data_acquisition_service/tests/common/mock_service.rs:119:12
|
118 | impl TestDataAcquisitionService {
| ------------------------------- associated items in this implementation
119 | pub fn new(simulate_corrupted_data: bool) -> Self {
| ^^^
...
126 | pub async fn schedule_download(
| ^^^^^^^^^^^^^^^^^
...
157 | async fn progress_job_states(
| ^^^^^^^^^^^^^^^^^^^
...
209 | pub async fn get_download_status(
| ^^^^^^^^^^^^^^^^^^^
...
221 | pub async fn list_download_jobs(
| ^^^^^^^^^^^^^^^^^^
...
260 | pub async fn cancel_download(
| ^^^^^^^^^^^^^^^
warning: function `create_test_service` is never used
--> services/data_acquisition_service/tests/common/mock_service.rs:283:14
|
283 | pub async fn create_test_service(_path: &Path) -> TestDataAcquisitionService {
| ^^^^^^^^^^^^^^^^^^^
warning: function `create_test_service_with_corrupted_data` is never used
--> services/data_acquisition_service/tests/common/mock_service.rs:287:14
|
287 | pub async fn create_test_service_with_corrupted_data(_path: &Path) -> TestDataAcquisitionService {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: fields `data` and `checksum` are never read
--> services/data_acquisition_service/tests/common/mock_uploader.rs:25:5
|
24 | struct StoredObject {
| ------------ fields in this struct
25 | data: Vec<u8>,
| ^^^^
26 | tags: HashMap<String, String>,
27 | checksum: String,
| ^^^^^^^^
|
= note: `StoredObject` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
warning: struct `DownloadRequest` is never constructed
--> services/data_acquisition_service/tests/common/types.rs:11:12
|
11 | pub struct DownloadRequest {
| ^^^^^^^^^^^^^^^
warning: associated function `new_test_request` is never used
--> services/data_acquisition_service/tests/common/types.rs:20:12
|
19 | impl DownloadRequest {
| -------------------- associated function in this implementation
20 | pub fn new_test_request() -> Self {
| ^^^^^^^^^^^^^^^^
warning: struct `DownloadResult` is never constructed
--> services/data_acquisition_service/tests/common/types.rs:32:12
|
32 | pub struct DownloadResult {
| ^^^^^^^^^^^^^^
warning: struct `ScheduleResponse` is never constructed
--> services/data_acquisition_service/tests/common/types.rs:39:12
|
39 | pub struct ScheduleResponse {
| ^^^^^^^^^^^^^^^^
warning: struct `StatusResponse` is never constructed
--> services/data_acquisition_service/tests/common/types.rs:44:12
|
44 | pub struct StatusResponse {
| ^^^^^^^^^^^^^^
warning: struct `JobDetails` is never constructed
--> services/data_acquisition_service/tests/common/types.rs:49:12
|
49 | pub struct JobDetails {
| ^^^^^^^^^^
warning: struct `ScheduleDownloadRequest` is never constructed
--> services/data_acquisition_service/tests/common/types.rs:76:12
|
76 | pub struct ScheduleDownloadRequest {
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: associated function `new_test_request` is never used
--> services/data_acquisition_service/tests/common/types.rs:88:12
|
87 | impl ScheduleDownloadRequest {
| ---------------------------- associated function in this implementation
88 | pub fn new_test_request() -> Self {
| ^^^^^^^^^^^^^^^^
warning: struct `ScheduleDownloadResponse` is never constructed
--> services/data_acquisition_service/tests/common/types.rs:103:12
|
103 | pub struct ScheduleDownloadResponse {
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: struct `DownloadJobDetails` is never constructed
--> services/data_acquisition_service/tests/common/types.rs:110:12
|
110 | pub struct DownloadJobDetails {
| ^^^^^^^^^^^^^^^^^^
warning: struct `GetDownloadStatusResponse` is never constructed
--> services/data_acquisition_service/tests/common/types.rs:124:12
|
124 | pub struct GetDownloadStatusResponse {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
warning: struct `ListDownloadJobsResponse` is never constructed
--> services/data_acquisition_service/tests/common/types.rs:129:12
|
129 | pub struct ListDownloadJobsResponse {
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: struct `CancelDownloadResponse` is never constructed
--> services/data_acquisition_service/tests/common/types.rs:137:12
|
137 | pub struct CancelDownloadResponse {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: extern crate `adaptive_strategy` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use adaptive_strategy as _;` to the crate root
= note: requested on the command line with `-W unused-crate-dependencies`
warning: extern crate `aes_gcm` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use aes_gcm as _;` to the crate root
warning: extern crate `argon2` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use argon2 as _;` to the crate root
warning: extern crate `assert_cmd` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use assert_cmd as _;` to the crate root
warning: extern crate `async_trait` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use async_trait as _;` to the crate root
warning: extern crate `base64` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use base64 as _;` to the crate root
warning: extern crate `chrono` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use chrono as _;` to the crate root
warning: extern crate `clap` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use clap as _;` to the crate root
warning: extern crate `colored` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use colored as _;` to the crate root
warning: extern crate `comfy_table` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use comfy_table as _;` to the crate root
warning: extern crate `common` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use common as _;` to the crate root
warning: extern crate `console` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use console as _;` to the crate root
warning: extern crate `criterion` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use criterion as _;` to the crate root
warning: extern crate `crossterm` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use crossterm as _;` to the crate root
warning: extern crate `dirs` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use dirs as _;` to the crate root
warning: extern crate `futures` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use futures as _;` to the crate root
warning: extern crate `futures_util` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use futures_util as _;` to the crate root
warning: extern crate `getrandom` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use getrandom as _;` to the crate root
warning: extern crate `hex` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use hex as _;` to the crate root
warning: extern crate `indicatif` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use indicatif as _;` to the crate root
warning: extern crate `jsonwebtoken` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use jsonwebtoken as _;` to the crate root
warning: extern crate `keyring` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use keyring as _;` to the crate root
warning: extern crate `once_cell` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use once_cell as _;` to the crate root
warning: extern crate `owo_colors` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use owo_colors as _;` to the crate root
warning: extern crate `predicates` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use predicates as _;` to the crate root
warning: extern crate `proptest` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use proptest as _;` to the crate root
warning: extern crate `prost` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use prost as _;` to the crate root
warning: extern crate `rand` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use rand as _;` to the crate root
warning: extern crate `ratatui` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use ratatui as _;` to the crate root
warning: extern crate `rpassword` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use rpassword as _;` to the crate root
warning: extern crate `rust_decimal` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use rust_decimal as _;` to the crate root
warning: extern crate `serde` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use serde as _;` to the crate root
warning: extern crate `serde_json` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use serde_json as _;` to the crate root
warning: extern crate `serial_test` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use serial_test as _;` to the crate root
warning: extern crate `sha2` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use sha2 as _;` to the crate root
warning: extern crate `tabled` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use tabled as _;` to the crate root
warning: extern crate `tempfile` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use tempfile as _;` to the crate root
warning: extern crate `thiserror` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use thiserror as _;` to the crate root
warning: extern crate `tokio_test` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use tokio_test as _;` to the crate root
warning: extern crate `toml` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use toml as _;` to the crate root
warning: extern crate `tonic` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use tonic as _;` to the crate root
warning: extern crate `tonic_prost` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use tonic_prost as _;` to the crate root
warning: extern crate `tracing` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use tracing as _;` to the crate root
warning: extern crate `tracing_subscriber` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use tracing_subscriber as _;` to the crate root
warning: extern crate `uuid` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use uuid as _;` to the crate root
warning: extern crate `zeroize` is unused in crate `debug_file_storage`
|
= help: remove the dependency or add `use zeroize as _;` to the crate root
warning: extern crate `adaptive_strategy` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use adaptive_strategy as _;` to the crate root
= note: requested on the command line with `-W unused-crate-dependencies`
warning: extern crate `aes_gcm` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use aes_gcm as _;` to the crate root
warning: extern crate `anyhow` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use anyhow as _;` to the crate root
warning: extern crate `argon2` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use argon2 as _;` to the crate root
warning: extern crate `assert_cmd` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use assert_cmd as _;` to the crate root
warning: extern crate `async_trait` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use async_trait as _;` to the crate root
warning: extern crate `base64` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use base64 as _;` to the crate root
warning: extern crate `chrono` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use chrono as _;` to the crate root
warning: extern crate `clap` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use clap as _;` to the crate root
warning: extern crate `colored` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use colored as _;` to the crate root
warning: extern crate `comfy_table` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use comfy_table as _;` to the crate root
warning: extern crate `common` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use common as _;` to the crate root
warning: extern crate `console` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use console as _;` to the crate root
warning: extern crate `criterion` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use criterion as _;` to the crate root
warning: extern crate `crossterm` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use crossterm as _;` to the crate root
warning: extern crate `dirs` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use dirs as _;` to the crate root
warning: extern crate `futures` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use futures as _;` to the crate root
warning: extern crate `futures_util` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use futures_util as _;` to the crate root
warning: extern crate `getrandom` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use getrandom as _;` to the crate root
warning: extern crate `hex` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use hex as _;` to the crate root
warning: extern crate `indicatif` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use indicatif as _;` to the crate root
warning: extern crate `jsonwebtoken` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use jsonwebtoken as _;` to the crate root
warning: extern crate `keyring` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use keyring as _;` to the crate root
warning: extern crate `once_cell` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use once_cell as _;` to the crate root
warning: extern crate `owo_colors` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use owo_colors as _;` to the crate root
warning: extern crate `predicates` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use predicates as _;` to the crate root
warning: extern crate `proptest` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use proptest as _;` to the crate root
warning: extern crate `prost` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use prost as _;` to the crate root
warning: extern crate `rand` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use rand as _;` to the crate root
warning: extern crate `ratatui` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use ratatui as _;` to the crate root
warning: extern crate `rpassword` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use rpassword as _;` to the crate root
warning: extern crate `rust_decimal` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use rust_decimal as _;` to the crate root
warning: extern crate `serde` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use serde as _;` to the crate root
warning: extern crate `serde_json` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use serde_json as _;` to the crate root
warning: extern crate `serial_test` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use serial_test as _;` to the crate root
warning: extern crate `sha2` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use sha2 as _;` to the crate root
warning: extern crate `tabled` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use tabled as _;` to the crate root
warning: extern crate `tempfile` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use tempfile as _;` to the crate root
warning: extern crate `thiserror` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use thiserror as _;` to the crate root
warning: extern crate `tokio_test` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use tokio_test as _;` to the crate root
warning: extern crate `toml` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use toml as _;` to the crate root
warning: extern crate `tonic` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use tonic as _;` to the crate root
warning: extern crate `tonic_prost` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use tonic_prost as _;` to the crate root
warning: extern crate `tracing` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use tracing as _;` to the crate root
warning: extern crate `tracing_subscriber` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use tracing_subscriber as _;` to the crate root
warning: extern crate `uuid` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use uuid as _;` to the crate root
warning: extern crate `zeroize` is unused in crate `agent_commands_test`
|
= help: remove the dependency or add `use zeroize as _;` to the crate root
warning: `trading_agent_service` (lib) generated 1 warning
warning: unused variable: `es_composite`
--> services/trading_agent_service/tests/asset_selection_tests.rs:584:13
|
584 | let es_composite = 0.7 * 0.4 + 0.7 * 0.3 + 0.7 * 0.2 + 0.95 * 0.1; // = 0.725
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_es_composite`
|
= note: `#[warn(unused_variables)]` on by default
warning: unused variable: `nq_composite`
--> services/trading_agent_service/tests/asset_selection_tests.rs:585:13
|
585 | let nq_composite = 0.8 * 0.4 + 0.8 * 0.3 + 0.8 * 0.2 + 0.3 * 0.1; // = 0.75
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nq_composite`
warning: `data_acquisition_service` (test "minio_upload_tests") generated 50 warnings (run `cargo fix --test "minio_upload_tests"` to apply 5 suggestions)
error: `SQLX_OFFLINE=true` but there is no cached data for this query, run `cargo sqlx prepare` to update the query cache or unset `SQLX_OFFLINE`
--> services/trading_agent_service/tests/orders_tests.rs:43:13
|
43 | let _ = sqlx::query!("DELETE FROM agent_orders WHERE allocation_id LIKE 'alloc_%' OR allocation_id = 'test_strategy'")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
error: `SQLX_OFFLINE=true` but there is no cached data for this query, run `cargo sqlx prepare` to update the query cache or unset `SQLX_OFFLINE`
--> services/trading_agent_service/tests/orders_tests.rs:286:19
|
286 | let row = sqlx::query!(
| ___________________^
287 | | r#"
288 | | SELECT order_id, allocation_id, symbol, side, quantity, order_type, status
289 | | FROM agent_orders
... |
292 | | order.id.to_string()
293 | | )
| |_________^
|
= note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
error: `SQLX_OFFLINE=true` but there is no cached data for this query, run `cargo sqlx prepare` to update the query cache or unset `SQLX_OFFLINE`
--> services/trading_agent_service/tests/orders_tests.rs:705:19
|
705 | let row = sqlx::query!(
| ___________________^
706 | | "SELECT order_id FROM agent_orders WHERE order_id = $1",
707 | | order.id.to_string()
708 | | )
| |_________^
|
= note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
warning: unused variable: `es_order`
--> services/trading_agent_service/tests/orders_tests.rs:132:9
|
132 | let es_order = orders.iter().find(|o| o.symbol.as_str() == "ES.FUT").expect("ES order should exist");
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_es_order`
|
= note: `#[warn(unused_variables)]` on by default
warning: `trading_agent_service` (test "orders_tests") generated 1 warning
error: could not compile `trading_agent_service` (test "orders_tests") due to 3 previous errors; 1 warning emitted
warning: build failed, waiting for other jobs to finish...
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
--> ml/src/labeling/meta_labeling/primary_model.rs:114:1
|
114 | / pub struct PrimaryDirectionalModel {
115 | | config: PrimaryModelConfig,
... |
118 | | }
| |_^
|
note: the lint level is defined here
--> ml/src/lib.rs:40:9
|
40 | #![warn(missing_debug_implementations)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
--> ml/src/features/adx_features.rs:63:1
|
63 | / pub struct AdxFeatureExtractor {
64 | | /// Period for Wilder's smoothing (default: 14)
65 | | period: usize,
66 | | /// Bar counter (tracks initialization phase)
... |
89 | | dx_history: VecDeque<f64>,
90 | | }
| |_^
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
--> ml/src/features/barrier_optimization.rs:85:1
|
85 | / pub struct BarrierOptimizer {
86 | | profit_range: Vec<f64>,
87 | | stop_range: Vec<f64>,
88 | | horizon_range: Vec<usize>,
89 | | }
| |_^
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
--> ml/src/features/feature_extraction.rs:23:1
|
23 | / pub struct FeatureExtractor {
24 | | /// RSI period (default 14)
25 | | rsi_period: usize,
26 | | /// EMA fast period (default 12)
... |
35 | | atr_period: usize,
36 | | }
| |_^
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
--> ml/src/features/normalization.rs:164:1
|
164 | / pub struct FeatureNormalizer {
165 | | /// Price feature normalizers (indices 15-74, 60 features)
166 | | price_normalizers: Vec<RollingZScore>,
... |
187 | | nan_handler: NaNHandler,
188 | | }
| |_^
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
--> ml/src/features/normalization.rs:420:1
|
420 | / pub struct RollingZScore {
421 | | window_size: usize,
422 | | /// Lazy ring buffer (None until first value)
423 | | buffer: Option<RingBuffer<f64, 100>>,
... |
426 | | count: usize,
427 | | }
| |_^
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
--> ml/src/features/normalization.rs:523:1
|
523 | / pub struct RollingPercentileRank {
524 | | window_size: usize,
525 | | /// Lazy ring buffer (None until first value)
526 | | buffer: Option<RingBuffer<f64, 100>>,
527 | | }
| |_^
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
--> ml/src/features/normalization.rs:579:1
|
579 | / pub struct LogZScoreNormalizer {
580 | | scale_factor: f64,
581 | | zscore: RollingZScore,
582 | | }
| |_^
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
--> ml/src/features/pipeline.rs:165:1
|
165 | / pub struct FeatureExtractionPipeline {
166 | | /// Configuration
167 | | config: FeatureConfig,
... |
191 | | total_extractions: u64,
192 | | }
| |_^
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
--> ml/src/features/price_features.rs:33:1
|
33 | pub struct PriceFeatureExtractor;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
--> ml/src/features/regime_adx.rs:48:1
|
48 | / pub struct RegimeADXFeatures {
49 | | /// Smoothing period (default: 14)
50 | | period: usize,
51 | | /// Wilder's smoothing constant (1/period)
... |
75 | | bar_count: usize,
76 | | }
| |_^
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
--> ml/src/features/regime_cusum.rs:21:1
|
21 | / pub struct RegimeCUSUMFeatures {
22 | | detector: CUSUMDetector,
23 | | breaks_window: VecDeque<StructuralBreak>,
24 | | window_size: usize,
... |
27 | | last_break_result: Option<StructuralBreak>,
28 | | }
| |_^
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
--> ml/src/features/regime_transition.rs:40:1
|
40 | / pub struct RegimeTransitionFeatures {
41 | | /// Underlying transition matrix tracking regime changes
42 | | matrix: RegimeTransitionMatrix,
... |
45 | | current_regime: MarketRegime,
46 | | }
| |_^
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
--> ml/src/features/statistical_features.rs:39:1
|
39 | / pub struct StatisticalFeatureExtractor {
40 | | /// Ring buffer for rolling mean (O(1) updates)
41 | | ring_buffer: VecDeque<f64>,
42 | | /// Welford's online algorithm state for variance
... |
49 | | window_size: usize,
50 | | }
| |_^
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
--> ml/src/features/volume_features.rs:65:1
|
65 | / pub struct VolumeFeatureExtractor {
66 | | /// Rolling window of bars (Wave G17: lazy allocation for 100% savings on unused symbols)
67 | | bars: Option<VecDeque<OHLCVBar>>,
68 | | }
| |_^
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
--> ml/src/regime/pages_test.rs:56:1
|
56 | / pub struct PAGESTest {
57 | | /// Target variance (σ²₀) - baseline to compare against
58 | | target_variance: f64,
... |
82 | | update_count: usize,
83 | | }
| |_^
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
--> ml/src/regime/trending.rs:71:1
|
71 | / pub struct TrendingClassifier {
72 | | /// ADX threshold for trend detection (default 25.0)
73 | | adx_threshold: f64,
74 | | /// Hurst threshold for persistence (default 0.55)
... |
96 | | alpha_wilder: f64,
97 | | }
| |_^
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
--> ml/src/regime/ranging.rs:39:1
|
39 | / pub struct RangingClassifier {
40 | | /// Bollinger Bands period (default 20)
41 | | bollinger_period: usize,
42 | | /// Bollinger Bands standard deviation multiplier (default 2.0)
... |
56 | | bb_cache: Option<(f64, f64, f64)>, // (upper, middle, lower)
57 | | }
| |_^
warning: type does not implement `std::fmt::Debug`; consider adding `#[derive(Debug)]` or a manual implementation
--> ml/src/regime/volatile.rs:64:1
|
64 | / pub struct VolatileClassifier {
65 | | /// Parkinson threshold multiplier (default 1.5σ)
66 | | parkinson_threshold_multiplier: f64,
67 | | /// Garman-Klass volatility threshold
... |
76 | | atr_cache: VecDeque<f64>,
77 | | }
| |_^
warning: `tli` (test "debug_file_storage") generated 46 warnings
warning: `trading_service_load_tests` (test "throughput_tests") generated 3 warnings
warning: `trading_agent_service` (test "asset_selection_tests") generated 2 warnings
warning: `data` (test "benzinga_news") generated 69 warnings (run `cargo fix --test "benzinga_news"` to apply 4 suggestions)
warning: `tli` (test "agent_commands_test") generated 47 warnings
warning: `ml` (lib) generated 20 warnings (run `cargo fix --lib -p ml` to apply 1 suggestion)
error: process didn't exit successfully: `/home/jgrusewski/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo test --tests --manifest-path /home/jgrusewski/Work/foxhunt/Cargo.toml --target-dir /home/jgrusewski/Work/foxhunt/target/llvm-cov-target --workspace` (exit status: 101)