[INFO] cloning repository https://github.com/abedinia/rust_decision_tree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abedinia/rust_decision_tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabedinia%2Frust_decision_tree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabedinia%2Frust_decision_tree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 61aef5674f869975236eaafd8f30433065577bb5 [INFO] testing abedinia/rust_decision_tree against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabedinia%2Frust_decision_tree" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/abedinia/rust_decision_tree on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/abedinia/rust_decision_tree [INFO] finished tweaking git repo https://github.com/abedinia/rust_decision_tree [INFO] tweaked toml for git repo https://github.com/abedinia/rust_decision_tree written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/abedinia/rust_decision_tree 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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52166d1071f60fb2d2abf1f109ea9aca9032562a06097de507e8b322c481b635 [INFO] running `Command { std: "docker" "start" "-a" "52166d1071f60fb2d2abf1f109ea9aca9032562a06097de507e8b322c481b635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52166d1071f60fb2d2abf1f109ea9aca9032562a06097de507e8b322c481b635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52166d1071f60fb2d2abf1f109ea9aca9032562a06097de507e8b322c481b635", kill_on_drop: false }` [INFO] [stdout] 52166d1071f60fb2d2abf1f109ea9aca9032562a06097de507e8b322c481b635 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea840881d116cd19b53e7cf04c0714de122d67c8645149ac103361c51c36396e [INFO] running `Command { std: "docker" "start" "-a" "ea840881d116cd19b53e7cf04c0714de122d67c8645149ac103361c51c36396e", kill_on_drop: false }` [INFO] [stderr] Compiling decision_tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn divide_on_feature(X: &Vec>, feature_i: usize, threshold: f64) -> (Vec>, Vec>) { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn build_tree(&mut self, X: &Vec>, y: &Vec, current_depth: usize) -> DecisionNode { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X_left` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | let (X_left, X_right) = DecisionTree::divide_on_feature(X, feature_i, threshold); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X_right` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | let (X_left, X_right) = DecisionTree::divide_on_feature(X, feature_i, threshold); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftX` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | let (leftX, lefty, rightX, righty) = best_sets.unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `left_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightX` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:126:32 [INFO] [stdout] | [INFO] [stdout] 126 | let (leftX, lefty, rightX, righty) = best_sets.unwrap(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `right_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:136:27 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn fit(&mut self, X: Vec>, y: Vec) { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:152:27 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn predict(&self, X: Vec>) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/classification_tree.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn fit(&mut self, X: Vec>, y: Vec) { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/classification_tree.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn predict(&self, X: Vec>) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "ea840881d116cd19b53e7cf04c0714de122d67c8645149ac103361c51c36396e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea840881d116cd19b53e7cf04c0714de122d67c8645149ac103361c51c36396e", kill_on_drop: false }` [INFO] [stdout] ea840881d116cd19b53e7cf04c0714de122d67c8645149ac103361c51c36396e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7babdcbe59f78ba71b207327a93acecf70a0019695cd2ee0e969ff2c70b9b26b [INFO] running `Command { std: "docker" "start" "-a" "7babdcbe59f78ba71b207327a93acecf70a0019695cd2ee0e969ff2c70b9b26b", kill_on_drop: false }` [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn divide_on_feature(X: &Vec>, feature_i: usize, threshold: f64) -> (Vec>, Vec>) { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn build_tree(&mut self, X: &Vec>, y: &Vec, current_depth: usize) -> DecisionNode { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X_left` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | let (X_left, X_right) = DecisionTree::divide_on_feature(X, feature_i, threshold); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X_right` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | let (X_left, X_right) = DecisionTree::divide_on_feature(X, feature_i, threshold); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftX` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | let (leftX, lefty, rightX, righty) = best_sets.unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `left_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling decision_tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `rightX` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:126:32 [INFO] [stdout] | [INFO] [stdout] 126 | let (leftX, lefty, rightX, righty) = best_sets.unwrap(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `right_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:136:27 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn fit(&mut self, X: Vec>, y: Vec) { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:152:27 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn predict(&self, X: Vec>) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/classification_tree.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn fit(&mut self, X: Vec>, y: Vec) { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/classification_tree.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn predict(&self, X: Vec>) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn divide_on_feature(X: &Vec>, feature_i: usize, threshold: f64) -> (Vec>, Vec>) { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn build_tree(&mut self, X: &Vec>, y: &Vec, current_depth: usize) -> DecisionNode { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X_left` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | let (X_left, X_right) = DecisionTree::divide_on_feature(X, feature_i, threshold); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X_right` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | let (X_left, X_right) = DecisionTree::divide_on_feature(X, feature_i, threshold); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `leftX` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | let (leftX, lefty, rightX, righty) = best_sets.unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `left_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rightX` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:126:32 [INFO] [stdout] | [INFO] [stdout] 126 | let (leftX, lefty, rightX, righty) = best_sets.unwrap(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `right_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:136:27 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn fit(&mut self, X: Vec>, y: Vec) { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/decision_tree.rs:152:27 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn predict(&self, X: Vec>) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/classification_tree.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn fit(&mut self, X: Vec>, y: Vec) { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/classification_tree.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn predict(&self, X: Vec>) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "7babdcbe59f78ba71b207327a93acecf70a0019695cd2ee0e969ff2c70b9b26b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7babdcbe59f78ba71b207327a93acecf70a0019695cd2ee0e969ff2c70b9b26b", kill_on_drop: false }` [INFO] [stdout] 7babdcbe59f78ba71b207327a93acecf70a0019695cd2ee0e969ff2c70b9b26b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e09f75ea701f5ffcaad950a3b976221e087817cfa0e0b3001a379549aaf07692 [INFO] running `Command { std: "docker" "start" "-a" "e09f75ea701f5ffcaad950a3b976221e087817cfa0e0b3001a379549aaf07692", kill_on_drop: false }` [INFO] [stderr] warning: variable `X` should have a snake case name [INFO] [stderr] --> src/decision_tree.rs:75:30 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn divide_on_feature(X: &Vec>, feature_i: usize, threshold: f64) -> (Vec>, Vec>) { [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `X` should have a snake case name [INFO] [stderr] --> src/decision_tree.rs:88:34 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn build_tree(&mut self, X: &Vec>, y: &Vec, current_depth: usize) -> DecisionNode { [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stderr] [INFO] [stderr] warning: variable `X_left` should have a snake case name [INFO] [stderr] --> src/decision_tree.rs:100:26 [INFO] [stderr] | [INFO] [stderr] 100 | let (X_left, X_right) = DecisionTree::divide_on_feature(X, feature_i, threshold); [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_left` [INFO] [stderr] [INFO] [stderr] warning: variable `X_right` should have a snake case name [INFO] [stderr] --> src/decision_tree.rs:100:34 [INFO] [stderr] | [INFO] [stderr] 100 | let (X_left, X_right) = DecisionTree::divide_on_feature(X, feature_i, threshold); [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `x_right` [INFO] [stderr] [INFO] [stderr] warning: variable `leftX` should have a snake case name [INFO] [stderr] --> src/decision_tree.rs:126:18 [INFO] [stderr] | [INFO] [stderr] 126 | let (leftX, lefty, rightX, righty) = best_sets.unwrap(); [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `left_x` [INFO] [stderr] [INFO] [stderr] warning: variable `rightX` should have a snake case name [INFO] [stderr] --> src/decision_tree.rs:126:32 [INFO] [stderr] | [INFO] [stderr] 126 | let (leftX, lefty, rightX, righty) = best_sets.unwrap(); [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `right_x` [INFO] [stderr] [INFO] [stderr] warning: variable `X` should have a snake case name [INFO] [stderr] --> src/decision_tree.rs:136:27 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn fit(&mut self, X: Vec>, y: Vec) { [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stderr] [INFO] [stderr] warning: variable `X` should have a snake case name [INFO] [stderr] --> src/decision_tree.rs:152:27 [INFO] [stderr] | [INFO] [stderr] 152 | pub fn predict(&self, X: Vec>) -> Vec { [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stderr] [INFO] [stderr] warning: variable `X` should have a snake case name [INFO] [stderr] --> src/classification_tree.rs:45:27 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn fit(&mut self, X: Vec>, y: Vec) { [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stderr] [INFO] [stderr] warning: variable `X` should have a snake case name [INFO] [stderr] --> src/classification_tree.rs:49:27 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn predict(&self, X: Vec>) -> Vec { [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stderr] [INFO] [stderr] warning: `decision_tree` (lib) generated 10 warnings [INFO] [stderr] warning: `decision_tree` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/decision_tree-149c401037da6d0b) [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] [stderr] Doc-tests decision_tree [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" "e09f75ea701f5ffcaad950a3b976221e087817cfa0e0b3001a379549aaf07692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e09f75ea701f5ffcaad950a3b976221e087817cfa0e0b3001a379549aaf07692", kill_on_drop: false }` [INFO] [stdout] e09f75ea701f5ffcaad950a3b976221e087817cfa0e0b3001a379549aaf07692