[INFO] cloning repository https://github.com/lintangkosesar/svm_knn_qt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lintangkosesar/svm_knn_qt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flintangkosesar%2Fsvm_knn_qt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flintangkosesar%2Fsvm_knn_qt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b0ca54323da19097dc307f21653233576d926c42
[INFO] testing lintangkosesar/svm_knn_qt against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flintangkosesar%2Fsvm_knn_qt" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lintangkosesar/svm_knn_qt
[INFO] finished tweaking git repo https://github.com/lintangkosesar/svm_knn_qt
[INFO] tweaked toml for git repo https://github.com/lintangkosesar/svm_knn_qt written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lintangkosesar/svm_knn_qt on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lintangkosesar/svm_knn_qt 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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded linfa-logistic v0.6.1
[INFO] [stderr]   Downloaded matrixmultiply v0.3.9
[INFO] [stderr]   Downloaded rand_xorshift v0.3.0
[INFO] [stderr]   Downloaded float-ord v0.3.2
[INFO] [stderr]   Downloaded yeslogic-fontconfig-sys v6.0.0
[INFO] [stderr]   Downloaded plotters-bitmap v0.3.7
[INFO] [stderr]   Downloaded noisy_float v0.2.0
[INFO] [stderr]   Downloaded ndarray-rand v0.14.0
[INFO] [stderr]   Downloaded csv-core v0.1.12
[INFO] [stderr]   Downloaded slog-async v2.8.0
[INFO] [stderr]   Downloaded slog-json v2.6.1
[INFO] [stderr]   Downloaded term v0.7.0
[INFO] [stderr]   Downloaded slog v2.7.0
[INFO] [stderr]   Downloaded ndarray-stats v0.5.1
[INFO] [stderr]   Downloaded slog-term v2.9.1
[INFO] [stderr]   Downloaded linfa v0.6.1
[INFO] [stderr]   Downloaded pathfinder_simd v0.5.4
[INFO] [stderr]   Downloaded font-kit v0.14.2
[INFO] [stderr]   Downloaded argmin v0.4.7
[INFO] [stderr]   Downloaded csv v1.3.1
[INFO] [stderr]   Downloaded freetype-sys v0.20.1
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bc691aa7a500ef5886e78e1c1764aaae4075b90728d40d6b4276439fef3a14bd
[INFO] running `Command { std: "docker" "start" "-a" "bc691aa7a500ef5886e78e1c1764aaae4075b90728d40d6b4276439fef3a14bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bc691aa7a500ef5886e78e1c1764aaae4075b90728d40d6b4276439fef3a14bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc691aa7a500ef5886e78e1c1764aaae4075b90728d40d6b4276439fef3a14bd", kill_on_drop: false }`
[INFO] [stdout] bc691aa7a500ef5886e78e1c1764aaae4075b90728d40d6b4276439fef3a14bd
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 546ce6604755b1a76607f48a82f246c660c8955fbbc76c8be16abe9f3eca1e2f
[INFO] running `Command { std: "docker" "start" "-a" "546ce6604755b1a76607f48a82f246c660c8955fbbc76c8be16abe9f3eca1e2f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libm v0.2.13
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling matrixmultiply v0.3.9
[INFO] [stderr]    Compiling slog v2.7.0
[INFO] [stderr]    Compiling cc v1.2.19
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling miniz_oxide v0.8.8
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling yeslogic-fontconfig-sys v6.0.0
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling flate2 v1.1.1
[INFO] [stderr]    Compiling libloading v0.8.6
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling pathfinder_simd v0.5.4
[INFO] [stderr]    Compiling slog-async v2.8.0
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling linfa v0.6.1
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling bytemuck v1.22.0
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling font-kit v0.14.2
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling gif v0.12.0
[INFO] [stderr]    Compiling pathfinder_geometry v0.5.1
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling float-ord v0.3.2
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling csv-core v0.1.12
[INFO] [stderr]    Compiling ttf-parser v0.20.0
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling freetype-sys v0.20.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling approx v0.4.0
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling noisy_float v0.2.0
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling image v0.24.9
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling slog-term v2.9.1
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling plotters-bitmap v0.3.7
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ndarray v0.15.6
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling csv v1.3.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_xorshift v0.3.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling slog-json v2.6.1
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling ndarray-rand v0.14.0
[INFO] [stderr]    Compiling ndarray-stats v0.5.1
[INFO] [stderr]    Compiling argmin v0.4.7
[INFO] [stderr]    Compiling linfa-logistic v0.6.1
[INFO] [stderr]    Compiling svm_knn_qt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::models::svm::SVMModel`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::models::svm::SVMModel;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `linfa::dataset::Records`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use linfa::dataset::Records;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `load_data` and `normalize_data`
[INFO] [stdout]  --> src/lib.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::data::loader::{load_data, normalize_data};
[INFO] [stdout]   |                           ^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `s`
[INFO] [stdout]  --> src/lib.rs:9:31
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ndarray::{Array1, Array2, s};
[INFO] [stdout]   |                               ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dataset`
[INFO] [stdout]   --> src/main.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let dataset = load_data(csv_path).map_err(|e| {
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dataset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `features` and `labels` are never read
[INFO] [stdout]  --> src/data/loader.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct LoadedData {
[INFO] [stdout]   |            ---------- fields in this struct
[INFO] [stdout] 8 |     pub features: Array2<f64>,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 9 |     pub labels: Array1<usize>,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `normalize_data` is never used
[INFO] [stdout]   --> src/data/loader.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn normalize_data(mut data: Array2<f64>) -> Array2<f64> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SVMModel` is never constructed
[INFO] [stdout]  --> src/models/svm.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct SVMModel {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `train`, `predict`, and `evaluate_accuracy` are never used
[INFO] [stdout]   --> src/models/svm.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl SVMModel {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn train(train: &DatasetBase<Array2<f64>, Array1<usize>>) -> Result<Self, Box<dyn std::error::Error>> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn predict(&self, data: &Array2<f64>) -> Array1<usize> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn evaluate_accuracy(&self, test: &DatasetBase<Array2<f64>, Array1<usize>>) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `euclidean_distance` is never used
[INFO] [stdout]  --> src/models/knn.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn euclidean_distance(a: &Array1<f64>, b: &Array1<f64>) -> f64 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `knn_predict` is never used
[INFO] [stdout]   --> src/models/knn.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn knn_predict(
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `knn_predict_with_neighbors` is never used
[INFO] [stdout]   --> src/models/knn.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn knn_predict_with_neighbors(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `evaluate_accuracy` is never used
[INFO] [stdout]   --> src/models/knn.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn evaluate_accuracy(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `plot_svm_neighbors` is never used
[INFO] [stdout]  --> src/visualization/plotter.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn plot_svm_neighbors(
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `plot_knn_neighbors` is never used
[INFO] [stdout]   --> src/visualization/plotter.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn plot_knn_neighbors(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `train`
[INFO] [stdout]    --> src/lib.rs:130:5
[INFO] [stdout]     |
[INFO] [stdout] 130 |     train: &DatasetBase<Array2<f64>, Array1<usize>>,
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_train`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.47s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: argmin v0.4.7
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "546ce6604755b1a76607f48a82f246c660c8955fbbc76c8be16abe9f3eca1e2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "546ce6604755b1a76607f48a82f246c660c8955fbbc76c8be16abe9f3eca1e2f", kill_on_drop: false }`
[INFO] [stdout] 546ce6604755b1a76607f48a82f246c660c8955fbbc76c8be16abe9f3eca1e2f
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 349b35357ad006421ce392deeb049bd38fc4e4ff554959a90be4899422083ec8
[INFO] running `Command { std: "docker" "start" "-a" "349b35357ad006421ce392deeb049bd38fc4e4ff554959a90be4899422083ec8", kill_on_drop: false }`
[INFO] [stderr]    Compiling svm_knn_qt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `load_data` and `normalize_data`
[INFO] [stdout]  --> src/lib.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::data::loader::{load_data, normalize_data};
[INFO] [stdout]   |                           ^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `s`
[INFO] [stdout]  --> src/lib.rs:9:31
[INFO] [stdout]   |
[INFO] [stdout] 9 | use ndarray::{Array1, Array2, s};
[INFO] [stdout]   |                               ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::svm::SVMModel`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::models::svm::SVMModel;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `linfa::dataset::Records`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use linfa::dataset::Records;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dataset`
[INFO] [stdout]   --> src/main.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let dataset = load_data(csv_path).map_err(|e| {
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dataset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `features` and `labels` are never read
[INFO] [stdout]  --> src/data/loader.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct LoadedData {
[INFO] [stdout]   |            ---------- fields in this struct
[INFO] [stdout] 8 |     pub features: Array2<f64>,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 9 |     pub labels: Array1<usize>,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `normalize_data` is never used
[INFO] [stdout]   --> src/data/loader.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn normalize_data(mut data: Array2<f64>) -> Array2<f64> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SVMModel` is never constructed
[INFO] [stdout]  --> src/models/svm.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct SVMModel {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `train`, `predict`, and `evaluate_accuracy` are never used
[INFO] [stdout]   --> src/models/svm.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl SVMModel {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn train(train: &DatasetBase<Array2<f64>, Array1<usize>>) -> Result<Self, Box<dyn std::error::Error>> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn predict(&self, data: &Array2<f64>) -> Array1<usize> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn evaluate_accuracy(&self, test: &DatasetBase<Array2<f64>, Array1<usize>>) -> f32 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `euclidean_distance` is never used
[INFO] [stdout]  --> src/models/knn.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn euclidean_distance(a: &Array1<f64>, b: &Array1<f64>) -> f64 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `knn_predict` is never used
[INFO] [stdout]   --> src/models/knn.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn knn_predict(
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `knn_predict_with_neighbors` is never used
[INFO] [stdout]   --> src/models/knn.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn knn_predict_with_neighbors(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `evaluate_accuracy` is never used
[INFO] [stdout]   --> src/models/knn.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn evaluate_accuracy(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `plot_svm_neighbors` is never used
[INFO] [stdout]  --> src/visualization/plotter.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn plot_svm_neighbors(
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `plot_knn_neighbors` is never used
[INFO] [stdout]   --> src/visualization/plotter.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn plot_knn_neighbors(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `train`
[INFO] [stdout]    --> src/lib.rs:130:5
[INFO] [stdout]     |
[INFO] [stdout] 130 |     train: &DatasetBase<Array2<f64>, Array1<usize>>,
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_train`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.81s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: argmin v0.4.7
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "349b35357ad006421ce392deeb049bd38fc4e4ff554959a90be4899422083ec8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "349b35357ad006421ce392deeb049bd38fc4e4ff554959a90be4899422083ec8", kill_on_drop: false }`
[INFO] [stdout] 349b35357ad006421ce392deeb049bd38fc4e4ff554959a90be4899422083ec8
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b57bfb1bd12136f014705eff793ee9986f4877169ec99f2f8aac34adad83bdb0
[INFO] running `Command { std: "docker" "start" "-a" "b57bfb1bd12136f014705eff793ee9986f4877169ec99f2f8aac34adad83bdb0", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `load_data` and `normalize_data`
[INFO] [stderr]  --> src/lib.rs:6:27
[INFO] [stderr]   |
[INFO] [stderr] 6 | use crate::data::loader::{load_data, normalize_data};
[INFO] [stderr]   |                           ^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `s`
[INFO] [stderr]  --> src/lib.rs:9:31
[INFO] [stderr]   |
[INFO] [stderr] 9 | use ndarray::{Array1, Array2, s};
[INFO] [stderr]   |                               ^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `train`
[INFO] [stderr]    --> src/lib.rs:130:5
[INFO] [stderr]     |
[INFO] [stderr] 130 |     train: &DatasetBase<Array2<f64>, Array1<usize>>,
[INFO] [stderr]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_train`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::models::svm::SVMModel`
[INFO] [stderr]  --> src/main.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use crate::models::svm::SVMModel;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `linfa::dataset::Records`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use linfa::dataset::Records;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `dataset`
[INFO] [stderr]   --> src/main.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 14 |     let dataset = load_data(csv_path).map_err(|e| {
[INFO] [stderr]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dataset`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `features` and `labels` are never read
[INFO] [stderr]  --> src/data/loader.rs:8:9
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct LoadedData {
[INFO] [stderr]   |            ---------- fields in this struct
[INFO] [stderr] 8 |     pub features: Array2<f64>,
[INFO] [stderr]   |         ^^^^^^^^
[INFO] [stderr] 9 |     pub labels: Array1<usize>,
[INFO] [stderr]   |         ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `normalize_data` is never used
[INFO] [stderr]   --> src/data/loader.rs:44:8
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub fn normalize_data(mut data: Array2<f64>) -> Array2<f64> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SVMModel` is never constructed
[INFO] [stderr]  --> src/models/svm.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct SVMModel {
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `train`, `predict`, and `evaluate_accuracy` are never used
[INFO] [stderr]   --> src/models/svm.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl SVMModel {
[INFO] [stderr]    | ------------- associated items in this implementation
[INFO] [stderr] 10 |     pub fn train(train: &DatasetBase<Array2<f64>, Array1<usize>>) -> Result<Self, Box<dyn std::error::Error>> {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 17 |     pub fn predict(&self, data: &Array2<f64>) -> Array1<usize> {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 21 |     pub fn evaluate_accuracy(&self, test: &DatasetBase<Array2<f64>, Array1<usize>>) -> f32 {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `euclidean_distance` is never used
[INFO] [stderr]  --> src/models/knn.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub fn euclidean_distance(a: &Array1<f64>, b: &Array1<f64>) -> f64 {
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `knn_predict` is never used
[INFO] [stderr]   --> src/models/knn.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub fn knn_predict(
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `knn_predict_with_neighbors` is never used
[INFO] [stderr]   --> src/models/knn.rs:22:8
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub fn knn_predict_with_neighbors(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `evaluate_accuracy` is never used
[INFO] [stderr]   --> src/models/knn.rs:57:8
[INFO] [stderr]    |
[INFO] [stderr] 57 | pub fn evaluate_accuracy(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `plot_svm_neighbors` is never used
[INFO] [stderr]  --> src/visualization/plotter.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub fn plot_svm_neighbors(
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `plot_knn_neighbors` is never used
[INFO] [stderr]   --> src/visualization/plotter.rs:70:8
[INFO] [stderr]    |
[INFO] [stderr] 70 | pub fn plot_knn_neighbors(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `svm_knn_qt` (lib test) generated 3 warnings (run `cargo fix --lib -p svm_knn_qt --tests` to apply 3 suggestions)
[INFO] [stderr] warning: `svm_knn_qt` (bin "svm_knn_qt" test) generated 13 warnings (run `cargo fix --bin "svm_knn_qt" -p svm_knn_qt --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: argmin v0.4.7
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/qt_svm_knn-0cd48548a142990b)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/svm_knn_qt-8093715729c8f924)
[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] [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" "b57bfb1bd12136f014705eff793ee9986f4877169ec99f2f8aac34adad83bdb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b57bfb1bd12136f014705eff793ee9986f4877169ec99f2f8aac34adad83bdb0", kill_on_drop: false }`
[INFO] [stdout] b57bfb1bd12136f014705eff793ee9986f4877169ec99f2f8aac34adad83bdb0
