[INFO] fetching crate linalg-rs 1.1.2... [INFO] checking linalg-rs-1.1.2 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate linalg-rs 1.1.2 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate linalg-rs 1.1.2 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate linalg-rs 1.1.2 [INFO] finished tweaking crates.io crate linalg-rs 1.1.2 [INFO] tweaked toml for crates.io crate linalg-rs 1.1.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 81 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (latest: v0.2.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding itertools v0.11.0 (latest: v0.13.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de68e2b28862bda07fd77f44def0fe87071ea3008e3c627979b7250b051a0a23 [INFO] running `Command { std: "docker" "start" "-a" "de68e2b28862bda07fd77f44def0fe87071ea3008e3c627979b7250b051a0a23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de68e2b28862bda07fd77f44def0fe87071ea3008e3c627979b7250b051a0a23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de68e2b28862bda07fd77f44def0fe87071ea3008e3c627979b7250b051a0a23", kill_on_drop: false }` [INFO] [stdout] de68e2b28862bda07fd77f44def0fe87071ea3008e3c627979b7250b051a0a23 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f54d3c346e4fee90f90becf5e136c46c577ac1957113dbf57d04d327ff85e3d4 [INFO] running `Command { std: "docker" "start" "-a" "f54d3c346e4fee90f90becf5e136c46c577ac1957113dbf57d04d327ff85e3d4", kill_on_drop: false }` [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking linalg-rs v1.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IntoParallelIterator` and `IntoParallelRefIterator` [INFO] [stdout] --> src/common.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | use rayon::prelude::{IntoParallelIterator, IntoParallelRefIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Matrix` [INFO] [stdout] --> src/common.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch::is_aarch64_feature_detected` [INFO] [stdout] --> src/matrix/optim.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{arch::is_aarch64_feature_detected, error::Error, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `x86-64` [INFO] [stdout] --> src/matrix/optim.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(any(target_arch = "x86", target_arch = "x86-64"))] [INFO] [stdout] | ^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"x86_64"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `_MM_HINT_NTA`, `__m128d`, `_mm256_add_epi64`, `_mm_add_pd`, `_mm_load_pd`, `_mm_mul_pd`, `_mm_prefetch`, `_mm_store_pd`, and `_mm_unpacklo_pd` [INFO] [stdout] --> src/matrix/optim.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | __m128d, _mm256_add_epi64, _mm_add_pd, _mm_load_pd, _mm_mul_pd, _mm_prefetch, _mm_store_pd, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 51 | _mm_unpacklo_pd, _MM_HINT_NTA, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `at` [INFO] [stdout] --> src/macros.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) use at; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `smd` [INFO] [stdout] --> src/macros.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) use smd; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `real::Real` [INFO] [stdout] --> src/matrix/mod.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | use num_traits::{pow, real::Real, sign::abs, Float}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/matrix/helper.rs:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | fn summa(&self, other: &Self, block_size: usize) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_size` [INFO] [stdout] --> src/matrix/helper.rs:229:35 [INFO] [stdout] | [INFO] [stdout] 229 | fn summa(&self, other: &Self, block_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/matrix/optim.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_optimized_matmul(lhs: Matrix, other: Matrix) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/matrix/optim.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_optimized_matmul(lhs: Matrix, other: Matrix) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/matrix/optim.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe fn avx_matmul<'a, T>(lhs: &Matrix<'a, T>, other: &Matrix<'a, T>) -> Matrix<'a, T> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/matrix/optim.rs:41:50 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe fn avx_matmul<'a, T>(lhs: &Matrix<'a, T>, other: &Matrix<'a, T>) -> Matrix<'a, T> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/matrix/mod.rs:987:21 [INFO] [stdout] | [INFO] [stdout] 987 | let mut highest: T = T::one(); [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/matrix/mod.rs:1010:21 [INFO] [stdout] | [INFO] [stdout] 1010 | let mut highest: T = T::one(); [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/matrix/mod.rs:1053:21 [INFO] [stdout] | [INFO] [stdout] 1053 | let mut lowest: T = T::zero(); [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/matrix/mod.rs:1077:21 [INFO] [stdout] | [INFO] [stdout] 1077 | let mut lowest: T = T::zero(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `argmax` and `argmin` are never used [INFO] [stdout] --> src/matrix/mod.rs:980:8 [INFO] [stdout] | [INFO] [stdout] 575 | / impl<'a, T> Matrix<'a, T> [INFO] [stdout] 576 | | where [INFO] [stdout] 577 | | T: MatrixElement + Div + Sum, [INFO] [stdout] 578 | | ::Err: Error + 'static, [INFO] [stdout] 579 | | Vec: IntoParallelIterator, [INFO] [stdout] 580 | | Vec<&'a T>: IntoParallelRefIterator<'a>, [INFO] [stdout] | |____________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 980 | fn argmax(&self, rowcol: usize, dimension: Dimension) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1046 | fn argmin(&self, rowcol: usize, dimension: Dimension) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `summa` and `naive` are never used [INFO] [stdout] --> src/matrix/helper.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 14 | / impl<'a, T> Matrix<'a, T> [INFO] [stdout] 15 | | where [INFO] [stdout] 16 | | T: MatrixElement + 'a, [INFO] [stdout] 17 | | ::Err: Error + 'static, [INFO] [stdout] 18 | | Vec: IntoParallelIterator, [INFO] [stdout] 19 | | Vec<&'a T>: IntoParallelRefIterator<'a>, [INFO] [stdout] | |____________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | fn summa(&self, other: &Self, block_size: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn naive(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_optimized_matmul` is never used [INFO] [stdout] --> src/matrix/optim.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_optimized_matmul(lhs: Matrix, other: Matrix) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `avx_matmul` is never used [INFO] [stdout] --> src/matrix/optim.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe fn avx_matmul<'a, T>(lhs: &Matrix<'a, T>, other: &Matrix<'a, T>) -> Matrix<'a, T> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_all` and `positions` are never used [INFO] [stdout] --> src/sparse/mod.rs:1415:8 [INFO] [stdout] | [INFO] [stdout] 1288 | / impl<'a, T> SparseMatrix<'a, T> [INFO] [stdout] 1289 | | where [INFO] [stdout] 1290 | | T: MatrixElement, [INFO] [stdout] 1291 | | ::Err: Error + 'static, [INFO] [stdout] 1292 | | Vec: IntoParallelIterator, [INFO] [stdout] 1293 | | Vec<&'a T>: IntoParallelRefIterator<'a>, [INFO] [stdout] | |____________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1415 | fn find_all(&self, pred: F) -> Option> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1458 | fn positions(&self, pred: F) -> Option> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/matrix/mod.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | write!(f, "["); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/matrix/mod.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | write!(f, "..."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/matrix/mod.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | write!(f, "{:.4} ", self.get(i, j).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/matrix/mod.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | write!(f, " {:.4}", self.get(i, j).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/matrix/mod.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | writeln!(f); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::write` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/matrix/helper.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let M = self.nrows; [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/matrix/helper.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | let N = self.ncols; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/matrix/helper.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | let P = other.ncols; [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/matrix/helper.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let M = self.nrows; [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/matrix/helper.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let N = self.ncols; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/matrix/helper.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | let P = other.ncols; [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sparse/mod.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | write!(f, "{elem} "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sparse/mod.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | writeln!(f); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::write` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/sparse/helper.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let N = self.nrows; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoParallelIterator` and `IntoParallelRefIterator` [INFO] [stdout] --> src/common.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | use rayon::prelude::{IntoParallelIterator, IntoParallelRefIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Matrix` [INFO] [stdout] --> src/common.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arch::is_aarch64_feature_detected` [INFO] [stdout] --> src/matrix/optim.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{arch::is_aarch64_feature_detected, error::Error, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `x86-64` [INFO] [stdout] --> src/matrix/optim.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(any(target_arch = "x86", target_arch = "x86-64"))] [INFO] [stdout] | ^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"x86_64"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `_MM_HINT_NTA`, `__m128d`, `_mm256_add_epi64`, `_mm_add_pd`, `_mm_load_pd`, `_mm_mul_pd`, `_mm_prefetch`, `_mm_store_pd`, and `_mm_unpacklo_pd` [INFO] [stdout] --> src/matrix/optim.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | __m128d, _mm256_add_epi64, _mm_add_pd, _mm_load_pd, _mm_mul_pd, _mm_prefetch, _mm_store_pd, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 51 | _mm_unpacklo_pd, _MM_HINT_NTA, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `at` [INFO] [stdout] --> src/macros.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) use at; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `smd` [INFO] [stdout] --> src/macros.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) use smd; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `real::Real` [INFO] [stdout] --> src/matrix/mod.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | use num_traits::{pow, real::Real, sign::abs, Float}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/matrix/helper.rs:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | fn summa(&self, other: &Self, block_size: usize) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_size` [INFO] [stdout] --> src/matrix/helper.rs:229:35 [INFO] [stdout] | [INFO] [stdout] 229 | fn summa(&self, other: &Self, block_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/matrix/optim.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_optimized_matmul(lhs: Matrix, other: Matrix) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/matrix/optim.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_optimized_matmul(lhs: Matrix, other: Matrix) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/matrix/optim.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe fn avx_matmul<'a, T>(lhs: &Matrix<'a, T>, other: &Matrix<'a, T>) -> Matrix<'a, T> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/matrix/optim.rs:41:50 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe fn avx_matmul<'a, T>(lhs: &Matrix<'a, T>, other: &Matrix<'a, T>) -> Matrix<'a, T> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/matrix/mod.rs:987:21 [INFO] [stdout] | [INFO] [stdout] 987 | let mut highest: T = T::one(); [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/matrix/mod.rs:1010:21 [INFO] [stdout] | [INFO] [stdout] 1010 | let mut highest: T = T::one(); [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/matrix/mod.rs:1053:21 [INFO] [stdout] | [INFO] [stdout] 1053 | let mut lowest: T = T::zero(); [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/matrix/mod.rs:1077:21 [INFO] [stdout] | [INFO] [stdout] 1077 | let mut lowest: T = T::zero(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `argmax` and `argmin` are never used [INFO] [stdout] --> src/matrix/mod.rs:980:8 [INFO] [stdout] | [INFO] [stdout] 575 | / impl<'a, T> Matrix<'a, T> [INFO] [stdout] 576 | | where [INFO] [stdout] 577 | | T: MatrixElement + Div + Sum, [INFO] [stdout] 578 | | ::Err: Error + 'static, [INFO] [stdout] 579 | | Vec: IntoParallelIterator, [INFO] [stdout] 580 | | Vec<&'a T>: IntoParallelRefIterator<'a>, [INFO] [stdout] | |____________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 980 | fn argmax(&self, rowcol: usize, dimension: Dimension) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1046 | fn argmin(&self, rowcol: usize, dimension: Dimension) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `summa` and `naive` are never used [INFO] [stdout] --> src/matrix/helper.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 14 | / impl<'a, T> Matrix<'a, T> [INFO] [stdout] 15 | | where [INFO] [stdout] 16 | | T: MatrixElement + 'a, [INFO] [stdout] 17 | | ::Err: Error + 'static, [INFO] [stdout] 18 | | Vec: IntoParallelIterator, [INFO] [stdout] 19 | | Vec<&'a T>: IntoParallelRefIterator<'a>, [INFO] [stdout] | |____________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | fn summa(&self, other: &Self, block_size: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | fn naive(&self, other: &Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_optimized_matmul` is never used [INFO] [stdout] --> src/matrix/optim.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_optimized_matmul(lhs: Matrix, other: Matrix) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `avx_matmul` is never used [INFO] [stdout] --> src/matrix/optim.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe fn avx_matmul<'a, T>(lhs: &Matrix<'a, T>, other: &Matrix<'a, T>) -> Matrix<'a, T> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_all` and `positions` are never used [INFO] [stdout] --> src/sparse/mod.rs:1415:8 [INFO] [stdout] | [INFO] [stdout] 1288 | / impl<'a, T> SparseMatrix<'a, T> [INFO] [stdout] 1289 | | where [INFO] [stdout] 1290 | | T: MatrixElement, [INFO] [stdout] 1291 | | ::Err: Error + 'static, [INFO] [stdout] 1292 | | Vec: IntoParallelIterator, [INFO] [stdout] 1293 | | Vec<&'a T>: IntoParallelRefIterator<'a>, [INFO] [stdout] | |____________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1415 | fn find_all(&self, pred: F) -> Option> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1458 | fn positions(&self, pred: F) -> Option> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/matrix/mod.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | write!(f, "["); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/matrix/mod.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | write!(f, "..."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/matrix/mod.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | write!(f, "{:.4} ", self.get(i, j).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/matrix/mod.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | write!(f, " {:.4}", self.get(i, j).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/matrix/mod.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | writeln!(f); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::write` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/matrix/helper.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | let M = self.nrows; [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/matrix/helper.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | let N = self.ncols; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/matrix/helper.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | let P = other.ncols; [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/matrix/helper.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | let M = self.nrows; [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/matrix/helper.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let N = self.ncols; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/matrix/helper.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | let P = other.ncols; [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sparse/mod.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | write!(f, "{elem} "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/sparse/mod.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | writeln!(f); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::write` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/sparse/helper.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let N = self.nrows; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.20s [INFO] running `Command { std: "docker" "inspect" "f54d3c346e4fee90f90becf5e136c46c577ac1957113dbf57d04d327ff85e3d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f54d3c346e4fee90f90becf5e136c46c577ac1957113dbf57d04d327ff85e3d4", kill_on_drop: false }` [INFO] [stdout] f54d3c346e4fee90f90becf5e136c46c577ac1957113dbf57d04d327ff85e3d4