[INFO] cloning repository https://github.com/FRRitsma/polars_trees [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FRRitsma/polars_trees" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFRRitsma%2Fpolars_trees", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFRRitsma%2Fpolars_trees'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa705e8eedee92745e8b5a52b67d0c71a28baf9c [INFO] checking FRRitsma/polars_trees against master#2c0f4860cc86e2354a55ea04e738848168435c90 for pr-149145 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFRRitsma%2Fpolars_trees" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FRRitsma/polars_trees [INFO] finished tweaking git repo https://github.com/FRRitsma/polars_trees [INFO] tweaked toml for git repo https://github.com/FRRitsma/polars_trees written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FRRitsma/polars_trees on toolchain 2c0f4860cc86e2354a55ea04e738848168435c90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/FRRitsma/polars_trees 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" "+2c0f4860cc86e2354a55ea04e738848168435c90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded polars-lazy v0.46.0 [INFO] [stderr] Downloaded enum_dispatch v0.3.13 [INFO] [stderr] Downloaded anstyle-wincon v3.0.7 [INFO] [stderr] Downloaded rayon v1.10.0 [INFO] [stderr] Downloaded parking_lot v0.12.3 [INFO] [stderr] Downloaded anstyle v1.0.10 [INFO] [stderr] Downloaded anstyle-query v1.1.2 [INFO] [stderr] Downloaded anstyle-parse v0.2.6 [INFO] [stderr] Downloaded anstream v0.6.18 [INFO] [stderr] Downloaded async-trait v0.1.88 [INFO] [stderr] Downloaded jiff-static v0.2.13 [INFO] [stderr] Downloaded crossbeam-channel v0.5.15 [INFO] [stderr] Downloaded polars-pipe v0.46.0 [INFO] [stderr] Downloaded windows-link v0.1.1 [INFO] [stderr] Downloaded polars-ops v0.46.0 [INFO] [stderr] Downloaded polars v0.46.0 [INFO] [stderr] Downloaded portable-atomic v1.11.0 [INFO] [stderr] Downloaded tokio v1.45.0 [INFO] [stderr] Downloaded zerocopy v0.8.25 [INFO] [stderr] Downloaded polars-compute v0.46.0 [INFO] [stderr] Downloaded compact_str v0.8.1 [INFO] [stderr] Downloaded sqlparser v0.53.0 [INFO] [stderr] Downloaded redox_syscall v0.5.12 [INFO] [stderr] Downloaded psm v0.1.26 [INFO] [stderr] Downloaded argminmax v0.6.3 [INFO] [stderr] Downloaded hashbrown v0.15.3 [INFO] [stderr] Downloaded polars-plan v0.46.0 [INFO] [stderr] Downloaded lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Downloaded chrono v0.4.41 [INFO] [stderr] Downloaded ntapi v0.4.1 [INFO] [stderr] Downloaded indexmap v2.9.0 [INFO] [stderr] Downloaded bumpalo v3.17.0 [INFO] [stderr] Downloaded polars-expr v0.46.0 [INFO] [stderr] Downloaded libm v0.2.15 [INFO] [stderr] Downloaded slab v0.4.9 [INFO] [stderr] Downloaded hashbrown v0.14.5 [INFO] [stderr] Downloaded mio v1.0.3 [INFO] [stderr] Downloaded comfy-table v7.1.4 [INFO] [stderr] Downloaded unicode-width v0.2.0 [INFO] [stderr] Downloaded polars-io v0.46.0 [INFO] [stderr] Downloaded parse-zoneinfo v0.3.1 [INFO] [stderr] Downloaded miniz_oxide v0.8.8 [INFO] [stderr] Downloaded zerocopy-derive v0.8.25 [INFO] [stderr] Downloaded raw-cpuid v11.5.0 [INFO] [stderr] Downloaded windows v0.57.0 [INFO] [stderr] Downloaded jiff v0.2.13 [INFO] [stderr] Downloaded polars-parquet v0.46.0 [INFO] [stderr] Downloaded futures v0.3.31 [INFO] [stderr] Downloaded recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Downloaded recursive v0.1.1 [INFO] [stderr] Downloaded socket2 v0.5.9 [INFO] [stderr] Downloaded now v0.1.3 [INFO] [stderr] Downloaded atoi_simd v0.16.0 [INFO] [stderr] Downloaded windows-implement v0.60.0 [INFO] [stderr] Downloaded windows-core v0.61.2 [INFO] [stderr] Downloaded iana-time-zone v0.1.63 [INFO] [stderr] Downloaded chrono-tz-build v0.4.1 [INFO] [stderr] Downloaded lock_api v0.4.12 [INFO] [stderr] Downloaded chrono-tz v0.10.3 [INFO] [stderr] Downloaded array-init-cursor v0.2.1 [INFO] [stderr] Downloaded windows-implement v0.57.0 [INFO] [stderr] Downloaded windows-interface v0.57.0 [INFO] [stderr] Downloaded polars-sql v0.46.0 [INFO] [stderr] Downloaded polars-mem-engine v0.46.0 [INFO] [stderr] Downloaded async-stream-impl v0.3.6 [INFO] [stderr] Downloaded async-stream v0.3.6 [INFO] [stderr] Downloaded futures-executor v0.3.31 [INFO] [stderr] Downloaded streaming-decompression v0.1.2 [INFO] [stderr] Downloaded slotmap v1.0.7 [INFO] [stderr] Downloaded windows-interface v0.59.1 [INFO] [stderr] Downloaded memmap2 v0.9.5 [INFO] [stderr] Downloaded sysinfo v0.33.1 [INFO] [stderr] Downloaded polars-parquet-format v0.1.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.24 [INFO] [stderr] Downloaded ethnum v1.5.1 [INFO] [stderr] Downloaded streaming-iterator v0.1.9 [INFO] [stderr] Downloaded strength_reduce v0.2.4 [INFO] [stderr] Downloaded polars-row v0.46.0 [INFO] [stderr] Downloaded allocator-api2 v0.2.21 [INFO] [stderr] Downloaded windows-core v0.57.0 [INFO] [stderr] Downloaded home v0.5.11 [INFO] [stderr] Downloaded fast-float2 v0.2.3 [INFO] [stderr] Downloaded lz4 v1.28.1 [INFO] [stderr] Downloaded parking_lot_core v0.9.10 [INFO] [stderr] Downloaded stacker v0.1.21 [INFO] [stderr] Downloaded windows-result v0.1.2 [INFO] [stderr] Downloaded colorchoice v1.0.3 [INFO] [stderr] Downloaded glob v0.3.2 [INFO] [stderr] Downloaded adler2 v2.0.0 [INFO] [stderr] Downloaded polars-core v0.46.0 [INFO] [stderr] Downloaded polars-schema v0.46.0 [INFO] [stderr] Downloaded r-efi v5.2.0 [INFO] [stderr] Downloaded uuid v1.16.0 [INFO] [stderr] Downloaded dyn-clone v1.0.19 [INFO] [stderr] Downloaded polars-arrow v0.46.0 [INFO] [stderr] Downloaded unicode-normalization v0.1.24 [INFO] [stderr] Downloaded bytemuck_derive v1.9.3 [INFO] [stderr] Downloaded polars-error v0.46.0 [INFO] [stderr] Downloaded cc v1.2.23 [INFO] [stderr] Downloaded rayon-core v1.12.1 [INFO] [stderr] Downloaded futures-macro v0.3.31 [INFO] [stderr] Downloaded smallvec v1.15.0 [INFO] [stderr] Downloaded unicode-reverse v1.0.9 [INFO] [stderr] Downloaded strum_macros v0.26.4 [INFO] [stderr] Downloaded polars-time v0.46.0 [INFO] [stderr] Downloaded bytemuck v1.23.0 [INFO] [stderr] Downloaded polars-utils v0.46.0 [INFO] [stderr] Downloaded rand_distr v0.4.3 [INFO] [stderr] Downloaded xxhash-rust v0.8.15 [INFO] [stderr] Downloaded castaway v0.2.3 [INFO] [stderr] Downloaded polars-arrow-format v0.1.0 [INFO] [stderr] Downloaded simdutf8 v0.1.5 [INFO] [stderr] Downloaded syn v2.0.101 [INFO] [stderr] Downloaded crossbeam-queue v0.3.12 [INFO] [stderr] Downloaded autocfg v1.4.0 [INFO] [stderr] Downloaded planus v0.3.1 [INFO] [stderr] Downloaded rustversion v1.0.20 [INFO] [stderr] Downloaded crossbeam-utils v0.8.21 [INFO] [stderr] Downloaded polars-stream v0.46.0 [INFO] [stderr] Downloaded crossbeam-deque v0.8.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a138decdd2fc1dd5d382f118cb264be672e11d0904bccb8db2ea2d7f0121682 [INFO] running `Command { std: "docker" "start" "-a" "2a138decdd2fc1dd5d382f118cb264be672e11d0904bccb8db2ea2d7f0121682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a138decdd2fc1dd5d382f118cb264be672e11d0904bccb8db2ea2d7f0121682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a138decdd2fc1dd5d382f118cb264be672e11d0904bccb8db2ea2d7f0121682", kill_on_drop: false }` [INFO] [stdout] 2a138decdd2fc1dd5d382f118cb264be672e11d0904bccb8db2ea2d7f0121682 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 378e36089e3a48ae43e18921babe6494e286073be4e543edbf0bbe29aec20f6c [INFO] running `Command { std: "docker" "start" "-a" "378e36089e3a48ae43e18921babe6494e286073be4e543edbf0bbe29aec20f6c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking array-init-cursor v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking planus v0.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling polars-utils v0.46.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking raw-cpuid v11.5.0 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Compiling polars-schema v0.46.0 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling polars-arrow v0.46.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling polars-compute v0.46.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking ethnum v1.5.1 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking fast-float2 v0.2.3 [INFO] [stderr] Checking atoi_simd v0.16.0 [INFO] [stderr] Compiling polars-core v0.46.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Compiling polars-ops v0.46.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking xxhash-rust v0.8.15 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling polars-plan v0.46.0 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Compiling polars-lazy v0.46.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling polars v0.46.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking argminmax v0.6.3 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking polars-parquet-format v0.1.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking streaming-decompression v0.1.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking jiff v0.2.13 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking comfy-table v7.1.4 [INFO] [stderr] Checking now v0.1.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Checking recursive v0.1.1 [INFO] [stderr] Compiling chrono-tz-build v0.4.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Compiling chrono-tz v0.10.3 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking polars-arrow-format v0.1.0 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking polars-error v0.46.0 [INFO] [stderr] Checking polars-row v0.46.0 [INFO] [stderr] Checking polars-parquet v0.46.0 [INFO] [stderr] Checking polars-time v0.46.0 [INFO] [stderr] Checking polars-io v0.46.0 [INFO] [stderr] Checking polars-expr v0.46.0 [INFO] [stderr] Checking polars-mem-engine v0.46.0 [INFO] [stderr] Checking trees v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `get_optimal_gini_impurity_for_column` [INFO] [stdout] --> src/gini_impurity/categorical_columns.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | get_optimal_gini_impurity_for_column, normalize_gini_per_group, pre_process_for_gini, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::test_utils::assert_single_row_df_equal` [INFO] [stdout] --> src/gini_impurity/categorical_columns.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::test_utils::assert_single_row_df_equal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_core::df` [INFO] [stdout] --> src/gini_impurity/categorical_columns.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use polars_core::df; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sort_type` [INFO] [stdout] --> src/gini_impurity/gini_impurity.rs:8:66 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::gini_impurity::{categorical_columns, ordinal_columns, sort_type}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_core::prelude::NamedFrom` [INFO] [stdout] --> src/old_preprocessing.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use polars_core::prelude::NamedFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/old_preprocessing.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sort_type` [INFO] [stdout] --> src/gini_impurity/gini_impurity.rs:8:66 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::gini_impurity::{categorical_columns, ordinal_columns, sort_type}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_core::prelude::NamedFrom` [INFO] [stdout] --> src/old_preprocessing.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use polars_core::prelude::NamedFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/old_preprocessing.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PREDICTED_LABEL_COL` is never used [INFO] [stdout] --> src/classification_tree.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const PREDICTED_LABEL_COL: &str = "PREDICTED_LABEL"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX_COL` is never used [INFO] [stdout] --> src/classification_tree.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const INDEX_COL: &str = "INDEX"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_size_of_left_and_right` is never used [INFO] [stdout] --> src/classification_tree.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_size_of_left_and_right(collected: &DataFrame) -> Result<(u128, u128), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_split_predicate` is never used [INFO] [stdout] --> src/classification_tree.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_split_predicate(collected: DataFrame) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassificationTree` is never constructed [INFO] [stdout] --> src/classification_tree.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | struct ClassificationTree { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NodePosition` is never used [INFO] [stdout] --> src/classification_tree.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | enum NodePosition { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_most_common_label` is never used [INFO] [stdout] --> src/classification_tree.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn get_most_common_label(lf: &LazyFrame) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/classification_tree.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl ClassificationTree { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 100 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn spawn_child(&mut self, node_position: NodePosition) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn fit(&mut self, lf: LazyFrame, target_column: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | fn private_fit(&mut self, lf: LazyFrame) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn predict(&self, lf: &LazyFrame) -> LazyFrame { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn private_predict(&self, lf: LazyFrame) -> LazyFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | fn split_lazyframe_left_right(&self, lf: LazyFrame) -> (LazyFrame, LazyFrame) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TARGET_COLUMN` is never used [INFO] [stdout] --> src/constants.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const TARGET_COLUMN: &str = "TARGET_COLUMN"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BinaryTree` is never used [INFO] [stdout] --> src/display_tree.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait BinaryTree { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DisplayTree` is never constructed [INFO] [stdout] --> src/display_tree.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DisplayTree { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/display_tree.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl DisplayTree { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 55 | fn new(expression: String, depth: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn fit_display_tree(input: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn padding(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn mid_point(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn format_tree(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn get_max_depth(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn add_missing_nodes(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn set_column_width(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn assign_horizontal_order(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn assign_offset(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn raw_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn raw_display_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn padded_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn all_nodes(&self) -> Vec<&DisplayTree> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | fn collect_nodes<'a>(&'a self, vec: &mut Vec<&'a DisplayTree>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmptyTree` is never constructed [INFO] [stdout] --> src/empty_tree.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct EmptyTree { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/empty_tree.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl EmptyTree { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 24 | pub fn new(string: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rename_filler_string_full_lazyframe` is never used [INFO] [stdout] --> src/filler_strings.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn rename_filler_string_full_lazyframe( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rename_filler_string_single_column` is never used [INFO] [stdout] --> src/filler_strings.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn rename_filler_string_single_column( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_by_for_gini_impurity_categorical` is never used [INFO] [stdout] --> src/gini_impurity/categorical_columns.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn group_by_for_gini_impurity_categorical(lf: &LazyFrame) -> LazyFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_optimal_gini_impurity_for_categorical_column` is never used [INFO] [stdout] --> src/gini_impurity/categorical_columns.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_optimal_gini_impurity_for_categorical_column( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUANTILES` is never used [INFO] [stdout] --> src/gini_impurity/constants.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const QUANTILES: [f64; 8] = [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.9]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COUNT_LEFT_COL` is never used [INFO] [stdout] --> src/gini_impurity/constants.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const COUNT_LEFT_COL: &str = "count_LEFT"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COUNT_RIGHT_COL` is never used [INFO] [stdout] --> src/gini_impurity/constants.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const COUNT_RIGHT_COL: &str = "count_RIGHT"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GINI_IMPURITY_LEFT_GROUP_COL` is never used [INFO] [stdout] --> src/gini_impurity/constants.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const GINI_IMPURITY_LEFT_GROUP_COL: &str = "gini_LEFT"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GINI_IMPURITY_RIGHT_GROUP_COL` is never used [INFO] [stdout] --> src/gini_impurity/constants.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const GINI_IMPURITY_RIGHT_GROUP_COL: &str = "gini_RIGHT"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOTAL_LEFT_GROUP_COL` is never used [INFO] [stdout] --> src/gini_impurity/constants.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const TOTAL_LEFT_GROUP_COL: &str = "total_LEFT_group"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOTAL_RIGHT_GROUP_COL` is never used [INFO] [stdout] --> src/gini_impurity/constants.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const TOTAL_RIGHT_GROUP_COL: &str = "total_RIGHT_group"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FEATURE_COLUMN_NAME` is never used [INFO] [stdout] --> src/gini_impurity/constants.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const FEATURE_COLUMN_NAME: &str = "FEATURE_COLUMN_NAME"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SORT_TYPE_COL` is never used [INFO] [stdout] --> src/gini_impurity/constants.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const SORT_TYPE_COL: &str = "SORT_TYPE"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEMP_COLUMN_ORDINAL` is never used [INFO] [stdout] --> src/gini_impurity/constants.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const TEMP_COLUMN_ORDINAL: &str = "temp_ordinal"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SELECTION_COLUMN` is never used [INFO] [stdout] --> src/gini_impurity/constants.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const SELECTION_COLUMN: &str = "SELECTION_COLUMN"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NORMALIZED_CHILD_GINI` is never used [INFO] [stdout] --> src/gini_impurity/constants.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) const NORMALIZED_CHILD_GINI: &str = "NORMALIZED_CHILD_GINI"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_zero_count` is never used [INFO] [stdout] --> src/gini_impurity/gini_impurity.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) fn add_zero_count( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_optimal_gini_impurity_for_column` is never used [INFO] [stdout] --> src/gini_impurity/gini_impurity.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | pub(crate) fn get_optimal_gini_impurity_for_column( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_gini_per_group` is never used [INFO] [stdout] --> src/gini_impurity/gini_impurity.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) fn normalize_gini_per_group(grouped_lf: &LazyFrame, gini_lf: &LazyFrame) -> LazyFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_gini_per_feature` is never used [INFO] [stdout] --> src/gini_impurity/gini_impurity.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) fn compute_gini_per_feature(grouped_lf: &LazyFrame) -> LazyFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_totals_of_in_out_group` is never used [INFO] [stdout] --> src/gini_impurity/gini_impurity.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | pub(crate) fn add_totals_of_in_out_group(grouped_lf: &LazyFrame) -> LazyFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pre_process_for_gini` is never used [INFO] [stdout] --> src/gini_impurity/gini_impurity.rs:159:15 [INFO] [stdout] | [INFO] [stdout] 159 | pub(crate) fn pre_process_for_gini( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_unique_combinations` is never used [INFO] [stdout] --> src/gini_impurity/gini_impurity.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn get_unique_combinations(column_1: &str, column_2: &str, lf: &LazyFrame) -> LazyFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_gini_impurity_for_all_columns` is never used [INFO] [stdout] --> src/gini_impurity/gini_impurity.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn get_gini_impurity_for_all_columns(lf: LazyFrame) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_best_feature` is never used [INFO] [stdout] --> src/gini_impurity/gini_impurity.rs:352:15 [INFO] [stdout] | [INFO] [stdout] 352 | pub(crate) fn extract_best_feature(normalized_gini_lf: LazyFrame) -> LazyFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_optimal_gini_impurity_for_ordinal_column` is never used [INFO] [stdout] --> src/gini_impurity/ordinal_columns.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_optimal_gini_impurity_for_ordinal_column( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_by_for_single_quantile` is never used [INFO] [stdout] --> src/gini_impurity/ordinal_columns.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn group_by_for_single_quantile(lf: &LazyFrame, feature_column: &str, quantile: f64) -> LazyFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_by_for_ordinal_inner` is never used [INFO] [stdout] --> src/gini_impurity/ordinal_columns.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn group_by_for_ordinal_inner(lf: &LazyFrame) -> LazyFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SortType` is never used [INFO] [stdout] --> src/gini_impurity/sort_type.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum SortType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_str` and `as_str` are never used [INFO] [stdout] --> src/gini_impurity/sort_type.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl SortType { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 16 | pub fn from_str(string: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sort_type_for_dtype` is never used [INFO] [stdout] --> src/gini_impurity/sort_type.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_sort_type_for_dtype(dtype: &DataType) -> SortType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REDUNDANT_STRING_VALUE` is never used [INFO] [stdout] --> src/old_preprocessing.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const REDUNDANT_STRING_VALUE: &str = "FILLER_STRING"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pre_process_dataframe` is never used [INFO] [stdout] --> src/old_preprocessing.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn pre_process_dataframe(lf: LazyFrame, settings: Settings, target_column: &str) -> LazyFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Settings` is never constructed [INFO] [stdout] --> src/settings.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Settings { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/settings.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Settings { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(max_depth: u8, min_leave_size: u128, max_cardinality: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn set_max_depth(&mut self, max_depth: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn get_max_depth(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn get_min_leave_size(&self) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn set_min_leave_size(&mut self, min_leave_size: u128) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get_max_cardinality(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_PATH` is never used [INFO] [stdout] --> src/test_utils.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const FILE_PATH: &str = "Titanic-Dataset.csv"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TITANIC_TARGET_COLUMN` is never used [INFO] [stdout] --> src/test_utils.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const TITANIC_TARGET_COLUMN: &str = "Survived"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_raw_test_dataframe` is never used [INFO] [stdout] --> src/test_utils.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_raw_test_dataframe() -> LazyFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_preprocessed_test_dataframe` is never used [INFO] [stdout] --> src/test_utils.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_preprocessed_test_dataframe() -> LazyFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_single_row_df_equal` is never used [INFO] [stdout] --> src/test_utils.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn assert_single_row_df_equal( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `polars_core::utils::arrow::io::iterator::StreamingIterator` [INFO] [stdout] --> src/gini_impurity/gini_impurity.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | use polars_core::utils::arrow::io::iterator::StreamingIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classification_tree.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | let mut lf = get_raw_test_dataframe(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classification_tree.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | let mut lf = get_raw_test_dataframe(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/classification_tree.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | let mut lf = get_raw_test_dataframe(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mid_point` is never used [INFO] [stdout] --> src/display_tree.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl DisplayTree { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | fn mid_point(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.62s [INFO] running `Command { std: "docker" "inspect" "378e36089e3a48ae43e18921babe6494e286073be4e543edbf0bbe29aec20f6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "378e36089e3a48ae43e18921babe6494e286073be4e543edbf0bbe29aec20f6c", kill_on_drop: false }` [INFO] [stdout] 378e36089e3a48ae43e18921babe6494e286073be4e543edbf0bbe29aec20f6c