[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 master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcgreil%2Flinalg_project" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cgreil/linalg_project on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc1/source/Cargo.toml [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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e18489d7c9b2beb36d6f947f477b6aa932452f94446fcc43d3347cda94494494 [INFO] running `Command { std: "docker" "start" "-a" "e18489d7c9b2beb36d6f947f477b6aa932452f94446fcc43d3347cda94494494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e18489d7c9b2beb36d6f947f477b6aa932452f94446fcc43d3347cda94494494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e18489d7c9b2beb36d6f947f477b6aa932452f94446fcc43d3347cda94494494", kill_on_drop: false }` [INFO] [stdout] e18489d7c9b2beb36d6f947f477b6aa932452f94446fcc43d3347cda94494494 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 233b201ed208459747687f4877f11dc431ec090099fadcfc8c8abb5e8488eeb8 [INFO] running `Command { std: "docker" "start" "-a" "233b201ed208459747687f4877f11dc431ec090099fadcfc8c8abb5e8488eeb8", 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: methods `subtraction` and `division` are never used [INFO] [stdout] --> src/complex.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait ComplexArithmetic [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 29 | fn subtraction(&self, number: &Self) -> Self; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn division(&self, number: &Self) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: 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: 15 warnings emitted [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: 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] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.92s [INFO] running `Command { std: "docker" "inspect" "233b201ed208459747687f4877f11dc431ec090099fadcfc8c8abb5e8488eeb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "233b201ed208459747687f4877f11dc431ec090099fadcfc8c8abb5e8488eeb8", kill_on_drop: false }` [INFO] [stdout] 233b201ed208459747687f4877f11dc431ec090099fadcfc8c8abb5e8488eeb8