[INFO] cloning repository https://github.com/gennarogravinese/callable_func
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gennarogravinese/callable_func" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgennarogravinese%2Fcallable_func", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgennarogravinese%2Fcallable_func'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 00895e1fc1a8267677a21351398a55d0af096675
[INFO] checking gennarogravinese/callable_func against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgennarogravinese%2Fcallable_func" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gennarogravinese/callable_func
[INFO] finished tweaking git repo https://github.com/gennarogravinese/callable_func
[INFO] tweaked toml for git repo https://github.com/gennarogravinese/callable_func written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gennarogravinese/callable_func on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gennarogravinese/callable_func 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ad04a6176e7661354a4a8692a9e8c3b7242013c4060c8b8b635194fb171a6431
[INFO] running `Command { std: "docker" "start" "-a" "ad04a6176e7661354a4a8692a9e8c3b7242013c4060c8b8b635194fb171a6431", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad04a6176e7661354a4a8692a9e8c3b7242013c4060c8b8b635194fb171a6431", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad04a6176e7661354a4a8692a9e8c3b7242013c4060c8b8b635194fb171a6431", kill_on_drop: false }`
[INFO] [stdout] ad04a6176e7661354a4a8692a9e8c3b7242013c4060c8b8b635194fb171a6431
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b235102e2ac816f8b84495d476ab1aa6aea1c6e4040d9cd95a1b5d77dc74ec19
[INFO] running `Command { std: "docker" "start" "-a" "b235102e2ac816f8b84495d476ab1aa6aea1c6e4040d9cd95a1b5d77dc74ec19", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling target-features v0.1.6
[INFO] [stderr]     Checking array-init-cursor v0.2.0
[INFO] [stderr]     Checking regex-syntax v0.8.4
[INFO] [stderr]     Checking zerocopy v0.7.34
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking either v1.12.0
[INFO] [stderr]    Compiling smartstring v1.0.1
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling polars-utils v0.38.3
[INFO] [stderr]     Checking simdutf8 v0.1.4
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]     Checking raw-cpuid v11.0.2
[INFO] [stderr]    Compiling polars-arrow v0.38.3
[INFO] [stderr]     Checking dyn-clone v1.0.17
[INFO] [stderr]     Checking planus v0.3.1
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling matrixmultiply v0.3.8
[INFO] [stderr]     Checking streaming-iterator v0.1.9
[INFO] [stderr]     Checking atoi_simd v0.15.6
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking strength_reduce v0.2.4
[INFO] [stderr]    Compiling syn v2.0.67
[INFO] [stderr]     Checking fast-float v0.2.0
[INFO] [stderr]     Checking ethnum v1.5.0
[INFO] [stderr]     Checking foreign_vec v0.1.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling polars-compute v0.38.3
[INFO] [stderr]     Checking crossterm v0.27.0
[INFO] [stderr]    Compiling polars-core v0.38.3
[INFO] [stderr]     Checking strum v0.26.2
[INFO] [stderr]     Checking unicode-width v0.1.13
[INFO] [stderr]    Compiling polars-ops v0.38.3
[INFO] [stderr]     Checking xxhash-rust v0.8.10
[INFO] [stderr]     Checking argminmax v0.6.2
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking atoi v2.0.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]     Checking memmap2 v0.7.1
[INFO] [stderr]     Checking ndarray v0.15.6
[INFO] [stderr]    Compiling polars-plan v0.38.3
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling polars-lazy v0.38.3
[INFO] [stderr]     Checking streaming-decompression v0.1.2
[INFO] [stderr]     Checking humansize v2.1.3
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]    Compiling polars v0.38.3
[INFO] [stderr]     Checking now v0.1.3
[INFO] [stderr]    Compiling seq-macro v0.3.5
[INFO] [stderr]     Checking askama_escape v0.10.3
[INFO] [stderr]     Checking glob v0.3.1
[INFO] [stderr]     Checking typeid v1.0.0
[INFO] [stderr]     Checking parquet-format-safe v0.2.4
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]    Compiling askama_parser v0.2.1
[INFO] [stderr]     Checking ndarray-rand v0.14.0
[INFO] [stderr]     Checking regex v1.10.5
[INFO] [stderr]    Compiling multiversion-macros v0.7.4
[INFO] [stderr]    Compiling darling_core v0.20.9
[INFO] [stderr]     Checking multiversion v0.7.4
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling bytemuck_derive v1.7.0
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling strum_macros v0.25.3
[INFO] [stderr]    Compiling serde_repr v0.1.19
[INFO] [stderr]    Compiling darling_macro v0.20.9
[INFO] [stderr]     Checking thiserror v1.0.61
[INFO] [stderr]     Checking bytemuck v1.16.1
[INFO] [stderr]    Compiling darling v0.20.9
[INFO] [stderr]     Checking comfy-table v7.1.1
[INFO] [stderr]    Compiling serde_with_macros v2.3.3
[INFO] [stderr]    Compiling plotly_derive v0.9.0
[INFO] [stderr]     Checking polars-arrow-format v0.1.0
[INFO] [stderr]     Checking serde_json v1.0.117
[INFO] [stderr]     Checking serde_with v2.3.3
[INFO] [stderr]     Checking erased-serde v0.4.5
[INFO] [stderr]    Compiling basic-toml v0.1.9
[INFO] [stderr]    Compiling askama_derive v0.12.5
[INFO] [stderr]     Checking polars-error v0.38.3
[INFO] [stderr]     Checking askama v0.12.1
[INFO] [stderr]     Checking plotly v0.9.0
[INFO] [stderr]     Checking polars-row v0.38.3
[INFO] [stderr]     Checking polars-parquet v0.38.3
[INFO] [stderr]     Checking polars-time v0.38.3
[INFO] [stderr]     Checking polars-io v0.38.3
[INFO] [stderr]     Checking callable_func v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `generate_batch`
[INFO] [stdout]  --> src/main.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use meth::{array2_to_vec2, generate_batch, permute_data_vec};
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `ndarr` should have an upper camel case name
[INFO] [stdout]   --> src/meth.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub type ndarr = Array1<f32>;
[INFO] [stdout]    |          ^^^^^ help: convert the identifier to upper camel case: `Ndarr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path`
[INFO] [stdout]  --> src/plottly_ref.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Array2`
[INFO] [stdout]  --> src/plottly_ref.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ndarray::Array2;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:140:6
[INFO] [stdout]     |
[INFO] [stdout] 140 | ) -> (DataFrame) {
[INFO] [stdout]     |      ^         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 140 - ) -> (DataFrame) {
[INFO] [stdout] 140 + ) -> DataFrame  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `generate_batch`
[INFO] [stdout]  --> src/main.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use meth::{array2_to_vec2, generate_batch, permute_data_vec};
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `ndarr` should have an upper camel case name
[INFO] [stdout]   --> src/meth.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub type ndarr = Array1<f32>;
[INFO] [stdout]    |          ^^^^^ help: convert the identifier to upper camel case: `Ndarr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path`
[INFO] [stdout]  --> src/plottly_ref.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ndarray::Array2`
[INFO] [stdout]  --> src/plottly_ref.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ndarray::Array2;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:140:6
[INFO] [stdout]     |
[INFO] [stdout] 140 | ) -> (DataFrame) {
[INFO] [stdout]     |      ^         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 140 - ) -> (DataFrame) {
[INFO] [stdout] 140 + ) -> DataFrame  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `l`
[INFO] [stdout]    --> src/meth.rs:193:9
[INFO] [stdout]     |
[INFO] [stdout] 193 |     let l = s.sum();
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_l`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dl_ds`
[INFO] [stdout]    --> src/meth.rs:194:9
[INFO] [stdout]     |
[INFO] [stdout] 194 |     let dl_ds = Array2::<f32>::ones((s.shape()[0], s.shape()[1]));
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_dl_ds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `l`
[INFO] [stdout]    --> src/meth.rs:211:9
[INFO] [stdout]     |
[INFO] [stdout] 211 |     let l = s.sum();
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_l`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dl_ds`
[INFO] [stdout]    --> src/meth.rs:212:9
[INFO] [stdout]     |
[INFO] [stdout] 212 |     let dl_ds = Array2::<f32>::ones((s.shape()[0], s.shape()[1]));
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_dl_ds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `weights`
[INFO] [stdout]    --> src/meth.rs:313:5
[INFO] [stdout]     |
[INFO] [stdout] 313 |     weights: &HashMap<String, Array2<f32>>,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weights`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch_size`
[INFO] [stdout]    --> src/meth.rs:315:9
[INFO] [stdout]     |
[INFO] [stdout] 315 |     let batch_size = forward_info.get("X").unwrap().shape()[0];
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/meth.rs:552:9
[INFO] [stdout]     |
[INFO] [stdout] 552 |     let mut vc = vec![arr];
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vc`
[INFO] [stdout]    --> src/meth.rs:552:9
[INFO] [stdout]     |
[INFO] [stdout] 552 |     let mut vc = vec![arr];
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let mut data = CsvReader::from_path(file_path)?.has_header(true).finish()?;
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_rows`
[INFO] [stdout]   --> src/main.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let (n_rows, n_cols) = ar.dim();
[INFO] [stdout]    |          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_rows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_rows`
[INFO] [stdout]   --> src/main.rs:99:10
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let (n_rows, n_cols) = get_dimensions(ar).unwrap();
[INFO] [stdout]    |          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_rows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:196:9
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let mut vec = meth::array2_to_vec2(&x_tr);
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dvec`
[INFO] [stdout]    --> src/main.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |     let dvec = dataframe_from_vec(&vec, &col_names_x);
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_dvec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_iter`
[INFO] [stdout]    --> src/main.rs:280:5
[INFO] [stdout]     |
[INFO] [stdout] 280 |     n_iter: usize,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_iter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `learning_rate`
[INFO] [stdout]    --> src/main.rs:281:5
[INFO] [stdout]     |
[INFO] [stdout] 281 |     learning_rate: f32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_learning_rate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch_size`
[INFO] [stdout]    --> src/main.rs:282:5
[INFO] [stdout]     |
[INFO] [stdout] 282 |     batch_size: usize,
[INFO] [stdout]     |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `return_losses`
[INFO] [stdout]    --> src/main.rs:283:5
[INFO] [stdout]     |
[INFO] [stdout] 283 |     return_losses: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_losses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `return_weights`
[INFO] [stdout]    --> src/main.rs:284:5
[INFO] [stdout]     |
[INFO] [stdout] 284 |     return_weights: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_weights`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `seed`
[INFO] [stdout]    --> src/main.rs:285:5
[INFO] [stdout]     |
[INFO] [stdout] 285 |     seed: u64,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_seed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/main.rs:287:9
[INFO] [stdout]     |
[INFO] [stdout] 287 |     let start = 0;
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `weights`
[INFO] [stdout]    --> src/main.rs:288:9
[INFO] [stdout]     |
[INFO] [stdout] 288 |     let weights = meth::init_weights(x.shape()[1]);
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weights`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dataf`
[INFO] [stdout]    --> src/main.rs:290:9
[INFO] [stdout]     |
[INFO] [stdout] 290 |     let dataf = permute_data(x, col_x_names, y, col_y_names);
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_dataf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x_train`
[INFO] [stdout]    --> src/main.rs:338:10
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let (x_train, y_train, x_test, y_test, d_x_tr, d_y_tr, d_x_test, d_y_test) = load_boston_data();
[INFO] [stdout]     |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_train`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_train`
[INFO] [stdout]    --> src/main.rs:338:19
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let (x_train, y_train, x_test, y_test, d_x_tr, d_y_tr, d_x_test, d_y_test) = load_boston_data();
[INFO] [stdout]     |                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_train`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x_test`
[INFO] [stdout]    --> src/main.rs:338:28
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let (x_train, y_train, x_test, y_test, d_x_tr, d_y_tr, d_x_test, d_y_test) = load_boston_data();
[INFO] [stdout]     |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_test`
[INFO] [stdout]    --> src/main.rs:338:36
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let (x_train, y_train, x_test, y_test, d_x_tr, d_y_tr, d_x_test, d_y_test) = load_boston_data();
[INFO] [stdout]     |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d_x_tr`
[INFO] [stdout]    --> src/main.rs:338:44
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let (x_train, y_train, x_test, y_test, d_x_tr, d_y_tr, d_x_test, d_y_test) = load_boston_data();
[INFO] [stdout]     |                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_d_x_tr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d_y_tr`
[INFO] [stdout]    --> src/main.rs:338:52
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let (x_train, y_train, x_test, y_test, d_x_tr, d_y_tr, d_x_test, d_y_test) = load_boston_data();
[INFO] [stdout]     |                                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_d_y_tr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d_x_test`
[INFO] [stdout]    --> src/main.rs:338:60
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let (x_train, y_train, x_test, y_test, d_x_tr, d_y_tr, d_x_test, d_y_test) = load_boston_data();
[INFO] [stdout]     |                                                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_d_x_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d_y_test`
[INFO] [stdout]    --> src/main.rs:338:70
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let (x_train, y_train, x_test, y_test, d_x_tr, d_y_tr, d_x_test, d_y_test) = load_boston_data();
[INFO] [stdout]     |                                                                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_d_y_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_backward_sum` is never used
[INFO] [stdout]   --> src/main.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn test_backward_sum(x: Array2<f32>, w: Array2<f32>) {
[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 `call_func_vec` is never used
[INFO] [stdout]   --> src/meth.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn call_func_vec<F: Callable<Vec<f32>, Vec<f32>>>(f: F, arg: &Vec<f32>) -> Vec<f32> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_backward` is never used
[INFO] [stdout]   --> src/meth.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn add_backward<F: Callable<Array1<f32>, Array1<f32>>>(
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_backward_vec` is never used
[INFO] [stdout]   --> src/meth.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn add_backward_vec<F: Callable<Vec<f32>, Vec<f32>>>(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `derive_vec` is never used
[INFO] [stdout]   --> src/meth.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn derive_vec<F: Callable<Vec<f32>, Vec<f32>>>(f: F, arg: &Vec<f32>, delta: f32) -> Vec<f32> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `chain_derive_vec` is never used
[INFO] [stdout]    --> src/meth.rs:134:8
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub fn chain_derive_vec<F: Callable<Vec<f32>, Vec<f32>>, G: Callable<Vec<f32>, Vec<f32>>>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `matmul_forward` is never used
[INFO] [stdout]    --> src/meth.rs:156:8
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub fn matmul_forward(x: Array2<f32>, y: Array2<f32>) -> Array2<f32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `matmul_backward` is never used
[INFO] [stdout]    --> src/meth.rs:161:8
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub fn matmul_backward(x: Array2<f32>, w: Array2<f32>) -> Array2<f32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `matrix_forward_extra` is never used
[INFO] [stdout]    --> src/meth.rs:166:8
[INFO] [stdout]     |
[INFO] [stdout] 166 | pub fn matrix_forward_extra<F: Callable<Array2<f32>, Array2<f32>>>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `matrix_function_backward_sum_x` is never used
[INFO] [stdout]    --> src/meth.rs:203:8
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub fn matrix_function_backward_sum_x<F: Callable<Array2<f32>, Array2<f32>>>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `matmul_backward_first` is never used
[INFO] [stdout]    --> src/meth.rs:222:8
[INFO] [stdout]     |
[INFO] [stdout] 222 | pub fn matmul_backward_first(x: Array2<f32>, w: Array2<f32>) -> Array2<f32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `forward_linear_regression` is never used
[INFO] [stdout]    --> src/meth.rs:227:8
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub fn forward_linear_regression(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mae` is never used
[INFO] [stdout]    --> src/meth.rs:254:8
[INFO] [stdout]     |
[INFO] [stdout] 254 | pub fn mae(preds: &Array2<f32>, actual: &Array2<f32>) -> f32 {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rmse` is never used
[INFO] [stdout]    --> src/meth.rs:258:8
[INFO] [stdout]     |
[INFO] [stdout] 258 | pub fn rmse(preds: &Array2<f32>, actual: &Array2<f32>) -> f32 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `forward_loss` is never used
[INFO] [stdout]    --> src/meth.rs:262:8
[INFO] [stdout]     |
[INFO] [stdout] 262 | pub fn forward_loss(
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_batch` is never used
[INFO] [stdout]    --> src/meth.rs:289:8
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub fn generate_batch(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `loss_gradients` is never used
[INFO] [stdout]    --> src/meth.rs:311:8
[INFO] [stdout]     |
[INFO] [stdout] 311 | pub fn loss_gradients(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply` is never used
[INFO] [stdout]    --> src/meth.rs:342:4
[INFO] [stdout]     |
[INFO] [stdout] 342 | fn apply<T, F>(x: T, f: F) -> T
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `callable` is never used
[INFO] [stdout]    --> src/meth.rs:350:8
[INFO] [stdout]     |
[INFO] [stdout] 350 | pub fn callable<T>(f: impl Fn(&mut [T]) -> &mut [T], numbers: &mut [T]) -> &[T] {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `callable_arr` is never used
[INFO] [stdout]    --> src/meth.rs:354:8
[INFO] [stdout]     |
[INFO] [stdout] 354 | pub fn callable_arr<T>(f: impl Fn(&mut [T]) -> &mut [T], numbers: &mut [T]) -> &[T] {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `increase` is never used
[INFO] [stdout]    --> src/meth.rs:358:4
[INFO] [stdout]     |
[INFO] [stdout] 358 | fn increase(x: i32) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deriv2` is never used
[INFO] [stdout]    --> src/meth.rs:362:4
[INFO] [stdout]     |
[INFO] [stdout] 362 | fn deriv2(l: &mut [f32]) -> &mut [f32] {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_max_value` is never used
[INFO] [stdout]    --> src/meth.rs:370:4
[INFO] [stdout]     |
[INFO] [stdout] 370 | fn find_max_value(numbers: &[f32]) -> f32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sigmoid_1` is never used
[INFO] [stdout]    --> src/meth.rs:382:4
[INFO] [stdout]     |
[INFO] [stdout] 382 | fn sigmoid_1(l: &mut [f32]) -> &mut [f32] {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_arr` is never used
[INFO] [stdout]    --> src/meth.rs:426:4
[INFO] [stdout]     |
[INFO] [stdout] 426 | fn sum_arr(x: f32) -> f32 {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `power2` is never used
[INFO] [stdout]    --> src/meth.rs:434:4
[INFO] [stdout]     |
[INFO] [stdout] 434 | fn power2(x: f32) -> f32 {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `abs0` is never used
[INFO] [stdout]    --> src/meth.rs:438:4
[INFO] [stdout]     |
[INFO] [stdout] 438 | fn abs0(x: f32) -> f32 {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `square_v` is never used
[INFO] [stdout]    --> src/meth.rs:442:4
[INFO] [stdout]     |
[INFO] [stdout] 442 | fn square_v(x: &mut [f32]) -> &mut [f32] {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `square_vec` is never used
[INFO] [stdout]    --> src/meth.rs:449:8
[INFO] [stdout]     |
[INFO] [stdout] 449 | pub fn square_vec(x: Vec<f32>) -> Vec<f32> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `power` is never used
[INFO] [stdout]    --> src/meth.rs:457:8
[INFO] [stdout]     |
[INFO] [stdout] 457 | pub fn power(x: Array2<f32>) -> Array2<f32> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `abs` is never used
[INFO] [stdout]    --> src/meth.rs:461:8
[INFO] [stdout]     |
[INFO] [stdout] 461 | pub fn abs(x: Array2<f32>) -> Array2<f32> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sigmoid_vec` is never used
[INFO] [stdout]    --> src/meth.rs:465:8
[INFO] [stdout]     |
[INFO] [stdout] 465 | pub fn sigmoid_vec(x: Vec<f32>) -> Vec<f32> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `st0` is never used
[INFO] [stdout]    --> src/meth.rs:469:8
[INFO] [stdout]     |
[INFO] [stdout] 469 | pub fn st0(x: f32, m: f32) -> f32 {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `standardize_v` is never used
[INFO] [stdout]    --> src/meth.rs:473:8
[INFO] [stdout]     |
[INFO] [stdout] 473 | pub fn standardize_v(x: Array1<f32>) -> Array1<f32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `leaky_relu0` is never used
[INFO] [stdout]    --> src/meth.rs:491:4
[INFO] [stdout]     |
[INFO] [stdout] 491 | fn leaky_relu0(x: f32) -> f32 {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `leaky_relu_vec` is never used
[INFO] [stdout]    --> src/meth.rs:495:4
[INFO] [stdout]     |
[INFO] [stdout] 495 | fn leaky_relu_vec(x: Vec<f32>) -> Vec<f32> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `l`
[INFO] [stdout]    --> src/meth.rs:193:9
[INFO] [stdout]     |
[INFO] [stdout] 193 |     let l = s.sum();
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_l`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `leaky_relu` is never used
[INFO] [stdout]    --> src/meth.rs:499:4
[INFO] [stdout]     |
[INFO] [stdout] 499 | fn leaky_relu(x: Array2<f32>) -> Array2<f32> {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_permute` is never used
[INFO] [stdout]    --> src/meth.rs:551:8
[INFO] [stdout]     |
[INFO] [stdout] 551 | pub fn random_permute(arr: &Array2<f32>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `plot` is never used
[INFO] [stdout]   --> src/plottly_ref.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn plot(x: &Vec<f32>, y: &Vec<f32>, title: &str) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dl_ds`
[INFO] [stdout]    --> src/meth.rs:194:9
[INFO] [stdout]     |
[INFO] [stdout] 194 |     let dl_ds = Array2::<f32>::ones((s.shape()[0], s.shape()[1]));
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_dl_ds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `l`
[INFO] [stdout]    --> src/meth.rs:211:9
[INFO] [stdout]     |
[INFO] [stdout] 211 |     let l = s.sum();
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_l`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dl_ds`
[INFO] [stdout]    --> src/meth.rs:212:9
[INFO] [stdout]     |
[INFO] [stdout] 212 |     let dl_ds = Array2::<f32>::ones((s.shape()[0], s.shape()[1]));
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_dl_ds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `weights`
[INFO] [stdout]    --> src/meth.rs:313:5
[INFO] [stdout]     |
[INFO] [stdout] 313 |     weights: &HashMap<String, Array2<f32>>,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weights`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch_size`
[INFO] [stdout]    --> src/meth.rs:315:9
[INFO] [stdout]     |
[INFO] [stdout] 315 |     let batch_size = forward_info.get("X").unwrap().shape()[0];
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:246:25
[INFO] [stdout]     |
[INFO] [stdout] 246 |     forward_info.insert(String::from_str("X").unwrap(), x_batch.clone());
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:247:25
[INFO] [stdout]     |
[INFO] [stdout] 247 |     forward_info.insert(String::from_str("N").unwrap(), nc);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:248:25
[INFO] [stdout]     |
[INFO] [stdout] 248 |     forward_info.insert(String::from_str("P").unwrap(), pc);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:249:25
[INFO] [stdout]     |
[INFO] [stdout] 249 |     forward_info.insert(String::from_str("y_batch").unwrap(), y_batch.clone());
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:281:25
[INFO] [stdout]     |
[INFO] [stdout] 281 |     forward_info.insert(String::from_str("X").unwrap(), x_batch.clone());
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:282:25
[INFO] [stdout]     |
[INFO] [stdout] 282 |     forward_info.insert(String::from_str("N").unwrap(), nc);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:283:25
[INFO] [stdout]     |
[INFO] [stdout] 283 |     forward_info.insert(String::from_str("P").unwrap(), pc);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:284:25
[INFO] [stdout]     |
[INFO] [stdout] 284 |     forward_info.insert(String::from_str("y_batch").unwrap(), y_batch.clone());
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:333:27
[INFO] [stdout]     |
[INFO] [stdout] 333 |     loss_gradients.insert(String::from_str("W").unwrap(), dldw);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:335:9
[INFO] [stdout]     |
[INFO] [stdout] 335 |         String::from_str("B").unwrap(),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:546:14
[INFO] [stdout]     |
[INFO] [stdout] 546 |     h.insert(String::from_str("W").unwrap(), w);
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:547:14
[INFO] [stdout]     |
[INFO] [stdout] 547 |     h.insert(String::from_str("B").unwrap(), b);
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/meth.rs:552:9
[INFO] [stdout]     |
[INFO] [stdout] 552 |     let mut vc = vec![arr];
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vc`
[INFO] [stdout]    --> src/meth.rs:552:9
[INFO] [stdout]     |
[INFO] [stdout] 552 |     let mut vc = vec![arr];
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let mut data = CsvReader::from_path(file_path)?.has_header(true).finish()?;
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_rows`
[INFO] [stdout]   --> src/main.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let (n_rows, n_cols) = ar.dim();
[INFO] [stdout]    |          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_rows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_rows`
[INFO] [stdout]   --> src/main.rs:99:10
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let (n_rows, n_cols) = get_dimensions(ar).unwrap();
[INFO] [stdout]    |          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_rows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `callable_func` (bin "callable_func") due to 12 previous errors; 74 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:196:9
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let mut vec = meth::array2_to_vec2(&x_tr);
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dvec`
[INFO] [stdout]    --> src/main.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |     let dvec = dataframe_from_vec(&vec, &col_names_x);
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_dvec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_iter`
[INFO] [stdout]    --> src/main.rs:280:5
[INFO] [stdout]     |
[INFO] [stdout] 280 |     n_iter: usize,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_iter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `learning_rate`
[INFO] [stdout]    --> src/main.rs:281:5
[INFO] [stdout]     |
[INFO] [stdout] 281 |     learning_rate: f32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_learning_rate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch_size`
[INFO] [stdout]    --> src/main.rs:282:5
[INFO] [stdout]     |
[INFO] [stdout] 282 |     batch_size: usize,
[INFO] [stdout]     |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `return_losses`
[INFO] [stdout]    --> src/main.rs:283:5
[INFO] [stdout]     |
[INFO] [stdout] 283 |     return_losses: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_losses`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `return_weights`
[INFO] [stdout]    --> src/main.rs:284:5
[INFO] [stdout]     |
[INFO] [stdout] 284 |     return_weights: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_weights`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `seed`
[INFO] [stdout]    --> src/main.rs:285:5
[INFO] [stdout]     |
[INFO] [stdout] 285 |     seed: u64,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_seed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/main.rs:287:9
[INFO] [stdout]     |
[INFO] [stdout] 287 |     let start = 0;
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `weights`
[INFO] [stdout]    --> src/main.rs:288:9
[INFO] [stdout]     |
[INFO] [stdout] 288 |     let weights = meth::init_weights(x.shape()[1]);
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weights`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dataf`
[INFO] [stdout]    --> src/main.rs:290:9
[INFO] [stdout]     |
[INFO] [stdout] 290 |     let dataf = permute_data(x, col_x_names, y, col_y_names);
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_dataf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x_train`
[INFO] [stdout]    --> src/main.rs:338:10
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let (x_train, y_train, x_test, y_test, d_x_tr, d_y_tr, d_x_test, d_y_test) = load_boston_data();
[INFO] [stdout]     |          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_train`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_train`
[INFO] [stdout]    --> src/main.rs:338:19
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let (x_train, y_train, x_test, y_test, d_x_tr, d_y_tr, d_x_test, d_y_test) = load_boston_data();
[INFO] [stdout]     |                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_train`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x_test`
[INFO] [stdout]    --> src/main.rs:338:28
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let (x_train, y_train, x_test, y_test, d_x_tr, d_y_tr, d_x_test, d_y_test) = load_boston_data();
[INFO] [stdout]     |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y_test`
[INFO] [stdout]    --> src/main.rs:338:36
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let (x_train, y_train, x_test, y_test, d_x_tr, d_y_tr, d_x_test, d_y_test) = load_boston_data();
[INFO] [stdout]     |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d_x_tr`
[INFO] [stdout]    --> src/main.rs:338:44
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let (x_train, y_train, x_test, y_test, d_x_tr, d_y_tr, d_x_test, d_y_test) = load_boston_data();
[INFO] [stdout]     |                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_d_x_tr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d_y_tr`
[INFO] [stdout]    --> src/main.rs:338:52
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let (x_train, y_train, x_test, y_test, d_x_tr, d_y_tr, d_x_test, d_y_test) = load_boston_data();
[INFO] [stdout]     |                                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_d_y_tr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d_x_test`
[INFO] [stdout]    --> src/main.rs:338:60
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let (x_train, y_train, x_test, y_test, d_x_tr, d_y_tr, d_x_test, d_y_test) = load_boston_data();
[INFO] [stdout]     |                                                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_d_x_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d_y_test`
[INFO] [stdout]    --> src/main.rs:338:70
[INFO] [stdout]     |
[INFO] [stdout] 338 |     let (x_train, y_train, x_test, y_test, d_x_tr, d_y_tr, d_x_test, d_y_test) = load_boston_data();
[INFO] [stdout]     |                                                                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_d_y_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_backward_sum` is never used
[INFO] [stdout]   --> src/main.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn test_backward_sum(x: Array2<f32>, w: Array2<f32>) {
[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 `call_func_vec` is never used
[INFO] [stdout]   --> src/meth.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn call_func_vec<F: Callable<Vec<f32>, Vec<f32>>>(f: F, arg: &Vec<f32>) -> Vec<f32> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_backward` is never used
[INFO] [stdout]   --> src/meth.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn add_backward<F: Callable<Array1<f32>, Array1<f32>>>(
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_backward_vec` is never used
[INFO] [stdout]   --> src/meth.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn add_backward_vec<F: Callable<Vec<f32>, Vec<f32>>>(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `derive_vec` is never used
[INFO] [stdout]   --> src/meth.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn derive_vec<F: Callable<Vec<f32>, Vec<f32>>>(f: F, arg: &Vec<f32>, delta: f32) -> Vec<f32> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `chain_derive_vec` is never used
[INFO] [stdout]    --> src/meth.rs:134:8
[INFO] [stdout]     |
[INFO] [stdout] 134 | pub fn chain_derive_vec<F: Callable<Vec<f32>, Vec<f32>>, G: Callable<Vec<f32>, Vec<f32>>>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `matmul_forward` is never used
[INFO] [stdout]    --> src/meth.rs:156:8
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub fn matmul_forward(x: Array2<f32>, y: Array2<f32>) -> Array2<f32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `matmul_backward` is never used
[INFO] [stdout]    --> src/meth.rs:161:8
[INFO] [stdout]     |
[INFO] [stdout] 161 | pub fn matmul_backward(x: Array2<f32>, w: Array2<f32>) -> Array2<f32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `matrix_forward_extra` is never used
[INFO] [stdout]    --> src/meth.rs:166:8
[INFO] [stdout]     |
[INFO] [stdout] 166 | pub fn matrix_forward_extra<F: Callable<Array2<f32>, Array2<f32>>>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `matrix_function_backward_sum_x` is never used
[INFO] [stdout]    --> src/meth.rs:203:8
[INFO] [stdout]     |
[INFO] [stdout] 203 | pub fn matrix_function_backward_sum_x<F: Callable<Array2<f32>, Array2<f32>>>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `matmul_backward_first` is never used
[INFO] [stdout]    --> src/meth.rs:222:8
[INFO] [stdout]     |
[INFO] [stdout] 222 | pub fn matmul_backward_first(x: Array2<f32>, w: Array2<f32>) -> Array2<f32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `forward_linear_regression` is never used
[INFO] [stdout]    --> src/meth.rs:227:8
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub fn forward_linear_regression(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mae` is never used
[INFO] [stdout]    --> src/meth.rs:254:8
[INFO] [stdout]     |
[INFO] [stdout] 254 | pub fn mae(preds: &Array2<f32>, actual: &Array2<f32>) -> f32 {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rmse` is never used
[INFO] [stdout]    --> src/meth.rs:258:8
[INFO] [stdout]     |
[INFO] [stdout] 258 | pub fn rmse(preds: &Array2<f32>, actual: &Array2<f32>) -> f32 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `forward_loss` is never used
[INFO] [stdout]    --> src/meth.rs:262:8
[INFO] [stdout]     |
[INFO] [stdout] 262 | pub fn forward_loss(
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_batch` is never used
[INFO] [stdout]    --> src/meth.rs:289:8
[INFO] [stdout]     |
[INFO] [stdout] 289 | pub fn generate_batch(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `loss_gradients` is never used
[INFO] [stdout]    --> src/meth.rs:311:8
[INFO] [stdout]     |
[INFO] [stdout] 311 | pub fn loss_gradients(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply` is never used
[INFO] [stdout]    --> src/meth.rs:342:4
[INFO] [stdout]     |
[INFO] [stdout] 342 | fn apply<T, F>(x: T, f: F) -> T
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `callable` is never used
[INFO] [stdout]    --> src/meth.rs:350:8
[INFO] [stdout]     |
[INFO] [stdout] 350 | pub fn callable<T>(f: impl Fn(&mut [T]) -> &mut [T], numbers: &mut [T]) -> &[T] {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `callable_arr` is never used
[INFO] [stdout]    --> src/meth.rs:354:8
[INFO] [stdout]     |
[INFO] [stdout] 354 | pub fn callable_arr<T>(f: impl Fn(&mut [T]) -> &mut [T], numbers: &mut [T]) -> &[T] {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `increase` is never used
[INFO] [stdout]    --> src/meth.rs:358:4
[INFO] [stdout]     |
[INFO] [stdout] 358 | fn increase(x: i32) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deriv2` is never used
[INFO] [stdout]    --> src/meth.rs:362:4
[INFO] [stdout]     |
[INFO] [stdout] 362 | fn deriv2(l: &mut [f32]) -> &mut [f32] {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_max_value` is never used
[INFO] [stdout]    --> src/meth.rs:370:4
[INFO] [stdout]     |
[INFO] [stdout] 370 | fn find_max_value(numbers: &[f32]) -> f32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sigmoid_1` is never used
[INFO] [stdout]    --> src/meth.rs:382:4
[INFO] [stdout]     |
[INFO] [stdout] 382 | fn sigmoid_1(l: &mut [f32]) -> &mut [f32] {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_arr` is never used
[INFO] [stdout]    --> src/meth.rs:426:4
[INFO] [stdout]     |
[INFO] [stdout] 426 | fn sum_arr(x: f32) -> f32 {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `power2` is never used
[INFO] [stdout]    --> src/meth.rs:434:4
[INFO] [stdout]     |
[INFO] [stdout] 434 | fn power2(x: f32) -> f32 {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `abs0` is never used
[INFO] [stdout]    --> src/meth.rs:438:4
[INFO] [stdout]     |
[INFO] [stdout] 438 | fn abs0(x: f32) -> f32 {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `square_v` is never used
[INFO] [stdout]    --> src/meth.rs:442:4
[INFO] [stdout]     |
[INFO] [stdout] 442 | fn square_v(x: &mut [f32]) -> &mut [f32] {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `square_vec` is never used
[INFO] [stdout]    --> src/meth.rs:449:8
[INFO] [stdout]     |
[INFO] [stdout] 449 | pub fn square_vec(x: Vec<f32>) -> Vec<f32> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `power` is never used
[INFO] [stdout]    --> src/meth.rs:457:8
[INFO] [stdout]     |
[INFO] [stdout] 457 | pub fn power(x: Array2<f32>) -> Array2<f32> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `abs` is never used
[INFO] [stdout]    --> src/meth.rs:461:8
[INFO] [stdout]     |
[INFO] [stdout] 461 | pub fn abs(x: Array2<f32>) -> Array2<f32> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sigmoid_vec` is never used
[INFO] [stdout]    --> src/meth.rs:465:8
[INFO] [stdout]     |
[INFO] [stdout] 465 | pub fn sigmoid_vec(x: Vec<f32>) -> Vec<f32> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `st0` is never used
[INFO] [stdout]    --> src/meth.rs:469:8
[INFO] [stdout]     |
[INFO] [stdout] 469 | pub fn st0(x: f32, m: f32) -> f32 {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `standardize_v` is never used
[INFO] [stdout]    --> src/meth.rs:473:8
[INFO] [stdout]     |
[INFO] [stdout] 473 | pub fn standardize_v(x: Array1<f32>) -> Array1<f32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `leaky_relu0` is never used
[INFO] [stdout]    --> src/meth.rs:491:4
[INFO] [stdout]     |
[INFO] [stdout] 491 | fn leaky_relu0(x: f32) -> f32 {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `leaky_relu_vec` is never used
[INFO] [stdout]    --> src/meth.rs:495:4
[INFO] [stdout]     |
[INFO] [stdout] 495 | fn leaky_relu_vec(x: Vec<f32>) -> Vec<f32> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `leaky_relu` is never used
[INFO] [stdout]    --> src/meth.rs:499:4
[INFO] [stdout]     |
[INFO] [stdout] 499 | fn leaky_relu(x: Array2<f32>) -> Array2<f32> {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_permute` is never used
[INFO] [stdout]    --> src/meth.rs:551:8
[INFO] [stdout]     |
[INFO] [stdout] 551 | pub fn random_permute(arr: &Array2<f32>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `plot` is never used
[INFO] [stdout]   --> src/plottly_ref.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn plot(x: &Vec<f32>, y: &Vec<f32>, title: &str) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:246:25
[INFO] [stdout]     |
[INFO] [stdout] 246 |     forward_info.insert(String::from_str("X").unwrap(), x_batch.clone());
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:247:25
[INFO] [stdout]     |
[INFO] [stdout] 247 |     forward_info.insert(String::from_str("N").unwrap(), nc);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:248:25
[INFO] [stdout]     |
[INFO] [stdout] 248 |     forward_info.insert(String::from_str("P").unwrap(), pc);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:249:25
[INFO] [stdout]     |
[INFO] [stdout] 249 |     forward_info.insert(String::from_str("y_batch").unwrap(), y_batch.clone());
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:281:25
[INFO] [stdout]     |
[INFO] [stdout] 281 |     forward_info.insert(String::from_str("X").unwrap(), x_batch.clone());
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:282:25
[INFO] [stdout]     |
[INFO] [stdout] 282 |     forward_info.insert(String::from_str("N").unwrap(), nc);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:283:25
[INFO] [stdout]     |
[INFO] [stdout] 283 |     forward_info.insert(String::from_str("P").unwrap(), pc);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:284:25
[INFO] [stdout]     |
[INFO] [stdout] 284 |     forward_info.insert(String::from_str("y_batch").unwrap(), y_batch.clone());
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:333:27
[INFO] [stdout]     |
[INFO] [stdout] 333 |     loss_gradients.insert(String::from_str("W").unwrap(), dldw);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:335:9
[INFO] [stdout]     |
[INFO] [stdout] 335 |         String::from_str("B").unwrap(),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:546:14
[INFO] [stdout]     |
[INFO] [stdout] 546 |     h.insert(String::from_str("W").unwrap(), w);
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/meth.rs:547:14
[INFO] [stdout]     |
[INFO] [stdout] 547 |     h.insert(String::from_str("B").unwrap(), b);
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `callable_func` (bin "callable_func" test) due to 12 previous errors; 74 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b235102e2ac816f8b84495d476ab1aa6aea1c6e4040d9cd95a1b5d77dc74ec19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b235102e2ac816f8b84495d476ab1aa6aea1c6e4040d9cd95a1b5d77dc74ec19", kill_on_drop: false }`
[INFO] [stdout] b235102e2ac816f8b84495d476ab1aa6aea1c6e4040d9cd95a1b5d77dc74ec19
