[INFO] cloning repository https://github.com/cgreil/linalg_project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cgreil/linalg_project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcgreil%2Flinalg_project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcgreil%2Flinalg_project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8efe8e7fdb1754bf034a88bd821941f40811a34a [INFO] testing cgreil/linalg_project against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcgreil%2Flinalg_project" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cgreil/linalg_project [INFO] finished tweaking git repo https://github.com/cgreil/linalg_project [INFO] tweaked toml for git repo https://github.com/cgreil/linalg_project written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cgreil/linalg_project on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cgreil/linalg_project 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 430dae5dede03a9565023ee5f6a997db3fee29f7542721559559e0bdbe6f7d26 [INFO] running `Command { std: "docker" "start" "-a" "430dae5dede03a9565023ee5f6a997db3fee29f7542721559559e0bdbe6f7d26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "430dae5dede03a9565023ee5f6a997db3fee29f7542721559559e0bdbe6f7d26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "430dae5dede03a9565023ee5f6a997db3fee29f7542721559559e0bdbe6f7d26", kill_on_drop: false }` [INFO] [stdout] 430dae5dede03a9565023ee5f6a997db3fee29f7542721559559e0bdbe6f7d26 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 500dcd4f855d0febb8b12b8955f60242ad31c6a345f162fcc065b43affa70e70 [INFO] running `Command { std: "docker" "start" "-a" "500dcd4f855d0febb8b12b8955f60242ad31c6a345f162fcc065b43affa70e70", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling assert_approx_eq v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.5 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling linalg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `vector` [INFO] [stdout] --> src/vector.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) use vector; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ROW_VECTOR` should have an upper camel case name [INFO] [stdout] --> src/vector.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ROW_VECTOR, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `RowVector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `COLUMN_VECTOR` should have an upper camel case name [INFO] [stdout] --> src/vector.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | COLUMN_VECTOR, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ColumnVector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `comp` [INFO] [stdout] --> src/complex.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) use comp; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vector::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::vector::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/matrix.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | for i in 0..num_rows { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_iterations` [INFO] [stdout] --> src/matrix.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let max_iterations = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_iterations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_vectors` [INFO] [stdout] --> src/matrix.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | let num_vectors = vectors.len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_vectors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VectorType` is never used [INFO] [stdout] --> src/vector.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum VectorType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VectorType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector` is never constructed [INFO] [stdout] --> src/vector.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Vector { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vector` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vector.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Vector { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 29 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn from(arr: &[Complex], vector_type: VectorType) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn from_array(arr: &[Complex]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn from_vec(vec: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn zeros(size: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn ones(size: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_type(&self) -> VectorType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_element(&self, index: usize) -> Option<&Complex> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn set_element( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn normalize(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn add(&self, other: &Self) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn subtract(&self, other: &Self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn scale(&mut self, factor: FloatType) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn inner_product(&self, other: &Self) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn outer_product(&self, other: &Self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn norm_l2(&self) -> FloatType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn conjugate(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn transpose(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn adjoint(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn iter(&self) -> VectorIterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VectorIterator` is never constructed [INFO] [stdout] --> src/vector.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct VectorIterator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ComplexArithmetic` is never used [INFO] [stdout] --> src/complex.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait ComplexArithmetic [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_polar`, `to_polar`, `calculate_angle`, `scale`, and `norm` are never used [INFO] [stdout] --> src/complex.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Complex { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 37 | [INFO] [stdout] 38 | pub fn new () -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn from_polar(norm: F, angle: F) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn to_polar(&self) -> (F, F) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn calculate_angle(&self) -> F { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn scale(&mut self, factor: F) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn norm(&self) -> F { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ComplexNum` is never used [INFO] [stdout] --> src/matrix.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type ComplexNum = Complex; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Matrix` is never constructed [INFO] [stdout] --> src/matrix.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Matrix { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/matrix.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Matrix { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 23 | pub fn zeros(num_rows: usize, num_cols: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn from_array( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn is_quadratic(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_element( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn set_element( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn add(&self, other: &Self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn transpose(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn conjugate(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn adjoint(&mut self) -> () { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn multiply(&self, other: &Self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn multiply_vector(&self, vector: &Vector) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn scale(&mut self, factor: FloatType) -> () { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn kronecker_product(&self, other: &Self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn calculate_eigenvalues(&self) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn calculate_eigenvectors(&self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub fn QR_algorithm(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn QR_decomposition(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn gram_schmidt_decomposition(vectors: Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DELTA` is never used [INFO] [stdout] --> src/test/util.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const DELTA: f32 = 1e-4; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_complex` is never used [INFO] [stdout] --> src/test/util.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn assert_complex(expected: Complex, actual: Complex) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_complex_vec` is never used [INFO] [stdout] --> src/test/util.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn assert_complex_vec(expected: Vector, actual: Vector) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_complex_matrix` is never used [INFO] [stdout] --> src/test/util.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn assert_complex_matrix(expected: Matrix, actual: Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vector.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn iter(&self) -> VectorIterator { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 195 | pub fn iter(&self) -> VectorIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `QR_algorithm` should have a snake case name [INFO] [stdout] --> src/matrix.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn QR_algorithm(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `qr_algorithm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `QR_decomposition` should have a snake case name [INFO] [stdout] --> src/matrix.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn QR_decomposition(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `qr_decomposition` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.85s [INFO] running `Command { std: "docker" "inspect" "500dcd4f855d0febb8b12b8955f60242ad31c6a345f162fcc065b43affa70e70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "500dcd4f855d0febb8b12b8955f60242ad31c6a345f162fcc065b43affa70e70", kill_on_drop: false }` [INFO] [stdout] 500dcd4f855d0febb8b12b8955f60242ad31c6a345f162fcc065b43affa70e70 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c5e3b986089afdf80b4bc603837e0c1292d48f7bb66f8786e9d8ae2da7bbc019 [INFO] running `Command { std: "docker" "start" "-a" "c5e3b986089afdf80b4bc603837e0c1292d48f7bb66f8786e9d8ae2da7bbc019", kill_on_drop: false }` [INFO] [stderr] Compiling linalg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `ROW_VECTOR` should have an upper camel case name [INFO] [stdout] --> src/vector.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ROW_VECTOR, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `RowVector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `COLUMN_VECTOR` should have an upper camel case name [INFO] [stdout] --> src/vector.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | COLUMN_VECTOR, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ColumnVector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/test/complex_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/test/matrix_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/matrix.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | for i in 0..num_rows { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_iterations` [INFO] [stdout] --> src/matrix.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let max_iterations = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_iterations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_vectors` [INFO] [stdout] --> src/matrix.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | let num_vectors = vectors.len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_vectors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ones`, `normalize`, and `outer_product` are never used [INFO] [stdout] --> src/vector.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Vector { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn ones(size: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn normalize(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn outer_product(&self, other: &Self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_polar`, `to_polar`, and `calculate_angle` are never used [INFO] [stdout] --> src/complex.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Complex { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn from_polar(norm: F, angle: F) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn to_polar(&self) -> (F, F) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn calculate_angle(&self) -> F { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/matrix.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Matrix { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn is_quadratic(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn transpose(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn conjugate(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn adjoint(&mut self) -> () { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn scale(&mut self, factor: FloatType) -> () { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn calculate_eigenvalues(&self) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn calculate_eigenvectors(&self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub fn QR_algorithm(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn QR_decomposition(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn gram_schmidt_decomposition(vectors: Vec) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/vector.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn iter(&self) -> VectorIterator { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 195 | pub fn iter(&self) -> VectorIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `QR_algorithm` should have a snake case name [INFO] [stdout] --> src/matrix.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn QR_algorithm(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `qr_algorithm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `QR_decomposition` should have a snake case name [INFO] [stdout] --> src/matrix.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn QR_decomposition(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `qr_decomposition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/test/matrix_tests.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | created_matrix.set_element(2, 2, num.clone()); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = created_matrix.set_element(2, 2, num.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "c5e3b986089afdf80b4bc603837e0c1292d48f7bb66f8786e9d8ae2da7bbc019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5e3b986089afdf80b4bc603837e0c1292d48f7bb66f8786e9d8ae2da7bbc019", kill_on_drop: false }` [INFO] [stdout] c5e3b986089afdf80b4bc603837e0c1292d48f7bb66f8786e9d8ae2da7bbc019 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e40e5598851562a35a1d209fa34910da8741c3d5d34fa8fb3304ef724811008a [INFO] running `Command { std: "docker" "start" "-a" "e40e5598851562a35a1d209fa34910da8741c3d5d34fa8fb3304ef724811008a", kill_on_drop: false }` [INFO] [stderr] warning: variant `ROW_VECTOR` should have an upper camel case name [INFO] [stderr] --> src/vector.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | ROW_VECTOR, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `RowVector` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `COLUMN_VECTOR` should have an upper camel case name [INFO] [stderr] --> src/vector.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | COLUMN_VECTOR, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ColumnVector` [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stderr] --> src/test/complex_tests.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stderr] --> src/test/matrix_tests.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/matrix.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | for i in 0..num_rows { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `max_iterations` [INFO] [stderr] --> src/matrix.rs:244:13 [INFO] [stderr] | [INFO] [stderr] 244 | let max_iterations = 100; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_iterations` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num_vectors` [INFO] [stderr] --> src/matrix.rs:305:13 [INFO] [stderr] | [INFO] [stderr] 305 | let num_vectors = vectors.len(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_vectors` [INFO] [stderr] [INFO] [stderr] warning: associated items `ones`, `normalize`, and `outer_product` are never used [INFO] [stderr] --> src/vector.rs:70:12 [INFO] [stderr] | [INFO] [stderr] 28 | impl Vector { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 70 | pub fn ones(size: usize) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 103 | pub fn normalize(&mut self) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 147 | pub fn outer_product(&self, other: &Self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `from_polar`, `to_polar`, and `calculate_angle` are never used [INFO] [stderr] --> src/complex.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 36 | impl Complex { [INFO] [stderr] | -------------------------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 52 | pub fn from_polar(norm: F, angle: F) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 62 | pub fn to_polar(&self) -> (F, F) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 66 | pub fn calculate_angle(&self) -> F { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/matrix.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 22 | impl Matrix { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 64 | pub fn is_quadratic(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 115 | pub fn transpose(&mut self) -> () { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 138 | pub fn conjugate(&mut self) -> () { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 144 | pub fn adjoint(&mut self) -> () { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 199 | pub fn scale(&mut self, factor: FloatType) -> () { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 242 | pub fn calculate_eigenvalues(&self) -> Result, &'static str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 259 | pub fn calculate_eigenvectors(&self) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 270 | pub fn QR_algorithm(&self) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 289 | pub fn QR_decomposition(&self) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 303 | pub fn gram_schmidt_decomposition(vectors: Vec) -> Result, &'static str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/vector.rs:195:17 [INFO] [stderr] | [INFO] [stderr] 195 | pub fn iter(&self) -> VectorIterator { [INFO] [stderr] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 195 | pub fn iter(&self) -> VectorIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: method `QR_algorithm` should have a snake case name [INFO] [stderr] --> src/matrix.rs:270:12 [INFO] [stderr] | [INFO] [stderr] 270 | pub fn QR_algorithm(&self) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `qr_algorithm` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `QR_decomposition` should have a snake case name [INFO] [stderr] --> src/matrix.rs:289:12 [INFO] [stderr] | [INFO] [stderr] 289 | pub fn QR_decomposition(&self) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `qr_decomposition` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/test/matrix_tests.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | created_matrix.set_element(2, 2, num.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 51 | let _ = created_matrix.set_element(2, 2, num.clone()); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `linalg` (bin "linalg" test) generated 14 warnings (run `cargo fix --bin "linalg" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/linalg-f3869596366e46c9) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test test::complex_tests::tests::complex_macro_test ... ok [INFO] [stdout] test test::complex_tests::tests::conjugate_test ... ok [INFO] [stdout] test test::complex_tests::tests::addition_test ... ok [INFO] [stdout] test test::complex_tests::tests::division_test ... ok [INFO] [stdout] test test::complex_tests::tests::sanity_test ... ok [INFO] [stdout] test test::complex_tests::tests::subtraction_test ... ok [INFO] [stdout] test test::matrix_tests::tests::addition_test ... ok [INFO] [stdout] test test::matrix_tests::tests::conjugate_test ... ok [INFO] [stdout] test test::matrix_tests::tests::adjoint_test ... ok [INFO] [stdout] test test::matrix_tests::tests::eigenvalue_calc_test ... ok [INFO] [stdout] test test::matrix_tests::tests::eigenvector_calc_test ... ok [INFO] [stdout] test test::matrix_tests::tests::from_array_test ... ok [INFO] [stdout] test test::matrix_tests::tests::multiplication_test ... ok [INFO] [stdout] test test::complex_tests::tests::multiplication_test ... ok [INFO] [stdout] test test::matrix_tests::tests::multiply_vector_test ... ok [INFO] [stdout] test test::complex_tests::tests::norm_test ... ok [INFO] [stdout] test test::matrix_tests::tests::is_quadratic_test ... ok [INFO] [stdout] test test::matrix_tests::tests::set_element_test ... ok [INFO] [stdout] test test::matrix_tests::tests::zeros_test ... ok [INFO] [stdout] test test::matrix_tests::tests::transpose_test ... ok [INFO] [stdout] test test::vector_tests::tests::inner_product_test ... ok [INFO] [stdout] test test::vector_tests::tests::norm_l2_test ... ok [INFO] [stdout] test test::vector_tests::tests::vector_add_test ... ok [INFO] [stdout] test test::vector_tests::tests::vector_conjugate_test ... ok [INFO] [stdout] test test::vector_tests::tests::vector_adjoint_test ... ok [INFO] [stdout] test test::vector_tests::tests::vector_scale_test ... ok [INFO] [stdout] test test::vector_tests::tests::vector_set_element_test ... ok [INFO] [stdout] test test::vector_tests::tests::vector_sub_test ... ok [INFO] [stdout] test test::vector_tests::tests::vector_transpose_test ... ok [INFO] [stdout] test test::vector_tests::tests::complex_vec_macro_test ... ok [INFO] [stdout] test test::matrix_tests::tests::kronecker_product_test ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::matrix_tests::tests::kronecker_product_test stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test::matrix_tests::tests::kronecker_product_test' panicked at src/matrix.rs:227:32: [INFO] [stdout] attempt to subtract with overflow [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7fd9d5d463e2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7fd9d5d463e2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7fd9d5d463e2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x7fd9d5d463e2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7fd9d5d80f53 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7fd9d5d80f53 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x7fd9d5d43713 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7fd9d5d43713 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x7fd9d5d46232 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x7fd9d5d479ac - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7fd9d5d47802 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x7fd9d5d13a94 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x7fd9d5d13a94 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7fd9d5d48333 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7fd9d5d48333 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x7fd9d5d480c6 - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x7fd9d5d468d9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x7fd9d5d47d8d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x7fd9d5ccce40 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x7fd9d5ccd367 - core::panicking::panic_const::panic_const_sub_overflow::h56c4c482b3229258 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:175:17 [INFO] [stdout] 20: 0x7fd9d5cd4f01 - linalg::matrix::Matrix::kronecker_product::hbf5021414c5b544c [INFO] [stdout] at /opt/rustwide/workdir/src/matrix.rs:227:32 [INFO] [stdout] 21: 0x7fd9d5cdb512 - linalg::test::matrix_tests::tests::kronecker_product_test::h324922caf0446e0a [INFO] [stdout] at /opt/rustwide/workdir/src/test/matrix_tests.rs:210:22 [INFO] [stdout] 22: 0x7fd9d5cda917 - linalg::test::matrix_tests::tests::kronecker_product_test::{{closure}}::h737acc97cb3ee9ad [INFO] [stdout] at /opt/rustwide/workdir/src/test/matrix_tests.rs:176:32 [INFO] [stdout] 23: 0x7fd9d5cce606 - core::ops::function::FnOnce::call_once::h019b1e209b19ed6b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x7fd9d5d1918b - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x7fd9d5d1918b - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x7fd9d5d183fe - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x7fd9d5d183fe - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x7fd9d5d183fe - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x7fd9d5d183fe - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x7fd9d5d183fe - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x7fd9d5d183fe - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x7fd9d5d183fe - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x7fd9d5cdd284 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x7fd9d5cdd284 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x7fd9d5ce0a7a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x7fd9d5ce0a7a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x7fd9d5ce0a7a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x7fd9d5ce0a7a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x7fd9d5ce0a7a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x7fd9d5ce0a7a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x7fd9d5ce0a7a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x7fd9d5d4ad87 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x7fd9d5d4ad87 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x7fd9d5d4ad87 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::matrix_tests::tests::kronecker_product_test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 30 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin linalg` [INFO] running `Command { std: "docker" "inspect" "e40e5598851562a35a1d209fa34910da8741c3d5d34fa8fb3304ef724811008a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e40e5598851562a35a1d209fa34910da8741c3d5d34fa8fb3304ef724811008a", kill_on_drop: false }` [INFO] [stdout] e40e5598851562a35a1d209fa34910da8741c3d5d34fa8fb3304ef724811008a