[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] 88a79e03e183f22b93a3f0892bf4582e4406ccc4 [INFO] checking anshelino0606/LAfNA against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanshelino0606%2FLAfNA" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anshelino0606/LAfNA on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-3-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c59f75afaa544304557ac9c38bc5daf2291bdca4a650e8aff5da115c42c08eaf [INFO] running `Command { std: "docker" "start" "-a" "c59f75afaa544304557ac9c38bc5daf2291bdca4a650e8aff5da115c42c08eaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c59f75afaa544304557ac9c38bc5daf2291bdca4a650e8aff5da115c42c08eaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c59f75afaa544304557ac9c38bc5daf2291bdca4a650e8aff5da115c42c08eaf", kill_on_drop: false }` [INFO] [stdout] c59f75afaa544304557ac9c38bc5daf2291bdca4a650e8aff5da115c42c08eaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fda61de30c054d70a176708414f9a95404bad875fc115500ce04f9aee0b95d5 [INFO] running `Command { std: "docker" "start" "-a" "0fda61de30c054d70a176708414f9a95404bad875fc115500ce04f9aee0b95d5", 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] Checking memchr v2.7.1 [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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Checking tensors v0.1.0 (/opt/rustwide/workdir/src/tensors) [INFO] [stdout] warning: unused imports: `AddAssign`, `Add`, `DivAssign`, `Div`, `MulAssign`, `Mul`, `SubAssign`, `Sub` [INFO] [stdout] --> src/tensors/src/main.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::{Add, AddAssign, Div, DivAssign, 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 imports: `AddAssign`, `Add`, `DivAssign`, `Div`, `MulAssign`, `Mul`, `SubAssign`, `Sub` [INFO] [stdout] --> src/tensors/src/main.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::{Add, AddAssign, Div, DivAssign, 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: type `Matrix` is more private than the item `PQLU::l` [INFO] [stdout] --> src/tensors/src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | 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:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | 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:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | 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:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector` is never constructed [INFO] [stdout] --> src/tensors/src/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Vector { [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:34:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Matrix [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | fn new(rows: usize, cols: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn identity(dim: usize) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn zero(rows: usize, cols: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn print(&self) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn add(&self, other: &Matrix) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn subtract(&self, other: &Matrix) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn scalar_multiply(&mut self, scalar: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn swap_rows(&mut self, row1: usize, row2: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn swap_cols(&mut self, col1: usize, col2: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn multiply_row_by_scalar(&mut self, row_index: usize, scalar: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn multiply_col_by_scalar(&mut self, col_index: usize, scalar: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn gaussian_elimination(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_file`, `set`, `transpose`, `multiply`, and `multiply_vector` are never used [INFO] [stdout] --> src/tensors/src/main.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 216 | impl Matrix [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 217 | { [INFO] [stdout] 218 | fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn set(&mut self, row: usize, col: usize, value: f64) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn transpose(&self) -> Matrix { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn multiply(&self, other: &Matrix) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | 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:288:8 [INFO] [stdout] | [INFO] [stdout] 287 | impl Vector { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 288 | fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gaussian_elimination` is never used [INFO] [stdout] --> src/tensors/src/main.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | 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:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn solve(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:375:12 [INFO] [stdout] | [INFO] [stdout] 375 | 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:420:12 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn lu(matrix: &Matrix) -> PQLU { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `det_lu` is never used [INFO] [stdout] --> src/tensors/src/main.rs:443:12 [INFO] [stdout] | [INFO] [stdout] 443 | 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:453:12 [INFO] [stdout] | [INFO] [stdout] 453 | pub fn forward_substitution(matrix: &Matrix, b: &Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `back_substitution` is never used [INFO] [stdout] --> src/tensors/src/main.rs:471:12 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn back_substitution(matrix: &Matrix, y: &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:489:12 [INFO] [stdout] | [INFO] [stdout] 489 | pub fn solve_lu(matrix: &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:499:12 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn utu(u: &Matrix) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cholesky_decompose` is never used [INFO] [stdout] --> src/tensors/src/main.rs:504:12 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn cholesky_decompose(matrix: &Matrix) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_spd` is never used [INFO] [stdout] --> src/tensors/src/main.rs:542:12 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn solve_spd(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:558:12 [INFO] [stdout] | [INFO] [stdout] 558 | 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:580:12 [INFO] [stdout] | [INFO] [stdout] 580 | pub fn thompson_algorithm_rs(matrix: &Matrix, d: &Vec) -> Result, &'static str> { [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:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | 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:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | 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:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | 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:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector` is never constructed [INFO] [stdout] --> src/tensors/src/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Vector { [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:34:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Matrix [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | fn new(rows: usize, cols: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn identity(dim: usize) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn zero(rows: usize, cols: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn print(&self) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn add(&self, other: &Matrix) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn subtract(&self, other: &Matrix) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn scalar_multiply(&mut self, scalar: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn swap_rows(&mut self, row1: usize, row2: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn swap_cols(&mut self, col1: usize, col2: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn multiply_row_by_scalar(&mut self, row_index: usize, scalar: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn multiply_col_by_scalar(&mut self, col_index: usize, scalar: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn gaussian_elimination(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_file`, `set`, `transpose`, `multiply`, and `multiply_vector` are never used [INFO] [stdout] --> src/tensors/src/main.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 216 | impl Matrix [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 217 | { [INFO] [stdout] 218 | fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn set(&mut self, row: usize, col: usize, value: f64) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn transpose(&self) -> Matrix { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn multiply(&self, other: &Matrix) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | 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:288:8 [INFO] [stdout] | [INFO] [stdout] 287 | impl Vector { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 288 | fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gaussian_elimination` is never used [INFO] [stdout] --> src/tensors/src/main.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | 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:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn solve(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:375:12 [INFO] [stdout] | [INFO] [stdout] 375 | 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:420:12 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn lu(matrix: &Matrix) -> PQLU { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `det_lu` is never used [INFO] [stdout] --> src/tensors/src/main.rs:443:12 [INFO] [stdout] | [INFO] [stdout] 443 | 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:453:12 [INFO] [stdout] | [INFO] [stdout] 453 | pub fn forward_substitution(matrix: &Matrix, b: &Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `back_substitution` is never used [INFO] [stdout] --> src/tensors/src/main.rs:471:12 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn back_substitution(matrix: &Matrix, y: &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:489:12 [INFO] [stdout] | [INFO] [stdout] 489 | pub fn solve_lu(matrix: &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:499:12 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn utu(u: &Matrix) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cholesky_decompose` is never used [INFO] [stdout] --> src/tensors/src/main.rs:504:12 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn cholesky_decompose(matrix: &Matrix) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_spd` is never used [INFO] [stdout] --> src/tensors/src/main.rs:542:12 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn solve_spd(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:558:12 [INFO] [stdout] | [INFO] [stdout] 558 | 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:580:12 [INFO] [stdout] | [INFO] [stdout] 580 | pub fn thompson_algorithm_rs(matrix: &Matrix, d: &Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.63s [INFO] running `Command { std: "docker" "inspect" "0fda61de30c054d70a176708414f9a95404bad875fc115500ce04f9aee0b95d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fda61de30c054d70a176708414f9a95404bad875fc115500ce04f9aee0b95d5", kill_on_drop: false }` [INFO] [stdout] 0fda61de30c054d70a176708414f9a95404bad875fc115500ce04f9aee0b95d5 [INFO] checking anshelino0606/LAfNA against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanshelino0606%2FLAfNA" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anshelino0606/LAfNA on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-3-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 263db2ac384bc33f709964085813b91b4afe15f9b5bb17bddf8ceffb9742414b [INFO] running `Command { std: "docker" "start" "-a" "263db2ac384bc33f709964085813b91b4afe15f9b5bb17bddf8ceffb9742414b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "263db2ac384bc33f709964085813b91b4afe15f9b5bb17bddf8ceffb9742414b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "263db2ac384bc33f709964085813b91b4afe15f9b5bb17bddf8ceffb9742414b", kill_on_drop: false }` [INFO] [stdout] 263db2ac384bc33f709964085813b91b4afe15f9b5bb17bddf8ceffb9742414b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7134d25bd8ec8c6f0bb1c473a2cedc2a229b6ac9a14fdd8bfbaf175928dc7ca1 [INFO] running `Command { std: "docker" "start" "-a" "7134d25bd8ec8c6f0bb1c473a2cedc2a229b6ac9a14fdd8bfbaf175928dc7ca1", 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] Checking memchr v2.7.1 [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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Checking tensors v0.1.0 (/opt/rustwide/workdir/src/tensors) [INFO] [stdout] warning: unused imports: `AddAssign`, `Add`, `DivAssign`, `Div`, `MulAssign`, `Mul`, `SubAssign`, `Sub` [INFO] [stdout] --> src/tensors/src/main.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::{Add, AddAssign, Div, DivAssign, 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 imports: `AddAssign`, `Add`, `DivAssign`, `Div`, `MulAssign`, `Mul`, `SubAssign`, `Sub` [INFO] [stdout] --> src/tensors/src/main.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::{Add, AddAssign, Div, DivAssign, 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: type `Matrix` is more private than the item `PQLU::l` [INFO] [stdout] --> src/tensors/src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | 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:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | 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:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | 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:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector` is never constructed [INFO] [stdout] --> src/tensors/src/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Vector { [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:34:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Matrix [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | fn new(rows: usize, cols: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn identity(dim: usize) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn zero(rows: usize, cols: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn print(&self) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn add(&self, other: &Matrix) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn subtract(&self, other: &Matrix) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn scalar_multiply(&mut self, scalar: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn swap_rows(&mut self, row1: usize, row2: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn swap_cols(&mut self, col1: usize, col2: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn multiply_row_by_scalar(&mut self, row_index: usize, scalar: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn multiply_col_by_scalar(&mut self, col_index: usize, scalar: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn gaussian_elimination(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_file`, `set`, `transpose`, `multiply`, and `multiply_vector` are never used [INFO] [stdout] --> src/tensors/src/main.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 216 | impl Matrix [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 217 | { [INFO] [stdout] 218 | fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn set(&mut self, row: usize, col: usize, value: f64) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn transpose(&self) -> Matrix { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn multiply(&self, other: &Matrix) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | 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:288:8 [INFO] [stdout] | [INFO] [stdout] 287 | impl Vector { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 288 | fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gaussian_elimination` is never used [INFO] [stdout] --> src/tensors/src/main.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | 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:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn solve(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:375:12 [INFO] [stdout] | [INFO] [stdout] 375 | 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:420:12 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn lu(matrix: &Matrix) -> PQLU { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `det_lu` is never used [INFO] [stdout] --> src/tensors/src/main.rs:443:12 [INFO] [stdout] | [INFO] [stdout] 443 | 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:453:12 [INFO] [stdout] | [INFO] [stdout] 453 | pub fn forward_substitution(matrix: &Matrix, b: &Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `back_substitution` is never used [INFO] [stdout] --> src/tensors/src/main.rs:471:12 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn back_substitution(matrix: &Matrix, y: &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:489:12 [INFO] [stdout] | [INFO] [stdout] 489 | pub fn solve_lu(matrix: &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:499:12 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn utu(u: &Matrix) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cholesky_decompose` is never used [INFO] [stdout] --> src/tensors/src/main.rs:504:12 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn cholesky_decompose(matrix: &Matrix) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_spd` is never used [INFO] [stdout] --> src/tensors/src/main.rs:542:12 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn solve_spd(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:558:12 [INFO] [stdout] | [INFO] [stdout] 558 | 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:580:12 [INFO] [stdout] | [INFO] [stdout] 580 | pub fn thompson_algorithm_rs(matrix: &Matrix, d: &Vec) -> Result, &'static str> { [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:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | 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:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | 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:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | 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:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | struct Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector` is never constructed [INFO] [stdout] --> src/tensors/src/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Vector { [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:34:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Matrix [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | fn new(rows: usize, cols: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn identity(dim: usize) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn zero(rows: usize, cols: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn print(&self) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn add(&self, other: &Matrix) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn subtract(&self, other: &Matrix) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn scalar_multiply(&mut self, scalar: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn swap_rows(&mut self, row1: usize, row2: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn swap_cols(&mut self, col1: usize, col2: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn multiply_row_by_scalar(&mut self, row_index: usize, scalar: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | fn multiply_col_by_scalar(&mut self, col_index: usize, scalar: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn gaussian_elimination(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_file`, `set`, `transpose`, `multiply`, and `multiply_vector` are never used [INFO] [stdout] --> src/tensors/src/main.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 216 | impl Matrix [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 217 | { [INFO] [stdout] 218 | fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn set(&mut self, row: usize, col: usize, value: f64) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn transpose(&self) -> Matrix { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn multiply(&self, other: &Matrix) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | 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:288:8 [INFO] [stdout] | [INFO] [stdout] 287 | impl Vector { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 288 | fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gaussian_elimination` is never used [INFO] [stdout] --> src/tensors/src/main.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 306 | 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:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn solve(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:375:12 [INFO] [stdout] | [INFO] [stdout] 375 | 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:420:12 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn lu(matrix: &Matrix) -> PQLU { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `det_lu` is never used [INFO] [stdout] --> src/tensors/src/main.rs:443:12 [INFO] [stdout] | [INFO] [stdout] 443 | 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:453:12 [INFO] [stdout] | [INFO] [stdout] 453 | pub fn forward_substitution(matrix: &Matrix, b: &Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `back_substitution` is never used [INFO] [stdout] --> src/tensors/src/main.rs:471:12 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn back_substitution(matrix: &Matrix, y: &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:489:12 [INFO] [stdout] | [INFO] [stdout] 489 | pub fn solve_lu(matrix: &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:499:12 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn utu(u: &Matrix) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cholesky_decompose` is never used [INFO] [stdout] --> src/tensors/src/main.rs:504:12 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn cholesky_decompose(matrix: &Matrix) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_spd` is never used [INFO] [stdout] --> src/tensors/src/main.rs:542:12 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn solve_spd(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:558:12 [INFO] [stdout] | [INFO] [stdout] 558 | 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:580:12 [INFO] [stdout] | [INFO] [stdout] 580 | pub fn thompson_algorithm_rs(matrix: &Matrix, d: &Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.78s [INFO] running `Command { std: "docker" "inspect" "7134d25bd8ec8c6f0bb1c473a2cedc2a229b6ac9a14fdd8bfbaf175928dc7ca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7134d25bd8ec8c6f0bb1c473a2cedc2a229b6ac9a14fdd8bfbaf175928dc7ca1", kill_on_drop: false }` [INFO] [stdout] 7134d25bd8ec8c6f0bb1c473a2cedc2a229b6ac9a14fdd8bfbaf175928dc7ca1