[INFO] fetching crate sukker 2.1.3... [INFO] checking sukker-2.1.3 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate sukker 2.1.3 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate sukker 2.1.3 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 sukker 2.1.3 [INFO] finished tweaking crates.io crate sukker 2.1.3 [INFO] tweaked toml for crates.io crate sukker 2.1.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate sukker 2.1.3 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 4db5106649ddb86672074ac435cb0e26c70b0d378b22d9234f9452cabe4725c9 [INFO] running `Command { std: "docker" "start" "-a" "4db5106649ddb86672074ac435cb0e26c70b0d378b22d9234f9452cabe4725c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4db5106649ddb86672074ac435cb0e26c70b0d378b22d9234f9452cabe4725c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4db5106649ddb86672074ac435cb0e26c70b0d378b22d9234f9452cabe4725c9", kill_on_drop: false }` [INFO] [stdout] 4db5106649ddb86672074ac435cb0e26c70b0d378b22d9234f9452cabe4725c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2464d4c36d4b6829e5c2b582c70f5e8eb83256db28aade2bf4a84a5647337bc7 [INFO] running `Command { std: "docker" "start" "-a" "2464d4c36d4b6829e5c2b582c70f5e8eb83256db28aade2bf4a84a5647337bc7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking plotters-backend v0.3.4 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking plotters-svg v0.3.3 [INFO] [stderr] Checking clap_builder v4.3.3 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Checking plotters v0.3.4 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking clap v4.3.3 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Checking serde_json v1.0.96 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking sukker v2.1.3 (/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:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) use at; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `smd` [INFO] [stdout] --> src/macros.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | 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] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [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:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) use at; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `smd` [INFO] [stdout] --> src/macros.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | 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 32.58s [INFO] running `Command { std: "docker" "inspect" "2464d4c36d4b6829e5c2b582c70f5e8eb83256db28aade2bf4a84a5647337bc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2464d4c36d4b6829e5c2b582c70f5e8eb83256db28aade2bf4a84a5647337bc7", kill_on_drop: false }` [INFO] [stdout] 2464d4c36d4b6829e5c2b582c70f5e8eb83256db28aade2bf4a84a5647337bc7