[INFO] fetching crate la 0.2.0... [INFO] checking la-0.2.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate la 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate la 0.2.0 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 la 0.2.0 [INFO] finished tweaking crates.io crate la 0.2.0 [INFO] tweaked toml for crates.io crate la 0.2.0 written to /workspace/builds/worker-2-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] Updating crates.io index [INFO] [stderr] Locking 20 packages [INFO] [stderr] Adding num v0.1.42 (latest: v0.4.1) [INFO] [stderr] Adding num-bigint v0.1.44 (latest: v0.4.4) [INFO] [stderr] Adding num-complex v0.1.43 (latest: v0.4.5) [INFO] [stderr] Adding num-rational v0.1.42 (latest: v0.4.1) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [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 num-bigint v0.1.44 [INFO] [stderr] Downloaded num-rational v0.1.42 [INFO] [stderr] Downloaded num-complex v0.1.43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 7ecea6a4e9a2e5b8b9508d8717aada3ac21e04361262b9d20deb6c997829f0a6 [INFO] running `Command { std: "docker" "start" "-a" "7ecea6a4e9a2e5b8b9508d8717aada3ac21e04361262b9d20deb6c997829f0a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ecea6a4e9a2e5b8b9508d8717aada3ac21e04361262b9d20deb6c997829f0a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ecea6a4e9a2e5b8b9508d8717aada3ac21e04361262b9d20deb6c997829f0a6", kill_on_drop: false }` [INFO] [stdout] 7ecea6a4e9a2e5b8b9508d8717aada3ac21e04361262b9d20deb6c997829f0a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 7fceb151a66b5162742393fb33fec6f036cfe84c6447adfb1b16374795681bbb [INFO] running `Command { std: "docker" "start" "-a" "7fceb151a66b5162742393fb33fec6f036cfe84c6447adfb1b16374795681bbb", kill_on_drop: false }` [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking la v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/matrix/mmatrix.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/matrix/mmatrix.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> src/matrix/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/matrix/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/matrix/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/matrix/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix/mod.rs:552:5 [INFO] [stdout] | [INFO] [stdout] 552 | try!(write!(fmt, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix/mod.rs:554:7 [INFO] [stdout] | [INFO] [stdout] 554 | try!(write!(fmt, "|")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix/mod.rs:564:7 [INFO] [stdout] | [INFO] [stdout] 564 | try!(write!(fmt, " |\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix/mod.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | try!(write!(fmt, "{}{:?}", padding, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/internalutil.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/decomp/cholesky.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/decomp/eigen.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/decomp/lu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/decomp/qr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/decomp/svd.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:9:61 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn read_csv(buf_reader_name : &str, parser : &Fn(&str) -> T) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub fn read_csv(buf_reader_name : &str, parser : &dyn Fn(&str) -> T) -> Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/mmatrix.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mmap<'a>(&'a mut self, f : &Fn(&T) -> T) -> &'a mut Matrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mmap<'a>(&'a mut self, f : &dyn Fn(&T) -> T) -> &'a mut Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/mod.rs:186:36 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn map(&self, f : &Fn(&T) -> S) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 186 | pub fn map(&self, f : &dyn Fn(&T) -> S) -> Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/mod.rs:198:53 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn reduce(&self, init: &Vec, f: &Fn(&S, &T) -> S) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 198 | pub fn reduce(&self, init: &Vec, f: &dyn Fn(&S, &T) -> S) -> Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/matrix/mmatrix.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/matrix/mmatrix.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/mod.rs:494:34 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn filter_rows(&self, f : &Fn(&Matrix, usize) -> bool) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 494 | pub fn filter_rows(&self, f : &dyn Fn(&Matrix, usize) -> bool) -> Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> src/matrix/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/mod.rs:504:37 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn filter_columns(&self, f : &Fn(&Matrix, usize) -> bool) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 504 | pub fn filter_columns(&self, f : &dyn Fn(&Matrix, usize) -> bool) -> Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/matrix/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/matrix/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/matrix/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix/mod.rs:552:5 [INFO] [stdout] | [INFO] [stdout] 552 | try!(write!(fmt, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix/mod.rs:554:7 [INFO] [stdout] | [INFO] [stdout] 554 | try!(write!(fmt, "|")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix/mod.rs:564:7 [INFO] [stdout] | [INFO] [stdout] 564 | try!(write!(fmt, " |\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix/mod.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | try!(write!(fmt, "{}{:?}", padding, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/matrix/mod.rs:1154:38 [INFO] [stdout] | [INFO] [stdout] 1154 | let m2 = m.filter_rows(&|_, row| { ((row % 2) == 0) }); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1154 - let m2 = m.filter_rows(&|_, row| { ((row % 2) == 0) }); [INFO] [stdout] 1154 + let m2 = m.filter_rows(&|_, row| { (row % 2) == 0 }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/matrix/mod.rs:1163:41 [INFO] [stdout] | [INFO] [stdout] 1163 | let m2 = m.filter_columns(&|_, col| { (col >= 1) }); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1163 - let m2 = m.filter_columns(&|_, col| { (col >= 1) }); [INFO] [stdout] 1163 + let m2 = m.filter_columns(&|_, col| { col >= 1 }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/internalutil.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/decomp/cholesky.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/decomp/eigen.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/decomp/lu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/decomp/qr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/decomp/svd.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:9:61 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn read_csv(buf_reader_name : &str, parser : &Fn(&str) -> T) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub fn read_csv(buf_reader_name : &str, parser : &dyn Fn(&str) -> T) -> Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/mmatrix.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mmap<'a>(&'a mut self, f : &Fn(&T) -> T) -> &'a mut Matrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mmap<'a>(&'a mut self, f : &dyn Fn(&T) -> T) -> &'a mut Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/mod.rs:186:36 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn map(&self, f : &Fn(&T) -> S) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 186 | pub fn map(&self, f : &dyn Fn(&T) -> S) -> Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/mod.rs:198:53 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn reduce(&self, init: &Vec, f: &Fn(&S, &T) -> S) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 198 | pub fn reduce(&self, init: &Vec, f: &dyn Fn(&S, &T) -> S) -> Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/mod.rs:494:34 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn filter_rows(&self, f : &Fn(&Matrix, usize) -> bool) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 494 | pub fn filter_rows(&self, f : &dyn Fn(&Matrix, usize) -> bool) -> Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/mod.rs:504:37 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn filter_columns(&self, f : &Fn(&Matrix, usize) -> bool) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 504 | pub fn filter_columns(&self, f : &dyn Fn(&Matrix, usize) -> bool) -> Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.97s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "7fceb151a66b5162742393fb33fec6f036cfe84c6447adfb1b16374795681bbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fceb151a66b5162742393fb33fec6f036cfe84c6447adfb1b16374795681bbb", kill_on_drop: false }` [INFO] [stdout] 7fceb151a66b5162742393fb33fec6f036cfe84c6447adfb1b16374795681bbb [INFO] checking la-0.2.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate la 0.2.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate la 0.2.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate la 0.2.0 [INFO] finished tweaking crates.io crate la 0.2.0 [INFO] tweaked toml for crates.io crate la 0.2.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8917b58643572cb42dc7e485adbe0a6161a4c3bef3427fd7c5f221112e897080 [INFO] running `Command { std: "docker" "start" "-a" "8917b58643572cb42dc7e485adbe0a6161a4c3bef3427fd7c5f221112e897080", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8917b58643572cb42dc7e485adbe0a6161a4c3bef3427fd7c5f221112e897080", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8917b58643572cb42dc7e485adbe0a6161a4c3bef3427fd7c5f221112e897080", kill_on_drop: false }` [INFO] [stdout] 8917b58643572cb42dc7e485adbe0a6161a4c3bef3427fd7c5f221112e897080 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8724491c5a2f9dca85b0beb07e06a6b384f8b3331a8a599da097b7d5eebac5ce [INFO] running `Command { std: "docker" "start" "-a" "8724491c5a2f9dca85b0beb07e06a6b384f8b3331a8a599da097b7d5eebac5ce", kill_on_drop: false }` [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking la v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/matrix/mmatrix.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/matrix/mmatrix.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> src/matrix/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/matrix/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/matrix/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/matrix/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix/mod.rs:552:5 [INFO] [stdout] | [INFO] [stdout] 552 | try!(write!(fmt, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix/mod.rs:554:7 [INFO] [stdout] | [INFO] [stdout] 554 | try!(write!(fmt, "|")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix/mod.rs:564:7 [INFO] [stdout] | [INFO] [stdout] 564 | try!(write!(fmt, " |\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix/mod.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | try!(write!(fmt, "{}{:?}", padding, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/internalutil.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/decomp/cholesky.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/decomp/eigen.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/decomp/lu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/decomp/qr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/decomp/svd.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:9:61 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn read_csv(buf_reader_name : &str, parser : &Fn(&str) -> T) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub fn read_csv(buf_reader_name : &str, parser : &dyn Fn(&str) -> T) -> Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/mmatrix.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mmap<'a>(&'a mut self, f : &Fn(&T) -> T) -> &'a mut Matrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mmap<'a>(&'a mut self, f : &dyn Fn(&T) -> T) -> &'a mut Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/mod.rs:186:36 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn map(&self, f : &Fn(&T) -> S) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 186 | pub fn map(&self, f : &dyn Fn(&T) -> S) -> Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/mod.rs:198:53 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn reduce(&self, init: &Vec, f: &Fn(&S, &T) -> S) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 198 | pub fn reduce(&self, init: &Vec, f: &dyn Fn(&S, &T) -> S) -> Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/mod.rs:494:34 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn filter_rows(&self, f : &Fn(&Matrix, usize) -> bool) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 494 | pub fn filter_rows(&self, f : &dyn Fn(&Matrix, usize) -> bool) -> Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/mod.rs:504:37 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn filter_columns(&self, f : &Fn(&Matrix, usize) -> bool) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 504 | pub fn filter_columns(&self, f : &dyn Fn(&Matrix, usize) -> bool) -> Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/matrix/mmatrix.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/matrix/mmatrix.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> src/matrix/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/matrix/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/matrix/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/matrix/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix/mod.rs:552:5 [INFO] [stdout] | [INFO] [stdout] 552 | try!(write!(fmt, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix/mod.rs:554:7 [INFO] [stdout] | [INFO] [stdout] 554 | try!(write!(fmt, "|")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix/mod.rs:564:7 [INFO] [stdout] | [INFO] [stdout] 564 | try!(write!(fmt, " |\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix/mod.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | try!(write!(fmt, "{}{:?}", padding, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/matrix/mod.rs:1154:38 [INFO] [stdout] | [INFO] [stdout] 1154 | let m2 = m.filter_rows(&|_, row| { ((row % 2) == 0) }); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1154 - let m2 = m.filter_rows(&|_, row| { ((row % 2) == 0) }); [INFO] [stdout] 1154 + let m2 = m.filter_rows(&|_, row| { (row % 2) == 0 }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/matrix/mod.rs:1163:41 [INFO] [stdout] | [INFO] [stdout] 1163 | let m2 = m.filter_columns(&|_, col| { (col >= 1) }); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1163 - let m2 = m.filter_columns(&|_, col| { (col >= 1) }); [INFO] [stdout] 1163 + let m2 = m.filter_columns(&|_, col| { col >= 1 }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/internalutil.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/decomp/cholesky.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/decomp/eigen.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/decomp/lu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/decomp/qr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num` is imported redundantly [INFO] [stdout] --> src/decomp/svd.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate num; [INFO] [stdout] | ----------------- the item `num` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:9:61 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn read_csv(buf_reader_name : &str, parser : &Fn(&str) -> T) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub fn read_csv(buf_reader_name : &str, parser : &dyn Fn(&str) -> T) -> Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/mmatrix.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mmap<'a>(&'a mut self, f : &Fn(&T) -> T) -> &'a mut Matrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mmap<'a>(&'a mut self, f : &dyn Fn(&T) -> T) -> &'a mut Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/mod.rs:186:36 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn map(&self, f : &Fn(&T) -> S) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 186 | pub fn map(&self, f : &dyn Fn(&T) -> S) -> Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/mod.rs:198:53 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn reduce(&self, init: &Vec, f: &Fn(&S, &T) -> S) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 198 | pub fn reduce(&self, init: &Vec, f: &dyn Fn(&S, &T) -> S) -> Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/mod.rs:494:34 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn filter_rows(&self, f : &Fn(&Matrix, usize) -> bool) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 494 | pub fn filter_rows(&self, f : &dyn Fn(&Matrix, usize) -> bool) -> Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/matrix/mod.rs:504:37 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn filter_columns(&self, f : &Fn(&Matrix, usize) -> bool) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 504 | pub fn filter_columns(&self, f : &dyn Fn(&Matrix, usize) -> bool) -> Matrix { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "8724491c5a2f9dca85b0beb07e06a6b384f8b3331a8a599da097b7d5eebac5ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8724491c5a2f9dca85b0beb07e06a6b384f8b3331a8a599da097b7d5eebac5ce", kill_on_drop: false }` [INFO] [stdout] 8724491c5a2f9dca85b0beb07e06a6b384f8b3331a8a599da097b7d5eebac5ce