[INFO] cloning repository https://github.com/anshelino0606/LAfNA [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anshelino0606/LAfNA" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanshelino0606%2FLAfNA", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanshelino0606%2FLAfNA'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d23e0b70486bad87f3399595f7975434f6a382b5 [INFO] checking anshelino0606/LAfNA/d23e0b70486bad87f3399595f7975434f6a382b5 against nightly-2024-10-24 for legacyreceiver_rename [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanshelino0606%2FLAfNA" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anshelino0606/LAfNA on toolchain nightly-2024-10-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-24" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anshelino0606/LAfNA [INFO] finished tweaking git repo https://github.com/anshelino0606/LAfNA [INFO] tweaked toml for git repo https://github.com/anshelino0606/LAfNA written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/anshelino0606/LAfNA 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" "+nightly-2024-10-24" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d7b4a89f9900e84a42a0db4f5caf9dd91163dc976c273468deec1a147b35ca9 [INFO] running `Command { std: "docker" "start" "-a" "2d7b4a89f9900e84a42a0db4f5caf9dd91163dc976c273468deec1a147b35ca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d7b4a89f9900e84a42a0db4f5caf9dd91163dc976c273468deec1a147b35ca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d7b4a89f9900e84a42a0db4f5caf9dd91163dc976c273468deec1a147b35ca9", kill_on_drop: false }` [INFO] [stdout] 2d7b4a89f9900e84a42a0db4f5caf9dd91163dc976c273468deec1a147b35ca9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-24" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8be986bf1b9a1ecddd069b3bb5f12428b1193bff9fedcaad969ce0f1091894a [INFO] running `Command { std: "docker" "start" "-a" "c8be986bf1b9a1ecddd069b3bb5f12428b1193bff9fedcaad969ce0f1091894a", kill_on_drop: false }` [INFO] [stderr] warning: LAfNA v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `tensors` which is missing a lib target [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling zerocopy v0.8.0-alpha.6 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking LAfNA v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: crate `LAfNA` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `laf_na` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking rand_core v0.9.0-alpha.1 [INFO] [stderr] Checking rand_chacha v0.9.0-alpha.1 [INFO] [stderr] Checking rand v0.9.0-alpha.1 [INFO] [stderr] Checking tensors v0.1.0 (/opt/rustwide/workdir/src/tensors) [INFO] [stdout] warning: unused imports: `AddAssign`, `Add`, `DivAssign`, `Div`, `MulAssign`, `Mul`, `SubAssign`, and `Sub` [INFO] [stdout] --> src/tensors/src/main.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::{Add, AddAssign, Div, DivAssign, Index, IndexMut, Mul, MulAssign, Sub, SubAssign}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddAssign`, `Add`, `DivAssign`, `Div`, `MulAssign`, `Mul`, `SubAssign`, and `Sub` [INFO] [stdout] --> src/tensors/src/main.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::{Add, AddAssign, Div, DivAssign, Index, IndexMut, Mul, MulAssign, Sub, SubAssign}; [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/tensors/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/tensors/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/tensors/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/tensors/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `previous_eigenvalue` is never read [INFO] [stdout] --> src/tensors/src/main.rs:935:17 [INFO] [stdout] | [INFO] [stdout] 935 | let mut previous_eigenvalue = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `previous_eigenvalue` is never read [INFO] [stdout] --> src/tensors/src/main.rs:935:17 [INFO] [stdout] | [INFO] [stdout] 935 | let mut previous_eigenvalue = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `previous_eigenvalue` is never read [INFO] [stdout] --> src/tensors/src/main.rs:976:17 [INFO] [stdout] | [INFO] [stdout] 976 | let mut previous_eigenvalue = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `previous_eigenvalue` is never read [INFO] [stdout] --> src/tensors/src/main.rs:976:17 [INFO] [stdout] | [INFO] [stdout] 976 | let mut previous_eigenvalue = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_iter` [INFO] [stdout] --> src/tensors/src/main.rs:1013:39 [INFO] [stdout] | [INFO] [stdout] 1013 | let (dominant_vector, eigenvalue, num_iter) = eigenvalue_methods::power_iteration(&matrix, num_iterations, tolerance).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_iter` [INFO] [stdout] --> src/tensors/src/main.rs:1013:39 [INFO] [stdout] | [INFO] [stdout] 1013 | let (dominant_vector, eigenvalue, num_iter) = eigenvalue_methods::power_iteration(&matrix, num_iterations, tolerance).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Matrix` is more private than the item `PQLU::l` [INFO] [stdout] --> src/tensors/src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub l: Matrix, [INFO] [stdout] | ^^^^^^^^^^^^^ field `PQLU::l` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Matrix` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/tensors/src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Matrix` is more private than the item `PQLU::u` [INFO] [stdout] --> src/tensors/src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub u: Matrix, [INFO] [stdout] | ^^^^^^^^^^^^^ field `PQLU::u` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Matrix` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/tensors/src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Matrix` is more private than the item `PQLU::l` [INFO] [stdout] --> src/tensors/src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub l: Matrix, [INFO] [stdout] | ^^^^^^^^^^^^^ field `PQLU::l` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Matrix` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/tensors/src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Matrix` is more private than the item `PQLU::u` [INFO] [stdout] --> src/tensors/src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub u: Matrix, [INFO] [stdout] | ^^^^^^^^^^^^^ field `PQLU::u` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Matrix` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/tensors/src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tensors/src/main.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl Matrix [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | fn new(rows: usize, cols: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn identity(dim: usize) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn zero(rows: usize, cols: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn print(&self) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn add(&self, other: &Matrix) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn subtract(&self, other: &Matrix) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn scalar_multiply(&mut self, scalar: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn swap_rows(&mut self, row1: usize, row2: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn swap_cols(&mut self, col1: usize, col2: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn multiply_row_by_scalar(&mut self, row_index: usize, scalar: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn multiply_col_by_scalar(&mut self, col_index: usize, scalar: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn gaussian_elimination(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn is_tridiagonal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tensors/src/main.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 41 | impl Matrix [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | fn new(rows: usize, cols: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn identity(dim: usize) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn zero(rows: usize, cols: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn print(&self) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn add(&self, other: &Matrix) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn subtract(&self, other: &Matrix) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn scalar_multiply(&mut self, scalar: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn swap_rows(&mut self, row1: usize, row2: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn swap_cols(&mut self, col1: usize, col2: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn multiply_row_by_scalar(&mut self, row_index: usize, scalar: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn multiply_col_by_scalar(&mut self, col_index: usize, scalar: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn gaussian_elimination(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn is_tridiagonal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `set`, `transpose`, `multiply`, and `multiply_vector` are never used [INFO] [stdout] --> src/tensors/src/main.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 226 | impl Matrix [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn get(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn set(&mut self, row: usize, col: usize, value: f64) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn transpose(&self) -> Matrix { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn multiply(&self, other: &Matrix) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn multiply_vector(&self, vector: &Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `set`, `transpose`, `multiply`, and `multiply_vector` are never used [INFO] [stdout] --> src/tensors/src/main.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 226 | impl Matrix [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn get(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn set(&mut self, row: usize, col: usize, value: f64) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn transpose(&self) -> Matrix { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn multiply(&self, other: &Matrix) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn multiply_vector(&self, vector: &Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file` is never used [INFO] [stdout] --> src/tensors/src/main.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 310 | impl Vector { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 311 | fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_file` is never used [INFO] [stdout] --> src/tensors/src/main.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 310 | impl Vector { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 311 | fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinearSystem` is never constructed [INFO] [stdout] --> src/tensors/src/main.rs:718:8 [INFO] [stdout] | [INFO] [stdout] 718 | struct LinearSystem { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinearSystem` is never constructed [INFO] [stdout] --> src/tensors/src/main.rs:718:8 [INFO] [stdout] | [INFO] [stdout] 718 | struct LinearSystem { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `jacobi`, `gauss_seidel`, and `sor` are never used [INFO] [stdout] --> src/tensors/src/main.rs:725:8 [INFO] [stdout] | [INFO] [stdout] 724 | impl LinearSystem { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 725 | fn new(a: Vec>, b: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 730 | fn jacobi(&self, tolerance: f64, max_iterations: usize) -> (Vec, f64, usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 760 | fn gauss_seidel(&self, tolerance: f64, max_iterations: usize) -> (Vec, f64, usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 792 | fn sor(&self, omega: f64, tolerance: f64, max_iterations: usize) -> (Vec, f64, usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `thompson_algorithm_optimized` is never used [INFO] [stdout] --> src/tensors/src/main.rs:830:4 [INFO] [stdout] | [INFO] [stdout] 830 | fn thompson_algorithm_optimized(diag_main: &[f64], diag_sub: &[f64], diag_sup: &[f64], rhs: &[f64]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `jacobi`, `gauss_seidel`, and `sor` are never used [INFO] [stdout] --> src/tensors/src/main.rs:725:8 [INFO] [stdout] | [INFO] [stdout] 724 | impl LinearSystem { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 725 | fn new(a: Vec>, b: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 730 | fn jacobi(&self, tolerance: f64, max_iterations: usize) -> (Vec, f64, usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 760 | fn gauss_seidel(&self, tolerance: f64, max_iterations: usize) -> (Vec, f64, usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 792 | fn sor(&self, omega: f64, tolerance: f64, max_iterations: usize) -> (Vec, f64, usize) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `invert` is never used [INFO] [stdout] --> src/tensors/src/main.rs:856:12 [INFO] [stdout] | [INFO] [stdout] 854 | impl Matrix { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 855 | // Method to invert the matrix using Gaussian Elimination [INFO] [stdout] 856 | pub fn invert(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `thompson_algorithm_optimized` is never used [INFO] [stdout] --> src/tensors/src/main.rs:830:4 [INFO] [stdout] | [INFO] [stdout] 830 | fn thompson_algorithm_optimized(diag_main: &[f64], diag_sub: &[f64], diag_sup: &[f64], rhs: &[f64]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gaussian_elimination` is never used [INFO] [stdout] --> src/tensors/src/main.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn gaussian_elimination(matrix: &mut Matrix) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/tensors/src/main.rs:383:12 [INFO] [stdout] | [INFO] [stdout] 383 | pub fn solve(matrix: &Matrix, b: Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `invert` is never used [INFO] [stdout] --> src/tensors/src/main.rs:856:12 [INFO] [stdout] | [INFO] [stdout] 854 | impl Matrix { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 855 | // Method to invert the matrix using Gaussian Elimination [INFO] [stdout] 856 | pub fn invert(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invert` is never used [INFO] [stdout] --> src/tensors/src/main.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn invert(matrix: &Matrix) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lu` is never used [INFO] [stdout] --> src/tensors/src/main.rs:457:12 [INFO] [stdout] | [INFO] [stdout] 457 | pub fn lu(matrix: &Matrix) -> PQLU { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gaussian_elimination` is never used [INFO] [stdout] --> src/tensors/src/main.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn gaussian_elimination(matrix: &mut Matrix) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/tensors/src/main.rs:383:12 [INFO] [stdout] | [INFO] [stdout] 383 | pub fn solve(matrix: &Matrix, b: Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `det_lu` is never used [INFO] [stdout] --> src/tensors/src/main.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn det_lu(matrix: &Matrix) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `forward_substitution` is never used [INFO] [stdout] --> src/tensors/src/main.rs:490:12 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn forward_substitution(matrix: &Matrix, b: &Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invert` is never used [INFO] [stdout] --> src/tensors/src/main.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn invert(matrix: &Matrix) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `back_substitution` is never used [INFO] [stdout] --> src/tensors/src/main.rs:508:12 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn back_substitution(matrix: &Matrix, y: &Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lu` is never used [INFO] [stdout] --> src/tensors/src/main.rs:457:12 [INFO] [stdout] | [INFO] [stdout] 457 | pub fn lu(matrix: &Matrix) -> PQLU { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_lu` is never used [INFO] [stdout] --> src/tensors/src/main.rs:526:12 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn solve_lu(matrix: &Matrix, b: Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `det_lu` is never used [INFO] [stdout] --> src/tensors/src/main.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn det_lu(matrix: &Matrix) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `utu` is never used [INFO] [stdout] --> src/tensors/src/main.rs:536:12 [INFO] [stdout] | [INFO] [stdout] 536 | pub fn utu(u: &Matrix) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `forward_substitution` is never used [INFO] [stdout] --> src/tensors/src/main.rs:490:12 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn forward_substitution(matrix: &Matrix, b: &Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cholesky_decompose` is never used [INFO] [stdout] --> src/tensors/src/main.rs:541:12 [INFO] [stdout] | [INFO] [stdout] 541 | pub fn cholesky_decompose(matrix: &Matrix) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `back_substitution` is never used [INFO] [stdout] --> src/tensors/src/main.rs:508:12 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn back_substitution(matrix: &Matrix, y: &Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_spd` is never used [INFO] [stdout] --> src/tensors/src/main.rs:579:12 [INFO] [stdout] | [INFO] [stdout] 579 | pub fn solve_spd(matrix: &Matrix, b: Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_lu` is never used [INFO] [stdout] --> src/tensors/src/main.rs:526:12 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn solve_lu(matrix: &Matrix, b: Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_utu` is never used [INFO] [stdout] --> src/tensors/src/main.rs:595:12 [INFO] [stdout] | [INFO] [stdout] 595 | pub fn solve_utu(u: &Matrix, b: &Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `utu` is never used [INFO] [stdout] --> src/tensors/src/main.rs:536:12 [INFO] [stdout] | [INFO] [stdout] 536 | pub fn utu(u: &Matrix) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `thompson_algorithm_rs` is never used [INFO] [stdout] --> src/tensors/src/main.rs:617:12 [INFO] [stdout] | [INFO] [stdout] 617 | pub fn thompson_algorithm_rs(matrix: &Matrix, d: &Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cholesky_decompose` is never used [INFO] [stdout] --> src/tensors/src/main.rs:541:12 [INFO] [stdout] | [INFO] [stdout] 541 | pub fn cholesky_decompose(matrix: &Matrix) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `thompson_algorithm_ls` is never used [INFO] [stdout] --> src/tensors/src/main.rs:651:12 [INFO] [stdout] | [INFO] [stdout] 651 | pub fn thompson_algorithm_ls(matrix: &Matrix, d: &Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_spd` is never used [INFO] [stdout] --> src/tensors/src/main.rs:579:12 [INFO] [stdout] | [INFO] [stdout] 579 | pub fn solve_spd(matrix: &Matrix, b: Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inverse_power_iteration` is never used [INFO] [stdout] --> src/tensors/src/main.rs:966:12 [INFO] [stdout] | [INFO] [stdout] 966 | pub fn inverse_power_iteration(matrix: &Matrix, num_iterations: usize, tolerance: f64) -> Result<(Vector, f64, usize), &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_utu` is never used [INFO] [stdout] --> src/tensors/src/main.rs:595:12 [INFO] [stdout] | [INFO] [stdout] 595 | pub fn solve_utu(u: &Matrix, b: &Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `thompson_algorithm_rs` is never used [INFO] [stdout] --> src/tensors/src/main.rs:617:12 [INFO] [stdout] | [INFO] [stdout] 617 | pub fn thompson_algorithm_rs(matrix: &Matrix, d: &Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `thompson_algorithm_ls` is never used [INFO] [stdout] --> src/tensors/src/main.rs:651:12 [INFO] [stdout] | [INFO] [stdout] 651 | pub fn thompson_algorithm_ls(matrix: &Matrix, d: &Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inverse_power_iteration` is never used [INFO] [stdout] --> src/tensors/src/main.rs:966:12 [INFO] [stdout] | [INFO] [stdout] 966 | pub fn inverse_power_iteration(matrix: &Matrix, num_iterations: usize, tolerance: f64) -> Result<(Vector, f64, usize), &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Av` should have a snake case name [INFO] [stdout] --> src/tensors/src/main.rs:950:17 [INFO] [stdout] | [INFO] [stdout] 950 | let Av = matrix.multiply_custom_vector(&b_k)?; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `av` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Av` should have a snake case name [INFO] [stdout] --> src/tensors/src/main.rs:950:17 [INFO] [stdout] | [INFO] [stdout] 950 | let Av = matrix.multiply_custom_vector(&b_k)?; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `av` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Av_i` should have a snake case name [INFO] [stdout] --> src/tensors/src/main.rs:951:78 [INFO] [stdout] | [INFO] [stdout] 951 | let numerator = b_k.data.iter().zip(Av.data.iter()).map(|(&v_i, &Av_i)| v_i * Av_i).sum::(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `av_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Av_i` should have a snake case name [INFO] [stdout] --> src/tensors/src/main.rs:951:78 [INFO] [stdout] | [INFO] [stdout] 951 | let numerator = b_k.data.iter().zip(Av.data.iter()).map(|(&v_i, &Av_i)| v_i * Av_i).sum::(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `av_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Av` should have a snake case name [INFO] [stdout] --> src/tensors/src/main.rs:988:17 [INFO] [stdout] | [INFO] [stdout] 988 | let Av = matrix_inv.multiply_custom_vector(&b_k)?; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `av` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Av` should have a snake case name [INFO] [stdout] --> src/tensors/src/main.rs:988:17 [INFO] [stdout] | [INFO] [stdout] 988 | let Av = matrix_inv.multiply_custom_vector(&b_k)?; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `av` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Av_i` should have a snake case name [INFO] [stdout] --> src/tensors/src/main.rs:989:78 [INFO] [stdout] | [INFO] [stdout] 989 | let numerator = b_k.data.iter().zip(Av.data.iter()).map(|(&v_i, &Av_i)| v_i * Av_i).sum::(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `av_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Av_i` should have a snake case name [INFO] [stdout] --> src/tensors/src/main.rs:989:78 [INFO] [stdout] | [INFO] [stdout] 989 | let numerator = b_k.data.iter().zip(Av.data.iter()).map(|(&v_i, &Av_i)| v_i * Av_i).sum::(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `av_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.83s [INFO] running `Command { std: "docker" "inspect" "c8be986bf1b9a1ecddd069b3bb5f12428b1193bff9fedcaad969ce0f1091894a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8be986bf1b9a1ecddd069b3bb5f12428b1193bff9fedcaad969ce0f1091894a", kill_on_drop: false }` [INFO] [stdout] c8be986bf1b9a1ecddd069b3bb5f12428b1193bff9fedcaad969ce0f1091894a