[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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcgreil%2Flinalg_project: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [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] checking cgreil/linalg_project against try#29194e8f603400afdb2f86c9418e9fccb1628ea0 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcgreil%2Flinalg_project" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cgreil/linalg_project on toolchain 29194e8f603400afdb2f86c9418e9fccb1628ea0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "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" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5113e7bc244636ff6330bb5d5b295ee2cd20afb01deea5e335b5dbbe034f1aab [INFO] running `Command { std: "docker" "start" "-a" "5113e7bc244636ff6330bb5d5b295ee2cd20afb01deea5e335b5dbbe034f1aab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5113e7bc244636ff6330bb5d5b295ee2cd20afb01deea5e335b5dbbe034f1aab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5113e7bc244636ff6330bb5d5b295ee2cd20afb01deea5e335b5dbbe034f1aab", kill_on_drop: false }` [INFO] [stdout] 5113e7bc244636ff6330bb5d5b295ee2cd20afb01deea5e335b5dbbe034f1aab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c460995fe099a6e055a6b8cf54ca28df8b32551db20ce8033410214c1485fa86 [INFO] running `Command { std: "docker" "start" "-a" "c460995fe099a6e055a6b8cf54ca28df8b32551db20ce8033410214c1485fa86", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking 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] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking 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: 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: type alias `FloatType` is never used [INFO] [stdout] --> src/vector.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub type FloatType = f32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] [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] [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: struct `Complex` is never constructed [INFO] [stdout] --> src/complex.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Complex { [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: multiple associated items 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] 45 | pub fn from(real: F, imaginary: F) -> 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vector.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn iter(&self) -> VectorIterator { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type 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 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vector.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn iter(&self) -> VectorIterator { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type 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 `dev` profile [unoptimized + debuginfo] target(s) in 3.78s [INFO] running `Command { std: "docker" "inspect" "c460995fe099a6e055a6b8cf54ca28df8b32551db20ce8033410214c1485fa86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c460995fe099a6e055a6b8cf54ca28df8b32551db20ce8033410214c1485fa86", kill_on_drop: false }` [INFO] [stdout] c460995fe099a6e055a6b8cf54ca28df8b32551db20ce8033410214c1485fa86