[INFO] cloning repository https://github.com/CameronSA/xgboost-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CameronSA/xgboost-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCameronSA%2Fxgboost-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCameronSA%2Fxgboost-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 59f7afa2a63b1393a2aec48d8ab844017e023ea0
[INFO] checking CameronSA/xgboost-rust against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCameronSA%2Fxgboost-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/CameronSA/xgboost-rust
[INFO] finished tweaking git repo https://github.com/CameronSA/xgboost-rust
[INFO] tweaked toml for git repo https://github.com/CameronSA/xgboost-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CameronSA/xgboost-rust on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/CameronSA/xgboost-rust 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro2 v1.0.47
[INFO] [stderr]   Downloaded uuid-macro-internal v1.2.2
[INFO] [stderr]   Downloaded uuid v1.2.2
[INFO] [stderr]   Downloaded syn v1.0.103
[INFO] [stderr]   Downloaded libc v0.2.137
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bbcdf68d403af28008e7998490e4e6bcdbfd6bbe8809735ddc50d23a7448eff0
[INFO] running `Command { std: "docker" "start" "-a" "bbcdf68d403af28008e7998490e4e6bcdbfd6bbe8809735ddc50d23a7448eff0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bbcdf68d403af28008e7998490e4e6bcdbfd6bbe8809735ddc50d23a7448eff0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bbcdf68d403af28008e7998490e4e6bcdbfd6bbe8809735ddc50d23a7448eff0", kill_on_drop: false }`
[INFO] [stdout] bbcdf68d403af28008e7998490e4e6bcdbfd6bbe8809735ddc50d23a7448eff0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3ff22a81b87ba57d1bcf881ce3ca03daa25c6e7baf56ce6f008751d5f02312fb
[INFO] running `Command { std: "docker" "start" "-a" "3ff22a81b87ba57d1bcf881ce3ca03daa25c6e7baf56ce6f008751d5f02312fb", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling proc-macro2 v1.0.47
[INFO] [stderr]    Compiling syn v1.0.103
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling uuid-macro-internal v1.2.2
[INFO] [stderr]     Checking uuid v1.2.2
[INFO] [stderr]     Checking xgboost-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `Node`
[INFO] [stdout]    --> src/objects/objects.rs:260:13
[INFO] [stdout]     |
[INFO] [stdout] 260 |             Node => None,
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `None`
[INFO] [stdout]     |
[INFO] [stdout] 260 -             Node => None,
[INFO] [stdout] 260 +             std::prelude::v1::None => None,
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 260 |             _Node => None,
[INFO] [stdout]     |             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `Node`
[INFO] [stdout]    --> src/objects/objects.rs:269:13
[INFO] [stdout]     |
[INFO] [stdout] 269 |             Node => None,
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `None`
[INFO] [stdout]     |
[INFO] [stdout] 269 -             Node => None,
[INFO] [stdout] 269 +             std::prelude::v1::None => None,
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 269 |             _Node => None,
[INFO] [stdout]     |             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sort_column`
[INFO] [stdout]    --> src/algorithm/algorithm.rs:314:50
[INFO] [stdout]     |
[INFO] [stdout] 314 |     fn sort_dataframe(&self, dataset: DataFrame, sort_column: &String) -> DataFrame {
[INFO] [stdout]     |                                                  ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sort_column`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `train_result`
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let train_result = model.train(&dataframe_labelled, "col3", &["col1".to_string(),"col2".to_string()].to_vec());
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_train_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndexValue` is never constructed
[INFO] [stdout]  --> src/objects/objects.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct IndexValue {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `index`, and `value` are never used
[INFO] [stdout]   --> src/objects/objects.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl IndexValue {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 13 |     fn new(index: usize, value: f64) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn index(&self) -> &usize {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn value(&self) -> &f64 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_unlabelled` and `sort` are never used
[INFO] [stdout]    --> src/objects/objects.rs:38:12
[INFO] [stdout]     |
[INFO] [stdout]  26 | impl DataFrame {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  38 |     pub fn new_unlabelled(n_columns: usize, data_matrix: Vec<f64>) -> DataFrame {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub fn sort(self, column: &String) -> DataFrame {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `column_index` and `column_split_value` are never read
[INFO] [stdout]    --> src/objects/objects.rs:201:5
[INFO] [stdout]     |
[INFO] [stdout] 200 | pub struct Node {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] 201 |     column_index: Option<usize>,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 202 |     column_split_value: Option<f64>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `column_index`, `column_split_value`, `residuals_column`, and `regularisation` are never used
[INFO] [stdout]    --> src/objects/objects.rs:229:12
[INFO] [stdout]     |
[INFO] [stdout] 210 | impl Node {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 229 |     pub fn column_index(&self) -> Option<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 233 |     pub fn column_split_value(&self) -> Option<f64> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 241 |     pub fn residuals_column(&self) -> &String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 245 |     pub fn regularisation(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `learning_rate` and `n_estimators` are never read
[INFO] [stdout]  --> src/algorithm/algorithm.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct XGBoost {
[INFO] [stdout]   |            ------- fields in this struct
[INFO] [stdout] 8 |     learning_rate: f64,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 9 |     n_estimators: i32,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Node` should have a snake case name
[INFO] [stdout]    --> src/objects/objects.rs:260:13
[INFO] [stdout]     |
[INFO] [stdout] 260 |             Node => None,
[INFO] [stdout]     |             ^^^^ help: convert the identifier to snake case: `node`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Node` should have a snake case name
[INFO] [stdout]    --> src/objects/objects.rs:269:13
[INFO] [stdout]     |
[INFO] [stdout] 269 |             Node => None,
[INFO] [stdout]     |             ^^^^ help: convert the identifier to snake case: `node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `Node`
[INFO] [stdout]    --> src/objects/objects.rs:260:13
[INFO] [stdout]     |
[INFO] [stdout] 260 |             Node => None,
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `None`
[INFO] [stdout]     |
[INFO] [stdout] 260 -             Node => None,
[INFO] [stdout] 260 +             std::prelude::v1::None => None,
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 260 |             _Node => None,
[INFO] [stdout]     |             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `Node`
[INFO] [stdout]    --> src/objects/objects.rs:269:13
[INFO] [stdout]     |
[INFO] [stdout] 269 |             Node => None,
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named variant `None`
[INFO] [stdout]     |
[INFO] [stdout] 269 -             Node => None,
[INFO] [stdout] 269 +             std::prelude::v1::None => None,
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 269 |             _Node => None,
[INFO] [stdout]     |             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `column_vals`
[INFO] [stdout]    --> src/objects/objects.rs:547:13
[INFO] [stdout]     |
[INFO] [stdout] 547 |         let column_vals = df.get_columns(&["invalid", "col3"].map(String::from).to_vec());
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_vals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sort_column`
[INFO] [stdout]    --> src/algorithm/algorithm.rs:314:50
[INFO] [stdout]     |
[INFO] [stdout] 314 |     fn sort_dataframe(&self, dataset: DataFrame, sort_column: &String) -> DataFrame {
[INFO] [stdout]     |                                                  ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sort_column`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `train_result`
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let train_result = model.train(&dataframe_labelled, "col3", &["col1".to_string(),"col2".to_string()].to_vec());
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_train_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndexValue` is never constructed
[INFO] [stdout]  --> src/objects/objects.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct IndexValue {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `index`, and `value` are never used
[INFO] [stdout]   --> src/objects/objects.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl IndexValue {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 13 |     fn new(index: usize, value: f64) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn index(&self) -> &usize {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn value(&self) -> &f64 {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `sort` is never used
[INFO] [stdout]    --> src/objects/objects.rs:154:12
[INFO] [stdout]     |
[INFO] [stdout]  26 | impl DataFrame {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub fn sort(self, column: &String) -> DataFrame {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `learning_rate` and `n_estimators` are never read
[INFO] [stdout]  --> src/algorithm/algorithm.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct XGBoost {
[INFO] [stdout]   |            ------- fields in this struct
[INFO] [stdout] 8 |     learning_rate: f64,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 9 |     n_estimators: i32,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Node` should have a snake case name
[INFO] [stdout]    --> src/objects/objects.rs:260:13
[INFO] [stdout]     |
[INFO] [stdout] 260 |             Node => None,
[INFO] [stdout]     |             ^^^^ help: convert the identifier to snake case: `node`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Node` should have a snake case name
[INFO] [stdout]    --> src/objects/objects.rs:269:13
[INFO] [stdout]     |
[INFO] [stdout] 269 |             Node => None,
[INFO] [stdout]     |             ^^^^ help: convert the identifier to snake case: `node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.56s
[INFO] running `Command { std: "docker" "inspect" "3ff22a81b87ba57d1bcf881ce3ca03daa25c6e7baf56ce6f008751d5f02312fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ff22a81b87ba57d1bcf881ce3ca03daa25c6e7baf56ce6f008751d5f02312fb", kill_on_drop: false }`
[INFO] [stdout] 3ff22a81b87ba57d1bcf881ce3ca03daa25c6e7baf56ce6f008751d5f02312fb
