[INFO] cloning repository https://github.com/mayureshsmitasuresh/fraduswarn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mayureshsmitasuresh/fraduswarn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmayureshsmitasuresh%2Ffraduswarn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmayureshsmitasuresh%2Ffraduswarn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e5094bc415af369165fe6e7bde24db198878e3c [INFO] checking mayureshsmitasuresh/fraduswarn against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmayureshsmitasuresh%2Ffraduswarn" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mayureshsmitasuresh/fraduswarn [INFO] finished tweaking git repo https://github.com/mayureshsmitasuresh/fraduswarn [INFO] tweaked toml for git repo https://github.com/mayureshsmitasuresh/fraduswarn written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mayureshsmitasuresh/fraduswarn on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mayureshsmitasuresh/fraduswarn already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded monostate v0.1.18 [INFO] [stderr] Downloaded monostate-impl v0.1.18 [INFO] [stderr] Downloaded sysctl v0.6.0 [INFO] [stderr] Downloaded dyn-stack v0.13.2 [INFO] [stderr] Downloaded gemm v0.18.2 [INFO] [stderr] Downloaded gemm-f64 v0.18.2 [INFO] [stderr] Downloaded candle-core v0.9.1 [INFO] [stderr] Downloaded gemm-f16 v0.18.2 [INFO] [stderr] Downloaded gemm-common v0.18.2 [INFO] [stderr] Downloaded rayon-cond v0.4.0 [INFO] [stderr] Downloaded bigdecimal v0.4.9 [INFO] [stderr] Downloaded pulp v0.21.5 [INFO] [stderr] Downloaded tokenizers v0.22.1 [INFO] [stderr] Downloaded gemm-c64 v0.18.2 [INFO] [stderr] Downloaded compression-codecs v0.4.31 [INFO] [stderr] Downloaded async-compression v0.4.32 [INFO] [stderr] Downloaded gemm-c32 v0.18.2 [INFO] [stderr] Downloaded raw-cpuid v11.6.0 [INFO] [stderr] Downloaded compact_str v0.9.0 [INFO] [stderr] Downloaded ug v0.4.0 [INFO] [stderr] Downloaded dary_heap v0.3.8 [INFO] [stderr] Downloaded gemm-f32 v0.18.2 [INFO] [stderr] Downloaded dyn-stack-macros v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2806d4d2c0a53d4eaf7725142aecf1b497ae09674af4b44076b988cf261d3ffd [INFO] running `Command { std: "docker" "start" "-a" "2806d4d2c0a53d4eaf7725142aecf1b497ae09674af4b44076b988cf261d3ffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2806d4d2c0a53d4eaf7725142aecf1b497ae09674af4b44076b988cf261d3ffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2806d4d2c0a53d4eaf7725142aecf1b497ae09674af4b44076b988cf261d3ffd", kill_on_drop: false }` [INFO] [stdout] 2806d4d2c0a53d4eaf7725142aecf1b497ae09674af4b44076b988cf261d3ffd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6855b0ac5694d0d0953dcaf794d5d0409ac7bce4654e68de3f6253fa1fa0fa25 [INFO] running `Command { std: "docker" "start" "-a" "6855b0ac5694d0d0953dcaf794d5d0409ac7bce4654e68de3f6253fa1fa0fa25", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Checking reborrow v0.5.5 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling pulp v0.21.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling bigdecimal v0.4.9 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling rustls v0.23.34 [INFO] [stderr] Compiling dyn-stack-macros v0.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking raw-cpuid v11.6.0 [INFO] [stderr] Compiling rustls-pki-types v1.13.0 [INFO] [stderr] Checking raw-cpuid v10.7.0 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling webpki-roots v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking compression-core v0.4.29 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking compression-codecs v0.4.31 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Compiling zip v1.1.4 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.2 [INFO] [stderr] Checking multer v3.1.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking macro_rules_attribute v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking rustls-webpki v0.103.8 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking dyn-stack v0.13.2 [INFO] [stderr] Checking dyn-stack v0.10.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking pulp v0.18.22 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling monostate-impl v0.1.18 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking axum-core v0.5.5 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking num_enum v0.7.5 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking onig v6.5.1 [INFO] [stderr] Checking monostate v0.1.18 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking safetensors v0.4.5 [INFO] [stderr] Checking spm_precompiled v0.1.4 [INFO] [stderr] Checking compact_str v0.9.0 [INFO] [stderr] Checking dary_heap v0.3.8 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking unicode-normalization-alignments v0.1.12 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking gemm-common v0.18.2 [INFO] [stderr] Checking gemm-common v0.17.1 [INFO] [stderr] Checking rayon-cond v0.4.0 [INFO] [stderr] Checking tokenizers v0.22.1 [INFO] [stderr] Checking gemm-f32 v0.17.1 [INFO] [stderr] Checking gemm-c32 v0.17.1 [INFO] [stderr] Checking gemm-f64 v0.17.1 [INFO] [stderr] Checking gemm-c64 v0.17.1 [INFO] [stderr] Checking gemm-f32 v0.18.2 [INFO] [stderr] Checking gemm-c32 v0.18.2 [INFO] [stderr] Checking gemm-c64 v0.18.2 [INFO] [stderr] Checking gemm-f64 v0.18.2 [INFO] [stderr] Checking gemm-f16 v0.18.2 [INFO] [stderr] Checking gemm-f16 v0.17.1 [INFO] [stderr] Checking gemm v0.18.2 [INFO] [stderr] Checking gemm v0.17.1 [INFO] [stderr] Checking ug v0.4.0 [INFO] [stderr] Checking candle-core v0.9.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking async-compression v0.4.32 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.8.6 [INFO] [stderr] Checking reqwest v0.12.24 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking FraudsWarn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/analysis.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let avg_score = ( [INFO] [stdout] | _________________________^ [INFO] [stdout] 69 | | pattern_score.risk_score * 0.25 + [INFO] [stdout] | |____________^ [INFO] [stdout] ... [INFO] [stdout] 73 | network_score.risk_score * 0.15 [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 74 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 ~ let avg_score = pattern_score.risk_score * 0.25 + [INFO] [stdout] 69 | anomaly_score.risk_score * 0.20 + [INFO] [stdout] 70 | geographic_score.risk_score * 0.15 + [INFO] [stdout] 71 | merchant_score.risk_score * 0.25 + [INFO] [stdout] 72 ~ network_score.risk_score * 0.15 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/analysis.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let avg_score = ( [INFO] [stdout] | _________________________^ [INFO] [stdout] 69 | | pattern_score.risk_score * 0.25 + [INFO] [stdout] | |____________^ [INFO] [stdout] ... [INFO] [stdout] 73 | network_score.risk_score * 0.15 [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 74 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 ~ let avg_score = pattern_score.risk_score * 0.25 + [INFO] [stdout] 69 | anomaly_score.risk_score * 0.20 + [INFO] [stdout] 70 | geographic_score.risk_score * 0.15 + [INFO] [stdout] 71 | merchant_score.risk_score * 0.25 + [INFO] [stdout] 72 ~ network_score.risk_score * 0.15 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/agents/merchant.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | state: &AppState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/agents/merchant.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | state: &AppState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `merchant_name` is never read [INFO] [stdout] --> src/agents/merchant.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 176 | struct MerchantInfo { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 177 | merchant_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MerchantInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `merchant_name` is never read [INFO] [stdout] --> src/agents/merchant.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 176 | struct MerchantInfo { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 177 | merchant_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MerchantInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `FraudsWarn` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `frauds_warn` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/analysis.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let avg_score = ( [INFO] [stdout] | _________________________^ [INFO] [stdout] 69 | | pattern_score.risk_score * 0.25 + [INFO] [stdout] | |____________^ [INFO] [stdout] ... [INFO] [stdout] 73 | network_score.risk_score * 0.15 [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 74 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 ~ let avg_score = pattern_score.risk_score * 0.25 + [INFO] [stdout] 69 | anomaly_score.risk_score * 0.20 + [INFO] [stdout] 70 | geographic_score.risk_score * 0.15 + [INFO] [stdout] 71 | merchant_score.risk_score * 0.25 + [INFO] [stdout] 72 ~ network_score.risk_score * 0.15 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/analysis.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let avg_score = ( [INFO] [stdout] | _________________________^ [INFO] [stdout] 69 | | pattern_score.risk_score * 0.25 + [INFO] [stdout] | |____________^ [INFO] [stdout] ... [INFO] [stdout] 73 | network_score.risk_score * 0.15 [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 74 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 ~ let avg_score = pattern_score.risk_score * 0.25 + [INFO] [stdout] 69 | anomaly_score.risk_score * 0.20 + [INFO] [stdout] 70 | geographic_score.risk_score * 0.15 + [INFO] [stdout] 71 | merchant_score.risk_score * 0.25 + [INFO] [stdout] 72 ~ network_score.risk_score * 0.15 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::prelude` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use tracing_subscriber::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/agents/merchant.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | state: &AppState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::prelude` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use tracing_subscriber::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/agents/merchant.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | state: &AppState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `merchant_name` is never read [INFO] [stdout] --> src/agents/merchant.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 176 | struct MerchantInfo { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 177 | merchant_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MerchantInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ForkManager` is never constructed [INFO] [stdout] --> src/db/fork.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ForkManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_fork`, `connect_to_fork`, `cleanup_fork`, and `generate_fork_name` are never used [INFO] [stdout] --> src/db/fork.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl ForkManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub async fn create_fork(&self, fork_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub async fn connect_to_fork(&self, fork_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn cleanup_fork(&self, fork_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn generate_fork_name(user_id: &str, transaction_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_connection` is never used [INFO] [stdout] --> src/db/pool.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn test_connection(pool: &PgPool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_similar_transactions` is never used [INFO] [stdout] --> src/db/vector_search.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn find_similar_transactions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hybrid_search_transactions` is never used [INFO] [stdout] --> src/db/vector_search.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn hybrid_search_transactions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_similar_merchants` is never used [INFO] [stdout] --> src/db/vector_search.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | pub async fn find_similar_merchants( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimilarTransaction` is never constructed [INFO] [stdout] --> src/db/vector_search.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct SimilarTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HybridSearchResult` is never constructed [INFO] [stdout] --> src/db/vector_search.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct HybridSearchResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimilarMerchant` is never constructed [INFO] [stdout] --> src/db/vector_search.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct SimilarMerchant { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmbeddingRequest` is never constructed [INFO] [stdout] --> src/embedding.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct EmbeddingRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmbeddingResponse` is never constructed [INFO] [stdout] --> src/embedding.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct EmbeddingResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorResponse` is never constructed [INFO] [stdout] --> src/embedding.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct ErrorResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_embedding` is never used [INFO] [stdout] --> src/embedding.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | pub async fn generate_embedding( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seed_database` is never used [INFO] [stdout] --> src/seed_data.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn seed_database(app_state: &AppState) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seed_users` is never used [INFO] [stdout] --> src/seed_data.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | async fn seed_users(app_state: &AppState) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seed_merchants` is never used [INFO] [stdout] --> src/seed_data.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | async fn seed_merchants(app_state: &AppState) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seed_transactions` is never used [INFO] [stdout] --> src/seed_data.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | async fn seed_transactions(app_state: &AppState) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `merchant_name` is never read [INFO] [stdout] --> src/agents/merchant.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 176 | struct MerchantInfo { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 177 | merchant_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MerchantInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ForkManager` is never constructed [INFO] [stdout] --> src/db/fork.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ForkManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_fork`, `connect_to_fork`, `cleanup_fork`, and `generate_fork_name` are never used [INFO] [stdout] --> src/db/fork.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl ForkManager { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub async fn create_fork(&self, fork_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub async fn connect_to_fork(&self, fork_name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn cleanup_fork(&self, fork_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn generate_fork_name(user_id: &str, transaction_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_connection` is never used [INFO] [stdout] --> src/db/pool.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn test_connection(pool: &PgPool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_similar_transactions` is never used [INFO] [stdout] --> src/db/vector_search.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn find_similar_transactions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hybrid_search_transactions` is never used [INFO] [stdout] --> src/db/vector_search.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn hybrid_search_transactions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_similar_merchants` is never used [INFO] [stdout] --> src/db/vector_search.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | pub async fn find_similar_merchants( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimilarTransaction` is never constructed [INFO] [stdout] --> src/db/vector_search.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct SimilarTransaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HybridSearchResult` is never constructed [INFO] [stdout] --> src/db/vector_search.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct HybridSearchResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimilarMerchant` is never constructed [INFO] [stdout] --> src/db/vector_search.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct SimilarMerchant { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmbeddingRequest` is never constructed [INFO] [stdout] --> src/embedding.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct EmbeddingRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmbeddingResponse` is never constructed [INFO] [stdout] --> src/embedding.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct EmbeddingResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ErrorResponse` is never constructed [INFO] [stdout] --> src/embedding.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct ErrorResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_embedding` is never used [INFO] [stdout] --> src/embedding.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | pub async fn generate_embedding( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seed_database` is never used [INFO] [stdout] --> src/seed_data.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn seed_database(app_state: &AppState) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seed_users` is never used [INFO] [stdout] --> src/seed_data.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | async fn seed_users(app_state: &AppState) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seed_merchants` is never used [INFO] [stdout] --> src/seed_data.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | async fn seed_merchants(app_state: &AppState) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seed_transactions` is never used [INFO] [stdout] --> src/seed_data.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | async fn seed_transactions(app_state: &AppState) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "6855b0ac5694d0d0953dcaf794d5d0409ac7bce4654e68de3f6253fa1fa0fa25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6855b0ac5694d0d0953dcaf794d5d0409ac7bce4654e68de3f6253fa1fa0fa25", kill_on_drop: false }` [INFO] [stdout] 6855b0ac5694d0d0953dcaf794d5d0409ac7bce4654e68de3f6253fa1fa0fa25