Files
foxhunt/coverage_phase2_raw.txt
jgrusewski 2f57602f30 🚀 Wave 113 Phase 2+3: Complete coverage expansion and production readiness
SUMMARY: 39 agents, 90% production readiness (+7.5%)

PHASE 2: Service Coverage Expansion (Agents 27-34)
- 8,270 lines test code: trading (2,562), backtesting (1,740), compliance (1,462), data (2,506)
- 317 new tests across 16 test files

PHASE 3: Compilation Fixes & Validation (Agents 35-39)
- Fixed 49 errors (11 SQLx + 38 compliance API)
- 100% production code compilation
- 47.03% coverage baseline (+17.23%)
- 90.0% production readiness validated

METRICS:
- Tests: 700 → 1,532 (+119%)
- Coverage: 29.8% → 47.03% (+58%)
- Compliance: 0% → 83.3%
- Production readiness: 82.5% → 90.0%

🤖 Wave 113 Complete - Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-06 09:24:09 +02:00

1068 lines
38 KiB
Plaintext

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 libc v0.2.176
Compiling serde v1.0.228
Compiling cfg-if v1.0.3
Compiling serde_core v1.0.228
Compiling autocfg v1.5.0
Compiling memchr v2.7.6
Compiling libm v0.2.15
Compiling once_cell v1.21.3
Compiling version_check v0.9.5
Compiling zerocopy v0.8.27
Compiling equivalent v1.0.2
Compiling log v0.4.28
Compiling find-msvc-tools v0.1.3
Compiling shlex v1.3.0
Compiling simd-adler32 v0.3.7
Compiling bytes v1.10.1
Compiling adler2 v2.0.1
Compiling hashbrown v0.16.0
Compiling miniz_oxide v0.8.9
Compiling pin-project-lite v0.2.16
Compiling itoa v1.0.15
Compiling getrandom v0.3.3
Compiling object v0.37.3
Compiling scopeguard v1.2.0
Compiling gimli v0.32.3
Compiling lock_api v0.4.14
Compiling fixedbitset v0.4.2
Compiling parking_lot_core v0.9.12
Compiling rustc-demangle v0.1.26
Compiling futures-core v0.3.31
Compiling typenum v1.19.0
Compiling num-traits v0.2.19
Compiling bitflags v2.9.4
Compiling syn v2.0.106
Compiling jobserver v0.1.34
Compiling getrandom v0.2.16
Compiling signal-hook-registry v1.4.6
Compiling cc v1.2.40
Compiling rand_core v0.9.3
Compiling mio v1.0.4
Compiling futures-sink v0.3.31
Compiling crossbeam-utils v0.8.21
Compiling ppv-lite86 v0.2.21
Compiling futures-channel v0.3.31
Compiling slab v0.4.11
Compiling futures-io v0.3.31
Compiling pin-utils v0.1.0
Compiling futures-task v0.3.31
Compiling generic-array v0.14.7
Compiling indexmap v2.11.4
Compiling socket2 v0.6.0
Compiling rand_chacha v0.9.0
Compiling num-integer v0.1.46
Compiling rand_core v0.6.4
Compiling tracing-core v0.1.34
Compiling addr2line v0.25.1
Compiling subtle v2.6.1
Compiling rand v0.9.2
Compiling num-bigint v0.4.6
Compiling fnv v1.0.7
Compiling anyhow v1.0.100
Compiling stable_deref_trait v1.2.0
Compiling pkg-config v0.3.32
Compiling ryu v1.0.20
Compiling serde_json v1.0.145
Compiling icu_normalizer_data v2.0.0
Compiling icu_properties_data v2.0.1
Compiling percent-encoding v2.3.2
Compiling heck v0.5.0
Compiling allocator-api2 v0.2.21
Compiling thiserror v1.0.69
Compiling http v1.3.1
Compiling base64 v0.22.1
Compiling aho-corasick v1.1.3
Compiling untrusted v0.9.0
Compiling crypto-common v0.1.6
Compiling httparse v1.10.1
Compiling regex-syntax v0.8.6
Compiling cmake v0.1.54
Compiling iana-time-zone v0.1.64
Compiling backtrace v0.3.76
Compiling crc32fast v1.5.0
Compiling tower-service v0.3.3
Compiling dunce v1.0.5
Compiling fs_extra v1.3.0
Compiling socket2 v0.5.10
Compiling aws-lc-rs v1.14.0
Compiling litemap v0.8.0
Compiling writeable v0.6.1
Compiling foldhash v0.1.5
Compiling http-body v1.0.1
Compiling try-lock v0.2.5
Compiling hashbrown v0.15.5
Compiling cpufeatures v0.2.17
Compiling want v0.3.1
Compiling byteorder v1.5.0
Compiling zlib-rs v0.5.2
Compiling httpdate v1.0.3
Compiling synstructure v0.13.2
Compiling block-buffer v0.10.4
Compiling rustls v0.23.32
Compiling form_urlencoded v1.2.2
Compiling digest v0.10.7
Compiling regex-automata v0.4.11
Compiling rand_chacha v0.3.1
Compiling vcpkg v0.2.15
Compiling ipnet v2.11.0
Compiling syn v1.0.109
Compiling rand v0.8.5
Compiling thiserror v2.0.17
Compiling atomic-waker v1.1.2
Compiling utf8_iter v1.0.4
Compiling tower-layer v0.3.3
Compiling http-body-util v0.1.3
Compiling sync_wrapper v1.0.2
Compiling mime v0.3.17
Compiling ring v0.17.14
Compiling aws-lc-sys v0.31.0
Compiling bigdecimal v0.4.8
Compiling openssl-probe v0.1.6
Compiling regex v1.11.3
Compiling libz-rs-sys v0.5.2
Compiling flate2 v1.1.3
Compiling openssl-sys v0.9.109
Compiling foreign-types-shared v0.1.1
Compiling ident_case v1.0.1
Compiling zeroize v1.8.2
Compiling openssl v0.10.73
Compiling arrayvec v0.7.6
Compiling rustls-pki-types v1.12.0
Compiling foreign-types v0.3.2
Compiling native-tls v0.2.14
Compiling rustix v1.1.2
Compiling atoi v2.0.0
Compiling tinyvec_macros v0.1.1
Compiling rust_decimal v1.38.0
Compiling tokio v1.47.1
Compiling tinyvec v1.10.0
Compiling concurrent-queue v2.5.0
Compiling webpki-roots v1.0.2
Compiling crc-catalog v2.4.0
Compiling parking v2.2.1
Compiling event-listener v5.4.1
Compiling sha2 v0.10.9
Compiling futures-util v0.3.31
Compiling crc v3.3.0
Compiling chrono v0.4.42
Compiling rustls-webpki v0.103.7
Compiling tokio-stream v0.1.17
Compiling hashlink v0.10.0
Compiling webpki-roots v0.26.11
Compiling unicode-normalization v0.1.24
Compiling crossbeam-queue v0.3.12
Compiling hmac v0.12.1
Compiling unicode-bidi v0.3.18
Compiling uuid v1.18.1
Compiling strsim v0.10.0
Compiling unicode-properties v0.1.3
Compiling darling_core v0.14.4
Compiling stringprep v0.1.5
Compiling hkdf v0.12.4
Compiling md-5 v0.10.6
Compiling num_cpus v1.17.0
Compiling encoding_rs v0.8.35
Compiling dotenvy v0.15.7
Compiling home v0.5.11
Compiling whoami v1.6.1
Compiling hex v0.4.3
Compiling compression-core v0.4.29
Compiling compression-codecs v0.4.31
Compiling lazy_static v1.5.0
Compiling iri-string v0.7.8
Compiling rand_distr v0.5.1
Compiling unicode-xid v0.2.6
Compiling fastrand v2.3.0
Compiling synstructure v0.12.6
Compiling winnow v0.7.13
Compiling toml_write v0.1.2
Compiling unsafe-libyaml v0.2.11
Compiling ahash v0.8.12
Compiling arc-swap v1.7.1
Compiling sha1_smol v1.0.1
Compiling serde_derive v1.0.228
Compiling zerofrom-derive v0.1.6
Compiling futures-macro v0.3.31
Compiling displaydoc v0.2.5
Compiling tokio-macros v2.5.0
Compiling bytemuck_derive v1.10.2
Compiling yoke-derive v0.8.0
Compiling tracing-attributes v0.1.30
Compiling zerovec-derive v0.11.1
Compiling zeroize_derive v1.4.2
Compiling thiserror-impl v1.0.69
Compiling thiserror-impl v2.0.17
Compiling async-trait v0.1.89
Compiling openssl-macros v0.1.1
Compiling rust_decimal_macros v1.38.0
Compiling darling_macro v0.14.4
Compiling futures-executor v0.3.31
Compiling bytemuck v1.24.0
Compiling tracing v0.1.41
Compiling futures v0.3.31
Compiling rustls-native-certs v0.8.1
Compiling sharded-slab v0.1.7
Compiling matchers v0.2.0
Compiling crossbeam-epoch v0.9.18
Compiling tracing-log v0.2.0
Compiling thread_local v1.1.9
Compiling nu-ansi-term v0.50.1
Compiling paste v1.0.15
Compiling zerofrom v0.1.6
Compiling yoke v0.8.0
Compiling crossbeam-deque v0.8.6
Compiling zerovec v0.11.4
Compiling zerotrie v0.2.2
Compiling lru v0.12.5
Compiling darling v0.14.4
Compiling minimal-lexical v0.2.1
Compiling derive_builder_core v0.12.0
Compiling nom v7.1.3
Compiling linux-raw-sys v0.11.0
Compiling hashbrown v0.14.5
Compiling semver v1.0.27
Compiling rustc_version v0.4.1
Compiling tinystr v0.8.1
Compiling potential_utf v0.1.3
Compiling icu_collections v2.0.0
Compiling icu_locale_core v2.0.0
Compiling num-rational v0.4.2
Compiling rayon-core v1.13.0
Compiling safe_arch v0.7.4
Compiling inout v0.1.4
Compiling cipher v0.4.4
Compiling universal-hash v0.5.1
Compiling icu_provider v2.0.0
Compiling icu_properties v2.0.1
Compiling tempfile v3.23.0
Compiling opaque-debug v0.3.1
Compiling base64 v0.21.7
Compiling protobuf v3.7.2
Compiling protobuf-support v3.7.2
Compiling crossbeam-channel v0.5.15
Compiling prometheus v0.14.0
Compiling either v1.15.0
Compiling smallvec v1.15.1
Compiling petgraph v0.6.5
Compiling icu_normalizer v2.0.0
Compiling serde_urlencoded v0.7.1
Compiling itertools v0.13.0
Compiling half v2.6.0
Compiling idna_adapter v1.2.1
Compiling idna v1.1.0
Compiling parking_lot v0.12.5
Compiling futures-intrusive v0.5.0
Compiling url v2.5.7
Compiling rustify_derive v0.5.4
Compiling derive_builder_macro v0.12.0
Compiling serde_spanned v0.6.9
Compiling toml_datetime v0.6.11
Compiling secrecy v0.10.3
Compiling toml_edit v0.22.27
Compiling serde_yaml v0.9.34+deprecated
Compiling tracing-subscriber v0.3.20
Compiling sqlx-core v0.8.6
Compiling derive_builder v0.12.0
Compiling num-complex v0.4.6
Compiling wide v0.7.33
Compiling dashmap v6.1.0
Compiling rayon v1.11.0
Compiling polyval v0.6.2
Compiling aead v0.5.2
Compiling ghash v0.5.1
Compiling hdrhistogram v7.5.4
Compiling toml v0.8.23
Compiling poly1305 v0.8.0
Compiling chacha20 v0.9.1
Compiling sqlx-postgres v0.8.6
Compiling aes v0.8.4
Compiling ctr v0.9.2
Compiling chacha20poly1305 v0.10.1
Compiling cron v0.12.1
Compiling bitflags v1.3.2
Compiling num-iter v0.1.45
Compiling num v0.4.3
Compiling aes-gcm v0.10.3
Compiling raw-cpuid v11.6.0
Compiling rustversion v1.0.22
Compiling libloading v0.8.9
Compiling same-file v1.0.6
Compiling anstyle v1.0.13
Compiling walkdir v2.5.0
Compiling utf8parse v0.2.2
Compiling seq-macro v0.3.6
Compiling anstyle-parse v0.2.7
Compiling anstyle-query v1.1.4
Compiling colorchoice v1.0.4
Compiling is_terminal_polyfill v1.70.1
Compiling strsim v0.11.1
Compiling anstream v0.6.21
Compiling clap_lex v0.7.5
Compiling clap_builder v4.5.48
Compiling clap_derive v4.5.47
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 itertools v0.14.0
Compiling h2 v0.4.12
Compiling tower v0.5.2
Compiling combine v4.6.7
Compiling futures-timer v3.0.3
Compiling async-stream-impl v0.3.6
Compiling pin-project-internal v1.1.10
Compiling sqlx-macros-core v0.8.6
Compiling tower-http v0.6.6
Compiling prost-derive v0.14.1
Compiling reborrow v0.5.5
Compiling bincode v1.3.3
Compiling prettyplease v0.2.37
Compiling pulldown-cmark v0.13.0
Compiling unicase v2.8.1
Compiling async-stream v0.3.6
Compiling hyper v1.7.0
Compiling redis v0.27.6
Compiling clap v4.5.48
Compiling matrixmultiply v0.3.10
Compiling hyper-util v0.1.17
Compiling prost v0.14.1
Compiling fixedbitset v0.5.7
Compiling pin-project v1.1.10
Compiling prost-types v0.14.1
Compiling petgraph v0.7.1
Compiling pulldown-cmark-to-cmark v21.0.0
Compiling hyper-tls v0.6.0
Compiling multimap v0.10.1
Compiling rawpointer v0.2.1
Compiling tonic-build v0.14.2
Compiling crossbeam v0.8.4
Compiling approx v0.5.1
Compiling pulp v0.21.5
Compiling dyn-stack-macros v0.1.0
Compiling prost-build v0.14.1
Compiling dyn-stack v0.13.2
Compiling nalgebra-macros v0.2.2
Compiling rand_distr v0.4.3
Compiling num-conv v0.1.0
Compiling time-core v0.1.6
Compiling unicode-segmentation v1.12.0
Compiling powerfmt v0.2.0
Compiling time-macros v0.2.24
Compiling tonic-prost-build v0.14.2
Compiling deranged v0.5.4
Compiling simba v0.8.1
Compiling ndarray v0.15.6
Compiling toml_parser v1.0.3
Compiling pulp v0.18.22
Compiling dyn-stack v0.10.0
Compiling raw-cpuid v10.7.0
Compiling toml_datetime v0.7.2
Compiling gemm-common v0.18.2
Compiling toml_edit v0.23.6
Compiling simba v0.9.1
Compiling gemm-common v0.17.1
Compiling fdeflate v0.3.7
Compiling color_quant v1.1.0
Compiling weezl v0.1.10
Compiling time v0.3.44
Compiling proc-macro-crate v3.4.0
Compiling axum-core v0.5.5
Compiling sha1 v0.10.6
Compiling data-encoding v2.9.0
Compiling matchit v0.8.4
Compiling gemm-f32 v0.18.2
Compiling hyper-timeout v0.5.2
Compiling axum v0.8.6
Compiling gemm-f32 v0.17.1
Compiling nalgebra v0.32.6
Compiling gemm-f16 v0.18.2
Compiling gemm-c64 v0.18.2
Compiling num_enum_derive v0.7.4
Compiling gemm-f64 v0.18.2
Compiling gemm-c32 v0.18.2
Compiling quanta v0.12.6
Compiling pathfinder_simd v0.5.5
Compiling yoke-derive v0.7.5
Compiling snafu-derive v0.8.9
Compiling freetype-sys v0.20.1
Compiling nalgebra v0.33.2
Compiling yeslogic-fontconfig-sys v6.0.0
Compiling csv-core v0.1.12
Compiling zip v1.1.4
Compiling portable-atomic v1.11.1
Compiling csv v1.3.1
Compiling gemm v0.18.2
Compiling gemm-f16 v0.17.1
Compiling gemm-c32 v0.17.1
Compiling gemm-f64 v0.17.1
Compiling gemm-c64 v0.17.1
Compiling arrow-buffer v55.2.0
Compiling sqlx-macros v0.8.6
Compiling num_enum v0.7.4
Compiling safetensors v0.4.5
Compiling quick-xml v0.37.5
Compiling memmap2 v0.9.8
Compiling arrow-schema v55.2.0
Compiling statrs v0.17.1
Compiling option-ext v0.2.0
Compiling humantime v2.3.0
Compiling yoke v0.7.5
Compiling ug v0.4.0
Compiling dirs-sys v0.5.0
Compiling arrow-data v55.2.0
Compiling gemm v0.17.1
Compiling png v0.17.16
Compiling dlib v0.5.2
Compiling dashmap v5.5.3
Compiling fs2 v0.4.3
Compiling spinning_top v0.3.0
Compiling jpeg-decoder v0.3.2
Compiling nonzero_ext v0.3.0
Compiling plotters-backend v0.3.7
Compiling no-std-compat v0.4.1
Compiling rustc-hash v1.1.0
Compiling font-kit v0.14.3
Compiling governor v0.6.3
Compiling pathfinder_geometry v0.5.1
Compiling candle-core v0.9.1
Compiling image v0.24.9
Compiling arrow-array v55.2.0
Compiling dirs v6.0.0
Compiling gif v0.12.0
Compiling float-ord v0.3.2
Compiling snafu v0.8.9
Compiling plotters-svg v0.3.7
Compiling ml v1.0.0 (/home/jgrusewski/Work/foxhunt/ml)
Compiling ciborium-io v0.2.2
Compiling ttf-parser v0.20.0
Compiling lexical-util v1.0.7
Compiling ciborium-ll v0.2.2
Compiling sysinfo v0.33.1
Compiling itertools v0.10.5
Compiling plotters-bitmap v0.3.7
Compiling cast v0.3.0
Compiling ciborium v0.2.2
Compiling tinytemplate v1.2.1
Compiling is-terminal v0.4.16
Compiling oorandom v11.1.5
Compiling anes v0.1.6
Compiling arrow-select v55.2.0
Compiling plotters v0.3.7
Compiling lexical-parse-integer v1.0.6
Compiling criterion-plot v0.5.0
Compiling lexical-write-integer v1.0.6
Compiling lexical-parse-float v1.0.6
Compiling lexical-write-float v1.0.6
Compiling unicode-width v0.2.1
Compiling comfy-table v7.2.1
Compiling flatbuffers v25.9.23
Compiling zstd-sys v2.0.16+zstd.1.5.7
Compiling lexical-core v1.0.6
Compiling criterion v0.5.1
Compiling tokio-test v0.4.4
Compiling rustls v0.22.4
Compiling simdutf8 v0.1.5
Compiling arrow-ipc v55.2.0
Compiling arrow-cast v55.2.0
Compiling rustls-webpki v0.102.8
Compiling zstd-safe v7.2.4
Compiling utf-8 v0.7.6
Compiling alloc-no-stdlib v2.0.4
Compiling alloc-stdlib v0.2.2
Compiling arrow-string v55.2.0
Compiling candle-nn v0.9.1
Compiling arrow-csv v55.2.0
Compiling arrow-json v55.2.0
Compiling arrow-ord v55.2.0
Compiling candle-optimisers v0.9.0
Compiling arrow-arith v55.2.0
Compiling arrow-row v55.2.0
Compiling tokio-rustls v0.26.4
Compiling hyper-rustls v0.27.7
Compiling reqwest v0.12.23
Compiling tonic v0.14.2
Compiling rustify v0.6.1
Compiling tonic-prost v0.14.2
Compiling object_store v0.11.2
Compiling vaultrs v0.7.4
Compiling lz4-sys v1.11.1+lz4-1.10.0
Compiling snap v1.1.1
Compiling sqlx v0.8.6
Compiling arrow v55.2.0
Compiling brotli-decompressor v5.0.0
Compiling ordered-float v2.10.1
Compiling twox-hash v2.1.2
Compiling integer-encoding v3.0.4
Compiling thrift v0.17.0
Compiling lz4_flex v0.11.5
Compiling brotli v8.0.2
Compiling tokio-rustls v0.25.0
Compiling tungstenite v0.21.0
Compiling zstd v0.13.3
Compiling tokio-tungstenite v0.21.0
Compiling parquet v55.2.0
Compiling config v1.0.0 (/home/jgrusewski/Work/foxhunt/config)
Compiling nonzero v0.2.0
Compiling md5 v0.7.0
Compiling xml-rs v0.8.27
Compiling wait-timeout v0.2.1
Compiling quick-error v1.2.3
Compiling bit-vec v0.8.0
Compiling bit-set v0.8.0
Compiling rusty-fork v0.3.1
Compiling rand_xorshift v0.4.0
Compiling unarray v0.1.4
Compiling proptest v1.8.0
Compiling rusticata-macros v4.1.0
Compiling asn1-rs-derive v0.5.1
Compiling asn1-rs-impl v0.2.0
Compiling lz4 v1.28.1
Compiling oid-registry v0.7.1
Compiling signal-hook v0.3.18
Compiling darling_core v0.20.11
Compiling tonic-reflection v0.14.2
Compiling mio v0.8.11
Compiling asn1-rs v0.6.2
Compiling rustix v0.38.44
Compiling common v1.0.0 (/home/jgrusewski/Work/foxhunt/common)
Compiling signal-hook-mio v0.2.4
Compiling instability v0.3.9
Compiling linux-raw-sys v0.4.15
Compiling der-parser v9.0.0
Compiling x509-parser v0.16.0
Compiling trading_engine v1.0.0 (/home/jgrusewski/Work/foxhunt/trading_engine)
Compiling storage v1.0.0 (/home/jgrusewski/Work/foxhunt/storage)
Compiling adaptive-strategy v1.0.0 (/home/jgrusewski/Work/foxhunt/adaptive-strategy)
warning: unused import: `std::io::Write`
--> trading_engine/src/compliance/audit_trails.rs:367:13
|
367 | use std::io::Write;
| ^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `std::fs::OpenOptions`
--> trading_engine/src/compliance/audit_trails.rs:368:13
|
368 | use std::fs::OpenOptions;
| ^^^^^^^^^^^^^^^^^^^^
warning: unnecessary qualification
--> trading_engine/src/compliance/audit_trails.rs:801:25
|
801 | start_time: chrono::Utc::now() - chrono::Duration::hours(24),
| ^^^^^^^^^^^^^^^^
|
= note: requested on the command line with `-W unused-qualifications`
help: remove the unnecessary path segments
|
801 - start_time: chrono::Utc::now() - chrono::Duration::hours(24),
801 + start_time: Utc::now() - chrono::Duration::hours(24),
|
warning: unnecessary qualification
--> trading_engine/src/compliance/audit_trails.rs:802:23
|
802 | end_time: chrono::Utc::now(),
| ^^^^^^^^^^^^^^^^
|
help: remove the unnecessary path segments
|
802 - end_time: chrono::Utc::now(),
802 + end_time: Utc::now(),
|
Compiling castaway v0.2.4
Compiling strum_macros v0.26.4
Compiling static_assertions v1.1.0
Compiling unicode-width v0.1.14
Compiling darling_macro v0.20.11
Compiling indoc v2.0.6
Compiling unicode-truncate v1.1.0
Compiling compact_str v0.8.1
Compiling crossterm v0.28.1
Compiling tli v1.0.0 (/home/jgrusewski/Work/foxhunt/tli)
Compiling darling v0.20.11
Compiling rtoolbox v0.0.3
warning: variable does not need to be mutable
--> trading_engine/src/compliance/audit_trails.rs:330:9
|
330 | mut receiver: mpsc::UnboundedReceiver<TransactionAuditEvent>,
| ----^^^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
Compiling cassowary v0.3.0
Compiling rpassword v7.4.0
Compiling crossterm v0.27.0
Compiling keyring v3.6.3
Compiling axum-core v0.4.5
Compiling serde_path_to_error v0.1.20
Compiling matchit v0.7.3
Compiling simple_asn1 v0.6.3
Compiling sys-info v0.9.1
Compiling pem v3.0.5
Compiling tonic-health v0.14.2
Compiling tower v0.4.13
Compiling axum v0.7.9
Compiling jsonwebtoken v9.3.1
Compiling relative-path v1.9.3
Compiling glob v0.3.3
Compiling predicates-core v1.0.9
Compiling mockall_derive v0.13.1
Compiling foxhunt_e2e v0.1.0 (/home/jgrusewski/Work/foxhunt/tests/e2e)
Compiling termtree v0.5.1
Compiling predicates-tree v1.0.12
Compiling predicates v3.1.3
Compiling assert_matches v1.5.0
Compiling downcast v0.11.0
Compiling fragile v2.0.1
Compiling equator-macro v0.4.2
Compiling sdd v3.0.10
Compiling scc v2.4.0
Compiling tungstenite v0.24.0
Compiling trading_service v1.0.0 (/home/jgrusewski/Work/foxhunt/services/trading_service)
Compiling strum v0.26.3
Compiling ratatui v0.28.1
Compiling serial_test_derive v3.2.0
Compiling equator v0.4.2
Compiling aligned-vec v0.6.4
Compiling tokio-tungstenite v0.24.0
warning: unused import: `std::io::Write`
--> trading_engine/src/compliance/audit_trails.rs:537:13
|
537 | use std::io::Write;
| ^^^^^^^^^^^^^^
Compiling built v0.7.7
Compiling v_frame v0.3.9
Compiling rstest_macros v0.22.0
Compiling profiling-procmacros v1.0.17
Compiling quick-error v2.0.1
Compiling av1-grain v0.2.4
Compiling maybe-rayon v0.1.1
Compiling rav1e v0.7.1
Compiling itertools v0.12.1
Compiling secrecy v0.8.0
Compiling arg_enum_proc_macro v0.3.4
Compiling fax_derive v0.2.0
Compiling serial_test v3.2.0
Compiling profiling v1.0.17
Compiling num-derive v0.4.2
Compiling test-case-core v3.3.1
Compiling simd_helpers v0.1.0
warning: variable does not need to be mutable
--> trading_engine/src/compliance/audit_trails.rs:539:13
|
539 | let mut file = OpenOptions::new()
| ----^^^^
| |
| help: remove this `mut`
Compiling new_debug_unreachable v1.0.6
Compiling noop_proc_macro v0.3.0
Compiling zune-core v0.4.12
Compiling imgref v1.12.0
Compiling bitstream-io v2.6.0
Compiling zune-jpeg v0.4.21
Compiling loop9 v0.1.5
Compiling avif-serialize v0.8.6
Compiling pxfm v0.1.24
Compiling fax v0.2.6
Compiling zune-inflate v0.2.54
Compiling test-case-macros v3.3.1
Compiling byteorder-lite v0.1.0
Compiling bit_field v0.10.3
Compiling rgb v0.8.52
Compiling lebe v0.5.3
Compiling image-webp v0.2.4
Compiling exr v1.73.0
Compiling tiff v0.10.3
Compiling test-case v3.3.1
Compiling moxcms v0.7.6
Compiling ravif v0.11.20
Compiling mockall v0.13.1
Compiling gif v0.13.3
Compiling png v0.18.0
Compiling qoi v0.4.1
Compiling api_gateway v1.0.0 (/home/jgrusewski/Work/foxhunt/services/api_gateway)
Compiling console v0.15.11
Compiling similar v2.7.0
Compiling image v0.25.8
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 constant_time_eq v0.3.1
Compiling base32 v0.5.1
Compiling totp-rs v5.7.0
Compiling ml-data v0.1.0 (/home/jgrusewski/Work/foxhunt/ml-data)
Compiling insta v1.43.2
Compiling futures-test v0.3.31
Compiling urlencoding v2.1.3
Compiling qrcode v0.14.1
Compiling rstest_macros v0.18.2
error: error returned from database: password authentication failed for user "postgres"
--> services/api_gateway/src/auth/mfa/backup_codes.rs:188:23
|
188 | let results = sqlx::query!(
| _______________________^
189 | | r#"
190 | | SELECT
191 | | id, code_hint as hint, is_used, used_at,
... |
197 | | user_id
198 | | )
| |_________^
|
= 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: error returned from database: password authentication failed for user "postgres"
--> services/api_gateway/src/auth/mfa/mod.rs:133:22
|
133 | let result = sqlx::query!(
| ______________________^
134 | | r#"
135 | | SELECT
136 | | id, user_id, is_enabled, is_verified,
... |
146 | | user_id
147 | | )
| |_________^
|
= 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: error returned from database: password authentication failed for user "postgres"
--> services/api_gateway/src/auth/mfa/mod.rs:202:9
|
202 | / sqlx::query!(
203 | | r#"
204 | | INSERT INTO mfa_enrollment_sessions (
205 | | id, user_id, temp_totp_secret_encrypted, qr_code_data,
... |
213 | | expires_at
214 | | )
| |_________^
|
= 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: error returned from database: password authentication failed for user "postgres"
--> services/api_gateway/src/auth/mfa/mod.rs:241:23
|
241 | let session = sqlx::query!(
| _______________________^
242 | | r#"
243 | | SELECT
244 | | temp_totp_secret_encrypted,
... |
252 | | user_id
253 | | )
| |_________^
|
= 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: error returned from database: password authentication failed for user "postgres"
--> services/api_gateway/src/auth/mfa/mod.rs:276:13
|
276 | / sqlx::query!(
277 | | "UPDATE mfa_enrollment_sessions SET verification_attempts = verification_attempts + 1 WHERE id = $1",
278 | | session_id
279 | | )
| |_____________^
|
= 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: error returned from database: password authentication failed for user "postgres"
--> services/api_gateway/src/auth/mfa/mod.rs:293:9
|
293 | / sqlx::query!(
294 | | r#"
295 | | INSERT INTO mfa_config (
296 | | id, user_id, totp_secret_encrypted, totp_algorithm, totp_digits, totp_period,
... |
309 | | now
310 | | )
| |_________^
|
= 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: error returned from database: password authentication failed for user "postgres"
--> services/api_gateway/src/auth/mfa/mod.rs:319:9
|
319 | / sqlx::query!(
320 | | "UPDATE mfa_enrollment_sessions SET is_active = false, completed_at = NOW() WHERE id = $1",
321 | | session_id
322 | | )
| |_________^
|
= 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: error returned from database: password authentication failed for user "postgres"
--> services/api_gateway/src/auth/mfa/mod.rs:437:13
|
437 | / sqlx::query!(
438 | | r#"
439 | | INSERT INTO mfa_backup_codes (
440 | | id, user_id, code_hash, code_hint, expires_at
... |
447 | | expires_at
448 | | )
| |_____________^
|
= 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: error returned from database: password authentication failed for user "postgres"
--> services/api_gateway/src/auth/mfa/mod.rs:484:9
|
484 | / sqlx::query!(
485 | | "UPDATE mfa_config SET is_enabled = false, updated_at = NOW() WHERE user_id = $1",
486 | | user_id
487 | | )
| |_________^
|
= 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: error returned from database: password authentication failed for user "postgres"
--> services/api_gateway/src/auth/mfa/mod.rs:493:9
|
493 | / sqlx::query!(
494 | | "UPDATE mfa_backup_codes SET is_used = true WHERE user_id = $1 AND is_used = false",
495 | | user_id
496 | | )
| |_________^
|
= 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: error returned from database: password authentication failed for user "postgres"
--> services/api_gateway/src/auth/mfa/mod.rs:505:22
|
505 | let result = sqlx::query!(
| ______________________^
506 | | r#"
507 | | SELECT
508 | | COUNT(*) FILTER (WHERE is_used = false) as "remaining!",
... |
514 | | user_id
515 | | )
| |_________^
|
= 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 import: `Context`
--> services/api_gateway/src/auth/mfa/totp.rs:6:14
|
6 | use anyhow::{Context, Result};
| ^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `zeroize::Zeroizing`
--> services/api_gateway/src/auth/mfa/totp.rs:13:5
|
13 | use zeroize::Zeroizing;
| ^^^^^^^^^^^^^^^^^^
warning: unused import: `zeroize::Zeroizing`
--> services/api_gateway/src/auth/mfa/backup_codes.rs:15:5
|
15 | use zeroize::Zeroizing;
| ^^^^^^^^^^^^^^^^^^
warning: unused import: `anyhow::Result`
--> services/api_gateway/src/auth/mfa/enrollment.rs:5:5
|
5 | use anyhow::Result;
| ^^^^^^^^^^^^^^
warning: unused import: `anyhow::Result`
--> services/api_gateway/src/auth/mfa/verification.rs:5:5
|
5 | use anyhow::Result;
| ^^^^^^^^^^^^^^
warning: unused import: `Context`
--> services/api_gateway/src/auth/mfa/qr_code.rs:5:14
|
5 | use anyhow::{Context, Result};
| ^^^^^^^
warning: unused imports: `debug` and `error`
--> services/api_gateway/src/auth/mfa/mod.rs:37:15
|
37 | use tracing::{debug, error, info, warn};
| ^^^^^ ^^^^^
warning: unused import: `zeroize::Zeroizing`
--> services/api_gateway/src/auth/mfa/mod.rs:39:5
|
39 | use zeroize::Zeroizing;
| ^^^^^^^^^^^^^^^^^^
Compiling metrics v0.23.1
Compiling env_filter v0.1.3
Compiling sketches-ddsketch v0.2.2
Compiling base64ct v1.8.0
Compiling jiff v0.2.15
Compiling password-hash v0.5.0
Compiling metrics-util v0.17.0
error[E0277]: the trait bound `Secret<std::string::String>: std::default::Default` is not satisfied
--> services/api_gateway/src/auth/mfa/totp.rs:21:35
|
21 | #[derive(Debug, Clone, Serialize, Deserialize)]
| ^^^^^^^^^^^ the trait `std::default::Default` is not implemented for `Secret<std::string::String>`
|
= note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `str: DebugSecret` is not satisfied
--> services/api_gateway/src/auth/mfa/backup_codes.rs:23:5
|
19 | #[derive(Debug, Clone, Serialize, Deserialize)]
| ----- in this derive macro expansion
...
23 | pub code: SecretBox<str>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `DebugSecret` is not implemented for `str`
|
note: there are multiple different versions of crate `secrecy` in the dependency graph
--> /home/jgrusewski/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/secrecy-0.8.0/src/lib.rs:211:1
|
211 | pub trait DebugSecret {
| ^^^^^^^^^^^^^^^^^^^^^ this is the required trait
|
::: services/api_gateway/src/auth/mfa/totp.rs:16:5
|
16 | use secrecy::{ExposeSecret, SecretString};
| ------- one version of crate `secrecy` used here, as a direct dependency of the current crate
|
::: services/api_gateway/src/lib.rs:40:9
|
40 | pub use config::{
| ------ one version of crate `secrecy` used here, as a dependency of crate `config`
|
::: /home/jgrusewski/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/secrecy-0.10.3/src/lib.rs:243:1
|
243 | pub trait CloneableSecret: Clone + Zeroize {}
| ------------------------------------------ this is the found trait
= help: you can use `cargo tree` to explore your dependency tree
= note: required for `Box<str>` to implement `DebugSecret`
= note: required for `Secret<Box<str>>` to implement `std::fmt::Debug`
= note: required for the cast from `&Secret<Box<str>>` to `&dyn std::fmt::Debug`
error[E0277]: the size for values of type `str` cannot be known at compilation time
--> services/api_gateway/src/auth/mfa/backup_codes.rs:23:5
|
19 | #[derive(Debug, Clone, Serialize, Deserialize)]
| ----- in this derive macro expansion
...
23 | pub code: SecretBox<str>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
|
= help: the trait `Sized` is not implemented for `str`
= help: the trait `std::fmt::Debug` is implemented for `Secret<S>`
= note: required for `Box<str>` to implement `DebugSecret`
= note: required for `Secret<Box<str>>` to implement `std::fmt::Debug`
= note: required for the cast from `&Secret<Box<str>>` to `&dyn std::fmt::Debug`
error[E0277]: the trait bound `Box<str>: CloneableSecret` is not satisfied
--> services/api_gateway/src/auth/mfa/backup_codes.rs:23:5
|
19 | #[derive(Debug, Clone, Serialize, Deserialize)]
| ----- in this derive macro expansion
...
23 | pub code: SecretBox<str>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CloneableSecret` is not implemented for `Box<str>`
|
note: there are multiple different versions of crate `secrecy` in the dependency graph
--> /home/jgrusewski/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/secrecy-0.8.0/src/lib.rs:185:1
|
185 | pub trait CloneableSecret: Clone + Zeroize {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait
|
::: services/api_gateway/src/auth/mfa/totp.rs:16:5
|
16 | use secrecy::{ExposeSecret, SecretString};
| ------- one version of crate `secrecy` used here, as a direct dependency of the current crate
|
::: services/api_gateway/src/lib.rs:40:9
|
40 | pub use config::{
| ------ one version of crate `secrecy` used here, as a dependency of crate `config`
|
::: /home/jgrusewski/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/secrecy-0.10.3/src/lib.rs:243:1
|
243 | pub trait CloneableSecret: Clone + Zeroize {}
| ------------------------------------------ this is the found trait
|
::: /home/jgrusewski/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:231:1
|
231 | / pub struct Box<
232 | | T: ?Sized,
233 | | #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global,
234 | | >(Unique<T>, A);
| |_- this type doesn't implement the required trait
= help: you can use `cargo tree` to explore your dependency tree
= note: required for `Secret<Box<str>>` to implement `Clone`
Compiling ml_training_service v1.0.0 (/home/jgrusewski/Work/foxhunt/services/ml_training_service)
error[E0277]: the trait bound `Box<str>: CloneableSecret` is not satisfied
--> services/api_gateway/src/auth/mfa/mod.rs:87:5
|
84 | #[derive(Clone)]
| ----- in this derive macro expansion
...
87 | encryption_key: SecretBox<str>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `CloneableSecret` is not implemented for `Box<str>`
|
note: there are multiple different versions of crate `secrecy` in the dependency graph
--> /home/jgrusewski/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/secrecy-0.8.0/src/lib.rs:185:1
|
185 | pub trait CloneableSecret: Clone + Zeroize {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait
|
::: services/api_gateway/src/auth/mfa/totp.rs:16:5
|
16 | use secrecy::{ExposeSecret, SecretString};
| ------- one version of crate `secrecy` used here, as a direct dependency of the current crate
|
::: services/api_gateway/src/lib.rs:40:9
|
40 | pub use config::{
| ------ one version of crate `secrecy` used here, as a dependency of crate `config`
|
::: /home/jgrusewski/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/secrecy-0.10.3/src/lib.rs:243:1
|
243 | pub trait CloneableSecret: Clone + Zeroize {}
| ------------------------------------------ this is the found trait
|
::: /home/jgrusewski/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:231:1
|
231 | / pub struct Box<
232 | | T: ?Sized,
233 | | #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global,
234 | | >(Unique<T>, A);
| |_- this type doesn't implement the required trait
= help: you can use `cargo tree` to explore your dependency tree
= note: required for `Secret<Box<str>>` to implement `Clone`
Compiling metrics-exporter-prometheus v0.15.3
warning: unused import: `MLError`
--> ml/src/model_factory.rs:7:32
|
7 | use crate::{MLModel, MLResult, MLError, ModelType, ModelMetadata, Features, ModelPrediction};
| ^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Compiling env_logger v0.11.8
For more information about this error, try `rustc --explain E0277`.
warning: `api_gateway` (lib) generated 8 warnings
error: could not compile `api_gateway` (lib) due to 17 previous errors; 8 warnings emitted
warning: build failed, waiting for other jobs to finish...
warning: `trading_engine` (lib) generated 7 warnings (run `cargo fix --lib -p trading_engine` to apply 6 suggestions)
warning: `ml` (lib) generated 1 warning (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)