[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 master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgennarogravinese%2Fcallable_func" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gennarogravinese/callable_func on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded polars-utils v0.38.3 [INFO] [stderr] Downloaded smartstring v1.0.1 [INFO] [stderr] Downloaded polars-arrow-format v0.1.0 [INFO] [stderr] Downloaded either v1.12.0 [INFO] [stderr] Downloaded polars-error v0.38.3 [INFO] [stderr] Downloaded sysinfo v0.30.12 [INFO] [stderr] Downloaded foreign_vec v0.1.0 [INFO] [stderr] Downloaded atoi_simd v0.15.6 [INFO] [stderr] Downloaded now v0.1.3 [INFO] [stderr] Downloaded argminmax v0.6.2 [INFO] [stderr] Downloaded polars-compute v0.38.3 [INFO] [stderr] Downloaded lz4 v1.25.0 [INFO] [stderr] Downloaded multiversion-macros v0.7.4 [INFO] [stderr] Downloaded askama_escape v0.10.3 [INFO] [stderr] Downloaded humansize v2.1.3 [INFO] [stderr] Downloaded memmap2 v0.7.1 [INFO] [stderr] Downloaded redox_syscall v0.5.2 [INFO] [stderr] Downloaded ndarray-rand v0.14.0 [INFO] [stderr] Downloaded fast-float v0.2.0 [INFO] [stderr] Downloaded polars-core v0.38.3 [INFO] [stderr] Downloaded cc v1.0.99 [INFO] [stderr] Downloaded sqlparser v0.39.0 [INFO] [stderr] Downloaded serde_json v1.0.117 [INFO] [stderr] Downloaded polars-pipe v0.38.3 [INFO] [stderr] Downloaded polars-parquet v0.38.3 [INFO] [stderr] Downloaded polars-lazy v0.38.3 [INFO] [stderr] Downloaded polars-io v0.38.3 [INFO] [stderr] Downloaded polars-plan v0.38.3 [INFO] [stderr] Downloaded parse-zoneinfo v0.3.1 [INFO] [stderr] Downloaded comfy-table v7.1.1 [INFO] [stderr] Downloaded itoap v1.0.1 [INFO] [stderr] Downloaded lz4-sys v1.9.5 [INFO] [stderr] Downloaded polars-arrow v0.38.3 [INFO] [stderr] Downloaded target-features v0.1.6 [INFO] [stderr] Downloaded polars-ops v0.38.3 [INFO] [stderr] Downloaded zstd-sys v2.0.11+zstd.1.5.6 [INFO] [stderr] Downloaded array-init-cursor v0.2.0 [INFO] [stderr] Downloaded planus v0.3.1 [INFO] [stderr] Downloaded raw-cpuid v11.0.2 [INFO] [stderr] Downloaded polars v0.38.3 [INFO] [stderr] Downloaded syn v2.0.67 [INFO] [stderr] Downloaded askama_parser v0.2.1 [INFO] [stderr] Downloaded basic-toml v0.1.9 [INFO] [stderr] Downloaded askama_derive v0.12.5 [INFO] [stderr] Downloaded askama v0.12.1 [INFO] [stderr] Downloaded plotly_derive v0.9.0 [INFO] [stderr] Downloaded chrono-tz v0.8.6 [INFO] [stderr] Downloaded darling_core v0.20.9 [INFO] [stderr] Downloaded darling_macro v0.20.9 [INFO] [stderr] Downloaded darling v0.20.9 [INFO] [stderr] Downloaded parquet-format-safe v0.2.4 [INFO] [stderr] Downloaded streaming-decompression v0.1.2 [INFO] [stderr] Downloaded polars-sql v0.38.3 [INFO] [stderr] Downloaded strum v0.26.2 [INFO] [stderr] Downloaded chrono-tz-build v0.2.1 [INFO] [stderr] Downloaded ethnum v1.5.0 [INFO] [stderr] Downloaded strength_reduce v0.2.4 [INFO] [stderr] Downloaded unicode-reverse v1.0.9 [INFO] [stderr] Downloaded multiversion v0.7.4 [INFO] [stderr] Downloaded polars-row v0.38.3 [INFO] [stderr] Downloaded xxhash-rust v0.8.10 [INFO] [stderr] Downloaded polars-time v0.38.3 [INFO] [stderr] Downloaded plotly v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25f87af4602798ffdcb06e4fa279fc1cb94ec03eaa6e8f61bdafb01a1a7cb008 [INFO] running `Command { std: "docker" "start" "-a" "25f87af4602798ffdcb06e4fa279fc1cb94ec03eaa6e8f61bdafb01a1a7cb008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25f87af4602798ffdcb06e4fa279fc1cb94ec03eaa6e8f61bdafb01a1a7cb008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25f87af4602798ffdcb06e4fa279fc1cb94ec03eaa6e8f61bdafb01a1a7cb008", kill_on_drop: false }` [INFO] [stdout] 25f87af4602798ffdcb06e4fa279fc1cb94ec03eaa6e8f61bdafb01a1a7cb008 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 816dfcadc46db01fae42b0389191f416b0efa835c402de71e716aa194682e225 [INFO] running `Command { std: "docker" "start" "-a" "816dfcadc46db01fae42b0389191f416b0efa835c402de71e716aa194682e225", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling target-features v0.1.6 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking array-init-cursor v0.2.0 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Checking planus v0.3.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling polars-utils v0.38.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking simdutf8 v0.1.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking raw-cpuid v11.0.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling polars-arrow v0.38.3 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking foreign_vec v0.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking atoi_simd v0.15.6 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking ethnum v1.5.0 [INFO] [stderr] Checking fast-float v0.2.0 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling polars-compute v0.38.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling polars-core v0.38.3 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking regex v1.10.5 [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] Compiling darling_core v0.20.9 [INFO] [stderr] Checking argminmax v0.6.2 [INFO] [stderr] Checking now v0.1.3 [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] Compiling polars-plan v0.38.3 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling polars-lazy v0.38.3 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking streaming-decompression v0.1.2 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Compiling polars v0.38.3 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking parquet-format-safe v0.2.4 [INFO] [stderr] Checking typeid v1.0.0 [INFO] [stderr] Compiling multiversion-macros 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 darling_macro v0.20.9 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking multiversion v0.7.4 [INFO] [stderr] Compiling plotly_derive v0.9.0 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking ndarray-rand v0.14.0 [INFO] [stderr] Checking comfy-table v7.1.1 [INFO] [stderr] Checking polars-arrow-format v0.1.0 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking serde_with v2.3.3 [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)]` on by default [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)]` 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; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Ndarr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` 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; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Ndarr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` 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: `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: 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)]` 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: 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)]` 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)]` on by default [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)]` 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::::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: `dl_ds` [INFO] [stdout] --> src/meth.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | let dl_ds = Array2::::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: `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::::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: `dl_ds` [INFO] [stdout] --> src/meth.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | let dl_ds = Array2::::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: `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: 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: unused variable: `weights` [INFO] [stdout] --> src/meth.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | weights: &HashMap>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weights` [INFO] [stdout] --> src/meth.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | weights: &HashMap>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vc` [INFO] [stdout] --> src/meth.rs:552:13 [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: unused variable: `vc` [INFO] [stdout] --> src/meth.rs:552:13 [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/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)]` on by default [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)]` on by default [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: 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: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: 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: 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: `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: 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: 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: `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: `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: `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: `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: `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: `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: `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: `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: `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: `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: `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: `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_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: `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: `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: `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_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_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: 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, w: Array2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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, Vec>>(f: F, arg: &Vec) -> Vec { [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, Array1>>( [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, Vec>>( [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, Vec>>(f: F, arg: &Vec, delta: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [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, w: Array2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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, Vec>, G: Callable, Vec>>( [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, y: Array2) -> Array2 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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, Vec>>(f: F, arg: &Vec) -> Vec { [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, w: Array2) -> Array2 { [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, Array1>>( [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, Array2>>( [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, Vec>>( [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, Array2>>( [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, w: Array2) -> Array2 { [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, Vec>>(f: F, arg: &Vec, delta: f32) -> Vec { [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 `chain_derive_vec` is never used [INFO] [stdout] --> src/meth.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn chain_derive_vec, Vec>, G: Callable, Vec>>( [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, actual: &Array2) -> 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, y: Array2) -> Array2 { [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, actual: &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, w: Array2) -> Array2 { [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 `matrix_forward_extra` is never used [INFO] [stdout] --> src/meth.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn matrix_forward_extra, Array2>>( [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, Array2>>( [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 `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, w: Array2) -> Array2 { [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 `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 `apply` is never used [INFO] [stdout] --> src/meth.rs:342:4 [INFO] [stdout] | [INFO] [stdout] 342 | fn apply(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(f: impl Fn(&mut [T]) -> &mut [T], numbers: &mut [T]) -> &[T] { [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, actual: &Array2) -> f32 { [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(f: impl Fn(&mut [T]) -> &mut [T], numbers: &mut [T]) -> &[T] { [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, actual: &Array2) -> f32 { [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 `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 `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 `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 `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 `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 `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 `apply` is never used [INFO] [stdout] --> src/meth.rs:342:4 [INFO] [stdout] | [INFO] [stdout] 342 | fn apply(x: T, f: F) -> T [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 `callable` is never used [INFO] [stdout] --> src/meth.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn callable(f: impl Fn(&mut [T]) -> &mut [T], numbers: &mut [T]) -> &[T] { [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 `callable_arr` is never used [INFO] [stdout] --> src/meth.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn callable_arr(f: impl Fn(&mut [T]) -> &mut [T], numbers: &mut [T]) -> &[T] { [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 `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 `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 `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 `square_vec` is never used [INFO] [stdout] --> src/meth.rs:449:8 [INFO] [stdout] | [INFO] [stdout] 449 | pub fn square_vec(x: Vec) -> Vec { [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 `power` is never used [INFO] [stdout] --> src/meth.rs:457:8 [INFO] [stdout] | [INFO] [stdout] 457 | pub fn power(x: Array2) -> Array2 { [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) -> Array2 { [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 `sigmoid_vec` is never used [INFO] [stdout] --> src/meth.rs:465:8 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn sigmoid_vec(x: Vec) -> Vec { [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 `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 `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 `standardize_v` is never used [INFO] [stdout] --> src/meth.rs:473:8 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn standardize_v(x: Array1) -> Array1 { [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) -> Vec { [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 `power` is never used [INFO] [stdout] --> src/meth.rs:457:8 [INFO] [stdout] | [INFO] [stdout] 457 | pub fn power(x: Array2) -> Array2 { [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) -> Vec { [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) -> Array2 { [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) -> Array2 { [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) -> Vec { [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) { [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 `plot` is never used [INFO] [stdout] --> src/plottly_ref.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn plot(x: &Vec, y: &Vec, title: &str) { [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) -> Array1 { [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) -> Vec { [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) -> Array2 { [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) { [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, y: &Vec, title: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.79s [INFO] running `Command { std: "docker" "inspect" "816dfcadc46db01fae42b0389191f416b0efa835c402de71e716aa194682e225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "816dfcadc46db01fae42b0389191f416b0efa835c402de71e716aa194682e225", kill_on_drop: false }` [INFO] [stdout] 816dfcadc46db01fae42b0389191f416b0efa835c402de71e716aa194682e225