[INFO] cloning repository https://github.com/aeroalgo/robots [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aeroalgo/robots" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faeroalgo%2Frobots", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faeroalgo%2Frobots'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8bea3b2aad2348b627e8fadf974e2fc8db7a8bb [INFO] checking aeroalgo/robots against master#d5419f1e97b90741d51841f800d3c697c662567d for pr-147565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faeroalgo%2Frobots" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aeroalgo/robots [INFO] finished tweaking git repo https://github.com/aeroalgo/robots [INFO] tweaked toml for git repo https://github.com/aeroalgo/robots written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aeroalgo/robots on toolchain d5419f1e97b90741d51841f800d3c697c662567d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d5419f1e97b90741d51841f800d3c697c662567d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aeroalgo/robots 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" "+d5419f1e97b90741d51841f800d3c697c662567d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.103 [INFO] [stderr] Downloaded sealed v0.4.0 [INFO] [stderr] Downloaded clickhouse-derive v0.1.1 [INFO] [stderr] Downloaded postgres-protocol v0.6.9 [INFO] [stderr] Downloaded arrow-string v50.0.0 [INFO] [stderr] Downloaded arrow-row v50.0.0 [INFO] [stderr] Downloaded find-msvc-tools v0.1.4 [INFO] [stderr] Downloaded arrow-ord v50.0.0 [INFO] [stderr] Downloaded lz4 v1.28.1 [INFO] [stderr] Downloaded glob v0.3.3 [INFO] [stderr] Downloaded humantime v2.3.0 [INFO] [stderr] Downloaded bzip2 v0.5.2 [INFO] [stderr] Downloaded winapi-util v0.1.11 [INFO] [stderr] Downloaded crunchy v0.2.4 [INFO] [stderr] Downloaded arrow-arith v50.0.0 [INFO] [stderr] Downloaded deadpool-runtime v0.1.4 [INFO] [stderr] Downloaded half v2.7.1 [INFO] [stderr] Downloaded const-random-macro v0.1.16 [INFO] [stderr] Downloaded arrow-csv v50.0.0 [INFO] [stderr] Downloaded arrow-json v50.0.0 [INFO] [stderr] Downloaded const-random v0.1.18 [INFO] [stderr] Downloaded arrow-flight v50.0.0 [INFO] [stderr] Downloaded clickhouse v0.11.6 [INFO] [stderr] Downloaded arrow v50.0.0 [INFO] [stderr] Downloaded blake3 v1.8.2 [INFO] [stderr] Downloaded arrow-cast v50.0.0 [INFO] [stderr] Downloaded lexical-parse-float v0.8.5 [INFO] [stderr] Downloaded datafusion-optimizer v37.1.0 [INFO] [stderr] Downloaded async-compression v0.4.19 [INFO] [stderr] Downloaded datafusion-sql v37.1.0 [INFO] [stderr] Downloaded arrow v51.0.0 [INFO] [stderr] Downloaded datafusion-common v37.1.0 [INFO] [stderr] Downloaded datafusion-expr v37.1.0 [INFO] [stderr] Downloaded comfy-table v7.1.1 [INFO] [stderr] Downloaded arrow-cast v51.0.0 [INFO] [stderr] Downloaded arrow-ipc v51.0.0 [INFO] [stderr] Downloaded arrow-array v51.0.0 [INFO] [stderr] Downloaded datafusion-functions v37.1.0 [INFO] [stderr] Downloaded object_store v0.9.1 [INFO] [stderr] Downloaded datafusion-physical-plan v37.1.0 [INFO] [stderr] Downloaded bson v2.15.0 [INFO] [stderr] Downloaded widestring v1.2.1 [INFO] [stderr] Downloaded parquet v50.0.0 [INFO] [stderr] Downloaded lexical-write-float v0.8.5 [INFO] [stderr] Downloaded datafusion v37.1.0 [INFO] [stderr] Downloaded lexical-util v0.8.5 [INFO] [stderr] Downloaded datafusion-physical-expr v37.1.0 [INFO] [stderr] Downloaded cc v1.2.43 [INFO] [stderr] Downloaded arrow-ipc v50.0.0 [INFO] [stderr] Downloaded arrow-array v50.0.0 [INFO] [stderr] Downloaded redis v0.24.0 [INFO] [stderr] Downloaded lzma-sys v0.1.20 [INFO] [stderr] Downloaded arrow-arith v51.0.0 [INFO] [stderr] Downloaded csv v1.4.0 [INFO] [stderr] Downloaded sqlparser v0.44.0 [INFO] [stderr] Downloaded parquet v51.0.0 [INFO] [stderr] Downloaded arrow-csv v51.0.0 [INFO] [stderr] Downloaded arrow-json v51.0.0 [INFO] [stderr] Downloaded arrow-ord v51.0.0 [INFO] [stderr] Downloaded arrow-row v51.0.0 [INFO] [stderr] Downloaded arrow-string v51.0.0 [INFO] [stderr] Downloaded crossterm v0.27.0 [INFO] [stderr] Downloaded arrow-buffer v51.0.0 [INFO] [stderr] Downloaded arrow-data v51.0.0 [INFO] [stderr] Downloaded arrow-schema v51.0.0 [INFO] [stderr] Downloaded arrow-select v51.0.0 [INFO] [stderr] Downloaded doc-comment v0.3.4 [INFO] [stderr] Downloaded sqlparser_derive v0.2.2 [INFO] [stderr] Downloaded retain_mut v0.1.9 [INFO] [stderr] Downloaded deadpool v0.9.5 [INFO] [stderr] Downloaded deadpool-postgres v0.10.5 [INFO] [stderr] Downloaded enum-iterator-derive v1.5.0 [INFO] [stderr] Downloaded enum-iterator v2.3.0 [INFO] [stderr] Downloaded flatbuffers v23.5.26 [INFO] [stderr] Downloaded arrow-buffer v50.0.0 [INFO] [stderr] Downloaded arrow-data v50.0.0 [INFO] [stderr] Downloaded arrow-schema v50.0.0 [INFO] [stderr] Downloaded arrow-select v50.0.0 [INFO] [stderr] Downloaded flate2 v1.1.5 [INFO] [stderr] Downloaded openssl v0.10.74 [INFO] [stderr] Downloaded openssl-sys v0.9.110 [INFO] [stderr] Downloaded typenum v1.19.0 [INFO] [stderr] Downloaded tokio-postgres v0.7.15 [INFO] [stderr] Downloaded mio v1.1.0 [INFO] [stderr] Downloaded datafusion-functions-array v37.1.0 [INFO] [stderr] Downloaded datafusion-common-runtime v37.1.0 [INFO] [stderr] Downloaded datafusion-execution v37.1.0 [INFO] [stderr] Downloaded csv-core v0.1.13 [INFO] [stderr] Downloaded xz2 v0.1.7 [INFO] [stderr] Downloaded lexical-parse-integer v0.8.6 [INFO] [stderr] Downloaded phf_shared v0.13.1 [INFO] [stderr] Downloaded phf v0.13.1 [INFO] [stderr] Downloaded resolv-conf v0.7.5 [INFO] [stderr] Downloaded lexical-write-integer v0.8.5 [INFO] [stderr] Downloaded lexical-core v0.8.5 [INFO] [stderr] Downloaded seq-macro v0.3.6 [INFO] [stderr] Downloaded lz4_flex v0.11.5 [INFO] [stderr] Downloaded ordered-float v2.10.1 [INFO] [stderr] Downloaded thrift v0.17.0 [INFO] [stderr] Downloaded serde_bytes v0.11.19 [INFO] [stderr] Downloaded num_cpus v1.17.0 [INFO] [stderr] Downloaded semver v1.0.27 [INFO] [stderr] Downloaded windows-implement v0.60.2 [INFO] [stderr] Downloaded windows-interface v0.59.3 [INFO] [stderr] Downloaded windows-result v0.4.1 [INFO] [stderr] Downloaded windows-strings v0.5.1 [INFO] [stderr] Downloaded windows-core v0.62.2 [INFO] [stderr] Downloaded iana-time-zone v0.1.64 [INFO] [stderr] Downloaded twox-hash v2.1.2 [INFO] [stderr] Downloaded postgres-types v0.2.11 [INFO] [stderr] Downloaded try-partialord v0.1.3 [INFO] [stderr] Downloaded clickhouse-rs-cityhash-sys v0.1.2 [INFO] [stderr] Downloaded tokio-io-timeout v1.2.1 [INFO] [stderr] Downloaded generic-array v0.14.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d5419f1e97b90741d51841f800d3c697c662567d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1913aabdc86aaa5aab22ffcf7cc811c479d4784ea0ad21650fe5ee31d9c10d5e [INFO] running `Command { std: "docker" "start" "-a" "1913aabdc86aaa5aab22ffcf7cc811c479d4784ea0ad21650fe5ee31d9c10d5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1913aabdc86aaa5aab22ffcf7cc811c479d4784ea0ad21650fe5ee31d9c10d5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1913aabdc86aaa5aab22ffcf7cc811c479d4784ea0ad21650fe5ee31d9c10d5e", kill_on_drop: false }` [INFO] [stdout] 1913aabdc86aaa5aab22ffcf7cc811c479d4784ea0ad21650fe5ee31d9c10d5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d5419f1e97b90741d51841f800d3c697c662567d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6870465e2e6635a08574e1007287ab927698cb86ac721474c3dbe193088dfbb2 [INFO] running `Command { std: "docker" "start" "-a" "6870465e2e6635a08574e1007287ab927698cb86ac721474c3dbe193088dfbb2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking arrow-schema v51.0.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking csv-core v0.1.13 [INFO] [stderr] Checking twox-hash v2.1.2 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling doc-comment v0.3.4 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Checking lz4_flex v0.11.5 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling flatbuffers v23.5.26 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Compiling cc v1.2.43 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking csv v1.4.0 [INFO] [stderr] Checking arrow-schema v50.0.0 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking integer-encoding v3.0.4 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking humantime v2.3.0 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking thrift v0.17.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Compiling clickhouse-rs-cityhash-sys v0.1.2 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Checking deranged v0.5.4 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Checking phf_shared v0.13.1 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking phf v0.13.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Checking bzip2 v0.5.2 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking retain_mut v0.1.9 [INFO] [stderr] Checking whoami v1.6.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking resolv-conf v0.7.5 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking try-partialord v0.1.3 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling clickhouse-derive v0.1.1 [INFO] [stderr] Compiling sealed v0.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling sqlparser_derive v0.2.2 [INFO] [stderr] Checking snafu v0.7.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking sqlparser v0.44.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling enum-iterator-derive v1.5.0 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking comfy-table v7.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking arrow-buffer v51.0.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking arrow-buffer v50.0.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking arrow-data v50.0.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking arrow-data v51.0.0 [INFO] [stderr] Checking enum-iterator v2.3.0 [INFO] [stderr] Checking arrow-array v50.0.0 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Checking postgres-protocol v0.6.9 [INFO] [stderr] Checking bson v2.15.0 [INFO] [stderr] Checking postgres-types v0.2.11 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-io-timeout v1.2.1 [INFO] [stderr] Checking datafusion-common-runtime v37.1.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking async-compression v0.4.19 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking deadpool v0.9.5 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-postgres v0.7.15 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking object_store v0.9.1 [INFO] [stderr] Checking trust-dns-proto v0.21.2 [INFO] [stderr] Checking redis v0.24.0 [INFO] [stderr] Checking arrow-select v50.0.0 [INFO] [stderr] Checking arrow-row v50.0.0 [INFO] [stderr] Checking arrow-arith v50.0.0 [INFO] [stderr] Checking arrow-cast v50.0.0 [INFO] [stderr] Checking arrow-ord v50.0.0 [INFO] [stderr] Checking arrow-string v50.0.0 [INFO] [stderr] Checking arrow-array v51.0.0 [INFO] [stderr] Checking trust-dns-resolver v0.21.2 [INFO] [stderr] Checking deadpool-postgres v0.10.5 [INFO] [stderr] Checking mongodb v2.8.2 [INFO] [stderr] Checking arrow-ipc v50.0.0 [INFO] [stderr] Checking arrow-csv v50.0.0 [INFO] [stderr] Checking arrow-json v50.0.0 [INFO] [stderr] Checking arrow-select v51.0.0 [INFO] [stderr] Checking arrow-row v51.0.0 [INFO] [stderr] Checking arrow-arith v51.0.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking arrow-cast v51.0.0 [INFO] [stderr] Checking arrow-ord v51.0.0 [INFO] [stderr] Checking arrow-string v51.0.0 [INFO] [stderr] Checking arrow v50.0.0 [INFO] [stderr] Checking parquet v50.0.0 [INFO] [stderr] Checking arrow-ipc v51.0.0 [INFO] [stderr] Checking arrow-csv v51.0.0 [INFO] [stderr] Checking arrow-json v51.0.0 [INFO] [stderr] Checking arrow v51.0.0 [INFO] [stderr] Checking parquet v51.0.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking lz4 v1.28.1 [INFO] [stderr] Checking clickhouse v0.11.6 [INFO] [stderr] Checking datafusion-common v37.1.0 [INFO] [stderr] Checking tonic v0.10.2 [INFO] [stderr] Checking arrow-flight v50.0.0 [INFO] [stderr] Checking datafusion-expr v37.1.0 [INFO] [stderr] Checking datafusion-execution v37.1.0 [INFO] [stderr] Checking datafusion-sql v37.1.0 [INFO] [stderr] Checking datafusion-physical-expr v37.1.0 [INFO] [stderr] Checking datafusion-functions v37.1.0 [INFO] [stderr] Checking datafusion-optimizer v37.1.0 [INFO] [stderr] Checking datafusion-physical-plan v37.1.0 [INFO] [stderr] Checking datafusion-functions-array v37.1.0 [INFO] [stderr] Checking datafusion v37.1.0 [INFO] [stderr] Checking robots v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `oid::ObjectId` [INFO] [stdout] --> src/app/charts/crud.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use mongodb::bson::{doc, oid::ObjectId, Document}; [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 import: `std::env` [INFO] [stdout] --> src/app/charts/crud.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/app/charts/model.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array` and `convert::TryInto` [INFO] [stdout] --> src/core/agt/indicators/any.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `candles` [INFO] [stdout] --> src/core/agt/indicators/any.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | candles, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `all`, `cardinality`, `first`, `last`, `next`, `previous`, and `reverse_all` [INFO] [stdout] --> src/core/agt/indicators/any.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use enum_iterator::{all, cardinality, first, last, next, previous, reverse_all, Sequence}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `all`, `cardinality`, `first`, `last`, `next`, `previous`, and `reverse_all` [INFO] [stdout] --> src/core/agt/indicators/common.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use enum_iterator::{all, cardinality, first, last, next, previous, reverse_all, Sequence}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `convert::TryInto`, and `ops::Index` [INFO] [stdout] --> src/core/agt/indicators/source.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index, vec}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OptimizationParam` [INFO] [stdout] --> src/core/agt/indicators/source.rs:6:73 [INFO] [stdout] | [INFO] [stdout] 6 | indicators::common::{IndicatorData, IndicatorsEnum, IndicatorsMeta, OptimizationParam}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/core/agt/candles/source.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mongodb::bson::oid::ObjectId` [INFO] [stdout] --> src/core/agt/candles/source.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mongodb::bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `cmp::min`, `collections::HashMap`, `convert::TryInto`, and `ops::Index` [INFO] [stdout] --> src/core/agt/candles/source.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `try_partialord::*` [INFO] [stdout] --> src/core/agt/candles/source.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use try_partialord::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndicatorData`, `IndicatorsEnum`, `IndicatorsMeta`, `OptimizationParam`, and `candles` [INFO] [stdout] --> src/core/agt/strategy/condition.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | candles, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | indicators::common::{IndicatorData, IndicatorsEnum, IndicatorsMeta, OptimizationParam}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `cmp::min`, `collections::HashMap`, `convert::TryInto`, `ops::Index`, and `vec` [INFO] [stdout] --> src/core/agt/strategy/condition.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index, vec}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OptimizedStrategyCondition` [INFO] [stdout] --> src/core/agt/strategy/example_usage.rs:5:65 [INFO] [stdout] | [INFO] [stdout] 5 | optimized_condition::{ConditionFactory, ConditionUtils, OptimizedStrategyCondition}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::agt::indicators::source::SourceIndicators` [INFO] [stdout] --> src/core/agt/opt/iterating/indicators.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::core::agt::indicators::source::SourceIndicators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndicatorData`, `IndicatorsMeta`, `OptimizationParam`, and `candles` [INFO] [stdout] --> src/core/agt/opt/iterating/indicators.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | candles, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | indicators::common::{IndicatorData, IndicatorsEnum, IndicatorsMeta, OptimizationParam}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sequence`, `cardinality`, `first`, `last`, `next`, `previous`, and `reverse_all` [INFO] [stdout] --> src/core/agt/opt/iterating/indicators.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use enum_iterator::{all, cardinality, first, last, next, previous, reverse_all, Sequence}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/agt/opt/iterating/indicators_example.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataConverter` and `DataValidator` [INFO] [stdout] --> src/indicators/base.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | DataConverter, DataValidator, IndicatorCategory, IndicatorError, IndicatorMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/indicators/implementations.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IndicatorId` [INFO] [stdout] --> src/indicators/registry.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | IndicatorCategory, IndicatorError, IndicatorId, IndicatorType, OHLCData, ParameterSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arrow_flight::flight_service_server::FlightServiceServer` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use arrow_flight::flight_service_server::FlightServiceServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arrow_flight::sql::server::FlightSqlService` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use arrow_flight::sql::server::FlightSqlService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActionType`, `Criteria`, `Empty`, `FlightInfo`, `HandshakeRequest`, `HandshakeResponse`, `PutResult`, `SchemaResult`, and `Ticket` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | Action, ActionType, Criteria, Empty, FlightData, FlightDescriptor, FlightInfo, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stdout] 12 | HandshakeRequest, HandshakeResponse, PutResult, SchemaResult, Ticket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response`, `Status`, and `Streaming` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | use tonic::{Request, Response, Status, Streaming}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data_access::models::*` [INFO] [stdout] --> src/data_access/database/datafusion.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::data_access::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataType` and `Field` [INFO] [stdout] --> src/data_access/database/datafusion.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | use datafusion::arrow::datatypes::{DataType, Field, Schema}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `datafusion::common::Result as DataFusionResult` [INFO] [stdout] --> src/data_access/database/datafusion.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use datafusion::common::Result as DataFusionResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/data_access/database/datafusion.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data_access::models::*` [INFO] [stdout] --> src/data_access/database/postgresql.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::data_access::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/data_access/database/postgresql.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/data_access/database/postgresql.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio_postgres::{NoTls, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataAccessError` [INFO] [stdout] --> src/data_access/examples/arrow_parquet_examples.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::data_access::{DataAccessError, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MongoDBQueryBuilder`, `SortDirection`, and `UserQueryBuilder` [INFO] [stdout] --> src/data_access/examples/mongodb_examples.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | MongoDBQueryBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | SortDirection, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | UserQueryBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/data_access/examples/mongodb_examples.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PostgreSQLConfig` [INFO] [stdout] --> src/data_access/examples/postgresql_examples.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | PostgreSQLConfig, PostgreSQLConnector, PostgreSQLUtils, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/data_access/examples/postgresql_examples.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/data_access/examples/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use mongodb_examples::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the name `user_crud_operations` in the value namespace is first re-exported here [INFO] [stdout] 13 | pub use postgresql_examples::*; [INFO] [stdout] | ---------------------- but the name `user_crud_operations` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/data_access/examples/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use mongodb_examples::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the name `trading_data_operations` in the value namespace is first re-exported here [INFO] [stdout] 13 | pub use postgresql_examples::*; [INFO] [stdout] | ---------------------- but the name `trading_data_operations` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/data_access/examples/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use mongodb_examples::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the name `complex_queries` in the value namespace is first re-exported here [INFO] [stdout] 13 | pub use postgresql_examples::*; [INFO] [stdout] | ---------------------- but the name `complex_queries` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/data_access/examples/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use mongodb_examples::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the name `analytical_queries` in the value namespace is first re-exported here [INFO] [stdout] 13 | pub use postgresql_examples::*; [INFO] [stdout] | ---------------------- but the name `analytical_queries` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/data_access/examples/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use mongodb_examples::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the name `transaction_operations` in the value namespace is first re-exported here [INFO] [stdout] 13 | pub use postgresql_examples::*; [INFO] [stdout] | ---------------------- but the name `transaction_operations` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis_example::*` [INFO] [stdout] --> src/data_access/examples/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use redis_example::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data_access::models::*` [INFO] [stdout] --> src/data_access/query_builder/arrow.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::data_access::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/data_access/query_builder/arrow.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/data_access/query_builder/arrow.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/data_access/query_builder/clickhouse.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/data_access/query_builder/clickhouse.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/data_access/query_builder/postgresql.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/data_access/query_builder/postgresql.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataAccessError` and `Result` [INFO] [stdout] --> src/data_access/query_builder/redis.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::data_access::{Result, DataAccessError}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/data_access/query_builder/redis.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/data_access/query_builder/redis.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oid::ObjectId` [INFO] [stdout] --> src/app/charts/crud.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use mongodb::bson::{doc, oid::ObjectId, Document}; [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 import: `std::env` [INFO] [stdout] --> src/app/charts/crud.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/app/charts/model.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/condition/tests.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array` and `convert::TryInto` [INFO] [stdout] --> src/core/agt/indicators/any.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `candles` [INFO] [stdout] --> src/core/agt/indicators/any.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | candles, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `all`, `cardinality`, `first`, `last`, `next`, `previous`, and `reverse_all` [INFO] [stdout] --> src/core/agt/indicators/any.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use enum_iterator::{all, cardinality, first, last, next, previous, reverse_all, Sequence}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `all`, `cardinality`, `first`, `last`, `next`, `previous`, and `reverse_all` [INFO] [stdout] --> src/core/agt/indicators/common.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use enum_iterator::{all, cardinality, first, last, next, previous, reverse_all, Sequence}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `convert::TryInto`, and `ops::Index` [INFO] [stdout] --> src/core/agt/indicators/source.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index, vec}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OptimizationParam` [INFO] [stdout] --> src/core/agt/indicators/source.rs:6:73 [INFO] [stdout] | [INFO] [stdout] 6 | indicators::common::{IndicatorData, IndicatorsEnum, IndicatorsMeta, OptimizationParam}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/core/agt/candles/source.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mongodb::bson::oid::ObjectId` [INFO] [stdout] --> src/core/agt/candles/source.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mongodb::bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `cmp::min`, `collections::HashMap`, `convert::TryInto`, and `ops::Index` [INFO] [stdout] --> src/core/agt/candles/source.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `try_partialord::*` [INFO] [stdout] --> src/core/agt/candles/source.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use try_partialord::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndicatorData`, `IndicatorsEnum`, `IndicatorsMeta`, `OptimizationParam`, and `candles` [INFO] [stdout] --> src/core/agt/strategy/condition.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | candles, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | indicators::common::{IndicatorData, IndicatorsEnum, IndicatorsMeta, OptimizationParam}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `cmp::min`, `collections::HashMap`, `convert::TryInto`, `ops::Index`, and `vec` [INFO] [stdout] --> src/core/agt/strategy/condition.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index, vec}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OptimizedStrategyCondition` [INFO] [stdout] --> src/core/agt/strategy/example_usage.rs:5:65 [INFO] [stdout] | [INFO] [stdout] 5 | optimized_condition::{ConditionFactory, ConditionUtils, OptimizedStrategyCondition}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::agt::indicators::source::SourceIndicators` [INFO] [stdout] --> src/core/agt/opt/iterating/indicators.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::core::agt::indicators::source::SourceIndicators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndicatorData`, `IndicatorsMeta`, `OptimizationParam`, and `candles` [INFO] [stdout] --> src/core/agt/opt/iterating/indicators.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | candles, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | indicators::common::{IndicatorData, IndicatorsEnum, IndicatorsMeta, OptimizationParam}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sequence`, `cardinality`, `first`, `last`, `next`, `previous`, and `reverse_all` [INFO] [stdout] --> src/core/agt/opt/iterating/indicators.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use enum_iterator::{all, cardinality, first, last, next, previous, reverse_all, Sequence}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/agt/opt/iterating/indicators_example.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataConverter` and `DataValidator` [INFO] [stdout] --> src/indicators/base.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | DataConverter, DataValidator, IndicatorCategory, IndicatorError, IndicatorMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/indicators/implementations.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IndicatorId` [INFO] [stdout] --> src/indicators/registry.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | IndicatorCategory, IndicatorError, IndicatorId, IndicatorType, OHLCData, ParameterSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/indicators/tests.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arrow_flight::flight_service_server::FlightServiceServer` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use arrow_flight::flight_service_server::FlightServiceServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arrow_flight::sql::server::FlightSqlService` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use arrow_flight::sql::server::FlightSqlService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActionType`, `Criteria`, `Empty`, `FlightInfo`, `HandshakeRequest`, `HandshakeResponse`, `PutResult`, `SchemaResult`, and `Ticket` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | Action, ActionType, Criteria, Empty, FlightData, FlightDescriptor, FlightInfo, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stdout] 12 | HandshakeRequest, HandshakeResponse, PutResult, SchemaResult, Ticket, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response`, `Status`, and `Streaming` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | use tonic::{Request, Response, Status, Streaming}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data_access::models::*` [INFO] [stdout] --> src/data_access/database/datafusion.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::data_access::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataType` and `Field` [INFO] [stdout] --> src/data_access/database/datafusion.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | use datafusion::arrow::datatypes::{DataType, Field, Schema}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `datafusion::common::Result as DataFusionResult` [INFO] [stdout] --> src/data_access/database/datafusion.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use datafusion::common::Result as DataFusionResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/data_access/database/datafusion.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data_access::models::*` [INFO] [stdout] --> src/data_access/database/postgresql.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::data_access::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/data_access/database/postgresql.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/data_access/database/postgresql.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio_postgres::{NoTls, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataAccessError` [INFO] [stdout] --> src/data_access/examples/arrow_parquet_examples.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::data_access::{DataAccessError, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MongoDBQueryBuilder`, `SortDirection`, and `UserQueryBuilder` [INFO] [stdout] --> src/data_access/examples/mongodb_examples.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | MongoDBQueryBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | SortDirection, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | UserQueryBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/data_access/examples/mongodb_examples.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PostgreSQLConfig` [INFO] [stdout] --> src/data_access/examples/postgresql_examples.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | PostgreSQLConfig, PostgreSQLConnector, PostgreSQLUtils, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/data_access/examples/postgresql_examples.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/data_access/examples/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use mongodb_examples::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the name `user_crud_operations` in the value namespace is first re-exported here [INFO] [stdout] 13 | pub use postgresql_examples::*; [INFO] [stdout] | ---------------------- but the name `user_crud_operations` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/data_access/examples/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use mongodb_examples::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the name `trading_data_operations` in the value namespace is first re-exported here [INFO] [stdout] 13 | pub use postgresql_examples::*; [INFO] [stdout] | ---------------------- but the name `trading_data_operations` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/data_access/examples/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use mongodb_examples::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the name `complex_queries` in the value namespace is first re-exported here [INFO] [stdout] 13 | pub use postgresql_examples::*; [INFO] [stdout] | ---------------------- but the name `complex_queries` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/data_access/examples/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use mongodb_examples::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the name `analytical_queries` in the value namespace is first re-exported here [INFO] [stdout] 13 | pub use postgresql_examples::*; [INFO] [stdout] | ---------------------- but the name `analytical_queries` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/data_access/examples/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use mongodb_examples::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the name `transaction_operations` in the value namespace is first re-exported here [INFO] [stdout] 13 | pub use postgresql_examples::*; [INFO] [stdout] | ---------------------- but the name `transaction_operations` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis_example::*` [INFO] [stdout] --> src/data_access/examples/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use redis_example::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data_access::models::*` [INFO] [stdout] --> src/data_access/query_builder/arrow.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::data_access::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/data_access/query_builder/arrow.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/data_access/query_builder/arrow.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/data_access/query_builder/clickhouse.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/data_access/query_builder/clickhouse.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/data_access/query_builder/postgresql.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/data_access/query_builder/postgresql.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataAccessError` and `Result` [INFO] [stdout] --> src/data_access/query_builder/redis.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::data_access::{Result, DataAccessError}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/data_access/query_builder/redis.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/data_access/query_builder/redis.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/agt/opt/optimization.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut source_indicators = SourceIndicators::new(&source_data).await; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/agt/opt/optimization.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let mut indicator_data: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/agt/opt/optimization.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let mut condition_data: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/agt/opt/optimization.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut source_indicators = SourceIndicators::new(&source_data).await; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/agt/opt/optimization.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let mut indicator_data: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/agt/opt/optimization.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let mut condition_data: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut stream = futures::stream::iter(flight_data_stream); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/data_access/database/clickhouse.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | let mut values: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut stream = futures::stream::iter(flight_data_stream); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/data_access/database/clickhouse.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | let mut values: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/data_access/database/clickhouse.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | let mut values: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/data_access/database/clickhouse.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | let mut values: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base::Condition` [INFO] [stdout] --> src/condition/examples.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::condition::{base::Condition, factory::ConditionFactory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt` [INFO] [stdout] --> src/data_access/database/parquet.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base::Condition` [INFO] [stdout] --> src/condition/examples.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::condition::{base::Condition, factory::ConditionFactory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base::Condition` [INFO] [stdout] --> src/condition/tests.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::condition::{base::Condition, factory::ConditionFactory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt` [INFO] [stdout] --> src/data_access/database/parquet.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_indicators` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut source_indicators = SourceIndicators::new(&source_data).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_indicators` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let z: Vec> = [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indicators` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | for indicators in source_indicatiors_combination.iter() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indicators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | for condition in source_conditions.iter() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indicator_data` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let mut indicator_data: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indicator_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition_data` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let mut condition_data: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_indicators` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut source_indicators = SourceIndicators::new(&source_data).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_indicators` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let z: Vec> = [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indicators` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | for indicators in source_indicatiors_combination.iter() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indicators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | for condition in source_conditions.iter() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indicator_data` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let mut indicator_data: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indicator_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition_data` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let mut condition_data: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descriptor` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let descriptor = FlightDescriptor::new_cmd("INSERT".to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flight_data` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:142:43 [INFO] [stdout] | [INFO] [stdout] 142 | fn flight_data_to_record_batch_static(flight_data: FlightData) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_flight_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:151:43 [INFO] [stdout] | [INFO] [stdout] 151 | fn record_batch_to_flight_data(&self, batch: RecordBatch) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_batch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batches` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | let batches = self.base_connector.get_data(&query).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candles` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:308:42 [INFO] [stdout] | [INFO] [stdout] 308 | pub async fn send_candles(&mut self, candles: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batches` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | let batches = self.base_connector.get_data(&query).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trades` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:339:41 [INFO] [stdout] | [INFO] [stdout] 339 | pub async fn send_trades(&mut self, trades: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_trades` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/data_access/database/clickhouse.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | let mut values: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/data_access/database/clickhouse.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | let mut values: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch` [INFO] [stdout] --> src/data_access/database/datafusion.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | .map(|batch| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_batch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batches` [INFO] [stdout] --> src/data_access/database/datafusion.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | batches: Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `df` [INFO] [stdout] --> src/data_access/database/datafusion.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | let df = context [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_df` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/data_access/database/datafusion.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let context = self.context.as_ref().ok_or_else(|| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/data_access/database/datafusion.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | let mut config = SessionConfig::new() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/data_access/database/datafusion.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | symbol: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descriptor` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let descriptor = FlightDescriptor::new_cmd("INSERT".to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flight_data` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:142:43 [INFO] [stdout] | [INFO] [stdout] 142 | fn flight_data_to_record_batch_static(flight_data: FlightData) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_flight_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:151:43 [INFO] [stdout] | [INFO] [stdout] 151 | fn record_batch_to_flight_data(&self, batch: RecordBatch) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_batch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/data_access/database/mongodb.rs:649:21 [INFO] [stdout] | [INFO] [stdout] 649 | if let Some(client) = self.client.take() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batches` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | let batches = self.base_connector.get_data(&query).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candles` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:308:42 [INFO] [stdout] | [INFO] [stdout] 308 | pub async fn send_candles(&mut self, candles: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batches` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | let batches = self.base_connector.get_data(&query).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trades` [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:339:41 [INFO] [stdout] | [INFO] [stdout] 339 | pub async fn send_trades(&mut self, trades: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_trades` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/data_access/database/clickhouse.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | let mut values: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/data_access/database/clickhouse.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | let mut values: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch` [INFO] [stdout] --> src/data_access/database/datafusion.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | .map(|batch| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_batch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batches` [INFO] [stdout] --> src/data_access/database/datafusion.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | batches: Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `df` [INFO] [stdout] --> src/data_access/database/datafusion.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | let df = context [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_df` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/data_access/database/datafusion.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let context = self.context.as_ref().ok_or_else(|| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/data_access/database/datafusion.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | let mut config = SessionConfig::new() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/data_access/database/datafusion.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | symbol: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/data_access/database/mongodb.rs:649:21 [INFO] [stdout] | [INFO] [stdout] 649 | if let Some(client) = self.client.take() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candles` [INFO] [stdout] --> src/data_access/database/parquet.rs:361:64 [INFO] [stdout] | [INFO] [stdout] 361 | pub async fn save_candles(&self, symbol: &str, date: &str, candles: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batches` [INFO] [stdout] --> src/data_access/database/parquet.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | let batches = self.base_connector.read_parquet(&file_path).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/data_access/database/parquet.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | results: Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batches` [INFO] [stdout] --> src/data_access/database/parquet.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | let batches = self.base_connector.read_parquet(&file_path).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/data_access/database/postgresql.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 328 | if let Some(pool) = self.pool.take() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candles` [INFO] [stdout] --> src/data_access/database/parquet.rs:361:64 [INFO] [stdout] | [INFO] [stdout] 361 | pub async fn save_candles(&self, symbol: &str, date: &str, candles: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_candles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batches` [INFO] [stdout] --> src/data_access/database/parquet.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | let batches = self.base_connector.read_parquet(&file_path).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/data_access/database/parquet.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | results: Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batches` [INFO] [stdout] --> src/data_access/database/parquet.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | let batches = self.base_connector.read_parquet(&file_path).await?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/data_access/database/postgresql.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | for row in rows { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/data_access/database/postgresql.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 328 | if let Some(pool) = self.pool.take() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/data_access/database/postgresql.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | for row in rows { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_candles` [INFO] [stdout] --> src/data_access/examples/arrow_parquet_examples.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let test_candles = vec![ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_candles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_candles` [INFO] [stdout] --> src/data_access/examples/arrow_parquet_examples.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | let test_candles = vec![Candle { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_candles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_candles` [INFO] [stdout] --> src/data_access/examples/arrow_parquet_examples.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let test_candles = vec![ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_candles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_candles` [INFO] [stdout] --> src/data_access/examples/arrow_parquet_examples.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | let test_candles = vec![Candle { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_candles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern_condition` [INFO] [stdout] --> src/data_access/query_builder/arrow.rs:731:9 [INFO] [stdout] | [INFO] [stdout] 731 | pattern_condition: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/data_access/query_builder/arrow.rs:744:9 [INFO] [stdout] | [INFO] [stdout] 744 | field: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol_filter` [INFO] [stdout] --> src/data_access/query_builder/arrow.rs:746:13 [INFO] [stdout] | [INFO] [stdout] 746 | let symbol_filter = symbols [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/data_access/query_builder/postgresql.rs:260:43 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn having(mut self, column: &str, operator: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QueryOperation` is more private than the item `MongoDBQuery::operation` [INFO] [stdout] --> src/data_access/query_builder/mongodb.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 401 | pub operation: QueryOperation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `MongoDBQuery::operation` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `QueryOperation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/data_access/query_builder/mongodb.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | enum QueryOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/core/agt/candles/source.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Source { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 9 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name_indicator` is never read [INFO] [stdout] --> src/core/agt/strategy/condition.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct StrategyCondition { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | name_indicator: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StrategyCondition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source_indicators`, `simple_indicators`, `source_condition`, and `simple_condition` are never read [INFO] [stdout] --> src/core/agt/strategy/parametrs.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct StrategyParametrs { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 7 | source_indicators: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | simple_indicators: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | source_condition: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | simple_condition: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flight_data_to_record_batch` is never used [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl ArrowFlightConnector { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | fn flight_data_to_record_batch(&self, flight_data: FlightData) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `connection_url` is never used [INFO] [stdout] --> src/data_access/database/clickhouse.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl ClickHouseConnector { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | fn connection_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/data_access/database/datafusion.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct DataFusionConnector { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 44 | config: DataFusionConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_client` is never used [INFO] [stdout] --> src/data_access/database/mongodb.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl MongoDBConnector { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | fn get_client(&self) -> Result<&Client> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database` is never read [INFO] [stdout] --> src/data_access/database/mongodb.rs:778:5 [INFO] [stdout] | [INFO] [stdout] 777 | pub struct MongoDBTransaction { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 778 | database: Database, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/data_access/examples/redis_example.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/condition/base.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | async fn optimize_parameters( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 216 ~ fn optimize_parameters( [INFO] [stdout] 217 | &self, [INFO] [stdout] 218 | data: &[f32], [INFO] [stdout] 219 | target_metric: &str, [INFO] [stdout] 220 ~ ) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/indicators/base.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | async fn optimize_parameters( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 253 ~ fn optimize_parameters( [INFO] [stdout] 254 | &self, [INFO] [stdout] 255 | data: &[f32], [INFO] [stdout] 256 | target_metric: &str, [INFO] [stdout] 257 ~ ) -> impl std::future::Future, IndicatorError>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern_condition` [INFO] [stdout] --> src/data_access/query_builder/arrow.rs:731:9 [INFO] [stdout] | [INFO] [stdout] 731 | pattern_condition: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/data_access/query_builder/arrow.rs:744:9 [INFO] [stdout] | [INFO] [stdout] 744 | field: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol_filter` [INFO] [stdout] --> src/data_access/query_builder/arrow.rs:746:13 [INFO] [stdout] | [INFO] [stdout] 746 | let symbol_filter = symbols [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/data_access/query_builder/postgresql.rs:260:43 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn having(mut self, column: &str, operator: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `QueryOperation` is more private than the item `MongoDBQuery::operation` [INFO] [stdout] --> src/data_access/query_builder/mongodb.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 401 | pub operation: QueryOperation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `MongoDBQuery::operation` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `QueryOperation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/data_access/query_builder/mongodb.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | enum QueryOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/core/agt/candles/source.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Source { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 9 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name_indicator` is never read [INFO] [stdout] --> src/core/agt/strategy/condition.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct StrategyCondition { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | name_indicator: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StrategyCondition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source_indicators`, `simple_indicators`, `source_condition`, and `simple_condition` are never read [INFO] [stdout] --> src/core/agt/strategy/parametrs.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct StrategyParametrs { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 7 | source_indicators: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | simple_indicators: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | source_condition: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | simple_condition: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flight_data_to_record_batch` is never used [INFO] [stdout] --> src/data_access/database/arrow_flight.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl ArrowFlightConnector { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | fn flight_data_to_record_batch(&self, flight_data: FlightData) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `connection_url` is never used [INFO] [stdout] --> src/data_access/database/clickhouse.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl ClickHouseConnector { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | fn connection_url(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/data_access/database/datafusion.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct DataFusionConnector { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 44 | config: DataFusionConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_client` is never used [INFO] [stdout] --> src/data_access/database/mongodb.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl MongoDBConnector { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | fn get_client(&self) -> Result<&Client> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database` is never read [INFO] [stdout] --> src/data_access/database/mongodb.rs:778:5 [INFO] [stdout] | [INFO] [stdout] 777 | pub struct MongoDBTransaction { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 778 | database: Database, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/data_access/examples/redis_example.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/condition/base.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | async fn optimize_parameters( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 216 ~ fn optimize_parameters( [INFO] [stdout] 217 | &self, [INFO] [stdout] 218 | data: &[f32], [INFO] [stdout] 219 | target_metric: &str, [INFO] [stdout] 220 ~ ) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/indicators/base.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | async fn optimize_parameters( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 253 ~ fn optimize_parameters( [INFO] [stdout] 254 | &self, [INFO] [stdout] 255 | data: &[f32], [INFO] [stdout] 256 | target_metric: &str, [INFO] [stdout] 257 ~ ) -> impl std::future::Future, IndicatorError>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oid::ObjectId` [INFO] [stdout] --> src/app/charts/crud.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use mongodb::bson::{doc, oid::ObjectId, Document}; [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 import: `std::env` [INFO] [stdout] --> src/app/charts/crud.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/app/charts/model.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array` and `convert::TryInto` [INFO] [stdout] --> src/core/agt/indicators/any.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `candles` [INFO] [stdout] --> src/core/agt/indicators/any.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | candles, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `all`, `cardinality`, `first`, `last`, `next`, `previous`, and `reverse_all` [INFO] [stdout] --> src/core/agt/indicators/any.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use enum_iterator::{all, cardinality, first, last, next, previous, reverse_all, Sequence}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `all`, `cardinality`, `first`, `last`, `next`, `previous`, and `reverse_all` [INFO] [stdout] --> src/core/agt/indicators/common.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use enum_iterator::{all, cardinality, first, last, next, previous, reverse_all, Sequence}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `convert::TryInto`, and `ops::Index` [INFO] [stdout] --> src/core/agt/indicators/source.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index, vec}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OptimizationParam` [INFO] [stdout] --> src/core/agt/indicators/source.rs:6:73 [INFO] [stdout] | [INFO] [stdout] 6 | indicators::common::{IndicatorData, IndicatorsEnum, IndicatorsMeta, OptimizationParam}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/core/agt/candles/source.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mongodb::bson::oid::ObjectId` [INFO] [stdout] --> src/core/agt/candles/source.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mongodb::bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `cmp::min`, `collections::HashMap`, `convert::TryInto`, and `ops::Index` [INFO] [stdout] --> src/core/agt/candles/source.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `try_partialord::*` [INFO] [stdout] --> src/core/agt/candles/source.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use try_partialord::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndicatorData`, `IndicatorsEnum`, `IndicatorsMeta`, `OptimizationParam`, and `candles` [INFO] [stdout] --> src/core/agt/strategy/condition.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | candles, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | indicators::common::{IndicatorData, IndicatorsEnum, IndicatorsMeta, OptimizationParam}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `cmp::min`, `collections::HashMap`, `convert::TryInto`, `ops::Index`, and `vec` [INFO] [stdout] --> src/core/agt/strategy/condition.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index, vec}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OptimizedStrategyCondition` [INFO] [stdout] --> src/core/agt/strategy/example_usage.rs:5:65 [INFO] [stdout] | [INFO] [stdout] 5 | optimized_condition::{ConditionFactory, ConditionUtils, OptimizedStrategyCondition}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::agt::indicators::source::SourceIndicators` [INFO] [stdout] --> src/core/agt/opt/iterating/indicators.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::core::agt::indicators::source::SourceIndicators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndicatorData`, `IndicatorsMeta`, `OptimizationParam`, and `candles` [INFO] [stdout] --> src/core/agt/opt/iterating/indicators.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | candles, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | indicators::common::{IndicatorData, IndicatorsEnum, IndicatorsMeta, OptimizationParam}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sequence`, `cardinality`, `first`, `last`, `next`, `previous`, and `reverse_all` [INFO] [stdout] --> src/core/agt/opt/iterating/indicators.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use enum_iterator::{all, cardinality, first, last, next, previous, reverse_all, Sequence}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/agt/opt/iterating/indicators_example.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataConverter` and `DataValidator` [INFO] [stdout] --> src/indicators/base.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | DataConverter, DataValidator, IndicatorCategory, IndicatorError, IndicatorMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/indicators/implementations.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IndicatorId` [INFO] [stdout] --> src/indicators/registry.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | IndicatorCategory, IndicatorError, IndicatorId, IndicatorType, OHLCData, ParameterSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base::*` [INFO] [stdout] --> src/indicators/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use base::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `implementations::*` [INFO] [stdout] --> src/indicators/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use implementations::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parameters::*` [INFO] [stdout] --> src/indicators/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use parameters::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `registry::*` [INFO] [stdout] --> src/indicators/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use registry::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base::*` [INFO] [stdout] --> src/condition/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use base::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conditions::*` [INFO] [stdout] --> src/condition/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use conditions::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `factory::*` [INFO] [stdout] --> src/condition/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use factory::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/condition/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oid::ObjectId` [INFO] [stdout] --> src/app/charts/crud.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use mongodb::bson::{doc, oid::ObjectId, Document}; [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 import: `std::env` [INFO] [stdout] --> src/app/charts/crud.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/app/charts/model.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array` and `convert::TryInto` [INFO] [stdout] --> src/core/agt/indicators/any.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `candles` [INFO] [stdout] --> src/core/agt/indicators/any.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | candles, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `all`, `cardinality`, `first`, `last`, `next`, `previous`, and `reverse_all` [INFO] [stdout] --> src/core/agt/indicators/any.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use enum_iterator::{all, cardinality, first, last, next, previous, reverse_all, Sequence}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `all`, `cardinality`, `first`, `last`, `next`, `previous`, and `reverse_all` [INFO] [stdout] --> src/core/agt/indicators/common.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use enum_iterator::{all, cardinality, first, last, next, previous, reverse_all, Sequence}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `convert::TryInto`, and `ops::Index` [INFO] [stdout] --> src/core/agt/indicators/source.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index, vec}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OptimizationParam` [INFO] [stdout] --> src/core/agt/indicators/source.rs:6:73 [INFO] [stdout] | [INFO] [stdout] 6 | indicators::common::{IndicatorData, IndicatorsEnum, IndicatorsMeta, OptimizationParam}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/core/agt/candles/source.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mongodb::bson::oid::ObjectId` [INFO] [stdout] --> src/core/agt/candles/source.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mongodb::bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `cmp::min`, `collections::HashMap`, `convert::TryInto`, and `ops::Index` [INFO] [stdout] --> src/core/agt/candles/source.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `try_partialord::*` [INFO] [stdout] --> src/core/agt/candles/source.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use try_partialord::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndicatorData`, `IndicatorsEnum`, `IndicatorsMeta`, `OptimizationParam`, and `candles` [INFO] [stdout] --> src/core/agt/strategy/condition.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | candles, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | indicators::common::{IndicatorData, IndicatorsEnum, IndicatorsMeta, OptimizationParam}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `cmp::min`, `collections::HashMap`, `convert::TryInto`, `ops::Index`, and `vec` [INFO] [stdout] --> src/core/agt/strategy/condition.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{array, cmp::min, collections::HashMap, convert::TryInto, ops::Index, vec}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OptimizedStrategyCondition` [INFO] [stdout] --> src/core/agt/strategy/example_usage.rs:5:65 [INFO] [stdout] | [INFO] [stdout] 5 | optimized_condition::{ConditionFactory, ConditionUtils, OptimizedStrategyCondition}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::agt::indicators::source::SourceIndicators` [INFO] [stdout] --> src/core/agt/opt/iterating/indicators.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::core::agt::indicators::source::SourceIndicators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndicatorData`, `IndicatorsMeta`, `OptimizationParam`, and `candles` [INFO] [stdout] --> src/core/agt/opt/iterating/indicators.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | candles, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | indicators::common::{IndicatorData, IndicatorsEnum, IndicatorsMeta, OptimizationParam}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sequence`, `cardinality`, `first`, `last`, `next`, `previous`, and `reverse_all` [INFO] [stdout] --> src/core/agt/opt/iterating/indicators.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use enum_iterator::{all, cardinality, first, last, next, previous, reverse_all, Sequence}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/agt/opt/iterating/indicators_example.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataConverter` and `DataValidator` [INFO] [stdout] --> src/indicators/base.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | DataConverter, DataValidator, IndicatorCategory, IndicatorError, IndicatorMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/indicators/implementations.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IndicatorId` [INFO] [stdout] --> src/indicators/registry.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | IndicatorCategory, IndicatorError, IndicatorId, IndicatorType, OHLCData, ParameterSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/indicators/tests.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base::*` [INFO] [stdout] --> src/indicators/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use base::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `implementations::*` [INFO] [stdout] --> src/indicators/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use implementations::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parameters::*` [INFO] [stdout] --> src/indicators/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use parameters::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `registry::*` [INFO] [stdout] --> src/indicators/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use registry::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/condition/tests.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base::*` [INFO] [stdout] --> src/condition/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use base::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conditions::*` [INFO] [stdout] --> src/condition/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use conditions::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `factory::*` [INFO] [stdout] --> src/condition/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use factory::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/condition/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/agt/opt/optimization.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut source_indicators = SourceIndicators::new(&source_data).await; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/agt/opt/optimization.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let mut indicator_data: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/agt/opt/optimization.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let mut condition_data: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/agt/opt/optimization.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut source_indicators = SourceIndicators::new(&source_data).await; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/agt/opt/optimization.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let mut indicator_data: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/agt/opt/optimization.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let mut condition_data: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base::Condition` [INFO] [stdout] --> src/condition/examples.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::condition::{base::Condition, factory::ConditionFactory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_indicators` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut source_indicators = SourceIndicators::new(&source_data).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_indicators` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let z: Vec> = [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indicators` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | for indicators in source_indicatiors_combination.iter() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indicators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | for condition in source_conditions.iter() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indicator_data` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let mut indicator_data: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indicator_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition_data` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let mut condition_data: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base::Condition` [INFO] [stdout] --> src/condition/tests.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::condition::{base::Condition, factory::ConditionFactory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base::Condition` [INFO] [stdout] --> src/condition/examples.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::condition::{base::Condition, factory::ConditionFactory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_indicators` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut source_indicators = SourceIndicators::new(&source_data).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_indicators` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let z: Vec> = [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indicators` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | for indicators in source_indicatiors_combination.iter() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indicators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | for condition in source_conditions.iter() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indicator_data` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let mut indicator_data: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indicator_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition_data` [INFO] [stdout] --> src/core/agt/opt/optimization.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let mut condition_data: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db_name`, `collection`, and `client` are never read [INFO] [stdout] --> src/app/charts/crud.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TickerRepository { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 10 | pub db_name: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub collection: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_count` is never used [INFO] [stdout] --> src/app/charts/crud.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl TickerRepository { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn get_count(&self, filter: Document) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_key` is never used [INFO] [stdout] --> src/app/charts/model.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl TickerCandle { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 19 | pub fn get_key(timestamp: i32, tf: i16) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_dbs` and `get_collections` are never used [INFO] [stdout] --> src/core/database/mongodb.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl MongoDbClient { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn get_dbs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn get_collections(&self, db_name: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/core/agt/indicators/any.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 36 | impl SimpleIndicators { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn get_indicator( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub async fn get_atr(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub async fn get_maxfor(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | async fn calculate_maxfor(&mut self, period: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub async fn get_minfor(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | async fn calculate_minfor(&mut self, period: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | pub async fn get_vtrand(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | async fn calculate_vtrand(&self, hhv: Vec, llv: Vec, _period: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub async fn get_geomean(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | async fn calculate_geomean(&mut self, period: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | pub async fn get_amma(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | async fn calculate_amma(&mut self, period: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 450 | pub async fn get_sqwma(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | async fn calculate_sqwma(&mut self, period: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 500 | pub async fn get_sinewma(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | async fn calculate_sinewma(&mut self, period: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 550 | pub async fn get_ama(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 575 | async fn calculate_ama(&mut self, period: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 605 | pub async fn get_zlema(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 631 | async fn calculate_zlema(&self, data: &Vec, period: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 689 | pub async fn get_tpbf(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 717 | async fn calculate_tpbf(&mut self, h: &Vec, l: &Vec, period: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 749 | pub async fn get_wma(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 775 | async fn calculate_wma(&mut self, period: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start`, `stop`, and `step` are never read [INFO] [stdout] --> src/core/agt/indicators/common.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct OptimizationParam { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 5 | pub start: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | pub stop: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub step: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptimizationParam` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `multi_indicator` is never read [INFO] [stdout] --> src/core/agt/indicators/common.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct IndicatorsMeta { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub multi_indicator: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndicatorsMeta` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `meta` is never read [INFO] [stdout] --> src/core/agt/indicators/common.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct IndicatorData { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 20 | pub data: Vec, [INFO] [stdout] 21 | pub meta: IndicatorsMeta, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndicatorData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IndicatorsEnum` is never used [INFO] [stdout] --> src/core/agt/indicators/common.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum IndicatorsEnum { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceIndicators` is never constructed [INFO] [stdout] --> src/core/agt/indicators/source.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SourceIndicators { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/agt/indicators/source.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 22 | impl SourceIndicators { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 23 | pub async fn new(data: &Source) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn get_indicator( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub async fn get_vtrand(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | async fn calculate_vtrand(&self, hhv: Vec, llv: Vec, _period: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub async fn get_atr_old(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | async fn calculate_atr_old(&self, period: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | async fn true_range_old(&self, i: usize) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub async fn get_atr(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | async fn calculate_atr(&self, period: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | async fn true_range(&self, period: usize, bar_num: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub async fn get_super_trend( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | async fn calculate_super_trend(&mut self, period: f32, coeff_atr: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | async fn calculate_median_price(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub async fn get_watr(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | async fn calculate_watr(&self, period: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub async fn get_maxfor(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | async fn calculate_maxfor(&mut self, period: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | pub async fn get_minfor(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | async fn calculate_minfor(&mut self, period: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub async fn get_stochastic(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | async fn calculate_stochastic( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/core/agt/candles/source.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Source { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub open: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub high: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub low: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | pub close: Vec, [INFO] [stdout] 14 | pub volume: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub timestamp: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | pub timeframe: i16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Element` is never used [INFO] [stdout] --> src/core/agt/candles/source.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MAIndicators` is never used [INFO] [stdout] --> src/core/agt/candles/source.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum MAIndicators { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name_indicator` is never read [INFO] [stdout] --> src/core/agt/strategy/condition.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct StrategyCondition { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | name_indicator: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StrategyCondition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_signal`, `get_last_signals`, `get_all_signals`, `has_active_signal`, and `count_active_signals` are never used [INFO] [stdout] --> src/core/agt/strategy/condition.rs:268:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl StrategyCondition { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 268 | pub async fn get_signal(&self, condition: ConditionEnum) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn get_last_signals(&self, count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn get_all_signals(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn has_active_signal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub fn count_active_signals(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `analyze_allocation_performance` is never used [INFO] [stdout] --> src/core/agt/strategy/memory_analyzer.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl MemoryAnalyzer { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn analyze_allocation_performance() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name_indicator` is never read [INFO] [stdout] --> src/core/agt/strategy/optimized_condition.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OptimizedStrategyCondition<'a> { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | name_indicator: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptimizedStrategyCondition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_last_signals`, `has_active_signal`, `count_active_signals`, and `get_indicator_name` are never used [INFO] [stdout] --> src/core/agt/strategy/optimized_condition.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> OptimizedStrategyCondition<'a> { [INFO] [stdout] | --------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn get_last_signals(&self, count: usize) -> &[bool] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn has_active_signal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn count_active_signals(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn get_indicator_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `combine_signals_or` is never used [INFO] [stdout] --> src/core/agt/strategy/optimized_condition.rs:321:12 [INFO] [stdout] | [INFO] [stdout] 302 | impl ConditionUtils { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn combine_signals_or(signals: &[&[bool]]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StrategyParametrs` is never constructed [INFO] [stdout] --> src/core/agt/strategy/parametrs.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct StrategyParametrs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceCombinationCondition` is never constructed [INFO] [stdout] --> src/core/agt/opt/iterating/conditions.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SourceCombinationCondition {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `execute` and `combination_condition` are never used [INFO] [stdout] --> src/core/agt/opt/iterating/conditions.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl SourceCombinationCondition { [INFO] [stdout] | ------------------------------- associated functions in this implementation [INFO] [stdout] 26 | /// Метод для генерации комбинаций условий [INFO] [stdout] 27 | pub fn execute(quantity: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn combination_condition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `QuantityIndicators` is never used [INFO] [stdout] --> src/core/agt/opt/iterating/indicators.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum QuantityIndicators { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceCombinationIndicators` is never constructed [INFO] [stdout] --> src/core/agt/opt/iterating/indicators.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct SourceCombinationIndicators {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `execute` is never used [INFO] [stdout] --> src/core/agt/opt/iterating/indicators.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl SourceCombinationIndicators { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 24 | pub fn execute(quantity: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MainOptimization` is never constructed [INFO] [stdout] --> src/core/agt/opt/optimization.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct MainOptimization {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `execute` is never used [INFO] [stdout] --> src/core/agt/opt/optimization.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl MainOptimization { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 21 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `redis_uri`, `rust_log`, `rust_backtrace`, `optimization_param`, and `env_optimization` are never read [INFO] [stdout] --> src/core/settings.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Settings { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | pub mongodb_uri: String, [INFO] [stdout] 6 | pub redis_uri: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub rust_log: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub rust_backtrace: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub optimization_param: OptimizationParam, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub env_optimization: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Indicator` is never used [INFO] [stdout] --> src/indicators/base.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Indicator: Send + Sync { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TrendIndicator` is never used [INFO] [stdout] --> src/indicators/base.rs:176:11 [INFO] [stdout] | [INFO] [stdout] 176 | pub trait TrendIndicator: Indicator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OscillatorIndicator` is never used [INFO] [stdout] --> src/indicators/base.rs:183:11 [INFO] [stdout] | [INFO] [stdout] 183 | pub trait OscillatorIndicator: Indicator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VolatilityIndicator` is never used [INFO] [stdout] --> src/indicators/base.rs:193:11 [INFO] [stdout] | [INFO] [stdout] 193 | pub trait VolatilityIndicator: Indicator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SimpleIndicator` is never used [INFO] [stdout] --> src/indicators/base.rs:200:11 [INFO] [stdout] | [INFO] [stdout] 200 | pub trait SimpleIndicator: Indicator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OHLCIndicator` is never used [INFO] [stdout] --> src/indicators/base.rs:209:11 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait OHLCIndicator: Indicator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TrendDirection` is never used [INFO] [stdout] --> src/indicators/base.rs:218:10 [INFO] [stdout] | [INFO] [stdout] 218 | pub enum TrendDirection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OverboughtOversoldZones` is never constructed [INFO] [stdout] --> src/indicators/base.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct OverboughtOversoldZones { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/base.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 235 | impl OverboughtOversoldZones { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 236 | pub fn new(overbought_threshold: f32, oversold_threshold: f32, current_value: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParameterOptimizer` is never used [INFO] [stdout] --> src/indicators/base.rs:248:11 [INFO] [stdout] | [INFO] [stdout] 248 | pub trait ParameterOptimizer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MAXFOR` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct MAXFOR { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl MAXFOR { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 22 | pub fn new(period: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MINFOR` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct MINFOR { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl MINFOR { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 89 | pub fn new(period: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ATR` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct ATR { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl ATR { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 156 | pub fn new(period: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `true_range_simple` and `true_range_ohlc` are never used [INFO] [stdout] --> src/indicators/implementations.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 243 | impl ATR { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 244 | /// Вычисляет True Range по простым данным (как в any.rs) [INFO] [stdout] 245 | async fn true_range_simple(&self, data: &[f32], period: usize, bar_num: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | fn true_range_ohlc(&self, data: &OHLCData, j: usize) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SuperTrend` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct SuperTrend { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:294:12 [INFO] [stdout] | [INFO] [stdout] 293 | impl SuperTrend { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 294 | pub fn new(period: f32, coeff_atr: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_median_price` is never used [INFO] [stdout] --> src/indicators/implementations.rs:435:14 [INFO] [stdout] | [INFO] [stdout] 434 | impl SuperTrend { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 435 | async fn calculate_median_price(&self, data: &OHLCData) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stochastic` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:463:12 [INFO] [stdout] | [INFO] [stdout] 463 | pub struct Stochastic { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:468:12 [INFO] [stdout] | [INFO] [stdout] 467 | impl Stochastic { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 468 | pub fn new(period: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WATR` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:567:12 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct WATR { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:572:12 [INFO] [stdout] | [INFO] [stdout] 571 | impl WATR { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 572 | pub fn new(period: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VTRAND` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:673:12 [INFO] [stdout] | [INFO] [stdout] 673 | pub struct VTRAND { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:678:12 [INFO] [stdout] | [INFO] [stdout] 677 | impl VTRAND { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 678 | pub fn new(period: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SMA` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:748:12 [INFO] [stdout] | [INFO] [stdout] 748 | pub struct SMA { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:753:12 [INFO] [stdout] | [INFO] [stdout] 752 | impl SMA { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 753 | pub fn new(period: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EMA` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:850:12 [INFO] [stdout] | [INFO] [stdout] 850 | pub struct EMA { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:855:12 [INFO] [stdout] | [INFO] [stdout] 854 | impl EMA { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 855 | pub fn new(period: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RSI` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:955:12 [INFO] [stdout] | [INFO] [stdout] 955 | pub struct RSI { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:960:12 [INFO] [stdout] | [INFO] [stdout] 959 | impl RSI { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 960 | pub fn new(period: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WMA` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:1073:12 [INFO] [stdout] | [INFO] [stdout] 1073 | pub struct WMA { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:1078:12 [INFO] [stdout] | [INFO] [stdout] 1077 | impl WMA { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 1078 | pub fn new(period: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AMA` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:1183:12 [INFO] [stdout] | [INFO] [stdout] 1183 | pub struct AMA { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:1188:12 [INFO] [stdout] | [INFO] [stdout] 1187 | impl AMA { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 1188 | pub fn new(period: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZLEMA` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:1295:12 [INFO] [stdout] | [INFO] [stdout] 1295 | pub struct ZLEMA { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:1300:12 [INFO] [stdout] | [INFO] [stdout] 1299 | impl ZLEMA { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 1300 | pub fn new(period: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GEOMEAN` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:1399:12 [INFO] [stdout] | [INFO] [stdout] 1399 | pub struct GEOMEAN { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:1404:12 [INFO] [stdout] | [INFO] [stdout] 1403 | impl GEOMEAN { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 1404 | pub fn new(period: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AMMA` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:1502:12 [INFO] [stdout] | [INFO] [stdout] 1502 | pub struct AMMA { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:1507:12 [INFO] [stdout] | [INFO] [stdout] 1506 | impl AMMA { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 1507 | pub fn new(period: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SQWMA` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:1614:12 [INFO] [stdout] | [INFO] [stdout] 1614 | pub struct SQWMA { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:1619:12 [INFO] [stdout] | [INFO] [stdout] 1618 | impl SQWMA { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 1619 | pub fn new(period: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SINEWMA` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:1724:12 [INFO] [stdout] | [INFO] [stdout] 1724 | pub struct SINEWMA { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:1729:12 [INFO] [stdout] | [INFO] [stdout] 1728 | impl SINEWMA { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 1729 | pub fn new(period: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TPBF` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:1834:12 [INFO] [stdout] | [INFO] [stdout] 1834 | pub struct TPBF { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:1839:12 [INFO] [stdout] | [INFO] [stdout] 1838 | impl TPBF { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 1839 | pub fn new(period: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BBMiddle` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:1941:12 [INFO] [stdout] | [INFO] [stdout] 1941 | pub struct BBMiddle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:1946:12 [INFO] [stdout] | [INFO] [stdout] 1945 | impl BBMiddle { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 1946 | pub fn new(period: f32, deviation: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BBUpper` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:2030:12 [INFO] [stdout] | [INFO] [stdout] 2030 | pub struct BBUpper { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:2035:12 [INFO] [stdout] | [INFO] [stdout] 2034 | impl BBUpper { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 2035 | pub fn new(period: f32, deviation: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BBLower` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:2127:12 [INFO] [stdout] | [INFO] [stdout] 2127 | pub struct BBLower { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:2132:12 [INFO] [stdout] | [INFO] [stdout] 2131 | impl BBLower { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 2132 | pub fn new(period: f32, deviation: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KCMiddle` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:2228:12 [INFO] [stdout] | [INFO] [stdout] 2228 | pub struct KCMiddle { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:2233:12 [INFO] [stdout] | [INFO] [stdout] 2232 | impl KCMiddle { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 2233 | pub fn new(period: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KCUpper` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:2315:12 [INFO] [stdout] | [INFO] [stdout] 2315 | pub struct KCUpper { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:2320:12 [INFO] [stdout] | [INFO] [stdout] 2319 | impl KCUpper { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 2320 | pub fn new(period: f32, atr_period: f32, atr_multiplier: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KCLower` is never constructed [INFO] [stdout] --> src/indicators/implementations.rs:2416:12 [INFO] [stdout] | [INFO] [stdout] 2416 | pub struct KCLower { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/implementations.rs:2421:12 [INFO] [stdout] | [INFO] [stdout] 2420 | impl KCLower { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 2421 | pub fn new(period: f32, atr_period: f32, atr_multiplier: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParameterPresets` is never constructed [INFO] [stdout] --> src/indicators/parameters.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ParameterPresets; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/indicators/parameters.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ParameterPresets { [INFO] [stdout] | --------------------- associated functions in this implementation [INFO] [stdout] 8 | /// Диапазон для периода [INFO] [stdout] 9 | pub fn period_range(start: f32, end: f32, step: f32) -> ParameterRange { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn standard_period() -> ParameterRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn short_period() -> ParameterRange { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn long_period() -> ParameterRange { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn multiplier_range(start: f32, end: f32, step: f32) -> ParameterRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn standard_multiplier() -> ParameterRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn atr_multiplier() -> ParameterRange { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn threshold_range(start: f32, end: f32, step: f32) -> ParameterRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn rsi_thresholds() -> ParameterRange { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn coefficient_range(start: f32, end: f32, step: f32) -> ParameterRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn smoothing_coefficient() -> ParameterRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_period_parameter` is never used [INFO] [stdout] --> src/indicators/parameters.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn create_period_parameter(name: &str, value: f32, description: &str) -> IndicatorParameter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_period_parameter_with_range` is never used [INFO] [stdout] --> src/indicators/parameters.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn create_period_parameter_with_range( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_multiplier_parameter` is never used [INFO] [stdout] --> src/indicators/parameters.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn create_multiplier_parameter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_multiplier_parameter_with_range` is never used [INFO] [stdout] --> src/indicators/parameters.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn create_multiplier_parameter_with_range( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_threshold_parameter` is never used [INFO] [stdout] --> src/indicators/parameters.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn create_threshold_parameter(name: &str, value: f32, description: &str) -> IndicatorParameter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_threshold_parameter_with_range` is never used [INFO] [stdout] --> src/indicators/parameters.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn create_threshold_parameter_with_range( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_coefficient_parameter` is never used [INFO] [stdout] --> src/indicators/parameters.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn create_coefficient_parameter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_coefficient_parameter_with_range` is never used [INFO] [stdout] --> src/indicators/parameters.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn create_coefficient_parameter_with_range( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_custom_parameter` is never used [INFO] [stdout] --> src/indicators/parameters.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn create_custom_parameter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_sma_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn create_sma_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_ema_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn create_ema_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_rsi_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn create_rsi_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_atr_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn create_atr_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_supertrend_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn create_supertrend_parameters( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_macd_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn create_macd_parameters( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_bollinger_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:266:8 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn create_bollinger_parameters( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_stochastic_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:288:8 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn create_stochastic_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_wma_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:298:8 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn create_wma_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_ama_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:308:8 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn create_ama_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_zlema_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:318:8 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn create_zlema_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_geomean_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn create_geomean_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_amma_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn create_amma_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_sqwma_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:348:8 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn create_sqwma_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_sinewma_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:358:8 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn create_sinewma_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tpbf_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn create_tpbf_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndicatorConfig` is never constructed [INFO] [stdout] --> src/indicators/registry.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct IndicatorConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndicatorRegistry` is never constructed [INFO] [stdout] --> src/indicators/registry.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct IndicatorRegistry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/indicators/registry.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl IndicatorRegistry { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 31 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn register_all_indicators(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn register_indicator(&mut self, name: &str, indicator: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn get_indicator(&self, name: &str) -> Option<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn get_indicators_by_category( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn get_indicators_by_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn get_ohlc_indicators(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn get_simple_indicators(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn get_universal_indicators(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn get_trend_indicators(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_oscillator_indicators(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn get_channel_indicators(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn get_volatility_indicators(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn get_volume_indicators(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn get_support_resistance_indicators(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn get_custom_indicators(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn get_all_indicator_names(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn get_stats(&self) -> RegistryStats { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn search_indicators(&self, query: &str) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn get_indicators_with_parameter_count( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegistryStats` is never constructed [INFO] [stdout] --> src/indicators/registry.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 310 | pub struct RegistryStats { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndicatorFactory` is never constructed [INFO] [stdout] --> src/indicators/registry.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 317 | pub struct IndicatorFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create_indicator`, `create_from_config`, `get_available_indicators`, and `get_indicator_info` are never used [INFO] [stdout] --> src/indicators/registry.rs:321:12 [INFO] [stdout] | [INFO] [stdout] 319 | impl IndicatorFactory { [INFO] [stdout] | --------------------- associated functions in this implementation [INFO] [stdout] 320 | /// Создать индикатор по имени и параметрам [INFO] [stdout] 321 | pub fn create_indicator( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | pub fn create_from_config( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn get_available_indicators() -> Vec<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 487 | pub fn get_indicator_info(name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndicatorInfo` is never constructed [INFO] [stdout] --> src/indicators/registry.rs:686:12 [INFO] [stdout] | [INFO] [stdout] 686 | pub struct IndicatorInfo { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GLOBAL_REGISTRY` is never used [INFO] [stdout] --> src/indicators/registry.rs:695:12 [INFO] [stdout] | [INFO] [stdout] 695 | pub static GLOBAL_REGISTRY: OnceLock> = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_global_registry` is never used [INFO] [stdout] --> src/indicators/registry.rs:697:8 [INFO] [stdout] | [INFO] [stdout] 697 | pub fn get_global_registry() -> &'static RwLock { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_indicator_async` is never used [INFO] [stdout] --> src/indicators/registry.rs:748:18 [INFO] [stdout] | [INFO] [stdout] 746 | impl IndicatorFactory { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 747 | /// Создать индикатор по имени и параметрам (асинхронная версия) [INFO] [stdout] 748 | pub async fn create_indicator_async( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CloneBox` is never used [INFO] [stdout] --> src/indicators/registry.rs:757:11 [INFO] [stdout] | [INFO] [stdout] 757 | pub trait CloneBox { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmptyIndicator` is never constructed [INFO] [stdout] --> src/indicators/registry.rs:775:8 [INFO] [stdout] | [INFO] [stdout] 775 | struct EmptyIndicator; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_ohlc_indicators` is never used [INFO] [stdout] --> src/indicators/registry.rs:706:18 [INFO] [stdout] | [INFO] [stdout] 706 | pub async fn get_all_ohlc_indicators() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_simple_indicators` is never used [INFO] [stdout] --> src/indicators/registry.rs:716:18 [INFO] [stdout] | [INFO] [stdout] 716 | pub async fn get_all_simple_indicators() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_indicators_by_category` is never used [INFO] [stdout] --> src/indicators/registry.rs:726:18 [INFO] [stdout] | [INFO] [stdout] 726 | pub async fn get_indicators_by_category( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_indicator` is never used [INFO] [stdout] --> src/indicators/registry.rs:738:18 [INFO] [stdout] | [INFO] [stdout] 738 | pub async fn create_indicator( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InputDataType` is never used [INFO] [stdout] --> src/indicators/types.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum InputDataType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IndicatorCategory` is never used [INFO] [stdout] --> src/indicators/types.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum IndicatorCategory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IndicatorType` is never used [INFO] [stdout] --> src/indicators/types.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum IndicatorType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParameterRange` is never constructed [INFO] [stdout] --> src/indicators/types.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct ParameterRange { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `validate`, `count_combinations`, `next_value`, and `reset` are never used [INFO] [stdout] --> src/indicators/types.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl ParameterRange { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 63 | pub fn new(start: f32, end: f32, step: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn validate(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn count_combinations(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn next_value(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndicatorParameter` is never constructed [INFO] [stdout] --> src/indicators/types.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct IndicatorParameter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `validate` are never used [INFO] [stdout] --> src/indicators/types.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl IndicatorParameter { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 105 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn validate(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParameterType` is never used [INFO] [stdout] --> src/indicators/types.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | pub enum ParameterType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParameterSet` is never constructed [INFO] [stdout] --> src/indicators/types.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct ParameterSet { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/indicators/types.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl ParameterSet { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 143 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn add_parameter(&mut self, parameter: IndicatorParameter) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn get_parameter(&self, name: &str) -> Option<&IndicatorParameter> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn get_value(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn set_value(&mut self, name: &str, value: f32) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn get_current_values(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn get_optimization_ranges(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn validate_all(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndicatorMetadata` is never constructed [INFO] [stdout] --> src/indicators/types.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct IndicatorMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OHLCData` is never constructed [INFO] [stdout] --> src/indicators/types.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | pub struct OHLCData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/indicators/types.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 240 | impl OHLCData { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 241 | pub fn new(open: Vec, high: Vec, low: Vec, close: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn with_volume(mut self, volume: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn with_timestamp(mut self, timestamp: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub fn validate(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn get_median_price(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn get_typical_price(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn get_weighted_close(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IndicatorError` is never used [INFO] [stdout] --> src/indicators/types.rs:313:10 [INFO] [stdout] | [INFO] [stdout] 313 | pub enum IndicatorError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IndicatorResult` is never used [INFO] [stdout] --> src/indicators/types.rs:346:10 [INFO] [stdout] | [INFO] [stdout] 346 | pub type IndicatorResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DataValidator` is never used [INFO] [stdout] --> src/indicators/types.rs:349:11 [INFO] [stdout] | [INFO] [stdout] 349 | pub trait DataValidator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DataConverter` is never used [INFO] [stdout] --> src/indicators/types.rs:356:11 [INFO] [stdout] | [INFO] [stdout] 356 | pub trait DataConverter { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndicatorResultData` is never constructed [INFO] [stdout] --> src/indicators/types.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 363 | pub struct IndicatorResultData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndicatorId` is never constructed [INFO] [stdout] --> src/indicators/types.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 370 | pub struct IndicatorId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `with_parameter` are never used [INFO] [stdout] --> src/indicators/types.rs:378:12 [INFO] [stdout] | [INFO] [stdout] 377 | impl IndicatorId { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 378 | pub fn new(name: &str, category: IndicatorCategory, indicator_type: IndicatorType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub fn with_parameter(mut self, key: &str, value: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Condition` is never used [INFO] [stdout] --> src/condition/base.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Condition: Send + Sync { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ComparisonCondition` is never used [INFO] [stdout] --> src/condition/base.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub trait ComparisonCondition: Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PercentageCondition` is never used [INFO] [stdout] --> src/condition/base.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | pub trait PercentageCondition: Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CrossoverCondition` is never used [INFO] [stdout] --> src/condition/base.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | pub trait CrossoverCondition: Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TrendCondition` is never used [INFO] [stdout] --> src/condition/base.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | pub trait TrendCondition: Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MomentumCondition` is never used [INFO] [stdout] --> src/condition/base.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | pub trait MomentumCondition: Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VolatilityCondition` is never used [INFO] [stdout] --> src/condition/base.rs:176:11 [INFO] [stdout] | [INFO] [stdout] 176 | pub trait VolatilityCondition: Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CustomCondition` is never used [INFO] [stdout] --> src/condition/base.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 195 | pub trait CustomCondition: Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParameterOptimizer` is never used [INFO] [stdout] --> src/condition/base.rs:211:11 [INFO] [stdout] | [INFO] [stdout] 211 | pub trait ParameterOptimizer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CloneBox` is never used [INFO] [stdout] --> src/condition/base.rs:230:11 [INFO] [stdout] | [INFO] [stdout] 230 | pub trait CloneBox { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AboveCondition` is never constructed [INFO] [stdout] --> src/condition/conditions.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct AboveCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/condition/conditions.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl AboveCondition { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GreaterPercentCondition` is never constructed [INFO] [stdout] --> src/condition/conditions.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct GreaterPercentCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/condition/conditions.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 149 | impl GreaterPercentCondition { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 150 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LowerPercentCondition` is never constructed [INFO] [stdout] --> src/condition/conditions.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 390 | pub struct LowerPercentCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/condition/conditions.rs:395:12 [INFO] [stdout] | [INFO] [stdout] 394 | impl LowerPercentCondition { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 395 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrossesAboveCondition` is never constructed [INFO] [stdout] --> src/condition/conditions.rs:524:12 [INFO] [stdout] | [INFO] [stdout] 524 | pub struct CrossesAboveCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/condition/conditions.rs:529:12 [INFO] [stdout] | [INFO] [stdout] 528 | impl CrossesAboveCondition { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 529 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RisingTrendCondition` is never constructed [INFO] [stdout] --> src/condition/conditions.rs:659:12 [INFO] [stdout] | [INFO] [stdout] 659 | pub struct RisingTrendCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/condition/conditions.rs:665:12 [INFO] [stdout] | [INFO] [stdout] 664 | impl RisingTrendCondition { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 665 | pub fn new(period: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_rising_trend` and `calculate_slope` are never used [INFO] [stdout] --> src/condition/conditions.rs:812:8 [INFO] [stdout] | [INFO] [stdout] 810 | impl RisingTrendCondition { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 811 | // Вспомогательные методы [INFO] [stdout] 812 | fn is_rising_trend(&self, data: &[f32]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 820 | fn calculate_slope(&self, data: &[f32]) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BelowCondition` is never constructed [INFO] [stdout] --> src/condition/conditions.rs:838:12 [INFO] [stdout] | [INFO] [stdout] 838 | pub struct BelowCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/condition/conditions.rs:843:12 [INFO] [stdout] | [INFO] [stdout] 842 | impl BelowCondition { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 843 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrossesBelowCondition` is never constructed [INFO] [stdout] --> src/condition/conditions.rs:967:12 [INFO] [stdout] | [INFO] [stdout] 967 | pub struct CrossesBelowCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/condition/conditions.rs:972:12 [INFO] [stdout] | [INFO] [stdout] 971 | impl CrossesBelowCondition { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 972 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FallingTrendCondition` is never constructed [INFO] [stdout] --> src/condition/conditions.rs:1098:12 [INFO] [stdout] | [INFO] [stdout] 1098 | pub struct FallingTrendCondition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/condition/conditions.rs:1104:12 [INFO] [stdout] | [INFO] [stdout] 1103 | impl FallingTrendCondition { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 1104 | pub fn new(period: f32) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_falling_trend` and `calculate_slope` are never used [INFO] [stdout] --> src/condition/conditions.rs:1251:8 [INFO] [stdout] | [INFO] [stdout] 1249 | impl FallingTrendCondition { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 1250 | // Вспомогательные методы [INFO] [stdout] 1251 | fn is_falling_trend(&self, data: &[f32]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1259 | fn calculate_slope(&self, data: &[f32]) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `above_condition_example` is never used [INFO] [stdout] --> src/condition/examples.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn above_condition_example() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crosses_above_example` is never used [INFO] [stdout] --> src/condition/examples.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn crosses_above_example() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rising_trend_example` is never used [INFO] [stdout] --> src/condition/examples.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn rising_trend_example() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combined_conditions_example` is never used [INFO] [stdout] --> src/condition/examples.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | pub async fn combined_conditions_example() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ohlc_conditions_example` is never used [INFO] [stdout] --> src/condition/examples.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn ohlc_conditions_example() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_ohlc_data` is never used [INFO] [stdout] --> src/condition/examples.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn create_test_ohlc_data() -> OHLCData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_all_examples` is never used [INFO] [stdout] --> src/condition/examples.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | pub async fn run_all_examples() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_all_examples_with_integration` is never used [INFO] [stdout] --> src/condition/examples.rs:180:14 [INFO] [stdout] | [INFO] [stdout] 180 | pub async fn run_all_examples_with_integration() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConditionFactory` is never constructed [INFO] [stdout] --> src/condition/factory.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ConditionFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create_condition`, `get_available_conditions`, `get_condition_info`, `create_condition_default`, and `create_from_config` are never used [INFO] [stdout] --> src/condition/factory.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ConditionFactory { [INFO] [stdout] | --------------------- associated functions in this implementation [INFO] [stdout] 12 | /// Создать условие по имени и параметрам [INFO] [stdout] 13 | pub fn create_condition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_available_conditions() -> Vec<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get_condition_info(name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn create_condition_default( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn create_from_config( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConditionRegistry` is never constructed [INFO] [stdout] --> src/condition/factory.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct ConditionRegistry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `register_condition`, `get_condition`, `get_all_conditions`, and `register_default_conditions` are never used [INFO] [stdout] --> src/condition/factory.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 165 | impl ConditionRegistry { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 166 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn register_condition(&mut self, name: &str, condition: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn get_condition(&self, name: &str) -> Option<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn get_all_conditions(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn register_default_conditions(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GLOBAL_CONDITION_REGISTRY` is never used [INFO] [stdout] --> src/condition/factory.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | pub static GLOBAL_CONDITION_REGISTRY: std::sync::OnceLock> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_global_condition_registry` is never used [INFO] [stdout] --> src/condition/factory.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn get_global_condition_registry() -> &'static std::sync::RwLock { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ConditionError` is never used [INFO] [stdout] --> src/condition/types.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ConditionError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ConditionResult` is never used [INFO] [stdout] --> src/condition/types.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub type ConditionResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TrendDirection` is never used [INFO] [stdout] --> src/condition/types.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum TrendDirection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SignalStrength` is never used [INFO] [stdout] --> src/condition/types.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum SignalStrength { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ConditionType` is never used [INFO] [stdout] --> src/condition/types.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum ConditionType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ConditionCategory` is never used [INFO] [stdout] --> src/condition/types.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum ConditionCategory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConditionConfig` is never constructed [INFO] [stdout] --> src/condition/types.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct ConditionConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConditionResultData` is never constructed [INFO] [stdout] --> src/condition/types.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct ConditionResultData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConditionMetadata` is never constructed [INFO] [stdout] --> src/condition/types.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct ConditionMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db_name`, `collection`, and `client` are never read [INFO] [stdout] --> src/app/charts/crud.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TickerRepository { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 10 | pub db_name: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub collection: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | pub client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_count` is never used [INFO] [stdout] --> src/app/charts/crud.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl TickerRepository { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn get_count(&self, filter: Document) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_key` is never used [INFO] [stdout] --> src/app/charts/model.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl TickerCandle { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 19 | pub fn get_key(timestamp: i32, tf: i16) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_dbs` and `get_collections` are never used [INFO] [stdout] --> src/core/database/mongodb.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl MongoDbClient { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn get_dbs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn get_collections(&self, db_name: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/core/agt/indicators/any.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 36 | impl SimpleIndicators { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn get_indicator( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub async fn get_atr(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub async fn get_maxfor(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | async fn calculate_maxfor(&mut self, period: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub async fn get_minfor(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | async fn calculate_minfor(&mut self, period: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | pub async fn get_vtrand(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | async fn calculate_vtrand(&self, hhv: Vec, llv: Vec, _period: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub async fn get_geomean(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | async fn calculate_geomean(&mut self, period: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | pub async fn get_amma(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | async fn calculate_amma(&mut self, period: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 450 | pub async fn get_sqwma(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | async fn calculate_sqwma(&mut self, period: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 500 | pub async fn get_sinewma(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | async fn calculate_sinewma(&mut self, period: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 550 | pub async fn get_ama(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 575 | async fn calculate_ama(&mut self, period: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 605 | pub async fn get_zlema(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 631 | async fn calculate_zlema(&self, data: &Vec, period: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 689 | pub async fn get_tpbf(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 717 | async fn calculate_tpbf(&mut self, h: &Vec, l: &Vec, period: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 749 | pub async fn get_wma(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 775 | async fn calculate_wma(&mut self, period: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start`, `stop`, and `step` are never read [INFO] [stdout] --> src/core/agt/indicators/common.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct OptimizationParam { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 5 | pub start: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | pub stop: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub step: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptimizationParam` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `multi_indicator` is never read [INFO] [stdout] --> src/core/agt/indicators/common.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct IndicatorsMeta { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub multi_indicator: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndicatorsMeta` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `meta` is never read [INFO] [stdout] --> src/core/agt/indicators/common.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct IndicatorData { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 20 | pub data: Vec, [INFO] [stdout] 21 | pub meta: IndicatorsMeta, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndicatorData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IndicatorsEnum` is never used [INFO] [stdout] --> src/core/agt/indicators/common.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum IndicatorsEnum { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceIndicators` is never constructed [INFO] [stdout] --> src/core/agt/indicators/source.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SourceIndicators { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/agt/indicators/source.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 22 | impl SourceIndicators { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 23 | pub async fn new(data: &Source) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn get_indicator( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub async fn get_vtrand(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | async fn calculate_vtrand(&self, hhv: Vec, llv: Vec, _period: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub async fn get_atr_old(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | async fn calculate_atr_old(&self, period: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | async fn true_range_old(&self, i: usize) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub async fn get_atr(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | async fn calculate_atr(&self, period: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | async fn true_range(&self, period: usize, bar_num: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub async fn get_super_trend( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | async fn calculate_super_trend(&mut self, period: f32, coeff_atr: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | async fn calculate_median_price(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub async fn get_watr(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | async fn calculate_watr(&self, period: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub async fn get_maxfor(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | async fn calculate_maxfor(&mut self, period: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | pub async fn get_minfor(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | async fn calculate_minfor(&mut self, period: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | pub async fn get_stochastic(&mut self, period: f32, meta: bool) -> IndicatorData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | async fn calculate_stochastic( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/core/agt/candles/source.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Source { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub open: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub high: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub low: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | pub close: Vec, [INFO] [stdout] 14 | pub volume: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub timestamp: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | pub timeframe: i16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Element` is never used [INFO] [stdout] --> src/core/agt/candles/source.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MAIndicators` is never used [INFO] [stdout] --> src/core/agt/candles/source.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum MAIndicators { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name_indicator` is never read [INFO] [stdout] --> src/core/agt/strategy/condition.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct StrategyCondition { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | name_indicator: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StrategyCondition` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_signal`, `get_last_signals`, `get_all_signals`, `has_active_signal`, and `count_active_signals` are never used [INFO] [stdout] --> src/core/agt/strategy/condition.rs:268:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl StrategyCondition { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 268 | pub async fn get_signal(&self, condition: ConditionEnum) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn get_last_signals(&self, count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn get_all_signals(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn has_active_signal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub fn count_active_signals(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `analyze_allocation_performance` is never used [INFO] [stdout] --> src/core/agt/strategy/memory_analyzer.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl MemoryAnalyzer { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn analyze_allocation_performance() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name_indicator` is never read [INFO] [stdout] --> src/core/agt/strategy/optimized_condition.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OptimizedStrategyCondition<'a> { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | name_indicator: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptimizedStrategyCondition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_last_signals`, `has_active_signal`, `count_active_signals`, and `get_indicator_name` are never used [INFO] [stdout] --> src/core/agt/strategy/optimized_condition.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> OptimizedStrategyCondition<'a> { [INFO] [stdout] | --------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn get_last_signals(&self, count: usize) -> &[bool] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn has_active_signal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn count_active_signals(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn get_indicator_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StrategyParametrs` is never constructed [INFO] [stdout] --> src/core/agt/strategy/parametrs.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct StrategyParametrs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceCombinationCondition` is never constructed [INFO] [stdout] --> src/core/agt/opt/iterating/conditions.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct SourceCombinationCondition {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `execute` and `combination_condition` are never used [INFO] [stdout] --> src/core/agt/opt/iterating/conditions.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl SourceCombinationCondition { [INFO] [stdout] | ------------------------------- associated functions in this implementation [INFO] [stdout] 26 | /// Метод для генерации комбинаций условий [INFO] [stdout] 27 | pub fn execute(quantity: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn combination_condition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `QuantityIndicators` is never used [INFO] [stdout] --> src/core/agt/opt/iterating/indicators.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum QuantityIndicators { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceCombinationIndicators` is never constructed [INFO] [stdout] --> src/core/agt/opt/iterating/indicators.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct SourceCombinationIndicators {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `execute` is never used [INFO] [stdout] --> src/core/agt/opt/iterating/indicators.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl SourceCombinationIndicators { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 24 | pub fn execute(quantity: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MainOptimization` is never constructed [INFO] [stdout] --> src/core/agt/opt/optimization.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct MainOptimization {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `execute` is never used [INFO] [stdout] --> src/core/agt/opt/optimization.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl MainOptimization { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 21 | pub async fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `redis_uri`, `rust_log`, `rust_backtrace`, `optimization_param`, and `env_optimization` are never read [INFO] [stdout] --> src/core/settings.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Settings { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 5 | pub mongodb_uri: String, [INFO] [stdout] 6 | pub redis_uri: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub rust_log: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub rust_backtrace: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub optimization_param: OptimizationParam, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub env_optimization: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/indicators/base.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Indicator: Send + Sync { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 13 | /// Имя индикатора [INFO] [stdout] 14 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn description(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn category(&self) -> IndicatorCategory; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn indicator_type(&self) -> IndicatorType; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn parameters(&self) -> &ParameterSet; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn min_data_points(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | async fn calculate(&self, data: &[f32]) -> Result, IndicatorError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | async fn calculate_with_ohlc(&self, data: &OHLCData) -> Result, IndicatorError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn metadata(&self) -> IndicatorMetadata { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn get_required_input_type(&self) -> InputDataType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn validate_parameters(&self) -> Result<(), IndicatorError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn validate_input_data(&self, data: &[f32]) -> Result<(), IndicatorError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | fn validate_ohlc_data(&self, data: &OHLCData) -> Result<(), IndicatorError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | async fn calculate_with_metadata( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | async fn calculate_ohlc_with_metadata( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TrendIndicator` is never used [INFO] [stdout] --> src/indicators/base.rs:176:11 [INFO] [stdout] | [INFO] [stdout] 176 | pub trait TrendIndicator: Indicator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OscillatorIndicator` is never used [INFO] [stdout] --> src/indicators/base.rs:183:11 [INFO] [stdout] | [INFO] [stdout] 183 | pub trait OscillatorIndicator: Indicator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VolatilityIndicator` is never used [INFO] [stdout] --> src/indicators/base.rs:193:11 [INFO] [stdout] | [INFO] [stdout] 193 | pub trait VolatilityIndicator: Indicator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SimpleIndicator` is never used [INFO] [stdout] --> src/indicators/base.rs:200:11 [INFO] [stdout] | [INFO] [stdout] 200 | pub trait SimpleIndicator: Indicator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OHLCIndicator` is never used [INFO] [stdout] --> src/indicators/base.rs:209:11 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait OHLCIndicator: Indicator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TrendDirection` is never used [INFO] [stdout] --> src/indicators/base.rs:218:10 [INFO] [stdout] | [INFO] [stdout] 218 | pub enum TrendDirection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OverboughtOversoldZones` is never constructed [INFO] [stdout] --> src/indicators/base.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct OverboughtOversoldZones { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indicators/base.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 235 | impl OverboughtOversoldZones { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 236 | pub fn new(overbought_threshold: f32, oversold_threshold: f32, current_value: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParameterOptimizer` is never used [INFO] [stdout] --> src/indicators/base.rs:248:11 [INFO] [stdout] | [INFO] [stdout] 248 | pub trait ParameterOptimizer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/indicators/parameters.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ParameterPresets { [INFO] [stdout] | --------------------- associated functions in this implementation [INFO] [stdout] 8 | /// Диапазон для периода [INFO] [stdout] 9 | pub fn period_range(start: f32, end: f32, step: f32) -> ParameterRange { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn short_period() -> ParameterRange { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn long_period() -> ParameterRange { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn multiplier_range(start: f32, end: f32, step: f32) -> ParameterRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn threshold_range(start: f32, end: f32, step: f32) -> ParameterRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn rsi_thresholds() -> ParameterRange { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn coefficient_range(start: f32, end: f32, step: f32) -> ParameterRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn smoothing_coefficient() -> ParameterRange { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_period_parameter_with_range` is never used [INFO] [stdout] --> src/indicators/parameters.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn create_period_parameter_with_range( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_threshold_parameter` is never used [INFO] [stdout] --> src/indicators/parameters.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn create_threshold_parameter(name: &str, value: f32, description: &str) -> IndicatorParameter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_threshold_parameter_with_range` is never used [INFO] [stdout] --> src/indicators/parameters.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn create_threshold_parameter_with_range( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_coefficient_parameter` is never used [INFO] [stdout] --> src/indicators/parameters.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn create_coefficient_parameter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_coefficient_parameter_with_range` is never used [INFO] [stdout] --> src/indicators/parameters.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn create_coefficient_parameter_with_range( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_custom_parameter` is never used [INFO] [stdout] --> src/indicators/parameters.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn create_custom_parameter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_sma_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn create_sma_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_ema_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn create_ema_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_rsi_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn create_rsi_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_atr_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn create_atr_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_supertrend_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn create_supertrend_parameters( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_macd_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn create_macd_parameters( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_bollinger_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:266:8 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn create_bollinger_parameters( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_stochastic_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:288:8 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn create_stochastic_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_wma_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:298:8 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn create_wma_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_ama_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:308:8 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn create_ama_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_zlema_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:318:8 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn create_zlema_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_geomean_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn create_geomean_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_amma_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn create_amma_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_sqwma_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:348:8 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn create_sqwma_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_sinewma_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:358:8 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn create_sinewma_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tpbf_parameters` is never used [INFO] [stdout] --> src/indicators/parameters.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn create_tpbf_parameters(period: f32) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndicatorConfig` is never constructed [INFO] [stdout] --> src/indicators/registry.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct IndicatorConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndicatorRegistry` is never constructed [INFO] [stdout] --> src/indicators/registry.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct IndicatorRegistry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/indicators/registry.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl IndicatorRegistry { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 31 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn register_all_indicators(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn register_indicator(&mut self, name: &str, indicator: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn get_indicator(&self, name: &str) -> Option<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn get_indicators_by_category( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn get_indicators_by_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn get_ohlc_indicators(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn get_simple_indicators(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn get_universal_indicators(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn get_trend_indicators(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_oscillator_indicators(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn get_channel_indicators(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn get_volatility_indicators(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn get_volume_indicators(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn get_support_resistance_indicators(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn get_custom_indicators(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn get_all_indicator_names(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn get_stats(&self) -> RegistryStats { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn search_indicators(&self, query: &str) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | pub fn get_indicators_with_parameter_count( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegistryStats` is never constructed [INFO] [stdout] --> src/indicators/registry.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 310 | pub struct RegistryStats { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_from_config` is never used [INFO] [stdout] --> src/indicators/registry.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 319 | impl IndicatorFactory { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 446 | pub fn create_from_config( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `category`, `indicator_type`, and `description` are never read [INFO] [stdout] --> src/indicators/registry.rs:688:9 [INFO] [stdout] | [INFO] [stdout] 686 | pub struct IndicatorInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 687 | pub name: String, [INFO] [stdout] 688 | pub category: IndicatorCategory, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 689 | pub indicator_type: IndicatorType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 690 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndicatorInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GLOBAL_REGISTRY` is never used [INFO] [stdout] --> src/indicators/registry.rs:695:12 [INFO] [stdout] | [INFO] [stdout] 695 | pub static GLOBAL_REGISTRY: OnceLock> = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_global_registry` is never used [INFO] [stdout] --> src/indicators/registry.rs:697:8 [INFO] [stdout] | [INFO] [stdout] 697 | pub fn get_global_registry() -> &'static RwLock { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_indicator_async` is never used [INFO] [stdout] --> src/indicators/registry.rs:748:18 [INFO] [stdout] | [INFO] [stdout] 746 | impl IndicatorFactory { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 747 | /// Создать индикатор по имени и параметрам (асинхронная версия) [INFO] [stdout] 748 | pub async fn create_indicator_async( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CloneBox` is never used [INFO] [stdout] --> src/indicators/registry.rs:757:11 [INFO] [stdout] | [INFO] [stdout] 757 | pub trait CloneBox { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmptyIndicator` is never constructed [INFO] [stdout] --> src/indicators/registry.rs:775:8 [INFO] [stdout] | [INFO] [stdout] 775 | struct EmptyIndicator; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_ohlc_indicators` is never used [INFO] [stdout] --> src/indicators/registry.rs:706:18 [INFO] [stdout] | [INFO] [stdout] 706 | pub async fn get_all_ohlc_indicators() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_simple_indicators` is never used [INFO] [stdout] --> src/indicators/registry.rs:716:18 [INFO] [stdout] | [INFO] [stdout] 716 | pub async fn get_all_simple_indicators() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_indicators_by_category` is never used [INFO] [stdout] --> src/indicators/registry.rs:726:18 [INFO] [stdout] | [INFO] [stdout] 726 | pub async fn get_indicators_by_category( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_indicator` is never used [INFO] [stdout] --> src/indicators/registry.rs:738:18 [INFO] [stdout] | [INFO] [stdout] 738 | pub async fn create_indicator( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InputDataType` is never used [INFO] [stdout] --> src/indicators/types.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum InputDataType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count_combinations`, `next_value`, and `reset` are never used [INFO] [stdout] --> src/indicators/types.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl ParameterRange { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn count_combinations(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn next_value(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/indicators/types.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl ParameterSet { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn get_parameter(&self, name: &str) -> Option<&IndicatorParameter> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn set_value(&mut self, name: &str, value: f32) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn get_current_values(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn get_optimization_ranges(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn validate_all(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndicatorMetadata` is never constructed [INFO] [stdout] --> src/indicators/types.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct IndicatorMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_volume`, `with_timestamp`, `is_empty`, `validate`, `get_typical_price`, and `get_weighted_close` are never used [INFO] [stdout] --> src/indicators/types.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 240 | impl OHLCData { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn with_volume(mut self, volume: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn with_timestamp(mut self, timestamp: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub fn validate(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn get_typical_price(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn get_weighted_close(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/indicators/types.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 313 | pub enum IndicatorError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 321 | CalculationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | DependencyError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | ParameterValidationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | DataTypeMismatch { expected: String, actual: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | VolumeDataRequired, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | InvalidOHLCData(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | OptimizationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndicatorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IndicatorResult` is never used [INFO] [stdout] --> src/indicators/types.rs:346:10 [INFO] [stdout] | [INFO] [stdout] 346 | pub type IndicatorResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DataValidator` is never used [INFO] [stdout] --> src/indicators/types.rs:349:11 [INFO] [stdout] | [INFO] [stdout] 349 | pub trait DataValidator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DataConverter` is never used [INFO] [stdout] --> src/indicators/types.rs:356:11 [INFO] [stdout] | [INFO] [stdout] 356 | pub trait DataConverter { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndicatorResultData` is never constructed [INFO] [stdout] --> src/indicators/types.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 363 | pub struct IndicatorResultData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndicatorId` is never constructed [INFO] [stdout] --> src/indicators/types.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 370 | pub struct IndicatorId { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `with_parameter` are never used [INFO] [stdout] --> src/indicators/types.rs:378:12 [INFO] [stdout] | [INFO] [stdout] 377 | impl IndicatorId { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 378 | pub fn new(name: &str, category: IndicatorCategory, indicator_type: IndicatorType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub fn with_parameter(mut self, key: &str, value: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `description`, `config`, and `check_single` are never used [INFO] [stdout] --> src/condition/base.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Condition: Send + Sync { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 11 | /// Имя условия [INFO] [stdout] 12 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn description(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn config(&self) -> &ConditionConfig; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | async fn check_single(&self, index: usize, data: &[f32]) -> ConditionResult; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ComparisonCondition` is never used [INFO] [stdout] --> src/condition/base.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub trait ComparisonCondition: Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PercentageCondition` is never used [INFO] [stdout] --> src/condition/base.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | pub trait PercentageCondition: Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CrossoverCondition` is never used [INFO] [stdout] --> src/condition/base.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | pub trait CrossoverCondition: Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TrendCondition` is never used [INFO] [stdout] --> src/condition/base.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | pub trait TrendCondition: Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MomentumCondition` is never used [INFO] [stdout] --> src/condition/base.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | pub trait MomentumCondition: Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VolatilityCondition` is never used [INFO] [stdout] --> src/condition/base.rs:176:11 [INFO] [stdout] | [INFO] [stdout] 176 | pub trait VolatilityCondition: Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CustomCondition` is never used [INFO] [stdout] --> src/condition/base.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 195 | pub trait CustomCondition: Condition { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParameterOptimizer` is never used [INFO] [stdout] --> src/condition/base.rs:211:11 [INFO] [stdout] | [INFO] [stdout] 211 | pub trait ParameterOptimizer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CloneBox` is never used [INFO] [stdout] --> src/condition/base.rs:230:11 [INFO] [stdout] | [INFO] [stdout] 230 | pub trait CloneBox { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/condition/conditions.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct AboveCondition { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 12 | config: ConditionConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/condition/conditions.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct GreaterPercentCondition { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 146 | config: ConditionConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/condition/conditions.rs:391:5 [INFO] [stdout] | [INFO] [stdout] 390 | pub struct LowerPercentCondition { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 391 | config: ConditionConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/condition/conditions.rs:525:5 [INFO] [stdout] | [INFO] [stdout] 524 | pub struct CrossesAboveCondition { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 525 | config: ConditionConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/condition/conditions.rs:661:5 [INFO] [stdout] | [INFO] [stdout] 659 | pub struct RisingTrendCondition { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 660 | period: usize, [INFO] [stdout] 661 | config: ConditionConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/condition/conditions.rs:839:5 [INFO] [stdout] | [INFO] [stdout] 838 | pub struct BelowCondition { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 839 | config: ConditionConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/condition/conditions.rs:968:5 [INFO] [stdout] | [INFO] [stdout] 967 | pub struct CrossesBelowCondition { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 968 | config: ConditionConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/condition/conditions.rs:1100:5 [INFO] [stdout] | [INFO] [stdout] 1098 | pub struct FallingTrendCondition { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 1099 | period: usize, [INFO] [stdout] 1100 | config: ConditionConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `above_condition_example` is never used [INFO] [stdout] --> src/condition/examples.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn above_condition_example() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crosses_above_example` is never used [INFO] [stdout] --> src/condition/examples.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn crosses_above_example() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rising_trend_example` is never used [INFO] [stdout] --> src/condition/examples.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn rising_trend_example() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combined_conditions_example` is never used [INFO] [stdout] --> src/condition/examples.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | pub async fn combined_conditions_example() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ohlc_conditions_example` is never used [INFO] [stdout] --> src/condition/examples.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn ohlc_conditions_example() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_ohlc_data` is never used [INFO] [stdout] --> src/condition/examples.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn create_test_ohlc_data() -> OHLCData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_all_examples` is never used [INFO] [stdout] --> src/condition/examples.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | pub async fn run_all_examples() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_all_examples_with_integration` is never used [INFO] [stdout] --> src/condition/examples.rs:180:14 [INFO] [stdout] | [INFO] [stdout] 180 | pub async fn run_all_examples_with_integration() -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_from_config` is never used [INFO] [stdout] --> src/condition/factory.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ConditionFactory { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn create_from_config( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConditionRegistry` is never constructed [INFO] [stdout] --> src/condition/factory.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct ConditionRegistry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `register_condition`, `get_condition`, `get_all_conditions`, and `register_default_conditions` are never used [INFO] [stdout] --> src/condition/factory.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 165 | impl ConditionRegistry { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 166 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn register_condition(&mut self, name: &str, condition: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn get_condition(&self, name: &str) -> Option<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn get_all_conditions(&self) -> Vec<&Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn register_default_conditions(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GLOBAL_CONDITION_REGISTRY` is never used [INFO] [stdout] --> src/condition/factory.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | pub static GLOBAL_CONDITION_REGISTRY: std::sync::OnceLock> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_global_condition_registry` is never used [INFO] [stdout] --> src/condition/factory.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn get_global_condition_registry() -> &'static std::sync::RwLock { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidParameter`, `CalculationError`, and `IncompatibleDataTypes` are never constructed [INFO] [stdout] --> src/condition/types.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ConditionError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | InvalidParameter(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | CalculationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | IncompatibleDataTypes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConditionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Momentum`, `Volatility`, and `Custom` are never constructed [INFO] [stdout] --> src/condition/types.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum ConditionType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 49 | Momentum, // Моментум условия (один вектор) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | Volatility, // Волатильность (один вектор) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | Custom, // Пользовательские условия [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConditionType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Exit`, `Confirmation`, and `Divergence` are never constructed [INFO] [stdout] --> src/condition/types.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub enum ConditionCategory { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 57 | Entry, // Условия входа [INFO] [stdout] 58 | Exit, // Условия выхода [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | Filter, // Фильтры [INFO] [stdout] 60 | Confirmation, // Подтверждения [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 61 | Divergence, // Дивергенции [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConditionCategory` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description`, `condition_type`, `category`, and `is_reversible` are never read [INFO] [stdout] --> src/condition/types.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct ConditionConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 67 | pub name: String, [INFO] [stdout] 68 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 69 | pub condition_type: ConditionType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 70 | pub category: ConditionCategory, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 71 | pub min_data_points: usize, [INFO] [stdout] 72 | pub is_reversible: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConditionConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/condition/types.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct ConditionResultData { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 81 | pub metadata: ConditionMetadata, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConditionResultData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `execution_time`, `data_points_processed`, `confidence_score`, and `additional_info` are never read [INFO] [stdout] --> src/condition/types.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct ConditionMetadata { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 87 | pub execution_time: std::time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 88 | pub data_points_processed: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | pub confidence_score: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | pub additional_info: std::collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConditionMetadata` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 48s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6870465e2e6635a08574e1007287ab927698cb86ac721474c3dbe193088dfbb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6870465e2e6635a08574e1007287ab927698cb86ac721474c3dbe193088dfbb2", kill_on_drop: false }` [INFO] [stdout] 6870465e2e6635a08574e1007287ab927698cb86ac721474c3dbe193088dfbb2