[INFO] fetching crate rest_tensors 0.1.1... [INFO] checking rest_tensors-0.1.1 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate rest_tensors 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate rest_tensors 0.1.1 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rest_tensors 0.1.1 [INFO] finished tweaking crates.io crate rest_tensors 0.1.1 [INFO] tweaked toml for crates.io crate rest_tensors 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 87 packages [INFO] [stderr] Adding anes v0.1.6 (latest: v0.2.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding clap v3.2.25 (latest: v4.5.4) [INFO] [stderr] Adding clap_lex v0.2.4 (latest: v0.7.0) [INFO] [stderr] Adding criterion v0.4.0 (latest: v0.5.1) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.3) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.2.6) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] [stderr] Adding nalgebra v0.31.4 (latest: v0.32.5) [INFO] [stderr] Adding nalgebra-macros v0.1.0 (latest: v0.2.1) [INFO] [stderr] Adding os_str_bytes v6.6.1 (latest: v7.0.0) [INFO] [stderr] Adding simba v0.7.3 (latest: v0.8.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.58) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded blas v0.22.0 [INFO] [stderr] Downloaded lapack v0.19.0 [INFO] [stderr] Downloaded blas-sys v0.7.1 [INFO] [stderr] Downloaded nalgebra v0.31.4 [INFO] [stderr] Downloaded lapack-sys v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a9bdae84ed22e56ba34e067d73f0f531fd4dce5c0dfb80626d9f58f5284c2e5 [INFO] running `Command { std: "docker" "start" "-a" "1a9bdae84ed22e56ba34e067d73f0f531fd4dce5c0dfb80626d9f58f5284c2e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a9bdae84ed22e56ba34e067d73f0f531fd4dce5c0dfb80626d9f58f5284c2e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a9bdae84ed22e56ba34e067d73f0f531fd4dce5c0dfb80626d9f58f5284c2e5", kill_on_drop: false }` [INFO] [stdout] 1a9bdae84ed22e56ba34e067d73f0f531fd4dce5c0dfb80626d9f58f5284c2e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b527fb57872253f8f22be0616595c3a6203e54c4aeb19806ce5592ee17df0755 [INFO] running `Command { std: "docker" "start" "-a" "b527fb57872253f8f22be0616595c3a6203e54c4aeb19806ce5592ee17df0755", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking blas-sys v0.7.1 [INFO] [stderr] Checking lapack-sys v0.14.0 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking wide v0.7.15 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking simba v0.7.3 [INFO] [stderr] Checking blas v0.22.0 [INFO] [stderr] Checking lapack v0.19.0 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking nalgebra v0.31.4 [INFO] [stderr] Checking rest_tensors v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:868:31 [INFO] [stdout] | [INFO] [stdout] 868 | let size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:876:62 [INFO] [stdout] | [INFO] [stdout] 876 | let mut new_vec = matr.data.iter().map(|x| *x.clone()).collect::>(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:884:31 [INFO] [stdout] | [INFO] [stdout] 884 | let size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:900:34 [INFO] [stdout] | [INFO] [stdout] 900 | let o_size = other.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:912:92 [INFO] [stdout] | [INFO] [stdout] 912 | new_tensor.data.iter_mut().zip(matr.data.iter()).for_each(|(t,f)| {*t += *f.clone()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:920:34 [INFO] [stdout] | [INFO] [stdout] 920 | let o_size = other.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:930:86 [INFO] [stdout] | [INFO] [stdout] 930 | self.data.iter_mut().zip(matr.data.iter()).for_each(|(t,f)| {*t += *f.clone()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:940:36 [INFO] [stdout] | [INFO] [stdout] 940 | let self_size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:951:92 [INFO] [stdout] | [INFO] [stdout] 951 | new_tensor.data.iter_mut().zip(matr.data.iter()).for_each(|(t,f)| {*t += *f.clone()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:959:36 [INFO] [stdout] | [INFO] [stdout] 959 | let self_size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:976:33 [INFO] [stdout] | [INFO] [stdout] 976 | let s_size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:977:34 [INFO] [stdout] | [INFO] [stdout] 977 | let o_size = other.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:987:90 [INFO] [stdout] | [INFO] [stdout] 987 | s_matr.data.iter_mut().zip(o_matr.data.iter()).for_each(|(t,f)| {*t += *f.clone()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:993:91 [INFO] [stdout] | [INFO] [stdout] 993 | s_matr.data.iter_mut().zip(o_matr.data.iter()).for_each(|(t,f)| {**t += *f.clone()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:1044:33 [INFO] [stdout] | [INFO] [stdout] 1044 | let s_size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:1051:73 [INFO] [stdout] | [INFO] [stdout] 1051 | MatrixFull::from_vec(s_size, matr.data.iter().map(|x| *x.clone()).collect::>()).unwrap() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:1074:34 [INFO] [stdout] | [INFO] [stdout] 1074 | let o_size = other.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:1085:93 [INFO] [stdout] | [INFO] [stdout] 1085 | new_tensors.data.iter_mut().zip(matr.data.iter()).for_each(|(t,f)| {*t -= *f.clone()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:1093:34 [INFO] [stdout] | [INFO] [stdout] 1093 | let o_size = other.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:1103:86 [INFO] [stdout] | [INFO] [stdout] 1103 | self.data.iter_mut().zip(matr.data.iter()).for_each(|(t,f)| {*t -= *f.clone()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:1112:33 [INFO] [stdout] | [INFO] [stdout] 1112 | let s_size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:1123:92 [INFO] [stdout] | [INFO] [stdout] 1123 | new_tensor.data.iter_mut().zip(matr.data.iter()).for_each(|(t,f)| {*t = (*f.clone()-*t)}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:1131:33 [INFO] [stdout] | [INFO] [stdout] 1131 | let s_size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:1148:33 [INFO] [stdout] | [INFO] [stdout] 1148 | let s_size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:1149:34 [INFO] [stdout] | [INFO] [stdout] 1149 | let o_size = other.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:1159:90 [INFO] [stdout] | [INFO] [stdout] 1159 | s_matr.data.iter_mut().zip(o_matr.data.iter()).for_each(|(t,f)| {*t -= *f.clone()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:1165:91 [INFO] [stdout] | [INFO] [stdout] 1165 | s_matr.data.iter_mut().zip(o_matr.data.iter()).for_each(|(t,f)| {**t -= *f.clone()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:1187:33 [INFO] [stdout] | [INFO] [stdout] 1187 | let s_size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:1194:73 [INFO] [stdout] | [INFO] [stdout] 1194 | MatrixFull::from_vec(s_size, matr.data.iter().map(|x| *x.clone()).collect::>()).unwrap() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:1229:33 [INFO] [stdout] | [INFO] [stdout] 1229 | let s_size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:1236:73 [INFO] [stdout] | [INFO] [stdout] 1236 | MatrixFull::from_vec(s_size, matr.data.iter().map(|x| *x.clone()).collect::>()).unwrap() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/submatrixfull.rs:117:44 [INFO] [stdout] | [INFO] [stdout] 117 | matr.data.iter().map(|x| *x.clone()).collect::>() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/submatrixfull.rs:142:45 [INFO] [stdout] | [INFO] [stdout] 142 | matr.data.iter().map(|x| **x.clone()).collect::>() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `T` does not implement `Clone`, so calling `clone` on `&T` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:868:31 [INFO] [stdout] | [INFO] [stdout] 868 | let size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:876:62 [INFO] [stdout] | [INFO] [stdout] 876 | let mut new_vec = matr.data.iter().map(|x| *x.clone()).collect::>(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:884:31 [INFO] [stdout] | [INFO] [stdout] 884 | let size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:900:34 [INFO] [stdout] | [INFO] [stdout] 900 | let o_size = other.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:912:92 [INFO] [stdout] | [INFO] [stdout] 912 | new_tensor.data.iter_mut().zip(matr.data.iter()).for_each(|(t,f)| {*t += *f.clone()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:920:34 [INFO] [stdout] | [INFO] [stdout] 920 | let o_size = other.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:930:86 [INFO] [stdout] | [INFO] [stdout] 930 | self.data.iter_mut().zip(matr.data.iter()).for_each(|(t,f)| {*t += *f.clone()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:940:36 [INFO] [stdout] | [INFO] [stdout] 940 | let self_size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:951:92 [INFO] [stdout] | [INFO] [stdout] 951 | new_tensor.data.iter_mut().zip(matr.data.iter()).for_each(|(t,f)| {*t += *f.clone()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:959:36 [INFO] [stdout] | [INFO] [stdout] 959 | let self_size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:976:33 [INFO] [stdout] | [INFO] [stdout] 976 | let s_size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:977:34 [INFO] [stdout] | [INFO] [stdout] 977 | let o_size = other.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:987:90 [INFO] [stdout] | [INFO] [stdout] 987 | s_matr.data.iter_mut().zip(o_matr.data.iter()).for_each(|(t,f)| {*t += *f.clone()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:993:91 [INFO] [stdout] | [INFO] [stdout] 993 | s_matr.data.iter_mut().zip(o_matr.data.iter()).for_each(|(t,f)| {**t += *f.clone()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:1044:33 [INFO] [stdout] | [INFO] [stdout] 1044 | let s_size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:1051:73 [INFO] [stdout] | [INFO] [stdout] 1051 | MatrixFull::from_vec(s_size, matr.data.iter().map(|x| *x.clone()).collect::>()).unwrap() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:1074:34 [INFO] [stdout] | [INFO] [stdout] 1074 | let o_size = other.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:1085:93 [INFO] [stdout] | [INFO] [stdout] 1085 | new_tensors.data.iter_mut().zip(matr.data.iter()).for_each(|(t,f)| {*t -= *f.clone()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:1093:34 [INFO] [stdout] | [INFO] [stdout] 1093 | let o_size = other.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:1103:86 [INFO] [stdout] | [INFO] [stdout] 1103 | self.data.iter_mut().zip(matr.data.iter()).for_each(|(t,f)| {*t -= *f.clone()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:1112:33 [INFO] [stdout] | [INFO] [stdout] 1112 | let s_size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:1123:92 [INFO] [stdout] | [INFO] [stdout] 1123 | new_tensor.data.iter_mut().zip(matr.data.iter()).for_each(|(t,f)| {*t = (*f.clone()-*t)}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:1131:33 [INFO] [stdout] | [INFO] [stdout] 1131 | let s_size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:1148:33 [INFO] [stdout] | [INFO] [stdout] 1148 | let s_size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:1149:34 [INFO] [stdout] | [INFO] [stdout] 1149 | let o_size = other.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:1159:90 [INFO] [stdout] | [INFO] [stdout] 1159 | s_matr.data.iter_mut().zip(o_matr.data.iter()).for_each(|(t,f)| {*t -= *f.clone()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:1165:91 [INFO] [stdout] | [INFO] [stdout] 1165 | s_matr.data.iter_mut().zip(o_matr.data.iter()).for_each(|(t,f)| {**t -= *f.clone()}); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:1187:33 [INFO] [stdout] | [INFO] [stdout] 1187 | let s_size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:1194:73 [INFO] [stdout] | [INFO] [stdout] 1194 | MatrixFull::from_vec(s_size, matr.data.iter().map(|x| *x.clone()).collect::>()).unwrap() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/matrixfull.rs:1229:33 [INFO] [stdout] | [INFO] [stdout] 1229 | let s_size = self.size().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[usize]` does not implement `Clone`, so calling `clone` on `&[usize]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/matrixfull.rs:1236:73 [INFO] [stdout] | [INFO] [stdout] 1236 | MatrixFull::from_vec(s_size, matr.data.iter().map(|x| *x.clone()).collect::>()).unwrap() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&T` instead of cloning the inner type [INFO] [stdout] --> src/matrix/submatrixfull.rs:117:44 [INFO] [stdout] | [INFO] [stdout] 117 | matr.data.iter().map(|x| *x.clone()).collect::>() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/matrix/submatrixfull.rs:142:45 [INFO] [stdout] | [INFO] [stdout] 142 | matr.data.iter().map(|x| **x.clone()).collect::>() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `T` does not implement `Clone`, so calling `clone` on `&T` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.75s [INFO] running `Command { std: "docker" "inspect" "b527fb57872253f8f22be0616595c3a6203e54c4aeb19806ce5592ee17df0755", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b527fb57872253f8f22be0616595c3a6203e54c4aeb19806ce5592ee17df0755", kill_on_drop: false }` [INFO] [stdout] b527fb57872253f8f22be0616595c3a6203e54c4aeb19806ce5592ee17df0755