[INFO] fetching crate sklears 0.1.0-alpha.1... [INFO] checking sklears-0.1.0-alpha.1 against try#73ffebff6f34db7eb167bf9edcf2afa19c3073e9 for pr-147841 [INFO] extracting crate sklears 0.1.0-alpha.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate sklears 0.1.0-alpha.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate sklears 0.1.0-alpha.1 [INFO] tweaked toml for crates.io crate sklears 0.1.0-alpha.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sklears 0.1.0-alpha.1 on toolchain 73ffebff6f34db7eb167bf9edcf2afa19c3073e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sklears 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" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4559f5036dcc46bc0bac28f589b353d058ac6ab9a51119b91a8a9944a0a4b35c [INFO] running `Command { std: "docker" "start" "-a" "4559f5036dcc46bc0bac28f589b353d058ac6ab9a51119b91a8a9944a0a4b35c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4559f5036dcc46bc0bac28f589b353d058ac6ab9a51119b91a8a9944a0a4b35c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4559f5036dcc46bc0bac28f589b353d058ac6ab9a51119b91a8a9944a0a4b35c", kill_on_drop: false }` [INFO] [stdout] 4559f5036dcc46bc0bac28f589b353d058ac6ab9a51119b91a8a9944a0a4b35c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c9a81b100cf16514488d396dbb98671a2672bd4132e0c0050855ed38ed896c2 [INFO] running `Command { std: "docker" "start" "-a" "1c9a81b100cf16514488d396dbb98671a2672bd4132e0c0050855ed38ed896c2", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking regex-automata v0.4.11 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking lapack-sys v0.14.0 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Compiling scirs2-core v0.1.0-rc.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking unty v0.0.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling lambert_w v1.2.28 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Compiling polars-utils v0.49.1 [INFO] [stderr] Checking zlib-rs v0.5.2 [INFO] [stderr] Checking phf_shared v0.12.1 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling polars-schema v0.49.1 [INFO] [stderr] Compiling chrono-tz v0.10.4 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling polars-arrow v0.49.1 [INFO] [stderr] Checking phf v0.12.1 [INFO] [stderr] Checking libbz2-rs-sys v0.2.2 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking lzma-rust2 v0.13.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Compiling polars-compute v0.49.1 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking bzip2 v0.6.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking iter-read v1.1.0 [INFO] [stderr] Checking ppmd-rust v1.2.1 [INFO] [stderr] Checking libz-rs-sys v0.5.2 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Checking debug_unsafe v0.1.3 [INFO] [stderr] Checking atoi_simd v0.16.1 [INFO] [stderr] Checking skiplist v0.5.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Checking fast-float2 v0.2.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling polars-core v0.49.1 [INFO] [stderr] Checking regex v1.11.3 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking boxcar v0.2.14 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling polars-ops v0.49.1 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Checking rand_xoshiro v0.7.0 [INFO] [stderr] Compiling polars-plan v0.49.1 [INFO] [stderr] Checking semver v1.0.27 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking rustc_version v0.4.1 [INFO] [stderr] Checking toml_datetime v0.7.2 [INFO] [stderr] Checking serde_spanned v1.0.2 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling polars-lazy v0.49.1 [INFO] [stderr] Compiling scirs2-cluster v0.1.0-rc.1 [INFO] [stderr] Checking toml_writer v1.0.3 [INFO] [stderr] Compiling polars v0.49.1 [INFO] [stderr] Checking polars-parquet-format v0.1.0 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking clap_builder v4.5.48 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.8.0 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Checking toml_parser v1.0.3 [INFO] [stderr] Checking clap v4.5.48 [INFO] [stderr] Checking toml v0.9.7 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling katexit v0.1.5 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking recursive v0.1.1 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking serde-pickle v1.2.0 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking zip v5.1.1 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking cauchy v0.4.0 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking argmin-math v0.5.1 [INFO] [stderr] Checking special v0.11.4 [INFO] [stderr] Checking lax v0.17.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking smartcore v0.3.2 [INFO] [stderr] Checking argmin v0.11.0 [INFO] [stderr] Checking planus v1.1.1 [INFO] [stderr] Checking simba v0.9.1 [INFO] [stderr] Checking simba v0.7.3 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking polars-arrow-format v0.2.1 [INFO] [stderr] Compiling qhull-sys v0.4.0 [INFO] [stderr] Checking polars-error v0.49.1 [INFO] [stderr] Checking ndarray-linalg v0.17.0 [INFO] [stderr] Checking ndarray-rand v0.15.0 [INFO] [stderr] Checking sprs v0.11.3 [INFO] [stderr] Checking qhull v0.4.0 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking nalgebra v0.30.1 [INFO] [stderr] Checking statrs v0.18.0 [INFO] [stderr] Checking polars-row v0.49.1 [INFO] [stderr] Checking polars-parquet v0.49.1 [INFO] [stderr] Checking friedrich v0.5.0 [INFO] [stderr] Checking polars-io v0.49.1 [INFO] [stderr] Checking scirs2-linalg v0.1.0-rc.1 [INFO] [stderr] Checking scirs2-sparse v0.1.0-rc.1 [INFO] [stderr] Checking scirs2-spatial v0.1.0-rc.1 [INFO] [stderr] Checking scirs2-autograd v0.1.0-rc.1 [INFO] [stderr] Checking polars-expr v0.49.1 [INFO] [stderr] Checking polars-mem-engine v0.49.1 [INFO] [stderr] Checking scirs2-stats v0.1.0-rc.1 [INFO] [stderr] Checking scirs2-optimize v0.1.0-rc.1 [INFO] [stderr] Checking numrs2 v0.1.0-beta.3 [INFO] [stderr] Checking sklears-core v0.1.0-alpha.1 [INFO] [stderr] Checking sklears-utils v0.1.0-alpha.1 [INFO] [stderr] Checking sklears-metrics v0.1.0-alpha.1 [INFO] [stderr] Checking sklears-linear v0.1.0-alpha.1 [INFO] [stderr] Checking sklears-preprocessing v0.1.0-alpha.1 [INFO] [stderr] Checking sklears-tree v0.1.0-alpha.1 [INFO] [stderr] Checking sklears-model-selection v0.1.0-alpha.1 [INFO] [stderr] Checking sklears-neighbors v0.1.0-alpha.1 [INFO] [stderr] Checking sklears-clustering v0.1.0-alpha.1 [INFO] [stderr] Checking sklears-ensemble v0.1.0-alpha.1 [INFO] [stderr] Checking sklears v0.1.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use sklears_core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `parallel` in the type namespace is first re-exported here [INFO] [stdout] 21 | pub use sklears_utils::*; [INFO] [stdout] | ---------------- but the name `parallel` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use sklears_core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `validation` in the type namespace is first re-exported here [INFO] [stdout] 21 | pub use sklears_utils::*; [INFO] [stdout] | ---------------- but the name `validation` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use sklears_core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `parallel` in the type namespace is first re-exported here [INFO] [stdout] 21 | pub use sklears_utils::*; [INFO] [stdout] | ---------------- but the name `parallel` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use sklears_core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `validation` in the type namespace is first re-exported here [INFO] [stdout] 21 | pub use sklears_utils::*; [INFO] [stdout] | ---------------- but the name `validation` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kmeans_model` [INFO] [stdout] --> examples/dbscan_clustering.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let kmeans_model = kmeans.fit(&comparison_data, &y_dummy)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kmeans_model` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `train` [INFO] [stdout] --> examples/cross_validators_demo.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | for (i, (train, test)) in splits.iter().take(3).enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_train` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logistic-regression` [INFO] [stdout] --> examples/performance_comparison_comprehensive.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(feature = "logistic-regression")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-algorithms`, `backend-blas`, `backend-cpu`, `backend-cuda`, `backend-wgpu`, `bench`, `calibration`, `clustering`, `compose`, `covariance`, `criterion`, `cross-decomposition`, `datasets`, `decomposition`, `default`, `dev`, `discriminant-analysis`, `dummy`, `ensemble`, `feature-extraction`, `feature-selection`, `gaussian-process`, `impute`, `inspection`, `isotonic`, `kernel-approximation`, `linear`, `manifold`, `metrics`, `mixture`, `model-selection`, `multiclass`, `multioutput`, `naive-bayes`, and `neighbors` and 38 more [INFO] [stdout] = help: consider adding `logistic-regression` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logistic-regression` [INFO] [stdout] --> examples/performance_comparison_comprehensive.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg(feature = "logistic-regression")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-algorithms`, `backend-blas`, `backend-cpu`, `backend-cuda`, `backend-wgpu`, `bench`, `calibration`, `clustering`, `compose`, `covariance`, `criterion`, `cross-decomposition`, `datasets`, `decomposition`, `default`, `dev`, `discriminant-analysis`, `dummy`, `ensemble`, `feature-extraction`, `feature-selection`, `gaussian-process`, `impute`, `inspection`, `isotonic`, `kernel-approximation`, `linear`, `manifold`, `metrics`, `mixture`, `model-selection`, `multiclass`, `multioutput`, `naive-bayes`, and `neighbors` and 38 more [INFO] [stdout] = help: consider adding `logistic-regression` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> benches/benchmark_config.rs:15:68 [INFO] [stdout] | [INFO] [stdout] 15 | let x = Array2::from_shape_fn((n_samples, n_features), |_| rng.gen::() * 10.0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> benches/benchmark_config.rs:30:68 [INFO] [stdout] | [INFO] [stdout] 30 | let x = Array2::from_shape_fn((n_samples, n_features), |_| rng.gen::() * 10.0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> benches/advanced_performance_benchmarks.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let (X, y) = [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> benches/advanced_performance_benchmarks.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let (X, y) = [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> benches/advanced_performance_benchmarks.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | let (X, y) = [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> benches/advanced_performance_benchmarks.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | |b, X| b.iter(|| black_box(X.t().to_owned())), [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> benches/advanced_performance_benchmarks.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | |b, X| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> benches/advanced_performance_benchmarks.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | let (X, y) = [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> benches/advanced_performance_benchmarks.rs:115:86 [INFO] [stdout] | [INFO] [stdout] 115 | group.bench_with_input(BenchmarkId::new("column_means", n_features), &X, |b, X| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> benches/advanced_performance_benchmarks.rs:127:84 [INFO] [stdout] | [INFO] [stdout] 127 | group.bench_with_input(BenchmarkId::new("column_std", n_features), &X, |b, X| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> benches/advanced_performance_benchmarks.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | let (X, y) = make_classification(n_samples, 10, 3, None, None, 0.0, 1.0, Some(42)).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> benches/advanced_performance_benchmarks.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | |b, (X, y)| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_train` [INFO] [stdout] --> examples/quickstart.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let (x_train, y_train) = (&dataset.data, &dataset.target); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_train` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&ArrayBase, Dim<[usize; 2]>>` instead of cloning the inner type [INFO] [stdout] --> benches/advanced_performance_benchmarks.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 162 | let copied_x = X.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&ArrayBase, Dim<[usize; 1]>>` instead of cloning the inner type [INFO] [stdout] --> benches/advanced_performance_benchmarks.rs:163:41 [INFO] [stdout] | [INFO] [stdout] 163 | let copied_y = y.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> benches/advanced_performance_benchmarks.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | |b, X| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> benches/advanced_performance_benchmarks.rs:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | |b, X| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> benches/advanced_performance_benchmarks.rs:195:83 [INFO] [stdout] | [INFO] [stdout] 195 | group.bench_with_input(BenchmarkId::new("row_access", n_samples), &X, |b, X| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> benches/advanced_performance_benchmarks.rs:207:86 [INFO] [stdout] | [INFO] [stdout] 207 | group.bench_with_input(BenchmarkId::new("column_access", n_samples), &X, |b, X| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> benches/advanced_performance_benchmarks.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | let X = Array2::::zeros((rows, cols)); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> benches/advanced_performance_benchmarks.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 295 | |b, X| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> benches/advanced_performance_benchmarks.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | |b, X| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> benches/advanced_performance_benchmarks.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | |b, X| { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> examples/pairwise_metrics_demo.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let X = array![[0., 0.], [1., 1.], [2., 2.], [3., 3.],]; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> examples/pairwise_metrics_demo.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let Y = array![[0.5, 0.5], [2.5, 2.5],]; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X_with_nan` should have a snake case name [INFO] [stdout] --> examples/pairwise_metrics_demo.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let X_with_nan = array![[1., 2., f64::NAN], [4., f64::NAN, 6.], [7., 8., 9.],]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_with_nan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y_ref` should have a snake case name [INFO] [stdout] --> examples/pairwise_metrics_demo.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let Y_ref = array![[1., 2., 3.]]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `y_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X_kernel` should have a snake case name [INFO] [stdout] --> examples/pairwise_metrics_demo.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let X_kernel = array![[1., 0.], [0., 1.], [1., 1.], [-1., -1.],]; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_kernel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> examples/lasso_regression.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | use scirs2_core::random::{thread_rng, Rng}; [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 `X` should have a snake case name [INFO] [stdout] --> tests/integration_test.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | let (X, y) = make_classification(100, 4, 3, None, None, 0.0, 1.0, Some(42)).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> examples/performance_comparison_comprehensive.rs:159:46 [INFO] [stdout] | [INFO] [stdout] 159 | fn benchmark_classification(X: &Array2, y: &Array1) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dataset_info` [INFO] [stdout] --> examples/performance_comparison_comprehensive.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | let dataset_info = format!("{}×{}", X.nrows(), X.ncols()); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dataset_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X_scaled` should have a snake case name [INFO] [stdout] --> tests/integration_test.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let X_scaled = X.clone(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_scaled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> tests/integration_test.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | let (X, y_true) = make_classification(60, 2, 2, None, None, 0.0, 1.0, Some(42)).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `scirs2_core::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> examples/performance_comparison_text.rs:127:58 [INFO] [stdout] | [INFO] [stdout] 127 | let doc_length = (avg_words_per_doc as i32 + rng.gen_range(-variance..variance)) as usize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X1` should have a snake case name [INFO] [stdout] --> tests/integration_test.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | let (X1, y1) = make_classification(50, 3, 2, None, None, 0.0, 1.0, Some(42)).unwrap(); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X2` should have a snake case name [INFO] [stdout] --> tests/integration_test.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | let (X2, y2) = make_classification(50, 3, 2, None, None, 0.0, 1.0, Some(42)).unwrap(); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X_test` should have a snake case name [INFO] [stdout] --> tests/integration_test.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let X_test = Array2::from_shape_vec( [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> examples/performance_comparison_comprehensive.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut X = Array2::zeros((n_samples, n_features)); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> examples/performance_comparison_comprehensive.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut X = Array2::zeros((n_samples, n_features)); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> examples/performance_comparison_comprehensive.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | fn benchmark_linear_regression(X: &Array2, y: &Array1) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> examples/performance_comparison_comprehensive.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | fn benchmark_classification(X: &Array2, y: &Array1) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> examples/performance_comparison_comprehensive.rs:198:25 [INFO] [stdout] | [INFO] [stdout] 198 | fn benchmark_clustering(X: &Array2) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_X` should have a snake case name [INFO] [stdout] --> examples/performance_comparison_comprehensive.rs:253:28 [INFO] [stdout] | [INFO] [stdout] 253 | fn benchmark_preprocessing(_X: &Array2) -> Vec { [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X_reg` should have a snake case name [INFO] [stdout] --> examples/performance_comparison_comprehensive.rs:403:14 [INFO] [stdout] | [INFO] [stdout] 403 | let (X_reg, y_reg) = generate_regression_data(n_samples, n_features); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X_clf` should have a snake case name [INFO] [stdout] --> examples/performance_comparison_comprehensive.rs:404:14 [INFO] [stdout] | [INFO] [stdout] 404 | let (X_clf, y_clf) = generate_classification_data(n_samples, n_features, 3); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_clf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `preprocessing` [INFO] [stdout] --> tests/basic_functionality_test.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg(feature = "preprocessing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-algorithms`, `backend-blas`, `backend-cpu`, `backend-cuda`, `backend-wgpu`, `bench`, `calibration`, `clustering`, `compose`, `covariance`, `criterion`, `cross-decomposition`, `datasets`, `decomposition`, `default`, `dev`, `discriminant-analysis`, `dummy`, `ensemble`, `feature-extraction`, `feature-selection`, `gaussian-process`, `impute`, `inspection`, `isotonic`, `kernel-approximation`, `linear`, `manifold`, `metrics`, `mixture`, `model-selection`, `multiclass`, `multioutput`, `naive-bayes`, and `neighbors` and 38 more [INFO] [stdout] = help: consider adding `preprocessing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> tests/simple_integration_test.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | let (X, y) = make_classification(50, 4, 3, None, None, 0.0, 1.0, Some(42)).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> examples/performance_comparison_clustering.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut X = Array2::zeros((n_samples, n_features)); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> examples/performance_comparison_clustering.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | fn benchmark_sklears_kmeans(X: &Array2, n_clusters: usize) -> (f64, f64) { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> examples/performance_comparison_clustering.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | fn benchmark_sklears_dbscan(X: &Array2) -> f64 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> examples/performance_comparison_clustering.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let X = generate_clustering_data(n_samples, n_features, n_clusters); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X_dbscan` should have a snake case name [INFO] [stdout] --> examples/performance_comparison_clustering.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | let X_dbscan = X.slice(s![..dbscan_samples, ..]).to_owned(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_dbscan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `X` [INFO] [stdout] --> tests/comprehensive_integration_test.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | let (X, y) = make_classification(100, 5, 3, None, None, 0.0, 1.0, Some(42)).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_X` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> tests/comprehensive_integration_test.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let (X, y) = make_classification(100, 5, 3, None, None, 0.0, 1.0, Some(42)).unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kfold` [INFO] [stdout] --> tests/comprehensive_integration_test.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let kfold = KFold::new(5); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_kfold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `knn_regressor` [INFO] [stdout] --> tests/comprehensive_integration_test.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let knn_regressor = KNeighborsRegressor::new(3); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_knn_regressor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> tests/comprehensive_integration_test.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | let (X, y) = make_classification(100, 5, 3, None, None, 0.0, 1.0, Some(42)).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> tests/comprehensive_integration_test.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | let (X, y) = make_classification(120, 4, 4, None, None, 0.0, 1.0, Some(42)).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X_train` should have a snake case name [INFO] [stdout] --> tests/comprehensive_integration_test.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | let (X_train, X_test, y_train, y_test) = train_test_split(&X, &y, 0.3, Some(42)).unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X_test` should have a snake case name [INFO] [stdout] --> tests/comprehensive_integration_test.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | let (X_train, X_test, y_train, y_test) = train_test_split(&X, &y, 0.3, Some(42)).unwrap(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X_scaled` should have a snake case name [INFO] [stdout] --> tests/simple_integration_test.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let X_scaled = X.clone(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_scaled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> tests/simple_integration_test.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | let (X, y) = make_classification(30, 3, 2, None, None, 0.0, 1.0, Some(42)).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> tests/simple_integration_test.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | let (X, y) = make_classification(20, 3, 2, None, None, 0.0, 1.0, Some(42)).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X2` should have a snake case name [INFO] [stdout] --> tests/simple_integration_test.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | let (X2, y2) = make_classification(20, 3, 2, None, None, 0.0, 1.0, Some(42)).unwrap(); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> tests/simple_integration_test.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | let (X, y) = make_classification(30, 4, 3, None, None, 0.0, 1.0, Some(42)).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X_scaled` should have a snake case name [INFO] [stdout] --> tests/simple_integration_test.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let X_scaled = X.clone(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_scaled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X_train` should have a snake case name [INFO] [stdout] --> tests/simple_integration_test.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let X_train = Array2::from_shape_vec((3, 2), vec![1.0, 2.0, 3.0, 4.0, 5.0, 6.0]).unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X_test` should have a snake case name [INFO] [stdout] --> tests/simple_integration_test.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let X_test = Array2::from_shape_vec((2, 3), vec![1.0, 2.0, 3.0, 4.0, 5.0, 6.0]).unwrap(); // Wrong shape [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> examples/gmm_clustering.rs:199:16 [INFO] [stdout] | [INFO] [stdout] 199 | for (idx, (i, unc, p1, p2)) in uncertain_points.iter().take(5).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dataframe_to_array_example` is never used [INFO] [stdout] --> examples/data_integration.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn dataframe_to_array_example( [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 `X` should have a snake case name [INFO] [stdout] --> tests/basic_functionality_test.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let X = Array2::from_shape_vec( [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> tests/basic_functionality_test.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | let (X, y) = make_classification(10, 3, 2, None, None, 0.0, 1.0, Some(42)).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X2` should have a snake case name [INFO] [stdout] --> tests/basic_functionality_test.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | let (X2, y2) = make_classification(10, 3, 2, None, None, 0.0, 1.0, Some(42)).unwrap(); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> tests/basic_functionality_test.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | let X = Array2::from_shape_vec( [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logistic-regression` [INFO] [stdout] --> examples/linear_models_showcase.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "logistic-regression")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-algorithms`, `backend-blas`, `backend-cpu`, `backend-cuda`, `backend-wgpu`, `bench`, `calibration`, `clustering`, `compose`, `covariance`, `criterion`, `cross-decomposition`, `datasets`, `decomposition`, `default`, `dev`, `discriminant-analysis`, `dummy`, `ensemble`, `feature-extraction`, `feature-selection`, `gaussian-process`, `impute`, `inspection`, `isotonic`, `kernel-approximation`, `linear`, `manifold`, `metrics`, `mixture`, `model-selection`, `multiclass`, `multioutput`, `naive-bayes`, and `neighbors` and 38 more [INFO] [stdout] = help: consider adding `logistic-regression` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logistic-regression` [INFO] [stdout] --> examples/linear_models_showcase.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(feature = "logistic-regression")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-algorithms`, `backend-blas`, `backend-cpu`, `backend-cuda`, `backend-wgpu`, `bench`, `calibration`, `clustering`, `compose`, `covariance`, `criterion`, `cross-decomposition`, `datasets`, `decomposition`, `default`, `dev`, `discriminant-analysis`, `dummy`, `ensemble`, `feature-extraction`, `feature-selection`, `gaussian-process`, `impute`, `inspection`, `isotonic`, `kernel-approximation`, `linear`, `manifold`, `metrics`, `mixture`, `model-selection`, `multiclass`, `multioutput`, `naive-bayes`, and `neighbors` and 38 more [INFO] [stdout] = help: consider adding `logistic-regression` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logistic-regression` [INFO] [stdout] --> examples/linear_models_showcase.rs:129:15 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg(not(feature = "logistic-regression"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-algorithms`, `backend-blas`, `backend-cpu`, `backend-cuda`, `backend-wgpu`, `bench`, `calibration`, `clustering`, `compose`, `covariance`, `criterion`, `cross-decomposition`, `datasets`, `decomposition`, `default`, `dev`, `discriminant-analysis`, `dummy`, `ensemble`, `feature-extraction`, `feature-selection`, `gaussian-process`, `impute`, `inspection`, `isotonic`, `kernel-approximation`, `linear`, `manifold`, `metrics`, `mixture`, `model-selection`, `multiclass`, `multioutput`, `naive-bayes`, and `neighbors` and 38 more [INFO] [stdout] = help: consider adding `logistic-regression` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logistic-regression` [INFO] [stdout] --> examples/linear_models_showcase.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | #[cfg(feature = "logistic-regression")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-algorithms`, `backend-blas`, `backend-cpu`, `backend-cuda`, `backend-wgpu`, `bench`, `calibration`, `clustering`, `compose`, `covariance`, `criterion`, `cross-decomposition`, `datasets`, `decomposition`, `default`, `dev`, `discriminant-analysis`, `dummy`, `ensemble`, `feature-extraction`, `feature-selection`, `gaussian-process`, `impute`, `inspection`, `isotonic`, `kernel-approximation`, `linear`, `manifold`, `metrics`, `mixture`, `model-selection`, `multiclass`, `multioutput`, `naive-bayes`, and `neighbors` and 38 more [INFO] [stdout] = help: consider adding `logistic-regression` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `logistic-regression` [INFO] [stdout] --> examples/linear_models_showcase.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 173 | #[cfg(not(feature = "logistic-regression"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all-algorithms`, `backend-blas`, `backend-cpu`, `backend-cuda`, `backend-wgpu`, `bench`, `calibration`, `clustering`, `compose`, `covariance`, `criterion`, `cross-decomposition`, `datasets`, `decomposition`, `default`, `dev`, `discriminant-analysis`, `dummy`, `ensemble`, `feature-extraction`, `feature-selection`, `gaussian-process`, `impute`, `inspection`, `isotonic`, `kernel-approximation`, `linear`, `manifold`, `metrics`, `mixture`, `model-selection`, `multiclass`, `multioutput`, `naive-bayes`, and `neighbors` and 38 more [INFO] [stdout] = help: consider adding `logistic-regression` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> tests/basic_integration_test.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | let (X, y) = make_classification(50, 2, 2, None, None, 0.0, 3.0, Some(42)).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X1` should have a snake case name [INFO] [stdout] --> tests/basic_integration_test.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | let (X1, y1) = make_classification(30, 3, 2, None, None, 0.0, 1.0, Some(123)).unwrap(); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `x1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X2` should have a snake case name [INFO] [stdout] --> tests/basic_integration_test.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | let (X2, y2) = make_classification(30, 3, 2, None, None, 0.0, 1.0, Some(123)).unwrap(); [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `x2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> examples/performance_comparison_linear.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut X = Array2::zeros((n_samples, n_features)); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> examples/performance_comparison_linear.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | fn benchmark_sklears_linear_regression(X: &Array2, y: &Array1) -> (f64, f64) { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> examples/performance_comparison_linear.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | let (X, y) = generate_regression_data(n_samples, n_features); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 35s [INFO] running `Command { std: "docker" "inspect" "1c9a81b100cf16514488d396dbb98671a2672bd4132e0c0050855ed38ed896c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c9a81b100cf16514488d396dbb98671a2672bd4132e0c0050855ed38ed896c2", kill_on_drop: false }` [INFO] [stdout] 1c9a81b100cf16514488d396dbb98671a2672bd4132e0c0050855ed38ed896c2