[INFO] cloning repository https://github.com/przemekbroda/rust-matrixes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/przemekbroda/rust-matrixes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprzemekbroda%2Frust-matrixes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprzemekbroda%2Frust-matrixes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4641826be24b96d20cec2bd92b35a25c0169cebc
[INFO] checking przemekbroda/rust-matrixes against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprzemekbroda%2Frust-matrixes" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/przemekbroda/rust-matrixes
[INFO] finished tweaking git repo https://github.com/przemekbroda/rust-matrixes
[INFO] tweaked toml for git repo https://github.com/przemekbroda/rust-matrixes written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/przemekbroda/rust-matrixes on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/przemekbroda/rust-matrixes 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2a31eaa49788d6206cd840d2191b291a2c352ea24a99a1537984cf83b206c540
[INFO] running `Command { std: "docker" "start" "-a" "2a31eaa49788d6206cd840d2191b291a2c352ea24a99a1537984cf83b206c540", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a31eaa49788d6206cd840d2191b291a2c352ea24a99a1537984cf83b206c540", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a31eaa49788d6206cd840d2191b291a2c352ea24a99a1537984cf83b206c540", kill_on_drop: false }`
[INFO] [stdout] 2a31eaa49788d6206cd840d2191b291a2c352ea24a99a1537984cf83b206c540
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f846e2b46195c31e8fa21ab150ec7a614a68f1f81b2eccae14e4a8715404fd8a
[INFO] running `Command { std: "docker" "start" "-a" "f846e2b46195c31e8fa21ab150ec7a614a68f1f81b2eccae14e4a8715404fd8a", kill_on_drop: false }`
[INFO] [stderr]     Checking JustTesting v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/matrix.rs:355:32
[INFO] [stdout]     |
[INFO] [stdout] 355 |             for (result_chunk, (self_row_chunk)) in mul_result.chunks_mut(chunks).into_iter().zip(self_rows_chunks) {
[INFO] [stdout]     |                                ^              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 355 -             for (result_chunk, (self_row_chunk)) in mul_result.chunks_mut(chunks).into_iter().zip(self_rows_chunks) {
[INFO] [stdout] 355 +             for (result_chunk, self_row_chunk ) in mul_result.chunks_mut(chunks).into_iter().zip(self_rows_chunks) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AddMultiThreaded` and `SubMultiThreaded`
[INFO] [stdout]  --> src/main.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::matrix::{AddMultiThreaded, Matrix, MulMultiThreaded, SubMultiThreaded};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^                            ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/matrix.rs:355:32
[INFO] [stdout]     |
[INFO] [stdout] 355 |             for (result_chunk, (self_row_chunk)) in mul_result.chunks_mut(chunks).into_iter().zip(self_rows_chunks) {
[INFO] [stdout]     |                                ^              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 355 -             for (result_chunk, (self_row_chunk)) in mul_result.chunks_mut(chunks).into_iter().zip(self_rows_chunks) {
[INFO] [stdout] 355 +             for (result_chunk, self_row_chunk ) in mul_result.chunks_mut(chunks).into_iter().zip(self_rows_chunks) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AddMultiThreaded` and `SubMultiThreaded`
[INFO] [stdout]  --> src/main.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::matrix::{AddMultiThreaded, Matrix, MulMultiThreaded, SubMultiThreaded};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^^^                            ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/matrix.rs:29:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl<T: Element> Matrix<T> {
[INFO] [stdout]     | -------------------------- associated items in this implementation
[INFO] [stdout]  29 |     pub fn new(mut v: Vec<Vec<T>>) -> Matrix<T> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  50 |     pub fn new_with_zeros(rows: usize, cols: usize) -> Matrix<T> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  70 |     pub fn identity_matrix(size: usize) -> Matrix<T> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  84 |     pub fn can_add_to(&self, rhs: &Matrix<T>) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  88 |     pub fn can_subtract_from(&self, rhs: &Matrix<T>) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn can_multiply_by(&self, rhs: &Matrix<T>) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     pub fn add_to(self, rhs: Matrix<T>) -> Result<Matrix<T>, MatrixError> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn subtract_from(self, rhs: Matrix<T>) -> Result<Matrix<T>, MatrixError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn multiply_by(self, rhs: Matrix<T>) -> Result<Matrix<T>, MatrixError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub fn multiply_by_scalar(&self, scalar: T) -> Matrix<T> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn set_value(&mut self, row: usize, col: usize, value: T) -> Result<(), MatrixError> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn set_value_with_modifier_function(&mut self, row: usize, col: usize, modifier: fn (T) -> T) -> Result<(), MatrixError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     pub fn grow_or_shrink(&mut self, rows: usize, cols: usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn cols(&self) -> usize {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub fn rows(&self) -> usize {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AddMultiThreaded` is never used
[INFO] [stdout]    --> src/matrix.rs:295:11
[INFO] [stdout]     |
[INFO] [stdout] 295 | pub trait AddMultiThreaded<Rhs = Self> {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SubMultiThreaded` is never used
[INFO] [stdout]    --> src/matrix.rs:315:11
[INFO] [stdout]     |
[INFO] [stdout] 315 | pub trait SubMultiThreaded<Rhs = Self> {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `multithreaded_operation` is never used
[INFO] [stdout]    --> src/matrix.rs:377:4
[INFO] [stdout]     |
[INFO] [stdout] 377 | fn multithreaded_operation<T: Element>(matrix1: &Matrix<T>, matrix2: &Matrix<T>, threads: NonZero<usize>, operation: fn (T, T) -> T) -> M...
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `one` is never used
[INFO] [stdout]  --> src/one.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait One<V = Self> {
[INFO] [stdout]   |           --- associated function in this trait
[INFO] [stdout] 2 |     fn one() -> V;
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/matrix.rs:29:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl<T: Element> Matrix<T> {
[INFO] [stdout]     | -------------------------- associated items in this implementation
[INFO] [stdout]  29 |     pub fn new(mut v: Vec<Vec<T>>) -> Matrix<T> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  50 |     pub fn new_with_zeros(rows: usize, cols: usize) -> Matrix<T> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  70 |     pub fn identity_matrix(size: usize) -> Matrix<T> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  84 |     pub fn can_add_to(&self, rhs: &Matrix<T>) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  88 |     pub fn can_subtract_from(&self, rhs: &Matrix<T>) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn can_multiply_by(&self, rhs: &Matrix<T>) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     pub fn add_to(self, rhs: Matrix<T>) -> Result<Matrix<T>, MatrixError> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn subtract_from(self, rhs: Matrix<T>) -> Result<Matrix<T>, MatrixError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn multiply_by(self, rhs: Matrix<T>) -> Result<Matrix<T>, MatrixError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub fn multiply_by_scalar(&self, scalar: T) -> Matrix<T> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn set_value(&mut self, row: usize, col: usize, value: T) -> Result<(), MatrixError> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn set_value_with_modifier_function(&mut self, row: usize, col: usize, modifier: fn (T) -> T) -> Result<(), MatrixError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     pub fn grow_or_shrink(&mut self, rows: usize, cols: usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn cols(&self) -> usize {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub fn rows(&self) -> usize {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `AddMultiThreaded` is never used
[INFO] [stdout]    --> src/matrix.rs:295:11
[INFO] [stdout]     |
[INFO] [stdout] 295 | pub trait AddMultiThreaded<Rhs = Self> {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `SubMultiThreaded` is never used
[INFO] [stdout]    --> src/matrix.rs:315:11
[INFO] [stdout]     |
[INFO] [stdout] 315 | pub trait SubMultiThreaded<Rhs = Self> {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `multithreaded_operation` is never used
[INFO] [stdout]    --> src/matrix.rs:377:4
[INFO] [stdout]     |
[INFO] [stdout] 377 | fn multithreaded_operation<T: Element>(matrix1: &Matrix<T>, matrix2: &Matrix<T>, threads: NonZero<usize>, operation: fn (T, T) -> T) -> M...
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `one` is never used
[INFO] [stdout]  --> src/one.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait One<V = Self> {
[INFO] [stdout]   |           --- associated function in this trait
[INFO] [stdout] 2 |     fn one() -> V;
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s
[INFO] running `Command { std: "docker" "inspect" "f846e2b46195c31e8fa21ab150ec7a614a68f1f81b2eccae14e4a8715404fd8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f846e2b46195c31e8fa21ab150ec7a614a68f1f81b2eccae14e4a8715404fd8a", kill_on_drop: false }`
[INFO] [stdout] f846e2b46195c31e8fa21ab150ec7a614a68f1f81b2eccae14e4a8715404fd8a
