[INFO] fetching crate torsh-series 0.1.0-alpha.1... [INFO] checking torsh-series-0.1.0-alpha.1 against master#f5e2df741b4a9820a7579f0c8eccc951706a8782 for pr-147995 [INFO] extracting crate torsh-series 0.1.0-alpha.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate torsh-series 0.1.0-alpha.1 [INFO] finished tweaking crates.io crate torsh-series 0.1.0-alpha.1 [INFO] tweaked toml for crates.io crate torsh-series 0.1.0-alpha.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate torsh-series 0.1.0-alpha.1 on toolchain f5e2df741b4a9820a7579f0c8eccc951706a8782 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate torsh-series 0.1.0-alpha.1 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" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded torsh-nn v0.1.0-alpha.1 [INFO] [stderr] Downloaded torsh-core v0.1.0-alpha.1 [INFO] [stderr] Downloaded torsh-tensor v0.1.0-alpha.1 [INFO] [stderr] Downloaded scirs2-series v0.1.0-beta.3 [INFO] [stderr] Downloaded torsh-autograd v0.1.0-alpha.1 [INFO] [stderr] Downloaded glam v0.30.7 [INFO] [stderr] Downloaded scirs2-neural v0.1.0-beta.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21ecda114a637fcdd32487d03c17ffc4c146144e9bde07a4ba68fcd796971460 [INFO] running `Command { std: "docker" "start" "-a" "21ecda114a637fcdd32487d03c17ffc4c146144e9bde07a4ba68fcd796971460", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21ecda114a637fcdd32487d03c17ffc4c146144e9bde07a4ba68fcd796971460", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21ecda114a637fcdd32487d03c17ffc4c146144e9bde07a4ba68fcd796971460", kill_on_drop: false }` [INFO] [stdout] 21ecda114a637fcdd32487d03c17ffc4c146144e9bde07a4ba68fcd796971460 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+f5e2df741b4a9820a7579f0c8eccc951706a8782" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14295b562150a241a6f69e069f6bd1c5c82432b5937cb143fc64d96e0d4fa82b [INFO] running `Command { std: "docker" "start" "-a" "14295b562150a241a6f69e069f6bd1c5c82432b5937cb143fc64d96e0d4fa82b", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling webpki-root-certs v1.0.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking regex-automata v0.4.11 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling katexit v0.1.5 [INFO] [stderr] Checking lapack-sys v0.14.0 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling ureq-proto v0.5.2 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling cached_proc_macro v0.25.0 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Checking cached_proc_macro_types v0.1.1 [INFO] [stderr] Checking unty v0.0.4 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Compiling nalgebra-macros v0.3.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling lambert_w v1.2.28 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking zlib-rs v0.5.2 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Checking rustc-std-workspace-alloc v1.0.1 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking cached v0.56.0 [INFO] [stderr] Checking regex v1.11.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking toml_parser v1.0.3 [INFO] [stderr] Checking toml_datetime v0.7.2 [INFO] [stderr] Checking serde_spanned v1.0.2 [INFO] [stderr] Checking crc v3.3.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking libz-rs-sys v0.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking bumpalo v3.18.1 [INFO] [stderr] Checking toml_writer v1.0.3 [INFO] [stderr] Checking libbz2-rs-sys v0.2.2 [INFO] [stderr] Compiling scirs2-neural v0.1.0-beta.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking toml v0.9.7 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking cauchy v0.4.0 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking special v0.11.4 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking bzip2 v0.6.0 [INFO] [stderr] Checking lzma-rust2 v0.13.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Checking ppmd-rust v1.2.1 [INFO] [stderr] Checking serde-pickle v1.2.0 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking transpose v0.2.3 [INFO] [stderr] Checking rand_pcg v0.9.0 [INFO] [stderr] Checking primal-check v0.3.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling askama_parser v0.14.0 [INFO] [stderr] Compiling torsh-tensor v0.1.0-alpha.1 [INFO] [stderr] Checking rustfft v6.4.1 [INFO] [stderr] Compiling scirs2-cluster v0.1.0-beta.3 [INFO] [stderr] Checking petgraph v0.8.2 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking erased-serde v0.4.8 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.14.1 [INFO] [stderr] Compiling plotly_derive v0.13.5 [INFO] [stderr] Checking ndarray-rand v0.15.0 [INFO] [stderr] Checking serde_with v3.14.1 [INFO] [stderr] Compiling askama_derive v0.14.0 [INFO] [stderr] Compiling ureq v3.1.2 [INFO] [stderr] Compiling openblas-build v0.10.13 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking nalgebra v0.34.1 [INFO] [stderr] Compiling qhull-sys v0.4.0 [INFO] [stderr] Compiling openblas-src v0.10.13 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking askama v0.14.0 [INFO] [stderr] Checking lax v0.17.0 [INFO] [stderr] Checking zip v5.1.1 [INFO] [stderr] Checking plotly v0.13.5 [INFO] [stderr] Checking ndarray-linalg v0.17.0 [INFO] [stderr] Checking qhull v0.4.0 [INFO] [stderr] Checking statrs v0.18.0 [INFO] [stderr] Checking numrs2 v0.1.0-beta.2 [INFO] [stderr] Checking scirs2-core v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-linalg v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-autograd v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-fft v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-spatial v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-special v0.1.0-beta.3 [INFO] [stderr] Checking scirs2 v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-stats v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-signal v0.1.0-beta.3 [INFO] [stderr] Checking scirs2-series v0.1.0-beta.3 [INFO] [stderr] Checking torsh-core v0.1.0-alpha.1 [INFO] [stderr] Checking torsh-autograd v0.1.0-alpha.1 [INFO] [stderr] Checking torsh-nn v0.1.0-alpha.1 [INFO] [stderr] Checking torsh-series v0.1.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `torsh_core::device::DeviceType` [INFO] [stdout] --> src/anomaly.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use torsh_core::device::DeviceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unused-imports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::creation::*` [INFO] [stdout] --> src/decomposition/classical.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | use torsh_tensor::creation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::creation::*` [INFO] [stdout] --> src/decomposition/seasonal.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | use torsh_tensor::creation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::creation::*` [INFO] [stdout] --> src/decomposition/ssa.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | use torsh_tensor::creation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `creation::zeros` [INFO] [stdout] --> src/decomposition/stl.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use torsh_tensor::{creation::zeros, Tensor}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::creation::*` [INFO] [stdout] --> src/decomposition/stl.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | use torsh_tensor::creation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::creation::*` [INFO] [stdout] --> src/forecast/arima.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | use torsh_tensor::creation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::creation::*` [INFO] [stdout] --> src/forecast/deep.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | use torsh_tensor::creation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::creation::*` [INFO] [stdout] --> src/forecast/smoothing.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | use torsh_tensor::creation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::creation::*` [INFO] [stdout] --> src/state_space/kalman.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | use torsh_tensor::creation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::creation::*` [INFO] [stdout] --> src/state_space/particle.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | use torsh_tensor::creation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::creation::*` [INFO] [stdout] --> src/state_space/unscented.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | use torsh_tensor::creation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::creation::*` [INFO] [stdout] --> src/utils/features.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | use torsh_tensor::creation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `creation::*` [INFO] [stdout] --> src/utils/metrics.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | use torsh_tensor::{creation::*, Tensor}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_tensor::creation::*` [INFO] [stdout] --> src/utils/preprocessing.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | use torsh_tensor::creation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `creation::*` [INFO] [stdout] --> src/utils/validation.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | use torsh_tensor::{creation::*, Tensor}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `approx::assert_relative_eq` [INFO] [stdout] --> src/lib.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | use approx::assert_relative_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `torsh_core::device::DeviceType` [INFO] [stdout] --> src/anomaly.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use torsh_core::device::DeviceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unused-imports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tensor` [INFO] [stdout] --> src/decomposition/classical.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use torsh_tensor::{creation::zeros, Tensor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `creation::zeros` [INFO] [stdout] --> src/decomposition/stl.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use torsh_tensor::{creation::zeros, Tensor}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tensor` [INFO] [stdout] --> src/forecast/arima.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use torsh_tensor::{creation::zeros, Tensor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tensor` [INFO] [stdout] --> src/forecast/smoothing.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use torsh_tensor::{creation::zeros, Tensor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `series` [INFO] [stdout] --> src/anomaly.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn detect(&self, series: &TimeSeries) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_series` [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unused-variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `series` [INFO] [stdout] --> src/anomaly.rs:227:27 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn fit(&mut self, series: &TimeSeries) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_series` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq_len` [INFO] [stdout] --> src/forecast/deep.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let seq_len = x.shape().dims()[1]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seq_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lstm_out` [INFO] [stdout] --> src/forecast/deep.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let lstm_out = if let Some(ref dropout) = self.dropout { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lstm_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/state_space/extended.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | f: &dyn Fn(&Tensor) -> Tensor, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/state_space/extended.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | x: &Tensor, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f_jacobian` [INFO] [stdout] --> src/state_space/extended.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let f_jacobian = self.transition_jacobian(&self.state); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_f_jacobian` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicted_obs` [INFO] [stdout] --> src/state_space/extended.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let predicted_obs = (self.observation_fn)(&self.state); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicted_obs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `innovation` [INFO] [stdout] --> src/state_space/extended.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let innovation = observation.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_innovation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h_jacobian` [INFO] [stdout] --> src/state_space/extended.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let h_jacobian = self.observation_jacobian(&self.state); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_h_jacobian` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `series` [INFO] [stdout] --> src/state_space/extended.rs:215:38 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn log_likelihood(&mut self, series: &TimeSeries) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_series` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicted` [INFO] [stdout] --> src/state_space/particle.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let predicted = transition_fn(&particle); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noise_std` [INFO] [stdout] --> src/state_space/particle.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | noise_std: f32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_noise_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicted` [INFO] [stdout] --> src/state_space/particle.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let predicted = transition_fn(&particle); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noise` [INFO] [stdout] --> src/state_space/particle.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | let noise: Tensor = randn(&[1, self.state_dim]).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_noise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `likelihood` [INFO] [stdout] --> src/state_space/particle.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let likelihood = likelihood_fn(&particle, observation); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_likelihood` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w0_cov` [INFO] [stdout] --> src/state_space/unscented.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let w0_cov = w0_mean + (1.0 - self.alpha.powi(2) + self.beta); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_w0_cov` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicted_cov` [INFO] [stdout] --> src/state_space/unscented.rs:248:30 [INFO] [stdout] | [INFO] [stdout] 248 | let (predicted_mean, predicted_cov) = self.unscented_transform_predict(transition_fn); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicted_cov` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obs_mean` [INFO] [stdout] --> src/state_space/unscented.rs:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | let (obs_mean, obs_cov, cross_cov) = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_obs_mean` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obs_cov` [INFO] [stdout] --> src/state_space/unscented.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | let (obs_mean, obs_cov, cross_cov) = [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_obs_cov` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cross_cov` [INFO] [stdout] --> src/state_space/unscented.rs:267:33 [INFO] [stdout] | [INFO] [stdout] 267 | let (obs_mean, obs_cov, cross_cov) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cross_cov` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `innovation` [INFO] [stdout] --> src/state_space/unscented.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | let innovation = observation.clone(); // TODO: Implement subtraction [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_innovation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `series` [INFO] [stdout] --> src/state_space/unscented.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | series: &TimeSeries, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_series` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transition_fn` [INFO] [stdout] --> src/state_space/unscented.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | transition_fn: &dyn Fn(&Tensor) -> Tensor, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transition_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `observation_fn` [INFO] [stdout] --> src/state_space/unscented.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | observation_fn: &dyn Fn(&Tensor) -> Tensor, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_observation_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `series` [INFO] [stdout] --> src/utils/features.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn autocorrelation(series: &TimeSeries, max_lag: usize) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_series` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `series` [INFO] [stdout] --> src/utils/features.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn trend_features(series: &TimeSeries) -> TrendFeatures { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_series` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/preprocessing.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut values = series.values.clone(); [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: unused variable: `lambda` [INFO] [stdout] --> src/utils/preprocessing.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn box_cox(series: &TimeSeries, lambda: f32) -> TimeSeries { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> src/utils/preprocessing.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn inv_box_cox(series: &TimeSeries, lambda: f32) -> TimeSeries { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `method` and `min_segment_length` are never read [INFO] [stdout] --> src/anomaly.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ChangePointDetector { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 21 | method: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | penalty: f64, [INFO] [stdout] 23 | min_segment_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W dead-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n_estimators` and `max_samples` are never read [INFO] [stdout] --> src/anomaly.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct IsolationForest { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 175 | n_estimators: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 176 | max_samples: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sequence_length`, `hidden_size`, and `threshold_percentile` are never read [INFO] [stdout] --> src/anomaly.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct LSTMAnomaly { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 211 | sequence_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 212 | hidden_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 213 | threshold_percentile: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `period` is never read [INFO] [stdout] --> src/decomposition/classical.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct X11Decomposition { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 11 | period: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `period` is never read [INFO] [stdout] --> src/decomposition/classical.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct AdditiveDecomposition { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 44 | period: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `period` is never read [INFO] [stdout] --> src/decomposition/classical.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct MultiplicativeDecomposition { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] 67 | period: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `periods` is never read [INFO] [stdout] --> src/decomposition/seasonal.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct MSTLDecomposition { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 19 | periods: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trend_deg` is never read [INFO] [stdout] --> src/decomposition/stl.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct STLDecomposition { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | trend_deg: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seasonal` is never read [INFO] [stdout] --> src/forecast/arima.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct AutoARIMA { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 123 | seasonal: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `weights_mean` and `weights_cov` are never read [INFO] [stdout] --> src/state_space/unscented.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct UnscentedKalmanFilter { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | weights_mean: Tensor, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | /// Weights for covariance computation [INFO] [stdout] 24 | weights_cov: Tensor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `series` [INFO] [stdout] --> src/anomaly.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn detect(&self, series: &TimeSeries) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_series` [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unused-variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `series` [INFO] [stdout] --> src/anomaly.rs:227:27 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn fit(&mut self, series: &TimeSeries) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_series` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq_len` [INFO] [stdout] --> src/forecast/deep.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let seq_len = x.shape().dims()[1]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seq_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lstm_out` [INFO] [stdout] --> src/forecast/deep.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let lstm_out = if let Some(ref dropout) = self.dropout { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lstm_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/state_space/extended.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | f: &dyn Fn(&Tensor) -> Tensor, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/state_space/extended.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | x: &Tensor, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f_jacobian` [INFO] [stdout] --> src/state_space/extended.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let f_jacobian = self.transition_jacobian(&self.state); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_f_jacobian` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicted_obs` [INFO] [stdout] --> src/state_space/extended.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let predicted_obs = (self.observation_fn)(&self.state); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicted_obs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `innovation` [INFO] [stdout] --> src/state_space/extended.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let innovation = observation.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_innovation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h_jacobian` [INFO] [stdout] --> src/state_space/extended.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let h_jacobian = self.observation_jacobian(&self.state); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_h_jacobian` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `series` [INFO] [stdout] --> src/state_space/extended.rs:215:38 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn log_likelihood(&mut self, series: &TimeSeries) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_series` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicted` [INFO] [stdout] --> src/state_space/particle.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let predicted = transition_fn(&particle); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noise_std` [INFO] [stdout] --> src/state_space/particle.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | noise_std: f32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_noise_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicted` [INFO] [stdout] --> src/state_space/particle.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let predicted = transition_fn(&particle); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `noise` [INFO] [stdout] --> src/state_space/particle.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | let noise: Tensor = randn(&[1, self.state_dim]).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_noise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `likelihood` [INFO] [stdout] --> src/state_space/particle.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let likelihood = likelihood_fn(&particle, observation); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_likelihood` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w0_cov` [INFO] [stdout] --> src/state_space/unscented.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let w0_cov = w0_mean + (1.0 - self.alpha.powi(2) + self.beta); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_w0_cov` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicted_cov` [INFO] [stdout] --> src/state_space/unscented.rs:248:30 [INFO] [stdout] | [INFO] [stdout] 248 | let (predicted_mean, predicted_cov) = self.unscented_transform_predict(transition_fn); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicted_cov` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obs_mean` [INFO] [stdout] --> src/state_space/unscented.rs:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | let (obs_mean, obs_cov, cross_cov) = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_obs_mean` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obs_cov` [INFO] [stdout] --> src/state_space/unscented.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | let (obs_mean, obs_cov, cross_cov) = [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_obs_cov` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cross_cov` [INFO] [stdout] --> src/state_space/unscented.rs:267:33 [INFO] [stdout] | [INFO] [stdout] 267 | let (obs_mean, obs_cov, cross_cov) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cross_cov` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `innovation` [INFO] [stdout] --> src/state_space/unscented.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | let innovation = observation.clone(); // TODO: Implement subtraction [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_innovation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `series` [INFO] [stdout] --> src/state_space/unscented.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | series: &TimeSeries, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_series` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transition_fn` [INFO] [stdout] --> src/state_space/unscented.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | transition_fn: &dyn Fn(&Tensor) -> Tensor, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transition_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `observation_fn` [INFO] [stdout] --> src/state_space/unscented.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | observation_fn: &dyn Fn(&Tensor) -> Tensor, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_observation_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `series` [INFO] [stdout] --> src/utils/features.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn autocorrelation(series: &TimeSeries, max_lag: usize) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_series` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `series` [INFO] [stdout] --> src/utils/features.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn trend_features(series: &TimeSeries) -> TrendFeatures { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_series` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/preprocessing.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut values = series.values.clone(); [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: unused variable: `lambda` [INFO] [stdout] --> src/utils/preprocessing.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn box_cox(series: &TimeSeries, lambda: f32) -> TimeSeries { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> src/utils/preprocessing.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn inv_box_cox(series: &TimeSeries, lambda: f32) -> TimeSeries { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `method` and `min_segment_length` are never read [INFO] [stdout] --> src/anomaly.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ChangePointDetector { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 21 | method: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | penalty: f64, [INFO] [stdout] 23 | min_segment_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W dead-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n_estimators` and `max_samples` are never read [INFO] [stdout] --> src/anomaly.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct IsolationForest { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 175 | n_estimators: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 176 | max_samples: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sequence_length`, `hidden_size`, and `threshold_percentile` are never read [INFO] [stdout] --> src/anomaly.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct LSTMAnomaly { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 211 | sequence_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 212 | hidden_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 213 | threshold_percentile: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `period` is never read [INFO] [stdout] --> src/decomposition/classical.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct X11Decomposition { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 11 | period: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `period` is never read [INFO] [stdout] --> src/decomposition/classical.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct AdditiveDecomposition { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 44 | period: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `period` is never read [INFO] [stdout] --> src/decomposition/classical.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct MultiplicativeDecomposition { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] 67 | period: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `periods` is never read [INFO] [stdout] --> src/decomposition/seasonal.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct MSTLDecomposition { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 19 | periods: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seasonal` is never read [INFO] [stdout] --> src/forecast/arima.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct AutoARIMA { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 123 | seasonal: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `weights_mean` and `weights_cov` are never read [INFO] [stdout] --> src/state_space/unscented.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct UnscentedKalmanFilter { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | weights_mean: Tensor, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | /// Weights for covariance computation [INFO] [stdout] 24 | weights_cov: Tensor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 31s [INFO] running `Command { std: "docker" "inspect" "14295b562150a241a6f69e069f6bd1c5c82432b5937cb143fc64d96e0d4fa82b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14295b562150a241a6f69e069f6bd1c5c82432b5937cb143fc64d96e0d4fa82b", kill_on_drop: false }` [INFO] [stdout] 14295b562150a241a6f69e069f6bd1c5c82432b5937cb143fc64d96e0d4fa82b