[INFO] fetching crate sklears-python 0.1.0-alpha.1... [INFO] checking sklears-python-0.1.0-alpha.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate sklears-python 0.1.0-alpha.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate sklears-python 0.1.0-alpha.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate sklears-python 0.1.0-alpha.1 [INFO] tweaked toml for crates.io crate sklears-python 0.1.0-alpha.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sklears-python 0.1.0-alpha.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sklears-python 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e864360a1ef08436b9c652e5fab2dae38e9ef0699dea1e29f07e7875b2b45bd1 [INFO] running `Command { std: "docker" "start" "-a" "e864360a1ef08436b9c652e5fab2dae38e9ef0699dea1e29f07e7875b2b45bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e864360a1ef08436b9c652e5fab2dae38e9ef0699dea1e29f07e7875b2b45bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e864360a1ef08436b9c652e5fab2dae38e9ef0699dea1e29f07e7875b2b45bd1", kill_on_drop: false }` [INFO] [stdout] e864360a1ef08436b9c652e5fab2dae38e9ef0699dea1e29f07e7875b2b45bd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84a3fee10fe2bcd44af22faf288b68eb26724afe91f849195896bdeb1b87b252 [INFO] running `Command { std: "docker" "start" "-a" "84a3fee10fe2bcd44af22faf288b68eb26724afe91f849195896bdeb1b87b252", kill_on_drop: false }` [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Compiling target-lexicon v0.13.3 [INFO] [stderr] Checking array-init-cursor v0.2.1 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Compiling polars-utils v0.49.1 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking phf_shared v0.12.1 [INFO] [stderr] Checking raw-cpuid v11.6.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling polars-schema v0.49.1 [INFO] [stderr] Compiling chrono-tz v0.10.4 [INFO] [stderr] Checking phf v0.12.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling pyo3-build-config v0.26.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling polars-arrow v0.49.1 [INFO] [stderr] Checking lapack-sys v0.14.0 [INFO] [stderr] Compiling polars-compute v0.49.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ethnum v1.5.2 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Checking debug_unsafe v0.1.3 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking atoi_simd v0.16.1 [INFO] [stderr] Checking fast-float2 v0.2.3 [INFO] [stderr] Compiling scirs2-core v0.1.0-rc.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling polars-core v0.49.1 [INFO] [stderr] Compiling lambert_w v1.2.28 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Checking boxcar v0.2.14 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking skiplist v0.5.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking xxhash-rust v0.8.15 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking unty v0.0.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling polars-ops v0.49.1 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking zlib-rs v0.5.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking crc v3.3.0 [INFO] [stderr] Checking deranged v0.5.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking argminmax v0.6.3 [INFO] [stderr] Compiling polars-plan v0.49.1 [INFO] [stderr] Checking libbz2-rs-sys v0.2.2 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking lzma-rust2 v0.13.0 [INFO] [stderr] Checking bzip2 v0.6.0 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking ppmd-rust v1.2.1 [INFO] [stderr] Checking iter-read v1.1.0 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Checking rand_xoshiro v0.7.0 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking serde_spanned v1.0.2 [INFO] [stderr] Checking toml_datetime v0.7.2 [INFO] [stderr] Compiling polars-lazy v0.49.1 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking toml_writer v1.0.3 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [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] Compiling pyo3-ffi v0.26.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.26.0 [INFO] [stderr] Compiling pyo3 v0.26.0 [INFO] [stderr] Compiling numpy v0.26.0 [INFO] [stderr] Checking streaming-decompression v0.1.2 [INFO] [stderr] Checking libz-rs-sys v0.5.2 [INFO] [stderr] Compiling polars v0.49.1 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking polars-parquet-format v0.1.0 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Compiling sklears-python v0.1.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking toml_parser v1.0.3 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking toml v0.9.7 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.8.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [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 strum_macros v0.26.4 [INFO] [stderr] Compiling katexit v0.1.5 [INFO] [stderr] Compiling recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking recursive v0.1.1 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zip v5.1.1 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling pyo3-macros v0.26.0 [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 hashbrown v0.15.5 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking serde-pickle v1.2.0 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking cauchy v0.4.0 [INFO] [stderr] Checking simba v0.9.1 [INFO] [stderr] Checking simba v0.7.3 [INFO] [stderr] Checking argmin-math v0.5.1 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking lax v0.17.0 [INFO] [stderr] Checking special v0.11.4 [INFO] [stderr] Checking argmin v0.11.0 [INFO] [stderr] Checking planus v1.1.1 [INFO] [stderr] Checking polars-arrow-format v0.2.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 polars-error v0.49.1 [INFO] [stderr] Checking nalgebra v0.30.1 [INFO] [stderr] Checking nalgebra v0.33.2 [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-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-linear v0.1.0-alpha.1 [INFO] [stderr] Checking sklears-metrics v0.1.0-alpha.1 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_clustering.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | /// Property: Cluster labels should be valid integers within expected range [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_clustering.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | /// Property: Distance calculations should satisfy metric properties [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_clustering.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | /// Property: K-means cluster assignments should be stable for identical inputs [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_clustering.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | /// Property: Number of unique clusters should not exceed the specified number [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_clustering.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | /// Property: Cluster centers should be meaningful for their assigned points [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_clustering.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | /// Property: DBSCAN noise points should be labeled as -1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_clustering.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | /// Property: Input data should have consistent dimensions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_clustering.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | /// Property: Invalid cluster numbers should be handled appropriately [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_linear_regression.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | /// Property: Linear regression coefficients should be stable for well-conditioned problems [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_linear_regression.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | /// Property: Predictions should be deterministic for the same input [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_linear_regression.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | /// Property: Linear regression should satisfy basic mathematical properties [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_linear_regression.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | /// Property: R² score should be between -∞ and 1 for valid inputs [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_linear_regression.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | /// Property: Zero coefficients should produce constant predictions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_linear_regression.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | /// Property: Input validation should catch dimension mismatches [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_linear_regression.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | /// Property: Valid data should pass basic consistency checks [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_metrics.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | /// Property: Accuracy score should be between 0 and 1 for valid inputs [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_metrics.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | /// Property: Perfect predictions should give maximum metric scores [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_metrics.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | /// Property: R² score properties for regression metrics [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_metrics.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | /// Property: Confusion matrix properties [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_metrics.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | /// Property: Precision and recall bounds and relationships [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_metrics.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | /// Property: Metrics should handle edge cases gracefully [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_metrics.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | /// Property: Metrics should handle constant predictions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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] --> tests/test_clustering.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | .map(|_| (rng.gen::() * n_clusters as f64).floor() as i32) [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] --> tests/test_clustering.rs:49:69 [INFO] [stdout] | [INFO] [stdout] 49 | let point_a = Array1::from_shape_fn(n_features, |_| rng.gen::()); [INFO] [stdout] | ^^^ [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] --> tests/test_clustering.rs:50:69 [INFO] [stdout] | [INFO] [stdout] 50 | let point_b = Array1::from_shape_fn(n_features, |_| rng.gen::()); [INFO] [stdout] | ^^^ [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] --> tests/test_clustering.rs:51:69 [INFO] [stdout] | [INFO] [stdout] 51 | let point_c = Array1::from_shape_fn(n_features, |_| rng.gen::()); [INFO] [stdout] | ^^^ [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] --> tests/test_clustering.rs:87:79 [INFO] [stdout] | [INFO] [stdout] 87 | let data = Array2::from_shape_fn((n_samples, n_features), |_| rng.gen::()); [INFO] [stdout] | ^^^ [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] --> tests/test_clustering.rs:90:83 [INFO] [stdout] | [INFO] [stdout] 90 | let centers = Array2::from_shape_fn((n_clusters, n_features), |_| rng.gen::()); [INFO] [stdout] | ^^^ [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] --> tests/test_clustering.rs:129:31 [INFO] [stdout] | [INFO] [stdout] 129 | .map(|_| (rng.gen::() * n_clusters as f64).floor() as i32) [INFO] [stdout] | ^^^ [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] --> tests/test_metrics.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | .map(|_| (rng.gen::() * 3.0).floor() as i32) // 3 classes [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] --> tests/test_clustering.rs:152:73 [INFO] [stdout] | [INFO] [stdout] 152 | let true_center = Array1::from_shape_fn(n_features, |_| rng.gen::()); [INFO] [stdout] | ^^^ [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] --> tests/test_clustering.rs:156:72 [INFO] [stdout] | [INFO] [stdout] 156 | let noise = Array1::from_shape_fn(n_features, |_| (rng.gen::() - 0.5) * 0.1); [INFO] [stdout] | ^^^ [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] --> tests/test_metrics.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | .map(|_| rng.gen::() * 100.0) [INFO] [stdout] | ^^^ [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] --> tests/test_clustering.rs:221:79 [INFO] [stdout] | [INFO] [stdout] 221 | let data = Array2::from_shape_fn((n_samples, n_features), |_| rng.gen::()); [INFO] [stdout] | ^^^ [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] --> tests/test_linear_regression.rs:28:76 [INFO] [stdout] | [INFO] [stdout] 28 | let x = Array2::from_shape_fn((n_samples, n_features), |_| rng.gen::()); [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] --> tests/test_linear_regression.rs:29:71 [INFO] [stdout] | [INFO] [stdout] 29 | let true_coef = Array1::from_shape_fn(n_features, |_| rng.gen::()); [INFO] [stdout] | ^^^ [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] --> tests/test_linear_regression.rs:30:66 [INFO] [stdout] | [INFO] [stdout] 30 | let noise = Array1::from_shape_fn(n_samples, |_| rng.gen::() * noise_scale); [INFO] [stdout] | ^^^ [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] --> tests/test_metrics.rs:115:30 [INFO] [stdout] | [INFO] [stdout] 115 | .map(|_| rng.gen::() * 100.0) [INFO] [stdout] | ^^^ [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] --> tests/test_metrics.rs:137:30 [INFO] [stdout] | [INFO] [stdout] 137 | .map(|_| rng.gen::() * 200.0) // Wider range than true values [INFO] [stdout] | ^^^ [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] --> tests/test_metrics.rs:163:31 [INFO] [stdout] | [INFO] [stdout] 163 | .map(|_| (rng.gen::() * n_classes as f64).floor() as i32) [INFO] [stdout] | ^^^ [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] --> tests/test_metrics.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | .map(|_| (rng.gen::() * n_classes as f64).floor() as i32) [INFO] [stdout] | ^^^ [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] --> tests/test_linear_regression.rs:51:81 [INFO] [stdout] | [INFO] [stdout] 51 | let x_test = Array2::from_shape_fn((n_samples, n_features), |_| rng.gen::()); [INFO] [stdout] | ^^^ [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] --> tests/test_linear_regression.rs:52:66 [INFO] [stdout] | [INFO] [stdout] 52 | let coef = Array1::from_shape_fn(n_features, |_| rng.gen::()); [INFO] [stdout] | ^^^ [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] --> tests/test_linear_regression.rs:53:33 [INFO] [stdout] | [INFO] [stdout] 53 | let intercept = rng.gen::(); [INFO] [stdout] | ^^^ [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] --> tests/test_linear_regression.rs:74:76 [INFO] [stdout] | [INFO] [stdout] 74 | let x = Array2::from_shape_fn((n_samples, n_features), |_| rng.gen::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> tests/test_clustering.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | let rng = thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) 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] --> tests/test_linear_regression.rs:75:66 [INFO] [stdout] | [INFO] [stdout] 75 | let coef = Array1::from_shape_fn(n_features, |_| rng.gen::()); [INFO] [stdout] | ^^^ [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] --> tests/test_linear_regression.rs:95:67 [INFO] [stdout] | [INFO] [stdout] 95 | let y_true = Array1::from_shape_fn(n_samples, |_| rng.gen::()); [INFO] [stdout] | ^^^ [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] --> tests/test_linear_regression.rs:96:67 [INFO] [stdout] | [INFO] [stdout] 96 | let y_pred = Array1::from_shape_fn(n_samples, |_| rng.gen::()); [INFO] [stdout] | ^^^ [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] --> tests/test_metrics.rs:304:30 [INFO] [stdout] | [INFO] [stdout] 304 | .map(|_| rng.gen::() * 200.0 - 100.0) [INFO] [stdout] | ^^^ [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] --> tests/test_linear_regression.rs:125:76 [INFO] [stdout] | [INFO] [stdout] 125 | let x = Array2::from_shape_fn((n_samples, n_features), |_| rng.gen::()); [INFO] [stdout] | ^^^ [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] --> tests/test_linear_regression.rs:154:78 [INFO] [stdout] | [INFO] [stdout] 154 | let x = Array2::from_shape_fn((n_samples_x, n_features), |_| rng.gen::()); [INFO] [stdout] | ^^^ [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] --> tests/test_linear_regression.rs:155:64 [INFO] [stdout] | [INFO] [stdout] 155 | let y = Array1::from_shape_fn(n_samples_y, |_| rng.gen::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_clustering.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | /// Property: Cluster labels should be valid integers within expected range [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_clustering.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | /// Property: Distance calculations should satisfy metric properties [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_clustering.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | /// Property: K-means cluster assignments should be stable for identical inputs [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_clustering.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | /// Property: Number of unique clusters should not exceed the specified number [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_clustering.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | /// Property: Cluster centers should be meaningful for their assigned points [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_clustering.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | /// Property: DBSCAN noise points should be labeled as -1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_clustering.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | /// Property: Input data should have consistent dimensions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_clustering.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | /// Property: Invalid cluster numbers should be handled appropriately [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_linear_regression.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | /// Property: Linear regression coefficients should be stable for well-conditioned problems [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_linear_regression.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | /// Property: Predictions should be deterministic for the same input [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_linear_regression.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | /// Property: Linear regression should satisfy basic mathematical properties [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_linear_regression.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | /// Property: R² score should be between -∞ and 1 for valid inputs [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_linear_regression.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | /// Property: Zero coefficients should produce constant predictions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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] --> tests/test_linear_regression.rs:170:76 [INFO] [stdout] | [INFO] [stdout] 170 | let x = Array2::from_shape_fn((n_samples, n_features), |_| rng.gen::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_linear_regression.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | /// Property: Input validation should catch dimension mismatches [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_linear_regression.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | /// Property: Valid data should pass basic consistency checks [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_metrics.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | /// Property: Accuracy score should be between 0 and 1 for valid inputs [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_metrics.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | /// Property: Perfect predictions should give maximum metric scores [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_metrics.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | /// Property: R² score properties for regression metrics [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_metrics.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | /// Property: Confusion matrix properties [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_metrics.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | /// Property: Precision and recall bounds and relationships [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_metrics.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | /// Property: Metrics should handle edge cases gracefully [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/test_metrics.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | /// Property: Metrics should handle constant predictions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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] --> tests/test_linear_regression.rs:171:62 [INFO] [stdout] | [INFO] [stdout] 171 | let y = Array1::from_shape_fn(n_samples, |_| rng.gen::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_pred_mean` [INFO] [stdout] --> tests/test_metrics.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | let y_pred_mean = vec![y_mean; n_samples]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_pred_mean` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_pr` [INFO] [stdout] --> tests/test_metrics.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | let min_pr = precision.min(recall); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_pr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_true_single` [INFO] [stdout] --> tests/test_metrics.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | let y_true_single = [single_true_value]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_true_single` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_pred_single` [INFO] [stdout] --> tests/test_metrics.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | let y_pred_single = [single_pred_value]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_pred_single` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_pred` [INFO] [stdout] --> tests/test_metrics.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | let y_pred = vec![constant_pred; n_samples]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_pred` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/test_metrics.rs:196:34 [INFO] [stdout] | [INFO] [stdout] 196 | prop_assert!(entry >= 0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> tests/test_clustering.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | let rng = thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [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_pred_mean` [INFO] [stdout] --> tests/test_metrics.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | let y_pred_mean = vec![y_mean; n_samples]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_pred_mean` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_pr` [INFO] [stdout] --> tests/test_metrics.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | let min_pr = precision.min(recall); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_pr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_true_single` [INFO] [stdout] --> tests/test_metrics.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | let y_true_single = [single_true_value]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_true_single` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_pred_single` [INFO] [stdout] --> tests/test_metrics.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | let y_pred_single = [single_pred_value]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_pred_single` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_pred` [INFO] [stdout] --> tests/test_metrics.rs:308:17 [INFO] [stdout] | [INFO] [stdout] 308 | let y_pred = vec![constant_pred; n_samples]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_pred` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/test_metrics.rs:196:34 [INFO] [stdout] | [INFO] [stdout] 196 | prop_assert!(entry >= 0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/utils.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_version() -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/utils.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_build_info() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/utils.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn has_feature(feature_name: &str) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/utils.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn get_hardware_info() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/utils.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn get_memory_info() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/utils.rs:173:24 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn get_config() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/utils.rs:188:27 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn show_versions() -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/utils.rs:220:40 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn benchmark_basic_operations() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sklears-python` (lib test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/utils.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_version() -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/utils.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_build_info() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/utils.rs:81:43 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn has_feature(feature_name: &str) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/utils.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn get_hardware_info() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/utils.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn get_memory_info() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/utils.rs:173:24 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn get_config() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/utils.rs:188:27 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn show_versions() -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/utils.rs:220:40 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn benchmark_basic_operations() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sklears-python` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "84a3fee10fe2bcd44af22faf288b68eb26724afe91f849195896bdeb1b87b252", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84a3fee10fe2bcd44af22faf288b68eb26724afe91f849195896bdeb1b87b252", kill_on_drop: false }` [INFO] [stdout] 84a3fee10fe2bcd44af22faf288b68eb26724afe91f849195896bdeb1b87b252