[INFO] fetching crate la 0.2.0... [INFO] checking la-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate la 0.2.0 into /workspace/builds/worker-4-tc1/source [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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate la 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding num v0.1.43 (available: v0.4.3) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-complex v0.1.44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 095ac088cc14da699d594aa2222a41cada166d501fbf42758d36d4729e711d09 [INFO] running `Command { std: "docker" "start" "-a" "095ac088cc14da699d594aa2222a41cada166d501fbf42758d36d4729e711d09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "095ac088cc14da699d594aa2222a41cada166d501fbf42758d36d4729e711d09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "095ac088cc14da699d594aa2222a41cada166d501fbf42758d36d4729e711d09", kill_on_drop: false }` [INFO] [stdout] 095ac088cc14da699d594aa2222a41cada166d501fbf42758d36d4729e711d09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c812dbda94baca827ade0dd6c1e0f8bc9ebc9696c15afae8ee398e7b3411d6ba [INFO] running `Command { std: "docker" "start" "-a" "c812dbda94baca827ade0dd6c1e0f8bc9ebc9696c15afae8ee398e7b3411d6ba", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num v0.1.43 [INFO] [stderr] Checking la v0.2.0 (/opt/rustwide/workdir) [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: 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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: 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: 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.28s [INFO] running `Command { std: "docker" "inspect" "c812dbda94baca827ade0dd6c1e0f8bc9ebc9696c15afae8ee398e7b3411d6ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c812dbda94baca827ade0dd6c1e0f8bc9ebc9696c15afae8ee398e7b3411d6ba", kill_on_drop: false }` [INFO] [stdout] c812dbda94baca827ade0dd6c1e0f8bc9ebc9696c15afae8ee398e7b3411d6ba