[INFO] cloning repository https://github.com/sethdford/deep-risk-model-v1
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sethdford/deep-risk-model-v1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsethdford%2Fdeep-risk-model-v1", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsethdford%2Fdeep-risk-model-v1'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0000970d321d75c21e68df382c01aace7593886b
[INFO] checking sethdford/deep-risk-model-v1 against try#8a2f6fe57adadb246778b8d41925d3dc46d468cb for pr-158320
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsethdford%2Fdeep-risk-model-v1" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sethdford/deep-risk-model-v1
[INFO] finished tweaking git repo https://github.com/sethdford/deep-risk-model-v1
[INFO] tweaked toml for git repo https://github.com/sethdford/deep-risk-model-v1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sethdford/deep-risk-model-v1 on toolchain 8a2f6fe57adadb246778b8d41925d3dc46d468cb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sethdford/deep-risk-model-v1 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" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f95b2143f8eb5cfd545a6a4a1c84a73af809962219a17be35474f0a0be96f11a
[INFO] running `Command { std: "docker" "start" "f95b2143f8eb5cfd545a6a4a1c84a73af809962219a17be35474f0a0be96f11a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f95b2143f8eb5cfd545a6a4a1c84a73af809962219a17be35474f0a0be96f11a" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f95b2143f8eb5cfd545a6a4a1c84a73af809962219a17be35474f0a0be96f11a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f95b2143f8eb5cfd545a6a4a1c84a73af809962219a17be35474f0a0be96f11a" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking once_cell v1.21.1
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]    Compiling libm v0.2.11
[INFO] [stderr]     Checking log v0.4.26
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking indexmap v2.8.0
[INFO] [stderr]     Checking vsimd v0.8.0
[INFO] [stderr]     Checking outref v0.5.2
[INFO] [stderr]     Checking time-core v0.1.3
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]     Checking time v0.3.39
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerocopy v0.8.23
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling rustls v0.20.9
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]     Checking base64-simd v0.8.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling rustix v1.0.2
[INFO] [stderr]    Compiling pyo3-build-config v0.20.3
[INFO] [stderr]     Checking rustls-native-certs v0.6.3
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]     Checking fastrand v1.9.0
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling linux-raw-sys v0.9.3
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling rustls-pki-types v1.11.0
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling miniz_oxide v0.8.5
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling aws-types v0.55.3
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling filetime v0.2.25
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling rustls-native-certs v0.7.3
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling flate2 v1.1.0
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking aws-smithy-types v0.55.3
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking approx v0.4.0
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking aws-smithy-json v0.55.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling crc32c v0.6.8
[INFO] [stderr]     Checking cblas-sys v0.1.4
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling pyo3-ffi v0.20.3
[INFO] [stderr]     Checking xmlparser v0.13.6
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling xattr v1.5.0
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tar v0.4.44
[INFO] [stderr]     Checking aws-smithy-xml v0.55.3
[INFO] [stderr]    Compiling portable-atomic v1.11.0
[INFO] [stderr]     Checking aws-smithy-query v0.55.3
[INFO] [stderr]    Compiling pyo3-macros-backend v0.20.3
[INFO] [stderr]    Compiling pyo3 v0.20.3
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]    Compiling aws-types v1.3.6
[INFO] [stderr]     Checking lapack-sys v0.14.0
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]     Checking base64 v0.20.0
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking query_map v0.7.0
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]     Checking tokio v1.44.1
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking bytes-utils v0.1.4
[INFO] [stderr]     Checking aws-smithy-eventstream v0.55.3
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking ndarray v0.15.6
[INFO] [stderr]     Checking aws-smithy-types v1.3.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking cauchy v0.4.0
[INFO] [stderr]     Checking noisy_float v0.2.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking unindent v0.2.4
[INFO] [stderr]     Checking iana-time-zone v0.1.61
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking http-serde v1.1.3
[INFO] [stderr]     Checking chrono v0.4.40
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking aws_lambda_events v0.12.1
[INFO] [stderr]     Checking webpki v0.22.4
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking sysinfo v0.29.11
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking half v2.5.0
[INFO] [stderr]    Compiling pyo3-macros v0.20.3
[INFO] [stderr]     Checking predicates-core v1.0.9
[INFO] [stderr]     Checking clap_builder v4.5.32
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking float-cmp v0.9.0
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking wait-timeout v0.2.1
[INFO] [stderr]     Checking difflib v0.4.0
[INFO] [stderr]     Checking termtree v0.5.1
[INFO] [stderr]     Checking normalize-line-endings v0.3.0
[INFO] [stderr]     Checking rand v0.9.0
[INFO] [stderr]     Checking env_logger v0.11.7
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking predicates v2.1.5
[INFO] [stderr]     Checking predicates-tree v1.0.12
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking assert-json-diff v2.0.2
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking rand_xorshift v0.3.0
[INFO] [stderr]     Checking is-terminal v0.4.16
[INFO] [stderr]    Compiling test-log-macros v0.2.17
[INFO] [stderr]     Checking downcast v0.11.0
[INFO] [stderr]     Checking fragile v2.0.0
[INFO] [stderr]     Checking colored v3.0.0
[INFO] [stderr]     Checking similar v2.7.0
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking test-log v0.2.17
[INFO] [stderr]    Compiling katexit v0.1.4
[INFO] [stderr]    Compiling mockall_derive v0.11.4
[INFO] [stderr]    Compiling ureq v2.12.1
[INFO] [stderr]     Checking ndarray-rand v0.14.0
[INFO] [stderr]     Checking ndarray-stats v0.5.1
[INFO] [stderr]     Checking tempfile v3.19.0
[INFO] [stderr]     Checking rusty-fork v0.3.0
[INFO] [stderr]     Checking proptest v1.6.0
[INFO] [stderr]    Compiling openblas-build v0.10.11
[INFO] [stderr]     Checking clap v4.5.32
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stderr]    Compiling openblas-src v0.10.11
[INFO] [stderr]     Checking lax v0.16.0
[INFO] [stderr]     Checking blas-src v0.8.0
[INFO] [stderr]     Checking tokio-util v0.7.14
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tokio-rustls v0.23.4
[INFO] [stderr]     Checking aws-smithy-async v1.2.5
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking aws-smithy-runtime-api v1.7.4
[INFO] [stderr]     Checking aws-smithy-async v0.55.3
[INFO] [stderr]     Checking tokio-test v0.4.4
[INFO] [stderr]     Checking aws-credential-types v0.55.3
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking h2 v0.4.8
[INFO] [stderr]     Checking mockall v0.11.4
[INFO] [stderr]     Checking ndarray-linalg v0.16.0
[INFO] [stderr]     Checking aws-credential-types v1.2.2
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-util v0.1.10
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking mockito v1.7.0
[INFO] [stderr]     Checking aws-smithy-http v0.55.3
[INFO] [stderr]     Checking hyper-rustls v0.23.2
[INFO] [stderr]     Checking lambda_runtime_api_client v0.8.0
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking lambda_runtime v0.8.3
[INFO] [stderr]     Checking lambda_http v0.8.3
[INFO] [stderr]     Checking aws-smithy-http-tower v0.55.3
[INFO] [stderr]     Checking aws-sigv4 v0.55.3
[INFO] [stderr]     Checking aws-smithy-checksums v0.55.3
[INFO] [stderr]     Checking aws-smithy-client v0.55.3
[INFO] [stderr]     Checking aws-endpoint v0.55.3
[INFO] [stderr]     Checking aws-http v0.55.3
[INFO] [stderr]     Checking aws-sig-auth v0.55.3
[INFO] [stderr]     Checking aws-sdk-sso v0.28.0
[INFO] [stderr]     Checking aws-sdk-sts v0.28.0
[INFO] [stderr]     Checking aws-sdk-s3 v0.28.0
[INFO] [stderr]     Checking aws-config v0.55.3
[INFO] [stderr]     Checking deep_risk_model v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ndarray::ShapeError`
[INFO] [stdout]  --> src/error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::ShapeError;
[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: `thiserror::Error`
[INFO] [stdout]  --> src/error.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ArrayView2`
[INFO] [stdout]  --> src/gat.rs:1:43
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{Array1, Array2, ArrayView1, ArrayView2, s};
[INFO] [stdout]   |                                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::linalg::general_mat_mul`
[INFO] [stdout]  --> src/gat.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::linalg::general_mat_mul;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::AddAssign`
[INFO] [stdout]  --> src/gat.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::AddAssign;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array1`, `Array3`, `ArrayView1`, `ArrayView2`, and `Axis`
[INFO] [stdout]  --> src/gru.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{s, Array1, Array2, Array3, ArrayView1, ArrayView2, Axis};
[INFO] [stdout]   |                  ^^^^^^          ^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RandomExt`, `rand_distr::Normal`, and `rand_distr::Uniform`
[INFO] [stdout]  --> src/gru.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray_rand::{RandomExt, rand_distr::Normal, rand_distr::Uniform};
[INFO] [stdout]   |                    ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/gru.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::thread_rng`
[INFO] [stdout]  --> src/gru.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rand::thread_rng;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::linalg::general_mat_mul`
[INFO] [stdout]  --> src/gru.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ndarray::linalg::general_mat_mul;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::AddAssign`
[INFO] [stdout]  --> src/gru.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ops::AddAssign;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Array3`
[INFO] [stdout]    --> src/gru.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 |     use ndarray::Array3;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Array1`
[INFO] [stdout]  --> src/model.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ndarray::{Array1, Array2};
[INFO] [stdout]   |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::ArrayD`
[INFO] [stdout]  --> src/transformer/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::ArrayD;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::error::ModelError`
[INFO] [stdout]  --> src/transformer/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::error::ModelError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::transformer::TransformerConfig`
[INFO] [stdout]  --> src/transformer/attention.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::transformer::TransformerConfig;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array1` and `ArrayD`
[INFO] [stdout]  --> src/transformer/attention.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ndarray::{Array1, Array2, ArrayD};
[INFO] [stdout]   |               ^^^^^^          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Array`
[INFO] [stdout]   --> src/transformer/attention.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     use ndarray::Array;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray_rand::RandomExt`
[INFO] [stdout]   --> src/transformer/attention.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     use ndarray_rand::RandomExt;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray_rand::rand_distr::Normal`
[INFO] [stdout]   --> src/transformer/attention.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     use ndarray_rand::rand_distr::Normal;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array1`, `ArrayD`, and `Axis`
[INFO] [stdout]  --> src/transformer/position.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{s, Array1, Array2, ArrayD, Axis};
[INFO] [stdout]   |                  ^^^^^^          ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::AddAssign`
[INFO] [stdout]  --> src/transformer/position.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::AddAssign;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Array`
[INFO] [stdout]   --> src/transformer/position.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     use ndarray::Array;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ArrayD`, `Axis`, and `s`
[INFO] [stdout]  --> src/transformer/layer.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{s, Array1, Array2, ArrayD, Axis};
[INFO] [stdout]   |               ^                  ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Array`
[INFO] [stdout]    --> src/transformer/layer.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 137 |     use ndarray::Array;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Array`
[INFO] [stdout]   --> src/transformer/model.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     use ndarray::Array;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ArrayD`, `Axis`, and `Ix2`
[INFO] [stdout]  --> src/transformer/temporal_fusion.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{s, Array1, Array2, Array3, ArrayD, Axis, Ix2};
[INFO] [stdout]   |                                          ^^^^^^  ^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MultiHeadAttention` and `TransformerConfig`
[INFO] [stdout]  --> src/transformer/temporal_fusion.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::transformer::{MultiHeadAttention, TransformerComponent, TransformerConfig};
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^^^^^                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result as AnyResult`
[INFO] [stdout]  --> src/transformer/temporal_fusion.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use anyhow::Result as AnyResult;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RandomExt` and `rand_distr::Normal`
[INFO] [stdout]  --> src/transformer/temporal_fusion.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ndarray_rand::{RandomExt, rand_distr::Normal};
[INFO] [stdout]   |                    ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::TransformerConfig as SuperTransformerConfig`
[INFO] [stdout]  --> src/transformer/temporal_fusion.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::TransformerConfig as SuperTransformerConfig;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::AddAssign`
[INFO] [stdout]  --> src/transformer/temporal_fusion.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::ops::AddAssign;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::ShapeError`
[INFO] [stdout]   --> src/transformer/temporal_fusion.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use ndarray::ShapeError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::transformer::layer::TransformerLayer`
[INFO] [stdout]   --> src/transformer/temporal_fusion.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::transformer::layer::TransformerLayer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::thread_rng`
[INFO] [stdout]   --> src/transformer/temporal_fusion.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rand::thread_rng;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Array`
[INFO] [stdout]    --> src/transformer/mod.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 136 |     use ndarray::Array;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array3` and `s`
[INFO] [stdout]  --> src/transformer_risk_model.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{Array2, Array3, s};
[INFO] [stdout]   |                       ^^^^^^  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TFTConfig` and `TemporalFusionTransformer`
[INFO] [stdout]   --> src/transformer_risk_model.rs:11:43
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::transformer::temporal_fusion::{TemporalFusionTransformer, TFTConfig};
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray_rand::RandomExt`
[INFO] [stdout]  --> src/tft_risk_model.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ndarray_rand::RandomExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray_rand::rand_distr::StandardNormal`
[INFO] [stdout]  --> src/tft_risk_model.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ndarray_rand::rand_distr::StandardNormal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Array`
[INFO] [stdout]    --> src/types.rs:188:9
[INFO] [stdout]     |
[INFO] [stdout] 188 |     use ndarray::Array;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Array1`
[INFO] [stdout]  --> src/utils.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{Array1, Array2, Array3, ArrayD, Axis};
[INFO] [stdout]   |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/utils.rs:151:19
[INFO] [stdout]     |
[INFO] [stdout] 151 |         let std = (std_array.mean_axis(ndarray::Axis(0))
[INFO] [stdout]     |                   ^
[INFO] [stdout] 152 |             .expect("Failed to compute std")
[INFO] [stdout] 153 |             .mapv(|x| x.sqrt()));
[INFO] [stdout]     |                                ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 151 ~         let std = std_array.mean_axis(ndarray::Axis(0))
[INFO] [stdout] 152 |             .expect("Failed to compute std")
[INFO] [stdout] 153 ~             .mapv(|x| x.sqrt()) ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ArrayView2`
[INFO] [stdout]  --> src/factor_analysis.rs:1:43
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{Array1, Array2, ArrayView1, ArrayView2, s, Axis};
[INFO] [stdout]   |                                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `#![recursion_limit]` attribute can only be used at the crate root
[INFO] [stdout]  --> src/model.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![recursion_limit = "256"]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: the crate root is at `src/lib.rs`
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::ShapeError`
[INFO] [stdout]  --> src/error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::ShapeError;
[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: `thiserror::Error`
[INFO] [stdout]  --> src/error.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ArrayView2`
[INFO] [stdout]  --> src/gat.rs:1:43
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{Array1, Array2, ArrayView1, ArrayView2, s};
[INFO] [stdout]   |                                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::linalg::general_mat_mul`
[INFO] [stdout]  --> src/gat.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::linalg::general_mat_mul;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::AddAssign`
[INFO] [stdout]  --> src/gat.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::AddAssign;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array1`, `Array3`, `ArrayView1`, `ArrayView2`, and `Axis`
[INFO] [stdout]  --> src/gru.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{s, Array1, Array2, Array3, ArrayView1, ArrayView2, Axis};
[INFO] [stdout]   |                  ^^^^^^          ^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RandomExt`, `rand_distr::Normal`, and `rand_distr::Uniform`
[INFO] [stdout]  --> src/gru.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray_rand::{RandomExt, rand_distr::Normal, rand_distr::Uniform};
[INFO] [stdout]   |                    ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/gru.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::thread_rng`
[INFO] [stdout]  --> src/gru.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rand::thread_rng;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::linalg::general_mat_mul`
[INFO] [stdout]  --> src/gru.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ndarray::linalg::general_mat_mul;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::AddAssign`
[INFO] [stdout]  --> src/gru.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ops::AddAssign;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Array1`
[INFO] [stdout]  --> src/model.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ndarray::{Array1, Array2};
[INFO] [stdout]   |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::ArrayD`
[INFO] [stdout]  --> src/transformer/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::ArrayD;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::error::ModelError`
[INFO] [stdout]  --> src/transformer/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::error::ModelError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::transformer::TransformerConfig`
[INFO] [stdout]  --> src/transformer/attention.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::transformer::TransformerConfig;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array1` and `ArrayD`
[INFO] [stdout]  --> src/transformer/attention.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ndarray::{Array1, Array2, ArrayD};
[INFO] [stdout]   |               ^^^^^^          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array1`, `ArrayD`, and `Axis`
[INFO] [stdout]  --> src/transformer/position.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{s, Array1, Array2, ArrayD, Axis};
[INFO] [stdout]   |                  ^^^^^^          ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::AddAssign`
[INFO] [stdout]  --> src/transformer/position.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::AddAssign;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ArrayD`, `Axis`, and `s`
[INFO] [stdout]  --> src/transformer/layer.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{s, Array1, Array2, ArrayD, Axis};
[INFO] [stdout]   |               ^                  ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ArrayD`, `Axis`, and `Ix2`
[INFO] [stdout]  --> src/transformer/temporal_fusion.rs:1:42
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{s, Array1, Array2, Array3, ArrayD, Axis, Ix2};
[INFO] [stdout]   |                                          ^^^^^^  ^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MultiHeadAttention` and `TransformerConfig`
[INFO] [stdout]  --> src/transformer/temporal_fusion.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::transformer::{MultiHeadAttention, TransformerComponent, TransformerConfig};
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^^^^^                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result as AnyResult`
[INFO] [stdout]  --> src/transformer/temporal_fusion.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use anyhow::Result as AnyResult;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RandomExt` and `rand_distr::Normal`
[INFO] [stdout]  --> src/transformer/temporal_fusion.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ndarray_rand::{RandomExt, rand_distr::Normal};
[INFO] [stdout]   |                    ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::TransformerConfig as SuperTransformerConfig`
[INFO] [stdout]  --> src/transformer/temporal_fusion.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::TransformerConfig as SuperTransformerConfig;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::AddAssign`
[INFO] [stdout]  --> src/transformer/temporal_fusion.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::ops::AddAssign;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::ShapeError`
[INFO] [stdout]   --> src/transformer/temporal_fusion.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use ndarray::ShapeError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::transformer::layer::TransformerLayer`
[INFO] [stdout]   --> src/transformer/temporal_fusion.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::transformer::layer::TransformerLayer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::thread_rng`
[INFO] [stdout]   --> src/transformer/temporal_fusion.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rand::thread_rng;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Array3` and `s`
[INFO] [stdout]  --> src/transformer_risk_model.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{Array2, Array3, s};
[INFO] [stdout]   |                       ^^^^^^  ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TFTConfig` and `TemporalFusionTransformer`
[INFO] [stdout]   --> src/transformer_risk_model.rs:11:43
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::transformer::temporal_fusion::{TemporalFusionTransformer, TFTConfig};
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray_rand::RandomExt`
[INFO] [stdout]  --> src/tft_risk_model.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ndarray_rand::RandomExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray_rand::rand_distr::StandardNormal`
[INFO] [stdout]  --> src/tft_risk_model.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ndarray_rand::rand_distr::StandardNormal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Array1`
[INFO] [stdout]  --> src/utils.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{Array1, Array2, Array3, ArrayD, Axis};
[INFO] [stdout]   |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ArrayView2`
[INFO] [stdout]  --> src/factor_analysis.rs:1:43
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ndarray::{Array1, Array2, ArrayView1, ArrayView2, s, Axis};
[INFO] [stdout]   |                                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `#![recursion_limit]` attribute can only be used at the crate root
[INFO] [stdout]  --> src/model.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![recursion_limit = "256"]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: the crate root is at `src/lib.rs`
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransformerComponent`
[INFO] [stdout]  --> src/transformer/temporal_fusion.rs:4:46
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::transformer::{MultiHeadAttention, TransformerComponent, TransformerConfig};
[INFO] [stdout]   |                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/gru.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let r = gates.slice(s![.., self.hidden_size..2*self.hidden_size]).mapv(|x| 1.0 / (1.0 + (-x).exp()));
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch_size`
[INFO] [stdout]    --> src/gru.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let batch_size = shape[0];
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransformerComponent`
[INFO] [stdout]  --> src/transformer/temporal_fusion.rs:4:46
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::transformer::{MultiHeadAttention, TransformerComponent, TransformerConfig};
[INFO] [stdout]   |                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch_size`
[INFO] [stdout]   --> src/transformer/attention.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let batch_size = x.shape()[0];
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/gru.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |         let r = gates.slice(s![.., self.hidden_size..2*self.hidden_size]).mapv(|x| 1.0 / (1.0 + (-x).exp()));
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch_size`
[INFO] [stdout]    --> src/gru.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |     let batch_size = shape[0];
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `seq_len`
[INFO] [stdout]    --> src/tft_risk_model.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let seq_len = shape[1];
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seq_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `returns`
[INFO] [stdout]    --> src/tft_risk_model.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let returns = data.returns();
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_returns`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch_size`
[INFO] [stdout]   --> src/transformer/attention.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let batch_size = x.shape()[0];
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_samples`
[INFO] [stdout]   --> src/factor_analysis.rs:82:14
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let (n_samples, n_factors) = factors.dim();
[INFO] [stdout]    |              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_samples`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_samples`
[INFO] [stdout]    --> src/factor_analysis.rs:129:14
[INFO] [stdout]     |
[INFO] [stdout] 129 |         let (n_samples, n_factors) = factors.dim();
[INFO] [stdout]     |              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_samples`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `returns`
[INFO] [stdout]    --> src/factor_analysis.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 |         returns: &Array2<f32>,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_returns`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `split_gates` is never used
[INFO] [stdout]    --> src/gru.rs:161:4
[INFO] [stdout]     |
[INFO] [stdout] 161 | fn split_gates(gates: &Array2<f32>, hidden_size: usize) -> Result<(Array2<f32>, Array2<f32>, Array2<f32>), ModelError> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sigmoid` is never used
[INFO] [stdout]    --> src/gru.rs:172:4
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn sigmoid(x: &Array2<f32>) -> Result<Array2<f32>, ModelError> {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tanh` is never used
[INFO] [stdout]    --> src/gru.rs:176:4
[INFO] [stdout]     |
[INFO] [stdout] 176 | fn tanh(x: &Array2<f32>) -> Result<Array2<f32>, ModelError> {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `n_factors` is never read
[INFO] [stdout]   --> src/model.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct DeepRiskModel {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 53 |     n_assets: usize,
[INFO] [stdout] 54 |     n_factors: usize,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DeepRiskModel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `n_heads` is never read
[INFO] [stdout]   --> src/transformer/attention.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct MultiHeadAttention {
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] 10 |     d_model: usize,
[INFO] [stdout] 11 |     n_heads: usize,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MultiHeadAttention` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max_seq_len` is never read
[INFO] [stdout]   --> src/transformer/position.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct PositionalEncoder {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 10 |     d_model: usize,
[INFO] [stdout] 11 |     max_seq_len: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PositionalEncoder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `d_ff`, `norm2_scale`, and `norm2_bias` are never read
[INFO] [stdout]   --> src/transformer/layer.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct TransformerLayer {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 17 |     d_model: usize,
[INFO] [stdout] 18 |     d_ff: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     norm2_scale: Array1<f32>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 25 |     norm2_bias: Array1<f32>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TransformerLayer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/transformer/model.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Transformer {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout]  9 |     layers: Vec<TransformerLayer>,
[INFO] [stdout] 10 |     config: TransformerConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Transformer` 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 `process_windows`, `compute_volatility`, and `process_batch` are never used
[INFO] [stdout]    --> src/tft_risk_model.rs:40:14
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl TFTRiskModel {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  40 |     async fn process_windows(&self, features: &Array2<f32>) -> Result<Array3<f32>, ModelError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     fn compute_volatility(&self, returns: &Array2<f32>) -> Result<Array2<f32>, ModelError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     fn process_batch(&self, batch_tensor: &Array3<f32>) -> Result<Array3<f32>, ModelError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `seq_len`
[INFO] [stdout]    --> src/tft_risk_model.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let seq_len = shape[1];
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seq_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `returns`
[INFO] [stdout]    --> src/tft_risk_model.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |         let returns = data.returns();
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_returns`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_samples`
[INFO] [stdout]   --> src/factor_analysis.rs:82:14
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let (n_samples, n_factors) = factors.dim();
[INFO] [stdout]    |              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_samples`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_samples`
[INFO] [stdout]    --> src/factor_analysis.rs:129:14
[INFO] [stdout]     |
[INFO] [stdout] 129 |         let (n_samples, n_factors) = factors.dim();
[INFO] [stdout]     |              ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_samples`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `returns`
[INFO] [stdout]    --> src/factor_analysis.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 |         returns: &Array2<f32>,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_returns`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `split_gates` is never used
[INFO] [stdout]    --> src/gru.rs:161:4
[INFO] [stdout]     |
[INFO] [stdout] 161 | fn split_gates(gates: &Array2<f32>, hidden_size: usize) -> Result<(Array2<f32>, Array2<f32>, Array2<f32>), ModelError> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sigmoid` is never used
[INFO] [stdout]    --> src/gru.rs:172:4
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn sigmoid(x: &Array2<f32>) -> Result<Array2<f32>, ModelError> {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tanh` is never used
[INFO] [stdout]    --> src/gru.rs:176:4
[INFO] [stdout]     |
[INFO] [stdout] 176 | fn tanh(x: &Array2<f32>) -> Result<Array2<f32>, ModelError> {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `n_factors` is never read
[INFO] [stdout]   --> src/model.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct DeepRiskModel {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 53 |     n_assets: usize,
[INFO] [stdout] 54 |     n_factors: usize,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DeepRiskModel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `n_heads` is never read
[INFO] [stdout]   --> src/transformer/attention.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct MultiHeadAttention {
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] 10 |     d_model: usize,
[INFO] [stdout] 11 |     n_heads: usize,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MultiHeadAttention` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `max_seq_len` is never read
[INFO] [stdout]   --> src/transformer/position.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct PositionalEncoder {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 10 |     d_model: usize,
[INFO] [stdout] 11 |     max_seq_len: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PositionalEncoder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `d_ff`, `norm2_scale`, and `norm2_bias` are never read
[INFO] [stdout]   --> src/transformer/layer.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct TransformerLayer {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 17 |     d_model: usize,
[INFO] [stdout] 18 |     d_ff: usize,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     norm2_scale: Array1<f32>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 25 |     norm2_bias: Array1<f32>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TransformerLayer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/transformer/model.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Transformer {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout]  9 |     layers: Vec<TransformerLayer>,
[INFO] [stdout] 10 |     config: TransformerConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Transformer` 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 `process_windows`, `compute_volatility`, and `process_batch` are never used
[INFO] [stdout]    --> src/tft_risk_model.rs:40:14
[INFO] [stdout]     |
[INFO] [stdout]  16 | impl TFTRiskModel {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  40 |     async fn process_windows(&self, features: &Array2<f32>) -> Result<Array3<f32>, ModelError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     fn compute_volatility(&self, returns: &Array2<f32>) -> Result<Array2<f32>, ModelError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     fn process_batch(&self, batch_tensor: &Array3<f32>) -> Result<Array3<f32>, ModelError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error::ModelError`
[INFO] [stdout]  --> examples/api_integration_example.rs:1:23
[INFO] [stdout]   |
[INFO] [stdout] 1 | use deep_risk_model::{error::ModelError, model::DeepRiskModel};
[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 imports: `Array3`, `Array`, and `IxDyn`
[INFO] [stdout]  --> examples/api_integration_example.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ndarray::{Array, Array3, ArrayD, IxDyn, Array2};
[INFO] [stdout]   |               ^^^^^  ^^^^^^          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ModelConfig`
[INFO] [stdout]  --> examples/api_integration_example.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |     types::{ModelConfig, MarketData, RiskModel},
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray_rand::RandomExt`
[INFO] [stdout]  --> examples/api_integration_example.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ndarray_rand::RandomExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray_rand::rand_distr::Uniform`
[INFO] [stdout]   --> examples/api_integration_example.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use ndarray_rand::rand_distr::Uniform;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ModelConfig`
[INFO] [stdout]  --> tests/e2e_tests.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |         ModelConfig,
[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: `e2e_tests::*`
[INFO] [stdout]  --> tests/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use e2e_tests::*; 
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TransformerConfig`
[INFO] [stdout]  --> benches/model_benchmarks.rs:2:36
[INFO] [stdout]   |
[INFO] [stdout] 2 | use deep_risk_model::transformer::{TransformerConfig, TransformerComponent};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> tests/e2e_tests.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let mut model = DeepRiskModel::new(10, 5)?;
[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]   --> tests/integration_tests.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut model = DeepRiskModel::new(10, 5)?;
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ModelConfig`
[INFO] [stdout]  --> tests/e2e_tests.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |         ModelConfig,
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/integration_tests.rs:186:13
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let mut model = DeepRiskModel::new(n_assets, n_factors)?;
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_test_data` is never used
[INFO] [stdout]   --> tests/e2e_tests.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn generate_test_data(num_stocks: usize, seq_len: usize) -> MarketData {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> tests/integration_tests.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut model = DeepRiskModel::new(10, 5)?;
[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]   --> tests/e2e_tests.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let mut model = DeepRiskModel::new(10, 5)?;
[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: function `generate_test_data` is never used
[INFO] [stdout]   --> tests/e2e_tests.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn generate_test_data(num_stocks: usize, seq_len: usize) -> MarketData {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/integration_tests.rs:186:13
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let mut model = DeepRiskModel::new(n_assets, n_factors)?;
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `APIConfig` is never constructed
[INFO] [stdout]   --> examples/api_integration_example.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct APIConfig {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Request` is never constructed
[INFO] [stdout]   --> examples/api_integration_example.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct Request {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Response` is never constructed
[INFO] [stdout]   --> examples/api_integration_example.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct Response {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `array_to_vec` is never used
[INFO] [stdout]   --> examples/api_integration_example.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn array_to_vec(array: &ArrayD<f32>) -> Vec<Vec<f32>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `array2_to_vec` is never used
[INFO] [stdout]   --> examples/api_integration_example.rs:79:4
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn array2_to_vec(array: &Array2<f32>) -> Vec<Vec<f32>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_with_real_data` is never used
[INFO] [stdout]   --> examples/api_integration_example.rs:92:10
[INFO] [stdout]    |
[INFO] [stdout] 92 | async fn test_with_real_data(n_assets: usize, n_factors: usize, market_data: &MarketData) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_performance` is never used
[INFO] [stdout]    --> examples/api_integration_example.rs:105:10
[INFO] [stdout]     |
[INFO] [stdout] 105 | async fn test_performance(n_assets: usize, n_factors: usize, market_data: &MarketData) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 52s
[INFO] running `Command { std: "docker" "inspect" "f95b2143f8eb5cfd545a6a4a1c84a73af809962219a17be35474f0a0be96f11a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f95b2143f8eb5cfd545a6a4a1c84a73af809962219a17be35474f0a0be96f11a", kill_on_drop: false }`
[INFO] [stdout] f95b2143f8eb5cfd545a6a4a1c84a73af809962219a17be35474f0a0be96f11a
