[INFO] cloning repository https://github.com/e-strauss/DiffDataflowMLPipelines [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/e-strauss/DiffDataflowMLPipelines" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fe-strauss%2FDiffDataflowMLPipelines", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fe-strauss%2FDiffDataflowMLPipelines'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f673c0d560bd97e94bc15255bfe9e46208bc1b57 [INFO] testing e-strauss/DiffDataflowMLPipelines against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fe-strauss%2FDiffDataflowMLPipelines" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/e-strauss/DiffDataflowMLPipelines [INFO] finished tweaking git repo https://github.com/e-strauss/DiffDataflowMLPipelines [INFO] tweaked toml for git repo https://github.com/e-strauss/DiffDataflowMLPipelines written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/e-strauss/DiffDataflowMLPipelines on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/e-strauss/DiffDataflowMLPipelines 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/TimelyDataflow/differential-dataflow` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded timely_container v0.13.0 [INFO] [stderr] Downloaded timely_logging v0.12.1 [INFO] [stderr] Downloaded timely_bytes v0.12.2 [INFO] [stderr] Downloaded columnation v0.1.0 [INFO] [stderr] Downloaded rand_chacha v0.9.0-beta.1 [INFO] [stderr] Downloaded rand v0.9.0-beta.1 [INFO] [stderr] Downloaded priority-queue v1.4.0 [INFO] [stderr] Downloaded getrandom v0.3.0-rc.0 [INFO] [stderr] Downloaded zerocopy-derive v0.8.14 [INFO] [stderr] Downloaded timely v0.15.0 [INFO] [stderr] Downloaded flatcontainer v0.5.0 [INFO] [stderr] Downloaded bitflags v2.7.0 [INFO] [stderr] Downloaded rand_core v0.9.0-beta.1 [INFO] [stderr] Downloaded timely_communication v0.15.0 [INFO] [stderr] Downloaded zerocopy v0.8.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afbffb9f5524f31a393b06e2d86de1297a653ab3489853975882e2d985a51aef [INFO] running `Command { std: "docker" "start" "-a" "afbffb9f5524f31a393b06e2d86de1297a653ab3489853975882e2d985a51aef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afbffb9f5524f31a393b06e2d86de1297a653ab3489853975882e2d985a51aef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afbffb9f5524f31a393b06e2d86de1297a653ab3489853975882e2d985a51aef", kill_on_drop: false }` [INFO] [stdout] afbffb9f5524f31a393b06e2d86de1297a653ab3489853975882e2d985a51aef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26db9ec5e83b07a1710706c7de0bf2f1d6233ca917b3390e6ea34c5fccf2b878 [INFO] running `Command { std: "docker" "start" "-a" "26db9ec5e83b07a1710706c7de0bf2f1d6233ca917b3390e6ea34c5fccf2b878", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling zerocopy v0.8.14 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling timely_bytes v0.12.2 [INFO] [stderr] Compiling timely_logging v0.12.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling columnation v0.1.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling getrandom v0.3.0-rc.0 [INFO] [stderr] Compiling rand_core v0.9.0-beta.1 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.9.0-beta.1 [INFO] [stderr] Compiling rand v0.9.0-beta.1 [INFO] [stderr] Compiling flatcontainer v0.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling timely_communication v0.15.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling timely_container v0.13.0 [INFO] [stderr] Compiling timely v0.15.0 [INFO] [stderr] Compiling differential-dataflow v0.13.1 (https://github.com/TimelyDataflow/differential-dataflow?branch=master#84cfc36e) [INFO] [stderr] Compiling IncrementalFeatureEncoders v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | if(current_degree == target_degree){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - if(current_degree == target_degree){ [INFO] [stdout] 96 + if current_degree == target_degree { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | if(i == n_features){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 100 - if(i == n_features){ [INFO] [stdout] 100 + if i == n_features { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::safe_vec::SafeVec` [INFO] [stdout] --> src/feature_encoders/minmax_scaler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::types::safe_vec::SafeVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/feature_encoders/feature_extraction/count_vectorizer.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | _ => !panic!("count vectorizer called on non-text column") [INFO] [stdout] | ^---------------------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/feature_encoders/feature_extraction/count_vectorizer.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | _ => !panic!("count vectorizer called on non-text column") [INFO] [stdout] | ^---------------------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/feature_encoders/one_hot_encoder.rs:44:60 [INFO] [stdout] | [INFO] [stdout] 44 | let inner_join = data.join(&value_pos_pairs).map(|(value, (row_id, (vector_index, len)))| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/feature_encoders/one_hot_encoder.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | .map(|(_, ((value, row_id), len))| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/feature_encoders/feature_extraction/hash_vectorizer.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | fn fit(&mut self, data: &Collection) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | fn fit(&mut self, data: &Collection) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/feature_encoders/minmax_scaler.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let len = match self.max_pq.len() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/feature_encoders/passthrough.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn fit(&mut self, data: &Collection) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timer` [INFO] [stdout] --> src/pipelines/pipeline_2.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let timer = Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/pipelines/pipeline_2.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn run_pipeline2(dataset: Vec, r1: i32, r2: i32, size: f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> src/pipelines/pipeline_2.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn run_pipeline2(dataset: Vec, r1: i32, r2: i32, size: f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timer_tmp` [INFO] [stdout] --> src/pipelines/pipeline_2.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let timer_tmp = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timer_tmp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pipelines/pipeline_2.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut input_df = input.to_collection(scope); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_count` is never used [INFO] [stdout] --> src/feature_encoders/feature_extraction/tfidf_transformer.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 97 | impl DocumentFrequencyAggregate { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | fn get_count(&self) -> isize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `combinations` is never read [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PolynomialFeaturesEncoder { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | combinations : Option>> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `polynomials` is never used [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl PolynomialFeaturesEncoder { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | fn polynomials(&self, input_vec: Vec) -> RowValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combinations_with_replacement` is never used [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn combinations_with_replacement(len: usize, min_degree: usize, max_degree: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recurse` is never used [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn recurse(i : usize, current_degree : usize, target_degree : usize, n_features : usize, combinations: &mut Vec>, current_comb... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `phantom_data` is never read [INFO] [stdout] --> src/feature_encoders/passthrough.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Passthrough < G: Scope> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | phantom_data: Option> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `phantom_data` is never read [INFO] [stdout] --> src/feature_encoders/function_encoder.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FunctionEncoder < G: Scope> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 9 | udf: Rc RowValue>, [INFO] [stdout] 10 | phantom_data: Option> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `IncrementalFeatureEncoders` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `incremental_feature_encoders` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | if(current_degree == target_degree){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - if(current_degree == target_degree){ [INFO] [stdout] 96 + if current_degree == target_degree { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | if(i == n_features){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 100 - if(i == n_features){ [INFO] [stdout] 100 + if i == n_features { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::safe_vec::SafeVec` [INFO] [stdout] --> src/feature_encoders/minmax_scaler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::types::safe_vec::SafeVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/feature_encoders/feature_extraction/count_vectorizer.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | _ => !panic!("count vectorizer called on non-text column") [INFO] [stdout] | ^---------------------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/feature_encoders/feature_extraction/count_vectorizer.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | _ => !panic!("count vectorizer called on non-text column") [INFO] [stdout] | ^---------------------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/feature_encoders/one_hot_encoder.rs:44:60 [INFO] [stdout] | [INFO] [stdout] 44 | let inner_join = data.join(&value_pos_pairs).map(|(value, (row_id, (vector_index, len)))| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/feature_encoders/one_hot_encoder.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | .map(|(_, ((value, row_id), len))| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/feature_encoders/feature_extraction/hash_vectorizer.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | fn fit(&mut self, data: &Collection) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | fn fit(&mut self, data: &Collection) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/feature_encoders/minmax_scaler.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let len = match self.max_pq.len() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/feature_encoders/passthrough.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn fit(&mut self, data: &Collection) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timer` [INFO] [stdout] --> src/pipelines/pipeline_2.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let timer = Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/pipelines/pipeline_2.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn run_pipeline2(dataset: Vec, r1: i32, r2: i32, size: f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> src/pipelines/pipeline_2.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn run_pipeline2(dataset: Vec, r1: i32, r2: i32, size: f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timer_tmp` [INFO] [stdout] --> src/pipelines/pipeline_2.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let timer_tmp = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timer_tmp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pipelines/pipeline_2.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut input_df = input.to_collection(scope); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/main.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | for j in 0..size2{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `initial_vec`, `get_integer`, `get_float`, `get_text`, `get_vec`, and `vector_append` are never used [INFO] [stdout] --> src/types/row_value.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 17 | impl RowValue { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 18 | [INFO] [stdout] 19 | pub fn initial_vec() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_integer(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_float(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_text(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_vec(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn vector_append(self, other: &RowValue) -> RowValue{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_values`, `with_integer_vec`, `with_row_value`, `with_row_values`, and `find_indices` are never used [INFO] [stdout] --> src/types/row.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Row { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn with_values(integer: i64, float: f64, text: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn with_integer_vec(integers: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn with_row_value(val: RowValue) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn with_row_values(vals: Vec) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn find_indices(&self, predicate: F) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_map_and_len`, `new_with_vec`, and `new_with_val` are never used [INFO] [stdout] --> src/types/integer_assignment_aggregate.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | / impl PositionAssignmentAggregate [INFO] [stdout] 21 | | where T: Ord + Clone + Hash { [INFO] [stdout] | |___________________________- associated items in this implementation [INFO] [stdout] 22 | pub fn get_map_and_len(self) -> (SafeHashMap, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn new_with_vec(tokens : &Vec, mult : isize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn new_with_val(val : &T, mult : isize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ColumnEncoder` is never used [INFO] [stdout] --> src/feature_encoders/column_encoder.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ColumnEncoder [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OneHotEncoder` is never constructed [INFO] [stdout] --> src/feature_encoders/one_hot_encoder.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct OneHotEncoder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/feature_encoders/one_hot_encoder.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl OneHotEncoder { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new() -> Self<>{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get` are never used [INFO] [stdout] --> src/feature_encoders/standard_scaler.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl VarianceAggregate { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 19 | fn new(value: f64, multiplicity: isize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn get(&self) -> (SafeF64, SafeF64) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StandardScaler` is never constructed [INFO] [stdout] --> src/feature_encoders/standard_scaler.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct StandardScaler < G: Scope> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_with_rounding` are never used [INFO] [stdout] --> src/feature_encoders/standard_scaler.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl StandardScaler { [INFO] [stdout] | -------------------------------- associated functions in this implementation [INFO] [stdout] 69 | pub fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn new_with_rounding(n_mean: i32, n_var: i32) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_scaling` is never used [INFO] [stdout] --> src/feature_encoders/standard_scaler.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | pub(crate) fn apply_scaling(data: &Collection, mean: &Collection... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_to_decimal` is never used [INFO] [stdout] --> src/feature_encoders/standard_scaler.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn round_to_decimal((m,v): (SafeF64, SafeF64), n1: i32, n2: i32) -> (SafeF64, SafeF64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multi_column_encoder` is never used [INFO] [stdout] --> src/feature_encoders/multi_column_encoder.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn multi_column_encoder<'a, G: Scope>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CountVectorizer` is never constructed [INFO] [stdout] --> src/feature_encoders/feature_extraction/count_vectorizer.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct CountVectorizer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/feature_encoders/feature_extraction/count_vectorizer.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl CountVectorizer { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(binary : bool) -> Self<>{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashVectorizer` is never constructed [INFO] [stdout] --> src/feature_encoders/feature_extraction/hash_vectorizer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HashVectorizer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/feature_encoders/feature_extraction/hash_vectorizer.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl HashVectorizer { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(n_features : usize, binary : bool) -> Self<>{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TfidfTransformer` is never constructed [INFO] [stdout] --> src/feature_encoders/feature_extraction/tfidf_transformer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TfidfTransformer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_with_rounding` are never used [INFO] [stdout] --> src/feature_encoders/feature_extraction/tfidf_transformer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl TfidfTransformer { [INFO] [stdout] | ---------------------------------- associated functions in this implementation [INFO] [stdout] 17 | pub fn new() -> TfidfTransformer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new_with_rounding(n: i32) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_frequencies`, and `get_count` are never used [INFO] [stdout] --> src/feature_encoders/feature_extraction/tfidf_transformer.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 97 | impl DocumentFrequencyAggregate { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 98 | fn new(mut document: Vec, multiplicity: isize, round_to: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn get_frequencies(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn get_count(&self) -> isize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_to_decimal` is never used [INFO] [stdout] --> src/feature_encoders/feature_extraction/tfidf_transformer.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn round_to_decimal(vec : &Vec, n: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_tokenizer` is never used [INFO] [stdout] --> src/feature_encoders/feature_extraction/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn default_tokenizer(s: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PolynomialFeaturesEncoder` is never constructed [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PolynomialFeaturesEncoder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `polynomials` are never used [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl PolynomialFeaturesEncoder { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new(min_degree : usize, max_degree : usize) -> Self<>{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn polynomials(&self, input_vec: Vec) -> RowValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `polynomials_1d` is never used [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn polynomials_1d(value: f64, min_degree: usize, max_degree: usize) -> RowValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combinations_with_replacement` is never used [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn combinations_with_replacement(len: usize, min_degree: usize, max_degree: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recurse` is never used [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn recurse(i : usize, current_degree : usize, target_degree : usize, n_features : usize, combinations: &mut Vec>, current_comb... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KBinsDiscretizer` is never constructed [INFO] [stdout] --> src/feature_encoders/kbins_discretizer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct KBinsDiscretizer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/feature_encoders/kbins_discretizer.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl KBinsDiscretizer { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(k: usize) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MinMaxAggregate` is never constructed [INFO] [stdout] --> src/feature_encoders/minmax_scaler.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct MinMaxAggregate { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get` are never used [INFO] [stdout] --> src/feature_encoders/minmax_scaler.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl MinMaxAggregate { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 24 | pub(crate) fn new(value: f64, count: isize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub(crate) fn get(&self) -> (SafeF64, SafeF64) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MinMaxScaler` is never constructed [INFO] [stdout] --> src/feature_encoders/minmax_scaler.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct MinMaxScaler { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/feature_encoders/minmax_scaler.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 133 | impl MinMaxScaler { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] 134 | pub fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_meta` is never used [INFO] [stdout] --> src/feature_encoders/minmax_scaler.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 158 | pub(crate) fn get_meta(data: &Collection) -> Collection [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pipeline` is never constructed [INFO] [stdout] --> src/feature_encoders/pipeline.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Pipeline<'a, G : Scope> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/feature_encoders/pipeline.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a, G: Scope> Pipeline<'a, G> { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(config: Vec + 'a>>) -> Self<>{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Passthrough` is never constructed [INFO] [stdout] --> src/feature_encoders/passthrough.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Passthrough < G: Scope> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/feature_encoders/passthrough.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Passthrough { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionEncoder` is never constructed [INFO] [stdout] --> src/feature_encoders/function_encoder.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FunctionEncoder < G: Scope> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/feature_encoders/function_encoder.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl FunctionEncoder { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(udf: impl Fn(RowValue) -> RowValue + 'static) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrdinalEncoder` is never constructed [INFO] [stdout] --> src/feature_encoders/ordinal_encoder.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct OrdinalEncoder { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/feature_encoders/ordinal_encoder.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl OrdinalEncoder { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new() -> Self<>{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `difference` is never used [INFO] [stdout] --> src/pipelines/pipeline_2.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn difference(a: &[usize], b: &[usize]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_pipeline2` is never used [INFO] [stdout] --> src/pipelines/pipeline_2.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn run_pipeline2(dataset: Vec, r1: i32, r2: i32, size: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_adult_csv` is never used [INFO] [stdout] --> src/pipelines/adult_dataset_reader.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_adult_csv(file_path: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_demo_separator` is never used [INFO] [stdout] --> src/pipelines/pipeline_3_diabetes.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn print_demo_separator() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diabetes` is never used [INFO] [stdout] --> src/pipelines/pipeline_3_diabetes.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn diabetes(rows: Vec, r1: i32, r2: i32, size: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_csv2` is never used [INFO] [stdout] --> src/pipelines/diabetes_dataset_reader.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn read_csv2(file_path: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "26db9ec5e83b07a1710706c7de0bf2f1d6233ca917b3390e6ea34c5fccf2b878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26db9ec5e83b07a1710706c7de0bf2f1d6233ca917b3390e6ea34c5fccf2b878", kill_on_drop: false }` [INFO] [stdout] 26db9ec5e83b07a1710706c7de0bf2f1d6233ca917b3390e6ea34c5fccf2b878 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2723746e7aeea6308803c178d7f078966f8079704d7c14a97117e8fd436a30d [INFO] running `Command { std: "docker" "start" "-a" "e2723746e7aeea6308803c178d7f078966f8079704d7c14a97117e8fd436a30d", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | if(current_degree == target_degree){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - if(current_degree == target_degree){ [INFO] [stdout] 96 + if current_degree == target_degree { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | if(i == n_features){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 100 - if(i == n_features){ [INFO] [stdout] 100 + if i == n_features { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::safe_vec::SafeVec` [INFO] [stdout] --> src/feature_encoders/minmax_scaler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::types::safe_vec::SafeVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/feature_encoders/feature_extraction/count_vectorizer.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | _ => !panic!("count vectorizer called on non-text column") [INFO] [stdout] | ^---------------------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling IncrementalFeatureEncoders v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/feature_encoders/feature_extraction/count_vectorizer.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | _ => !panic!("count vectorizer called on non-text column") [INFO] [stdout] | ^---------------------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/feature_encoders/one_hot_encoder.rs:44:60 [INFO] [stdout] | [INFO] [stdout] 44 | let inner_join = data.join(&value_pos_pairs).map(|(value, (row_id, (vector_index, len)))| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/feature_encoders/one_hot_encoder.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | .map(|(_, ((value, row_id), len))| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/feature_encoders/feature_extraction/hash_vectorizer.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | fn fit(&mut self, data: &Collection) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | fn fit(&mut self, data: &Collection) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/feature_encoders/minmax_scaler.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let len = match self.max_pq.len() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/feature_encoders/passthrough.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn fit(&mut self, data: &Collection) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timer` [INFO] [stdout] --> src/pipelines/pipeline_2.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let timer = Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/pipelines/pipeline_2.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn run_pipeline2(dataset: Vec, r1: i32, r2: i32, size: f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> src/pipelines/pipeline_2.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn run_pipeline2(dataset: Vec, r1: i32, r2: i32, size: f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timer_tmp` [INFO] [stdout] --> src/pipelines/pipeline_2.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let timer_tmp = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timer_tmp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pipelines/pipeline_2.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut input_df = input.to_collection(scope); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_count` is never used [INFO] [stdout] --> src/feature_encoders/feature_extraction/tfidf_transformer.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 97 | impl DocumentFrequencyAggregate { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | fn get_count(&self) -> isize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `combinations` is never read [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PolynomialFeaturesEncoder { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | combinations : Option>> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `polynomials` is never used [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl PolynomialFeaturesEncoder { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | fn polynomials(&self, input_vec: Vec) -> RowValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combinations_with_replacement` is never used [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn combinations_with_replacement(len: usize, min_degree: usize, max_degree: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recurse` is never used [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn recurse(i : usize, current_degree : usize, target_degree : usize, n_features : usize, combinations: &mut Vec>, current_comb... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `phantom_data` is never read [INFO] [stdout] --> src/feature_encoders/passthrough.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Passthrough < G: Scope> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | phantom_data: Option> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `phantom_data` is never read [INFO] [stdout] --> src/feature_encoders/function_encoder.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FunctionEncoder < G: Scope> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 9 | udf: Rc RowValue>, [INFO] [stdout] 10 | phantom_data: Option> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `IncrementalFeatureEncoders` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `incremental_feature_encoders` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | if(current_degree == target_degree){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - if(current_degree == target_degree){ [INFO] [stdout] 96 + if current_degree == target_degree { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | if(i == n_features){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 100 - if(i == n_features){ [INFO] [stdout] 100 + if i == n_features { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::safe_vec::SafeVec` [INFO] [stdout] --> src/feature_encoders/minmax_scaler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::types::safe_vec::SafeVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:96:7 [INFO] [stdout] | [INFO] [stdout] 96 | if(current_degree == target_degree){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - if(current_degree == target_degree){ [INFO] [stdout] 96 + if current_degree == target_degree { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | if(i == n_features){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 100 - if(i == n_features){ [INFO] [stdout] 100 + if i == n_features { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::safe_vec::SafeVec` [INFO] [stdout] --> src/feature_encoders/minmax_scaler.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::types::safe_vec::SafeVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/feature_encoders/feature_extraction/count_vectorizer.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | _ => !panic!("count vectorizer called on non-text column") [INFO] [stdout] | ^---------------------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/feature_encoders/feature_extraction/count_vectorizer.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | _ => !panic!("count vectorizer called on non-text column") [INFO] [stdout] | ^---------------------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/feature_encoders/feature_extraction/count_vectorizer.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | _ => !panic!("count vectorizer called on non-text column") [INFO] [stdout] | ^---------------------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/feature_encoders/feature_extraction/count_vectorizer.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | _ => !panic!("count vectorizer called on non-text column") [INFO] [stdout] | ^---------------------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/feature_encoders/one_hot_encoder.rs:44:60 [INFO] [stdout] | [INFO] [stdout] 44 | let inner_join = data.join(&value_pos_pairs).map(|(value, (row_id, (vector_index, len)))| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/feature_encoders/one_hot_encoder.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | .map(|(_, ((value, row_id), len))| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/feature_encoders/feature_extraction/hash_vectorizer.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | fn fit(&mut self, data: &Collection) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | fn fit(&mut self, data: &Collection) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/feature_encoders/minmax_scaler.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let len = match self.max_pq.len() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/feature_encoders/passthrough.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn fit(&mut self, data: &Collection) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/feature_encoders/one_hot_encoder.rs:44:60 [INFO] [stdout] | [INFO] [stdout] 44 | let inner_join = data.join(&value_pos_pairs).map(|(value, (row_id, (vector_index, len)))| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/feature_encoders/one_hot_encoder.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | .map(|(_, ((value, row_id), len))| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/feature_encoders/feature_extraction/hash_vectorizer.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | fn fit(&mut self, data: &Collection) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timer` [INFO] [stdout] --> src/pipelines/pipeline_2.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let timer = Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/pipelines/pipeline_2.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn run_pipeline2(dataset: Vec, r1: i32, r2: i32, size: f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> src/pipelines/pipeline_2.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn run_pipeline2(dataset: Vec, r1: i32, r2: i32, size: f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timer_tmp` [INFO] [stdout] --> src/pipelines/pipeline_2.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let timer_tmp = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timer_tmp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pipelines/pipeline_2.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut input_df = input.to_collection(scope); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | fn fit(&mut self, data: &Collection) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_count` is never used [INFO] [stdout] --> src/feature_encoders/feature_extraction/tfidf_transformer.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 97 | impl DocumentFrequencyAggregate { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | fn get_count(&self) -> isize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `combinations` is never read [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PolynomialFeaturesEncoder { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | combinations : Option>> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `polynomials` is never used [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl PolynomialFeaturesEncoder { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | fn polynomials(&self, input_vec: Vec) -> RowValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combinations_with_replacement` is never used [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn combinations_with_replacement(len: usize, min_degree: usize, max_degree: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recurse` is never used [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn recurse(i : usize, current_degree : usize, target_degree : usize, n_features : usize, combinations: &mut Vec>, current_comb... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `phantom_data` is never read [INFO] [stdout] --> src/feature_encoders/passthrough.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Passthrough < G: Scope> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | phantom_data: Option> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `phantom_data` is never read [INFO] [stdout] --> src/feature_encoders/function_encoder.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FunctionEncoder < G: Scope> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 9 | udf: Rc RowValue>, [INFO] [stdout] 10 | phantom_data: Option> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/feature_encoders/minmax_scaler.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let len = match self.max_pq.len() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/feature_encoders/passthrough.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn fit(&mut self, data: &Collection) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timer` [INFO] [stdout] --> src/pipelines/pipeline_2.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let timer = Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/pipelines/pipeline_2.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn run_pipeline2(dataset: Vec, r1: i32, r2: i32, size: f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> src/pipelines/pipeline_2.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn run_pipeline2(dataset: Vec, r1: i32, r2: i32, size: f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timer_tmp` [INFO] [stdout] --> src/pipelines/pipeline_2.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let timer_tmp = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timer_tmp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pipelines/pipeline_2.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut input_df = input.to_collection(scope); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/main.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | for j in 0..size2{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `initial_vec`, `get_integer`, `get_text`, `get_vec`, and `vector_append` are never used [INFO] [stdout] --> src/types/row_value.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 17 | impl RowValue { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 18 | [INFO] [stdout] 19 | pub fn initial_vec() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get_integer(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_text(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_vec(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn vector_append(self, other: &RowValue) -> RowValue{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_values`, `with_integer_vec`, `with_row_value`, `with_row_values`, and `find_indices` are never used [INFO] [stdout] --> src/types/row.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Row { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn with_values(integer: i64, float: f64, text: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn with_integer_vec(integers: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn with_row_value(val: RowValue) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn with_row_values(vals: Vec) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn find_indices(&self, predicate: F) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_map_and_len`, `new_with_vec`, and `new_with_val` are never used [INFO] [stdout] --> src/types/integer_assignment_aggregate.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | / impl PositionAssignmentAggregate [INFO] [stdout] 21 | | where T: Ord + Clone + Hash { [INFO] [stdout] | |___________________________- associated items in this implementation [INFO] [stdout] 22 | pub fn get_map_and_len(self) -> (SafeHashMap, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn new_with_vec(tokens : &Vec, mult : isize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn new_with_val(val : &T, mult : isize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OneHotEncoder` is never constructed [INFO] [stdout] --> src/feature_encoders/one_hot_encoder.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct OneHotEncoder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/feature_encoders/one_hot_encoder.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl OneHotEncoder { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new() -> Self<>{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_rounding` is never used [INFO] [stdout] --> src/feature_encoders/standard_scaler.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl StandardScaler { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn new_with_rounding(n_mean: i32, n_var: i32) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multi_column_encoder` is never used [INFO] [stdout] --> src/feature_encoders/multi_column_encoder.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn multi_column_encoder<'a, G: Scope>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CountVectorizer` is never constructed [INFO] [stdout] --> src/feature_encoders/feature_extraction/count_vectorizer.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct CountVectorizer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/feature_encoders/feature_extraction/count_vectorizer.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl CountVectorizer { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(binary : bool) -> Self<>{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashVectorizer` is never constructed [INFO] [stdout] --> src/feature_encoders/feature_extraction/hash_vectorizer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HashVectorizer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/feature_encoders/feature_extraction/hash_vectorizer.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl HashVectorizer { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(n_features : usize, binary : bool) -> Self<>{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TfidfTransformer` is never constructed [INFO] [stdout] --> src/feature_encoders/feature_extraction/tfidf_transformer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TfidfTransformer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_with_rounding` are never used [INFO] [stdout] --> src/feature_encoders/feature_extraction/tfidf_transformer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl TfidfTransformer { [INFO] [stdout] | ---------------------------------- associated functions in this implementation [INFO] [stdout] 17 | pub fn new() -> TfidfTransformer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new_with_rounding(n: i32) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_frequencies`, and `get_count` are never used [INFO] [stdout] --> src/feature_encoders/feature_extraction/tfidf_transformer.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 97 | impl DocumentFrequencyAggregate { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 98 | fn new(mut document: Vec, multiplicity: isize, round_to: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn get_frequencies(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn get_count(&self) -> isize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_to_decimal` is never used [INFO] [stdout] --> src/feature_encoders/feature_extraction/tfidf_transformer.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn round_to_decimal(vec : &Vec, n: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_tokenizer` is never used [INFO] [stdout] --> src/feature_encoders/feature_extraction/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn default_tokenizer(s: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PolynomialFeaturesEncoder` is never constructed [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PolynomialFeaturesEncoder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `polynomials` are never used [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl PolynomialFeaturesEncoder { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new(min_degree : usize, max_degree : usize) -> Self<>{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn polynomials(&self, input_vec: Vec) -> RowValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `polynomials_1d` is never used [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn polynomials_1d(value: f64, min_degree: usize, max_degree: usize) -> RowValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combinations_with_replacement` is never used [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn combinations_with_replacement(len: usize, min_degree: usize, max_degree: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recurse` is never used [INFO] [stdout] --> src/feature_encoders/polynomial_features_encoder.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn recurse(i : usize, current_degree : usize, target_degree : usize, n_features : usize, combinations: &mut Vec>, current_comb... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pipeline` is never constructed [INFO] [stdout] --> src/feature_encoders/pipeline.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Pipeline<'a, G : Scope> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/feature_encoders/pipeline.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a, G: Scope> Pipeline<'a, G> { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(config: Vec + 'a>>) -> Self<>{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Passthrough` is never constructed [INFO] [stdout] --> src/feature_encoders/passthrough.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Passthrough < G: Scope> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/feature_encoders/passthrough.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Passthrough { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionEncoder` is never constructed [INFO] [stdout] --> src/feature_encoders/function_encoder.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FunctionEncoder < G: Scope> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/feature_encoders/function_encoder.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl FunctionEncoder { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(udf: impl Fn(RowValue) -> RowValue + 'static) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrdinalEncoder` is never constructed [INFO] [stdout] --> src/feature_encoders/ordinal_encoder.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct OrdinalEncoder { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/feature_encoders/ordinal_encoder.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl OrdinalEncoder { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new() -> Self<>{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `difference` is never used [INFO] [stdout] --> src/pipelines/pipeline_2.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn difference(a: &[usize], b: &[usize]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_pipeline2` is never used [INFO] [stdout] --> src/pipelines/pipeline_2.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn run_pipeline2(dataset: Vec, r1: i32, r2: i32, size: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_adult_csv` is never used [INFO] [stdout] --> src/pipelines/adult_dataset_reader.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_adult_csv(file_path: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_demo_separator` is never used [INFO] [stdout] --> src/pipelines/pipeline_3_diabetes.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn print_demo_separator() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diabetes` is never used [INFO] [stdout] --> src/pipelines/pipeline_3_diabetes.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn diabetes(rows: Vec, r1: i32, r2: i32, size: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_csv2` is never used [INFO] [stdout] --> src/pipelines/diabetes_dataset_reader.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn read_csv2(file_path: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 20.16s [INFO] running `Command { std: "docker" "inspect" "e2723746e7aeea6308803c178d7f078966f8079704d7c14a97117e8fd436a30d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2723746e7aeea6308803c178d7f078966f8079704d7c14a97117e8fd436a30d", kill_on_drop: false }` [INFO] [stdout] e2723746e7aeea6308803c178d7f078966f8079704d7c14a97117e8fd436a30d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d591aa10e8bc3357388ef933ba7d8347457a2bc233f0ae713839183c50e87593 [INFO] running `Command { std: "docker" "start" "-a" "d591aa10e8bc3357388ef933ba7d8347457a2bc233f0ae713839183c50e87593", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/feature_encoders/polynomial_features_encoder.rs:96:7 [INFO] [stderr] | [INFO] [stderr] 96 | if(current_degree == target_degree){ [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 96 - if(current_degree == target_degree){ [INFO] [stderr] 96 + if current_degree == target_degree { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/feature_encoders/polynomial_features_encoder.rs:100:7 [INFO] [stderr] | [INFO] [stderr] 100 | if(i == n_features){ [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 100 - if(i == n_features){ [INFO] [stderr] 100 + if i == n_features { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::types::safe_vec::SafeVec` [INFO] [stderr] --> src/feature_encoders/minmax_scaler.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::types::safe_vec::SafeVec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/feature_encoders/feature_extraction/count_vectorizer.rs:30:26 [INFO] [stderr] | [INFO] [stderr] 30 | _ => !panic!("count vectorizer called on non-text column") [INFO] [stderr] | ^---------------------------------------------------- [INFO] [stderr] | || [INFO] [stderr] | |any code following this expression is unreachable [INFO] [stderr] | unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/feature_encoders/feature_extraction/count_vectorizer.rs:50:22 [INFO] [stderr] | [INFO] [stderr] 50 | _ => !panic!("count vectorizer called on non-text column") [INFO] [stderr] | ^---------------------------------------------------- [INFO] [stderr] | || [INFO] [stderr] | |any code following this expression is unreachable [INFO] [stderr] | unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/feature_encoders/one_hot_encoder.rs:44:60 [INFO] [stderr] | [INFO] [stderr] 44 | let inner_join = data.join(&value_pos_pairs).map(|(value, (row_id, (vector_index, len)))| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/feature_encoders/one_hot_encoder.rs:54:25 [INFO] [stderr] | [INFO] [stderr] 54 | .map(|(_, ((value, row_id), len))| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/feature_encoders/feature_extraction/hash_vectorizer.rs:23:23 [INFO] [stderr] | [INFO] [stderr] 23 | fn fit(&mut self, data: &Collection) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/feature_encoders/polynomial_features_encoder.rs:43:23 [INFO] [stderr] | [INFO] [stderr] 43 | fn fit(&mut self, data: &Collection) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `len` [INFO] [stderr] --> src/feature_encoders/minmax_scaler.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | let len = match self.max_pq.len() { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/feature_encoders/passthrough.rs:19:23 [INFO] [stderr] | [INFO] [stderr] 19 | fn fit(&mut self, data: &Collection) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `timer` [INFO] [stderr] --> src/pipelines/pipeline_2.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | let timer = Instant::now(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_timer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r1` [INFO] [stderr] --> src/pipelines/pipeline_2.rs:17:41 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn run_pipeline2(dataset: Vec, r1: i32, r2: i32, size: f32) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r2` [INFO] [stderr] --> src/pipelines/pipeline_2.rs:17:50 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn run_pipeline2(dataset: Vec, r1: i32, r2: i32, size: f32) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `timer_tmp` [INFO] [stderr] --> src/pipelines/pipeline_2.rs:73:17 [INFO] [stderr] | [INFO] [stderr] 73 | let timer_tmp = Instant::now(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timer_tmp` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/pipelines/pipeline_2.rs:45:17 [INFO] [stderr] | [INFO] [stderr] 45 | let mut input_df = input.to_collection(scope); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_count` is never used [INFO] [stderr] --> src/feature_encoders/feature_extraction/tfidf_transformer.rs:115:8 [INFO] [stderr] | [INFO] [stderr] 97 | impl DocumentFrequencyAggregate { [INFO] [stderr] | ------------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 115 | fn get_count(&self) -> isize { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `combinations` is never read [INFO] [stderr] --> src/feature_encoders/polynomial_features_encoder.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct PolynomialFeaturesEncoder { [INFO] [stderr] | ------------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 11 | combinations : Option>> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `polynomials` is never used [INFO] [stderr] --> src/feature_encoders/polynomial_features_encoder.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 14 | impl PolynomialFeaturesEncoder { [INFO] [stderr] | ------------------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 19 | fn polynomials(&self, input_vec: Vec) -> RowValue { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `combinations_with_replacement` is never used [INFO] [stderr] --> src/feature_encoders/polynomial_features_encoder.rs:86:4 [INFO] [stderr] | [INFO] [stderr] 86 | fn combinations_with_replacement(len: usize, min_degree: usize, max_degree: usize) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `recurse` is never used [INFO] [stderr] --> src/feature_encoders/polynomial_features_encoder.rs:95:4 [INFO] [stderr] | [INFO] [stderr] 95 | fn recurse(i : usize, current_degree : usize, target_degree : usize, n_features : usize, combinations: &mut Vec>, current_comb... [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `phantom_data` is never read [INFO] [stderr] --> src/feature_encoders/passthrough.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Passthrough < G: Scope> { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 8 | phantom_data: Option> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `phantom_data` is never read [INFO] [stderr] --> src/feature_encoders/function_encoder.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct FunctionEncoder < G: Scope> { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 9 | udf: Rc RowValue>, [INFO] [stderr] 10 | phantom_data: Option> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: crate `IncrementalFeatureEncoders` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = help: convert the identifier to snake case: `incremental_feature_encoders` [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `IncrementalFeatureEncoders` (lib) generated 24 warnings (run `cargo fix --lib -p IncrementalFeatureEncoders` to apply 4 suggestions) [INFO] [stderr] warning: `IncrementalFeatureEncoders` (lib test) generated 23 warnings (23 duplicates) [INFO] [stderr] warning: unused variable: `j` [INFO] [stderr] --> src/main.rs:356:17 [INFO] [stderr] | [INFO] [stderr] 356 | for j in 0..size2{ [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stderr] [INFO] [stderr] warning: associated items `initial_vec`, `get_integer`, `get_text`, `get_vec`, and `vector_append` are never used [INFO] [stderr] --> src/types/row_value.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 17 | impl RowValue { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] 18 | [INFO] [stderr] 19 | pub fn initial_vec() -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn get_integer(&self) -> i64 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | pub fn get_text(&self) -> &String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn get_vec(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn vector_append(self, other: &RowValue) -> RowValue{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `with_values`, `with_integer_vec`, `with_row_value`, `with_row_values`, and `find_indices` are never used [INFO] [stderr] --> src/types/row.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl Row { [INFO] [stderr] | -------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 23 | pub fn with_values(integer: i64, float: f64, text: String) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn with_integer_vec(integers: Vec) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn with_row_value(val: RowValue) -> Self{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn with_row_values(vals: Vec) -> Self{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | pub fn find_indices(&self, predicate: F) -> Vec [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `get_map_and_len`, `new_with_vec`, and `new_with_val` are never used [INFO] [stderr] --> src/types/integer_assignment_aggregate.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 20 | / impl PositionAssignmentAggregate [INFO] [stderr] 21 | | where T: Ord + Clone + Hash { [INFO] [stderr] | |___________________________- associated items in this implementation [INFO] [stderr] 22 | pub fn get_map_and_len(self) -> (SafeHashMap, usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn new_with_vec(tokens : &Vec, mult : isize) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn new_with_val(val : &T, mult : isize) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OneHotEncoder` is never constructed [INFO] [stderr] --> src/feature_encoders/one_hot_encoder.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct OneHotEncoder { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/feature_encoders/one_hot_encoder.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl OneHotEncoder { [INFO] [stderr] | ------------------------------- associated function in this implementation [INFO] [stderr] 15 | pub fn new() -> Self<>{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new_with_rounding` is never used [INFO] [stderr] --> src/feature_encoders/standard_scaler.rs:73:12 [INFO] [stderr] | [INFO] [stderr] 68 | impl StandardScaler { [INFO] [stderr] | -------------------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 73 | pub fn new_with_rounding(n_mean: i32, n_var: i32) -> Self{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `multi_column_encoder` is never used [INFO] [stderr] --> src/feature_encoders/multi_column_encoder.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn multi_column_encoder<'a, G: Scope>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `CountVectorizer` is never constructed [INFO] [stderr] --> src/feature_encoders/feature_extraction/count_vectorizer.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct CountVectorizer { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/feature_encoders/feature_extraction/count_vectorizer.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl CountVectorizer { [INFO] [stderr] | --------------------------------- associated function in this implementation [INFO] [stderr] 18 | pub fn new(binary : bool) -> Self<>{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `HashVectorizer` is never constructed [INFO] [stderr] --> src/feature_encoders/feature_extraction/hash_vectorizer.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct HashVectorizer { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/feature_encoders/feature_extraction/hash_vectorizer.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl HashVectorizer { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] 16 | pub fn new(n_features : usize, binary : bool) -> Self<>{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TfidfTransformer` is never constructed [INFO] [stderr] --> src/feature_encoders/feature_extraction/tfidf_transformer.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct TfidfTransformer { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `new` and `new_with_rounding` are never used [INFO] [stderr] --> src/feature_encoders/feature_extraction/tfidf_transformer.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl TfidfTransformer { [INFO] [stderr] | ---------------------------------- associated functions in this implementation [INFO] [stderr] 17 | pub fn new() -> TfidfTransformer { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub fn new_with_rounding(n: i32) -> Self{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `get_frequencies`, and `get_count` are never used [INFO] [stderr] --> src/feature_encoders/feature_extraction/tfidf_transformer.rs:98:8 [INFO] [stderr] | [INFO] [stderr] 97 | impl DocumentFrequencyAggregate { [INFO] [stderr] | ------------------------------- associated items in this implementation [INFO] [stderr] 98 | fn new(mut document: Vec, multiplicity: isize, round_to: Option) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 105 | fn get_frequencies(&self) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 115 | fn get_count(&self) -> isize { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `round_to_decimal` is never used [INFO] [stderr] --> src/feature_encoders/feature_extraction/tfidf_transformer.rs:120:4 [INFO] [stderr] | [INFO] [stderr] 120 | fn round_to_decimal(vec : &Vec, n: i32) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `default_tokenizer` is never used [INFO] [stderr] --> src/feature_encoders/feature_extraction/utils.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn default_tokenizer(s: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PolynomialFeaturesEncoder` is never constructed [INFO] [stderr] --> src/feature_encoders/polynomial_features_encoder.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct PolynomialFeaturesEncoder { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `polynomials` are never used [INFO] [stderr] --> src/feature_encoders/polynomial_features_encoder.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl PolynomialFeaturesEncoder { [INFO] [stderr] | ------------------------------ associated items in this implementation [INFO] [stderr] 15 | pub fn new(min_degree : usize, max_degree : usize) -> Self<>{ [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | fn polynomials(&self, input_vec: Vec) -> RowValue { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `polynomials_1d` is never used [INFO] [stderr] --> src/feature_encoders/polynomial_features_encoder.rs:76:4 [INFO] [stderr] | [INFO] [stderr] 76 | fn polynomials_1d(value: f64, min_degree: usize, max_degree: usize) -> RowValue { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Pipeline` is never constructed [INFO] [stderr] --> src/feature_encoders/pipeline.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Pipeline<'a, G : Scope> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/feature_encoders/pipeline.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl<'a, G: Scope> Pipeline<'a, G> { [INFO] [stderr] | ---------------------------------- associated function in this implementation [INFO] [stderr] 12 | pub fn new(config: Vec + 'a>>) -> Self<>{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Passthrough` is never constructed [INFO] [stderr] --> src/feature_encoders/passthrough.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Passthrough < G: Scope> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/feature_encoders/passthrough.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl Passthrough { [INFO] [stderr] | ----------------------------- associated function in this implementation [INFO] [stderr] 12 | pub fn new() -> Self{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `FunctionEncoder` is never constructed [INFO] [stderr] --> src/feature_encoders/function_encoder.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct FunctionEncoder < G: Scope> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/feature_encoders/function_encoder.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl FunctionEncoder { [INFO] [stderr] | --------------------------------- associated function in this implementation [INFO] [stderr] 15 | pub fn new(udf: impl Fn(RowValue) -> RowValue + 'static) -> Self{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OrdinalEncoder` is never constructed [INFO] [stderr] --> src/feature_encoders/ordinal_encoder.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct OrdinalEncoder { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/feature_encoders/ordinal_encoder.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl OrdinalEncoder { [INFO] [stderr] | -------------------------------- associated function in this implementation [INFO] [stderr] 14 | pub fn new() -> Self<>{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `difference` is never used [INFO] [stderr] --> src/pipelines/pipeline_2.rs:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | fn difference(a: &[usize], b: &[usize]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run_pipeline2` is never used [INFO] [stderr] --> src/pipelines/pipeline_2.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn run_pipeline2(dataset: Vec, r1: i32, r2: i32, size: f32) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_adult_csv` is never used [INFO] [stderr] --> src/pipelines/adult_dataset_reader.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn read_adult_csv(file_path: &str) -> Result, Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `print_demo_separator` is never used [INFO] [stderr] --> src/pipelines/pipeline_3_diabetes.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | pub(crate) fn print_demo_separator() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `diabetes` is never used [INFO] [stderr] --> src/pipelines/pipeline_3_diabetes.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn diabetes(rows: Vec, r1: i32, r2: i32, size: f32) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_csv2` is never used [INFO] [stderr] --> src/pipelines/diabetes_dataset_reader.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn read_csv2(file_path: &str) -> Result, Box> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `IncrementalFeatureEncoders` (bin "DifferentialDataflowMLPipelines" test) generated 52 warnings (18 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/IncrementalFeatureEncoders-3effad475c9ccb82) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test feature_encoders::standard_scaler::tests::standard_scaler_works ... ok [INFO] [stdout] test feature_encoders::minmax_scaler::tests::min_max_works ... ok [INFO] [stdout] test feature_encoders::kbins_discretizer::tests::kbins_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/DifferentialDataflowMLPipelines-5ee8a36d6c653913) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test feature_encoders::minmax_scaler::tests::min_max_works ... ok [INFO] [stdout] test feature_encoders::standard_scaler::tests::standard_scaler_works ... ok [INFO] [stdout] test feature_encoders::kbins_discretizer::tests::kbins_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests IncrementalFeatureEncoders [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/feature_encoders/polynomial_features_encoder.rs:96:7 [INFO] [stderr] | [INFO] [stderr] 96 | if(current_degree == target_degree){ [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 96 - if(current_degree == target_degree){ [INFO] [stderr] 96 + if current_degree == target_degree { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/feature_encoders/polynomial_features_encoder.rs:100:7 [INFO] [stderr] | [INFO] [stderr] 100 | if(i == n_features){ [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 100 - if(i == n_features){ [INFO] [stderr] 100 + if i == n_features { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d591aa10e8bc3357388ef933ba7d8347457a2bc233f0ae713839183c50e87593", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d591aa10e8bc3357388ef933ba7d8347457a2bc233f0ae713839183c50e87593", kill_on_drop: false }` [INFO] [stdout] d591aa10e8bc3357388ef933ba7d8347457a2bc233f0ae713839183c50e87593