[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] checking abedinia/rust_decision_tree against try#5785402183672f7786e9dc343d7b435bdaf4a4bc for pr-138001 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabedinia%2Frust_decision_tree" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/abedinia/rust_decision_tree on toolchain 5785402183672f7786e9dc343d7b435bdaf4a4bc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "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-6-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" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48262b6ea3c5ea3e0cb06026c3bbe0fc33eacb76de71dc7f94810e00cbf6bc0d [INFO] running `Command { std: "docker" "start" "-a" "48262b6ea3c5ea3e0cb06026c3bbe0fc33eacb76de71dc7f94810e00cbf6bc0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48262b6ea3c5ea3e0cb06026c3bbe0fc33eacb76de71dc7f94810e00cbf6bc0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48262b6ea3c5ea3e0cb06026c3bbe0fc33eacb76de71dc7f94810e00cbf6bc0d", kill_on_drop: false }` [INFO] [stdout] 48262b6ea3c5ea3e0cb06026c3bbe0fc33eacb76de71dc7f94810e00cbf6bc0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 136b4689c6ca6457d4049a36eb58c24b6f654bf0868310ccf665f96669df0dd1 [INFO] running `Command { std: "docker" "start" "-a" "136b4689c6ca6457d4049a36eb58c24b6f654bf0868310ccf665f96669df0dd1", kill_on_drop: false }` [INFO] [stderr] Checking 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] [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.11s [INFO] running `Command { std: "docker" "inspect" "136b4689c6ca6457d4049a36eb58c24b6f654bf0868310ccf665f96669df0dd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "136b4689c6ca6457d4049a36eb58c24b6f654bf0868310ccf665f96669df0dd1", kill_on_drop: false }` [INFO] [stdout] 136b4689c6ca6457d4049a36eb58c24b6f654bf0868310ccf665f96669df0dd1