[INFO] fetching crate numb_rs 0.0.4... [INFO] checking numb_rs-0.0.4 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate numb_rs 0.0.4 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate numb_rs 0.0.4 [INFO] finished tweaking crates.io crate numb_rs 0.0.4 [INFO] tweaked toml for crates.io crate numb_rs 0.0.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate numb_rs 0.0.4 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 72 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d12573ec1e37381a6d3935b6ca096e820f83a6beea4a5d144c969391fca2fb4 [INFO] running `Command { std: "docker" "start" "-a" "9d12573ec1e37381a6d3935b6ca096e820f83a6beea4a5d144c969391fca2fb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d12573ec1e37381a6d3935b6ca096e820f83a6beea4a5d144c969391fca2fb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d12573ec1e37381a6d3935b6ca096e820f83a6beea4a5d144c969391fca2fb4", kill_on_drop: false }` [INFO] [stdout] 9d12573ec1e37381a6d3935b6ca096e820f83a6beea4a5d144c969391fca2fb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2114a6278bbb2e6a48b5cfa32c5dbcd3fa1857fbcf71c1768abf8a372373b214 [INFO] running `Command { std: "docker" "start" "-a" "2114a6278bbb2e6a48b5cfa32c5dbcd3fa1857fbcf71c1768abf8a372373b214", kill_on_drop: false }` [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking numb_rs v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/dense.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | /// a reference to the vector of the Matrix below [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 227 | data: &self.data, [INFO] [stdout] | ---------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/dense.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | /// m is a reference to the 'n' column of the Matrix [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 229 | m: &self.n, [INFO] [stdout] | ---------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/dense.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | /// n is a reference to the 'm' column of the Matrix [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 231 | n: &self.m, [INFO] [stdout] | ---------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::macros::*` [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `m` and `n` are never read [INFO] [stdout] --> src/dense.rs:563:5 [INFO] [stdout] | [INFO] [stdout] 561 | pub struct DenseTranspose<'a, T: Numeric + 'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 562 | inner: &'a Dense, [INFO] [stdout] 563 | m: usize, [INFO] [stdout] | ^ [INFO] [stdout] 564 | n: usize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `DenseTranspose` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `m` and `n` are never read [INFO] [stdout] --> src/dense.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 568 | pub struct DenseTransposeMut<'a, T: Numeric + 'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 569 | inner: &'a mut Dense, [INFO] [stdout] 570 | m: usize, [INFO] [stdout] | ^ [INFO] [stdout] 571 | n: usize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `DenseTransposeMut` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dense.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn t_old(&self) -> MatrixT { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn t_old(&self) -> MatrixT<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] warning: `#[macro_use]` attribute cannot be used on use statements [INFO] [stdout] --> benches/matrix_benchmark.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, crates [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `swap_rows` found for struct `numb_rs::Dense` in the current scope [INFO] [stdout] --> benches/matrix_benchmark.rs:13:50 [INFO] [stdout] | [INFO] [stdout] 13 | c.bench_function("row swap", |b| b.iter(|| x.swap_rows(0, 2))); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/matrix.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn swap_rows(&mut self, a: usize, b: usize); [INFO] [stdout] | --------- the method is available for `numb_rs::Dense<{integer}>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `swap_mn` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/dense.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn swap_mn(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `RowOps` which provides `swap_rows` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use numb_rs::matrix::RowOps; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `numb_rs` (bench "matrix_benchmark") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/dense.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | /// a reference to the vector of the Matrix below [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 227 | data: &self.data, [INFO] [stdout] | ---------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/dense.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | /// m is a reference to the 'n' column of the Matrix [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 229 | m: &self.n, [INFO] [stdout] | ---------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/dense.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | /// n is a reference to the 'm' column of the Matrix [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 231 | n: &self.m, [INFO] [stdout] | ---------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fraction.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | Fraction::new($num as u32, $den as u32); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 116 | let half = frac32!(1, 2); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[deny(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this error originates in the macro `frac32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fraction.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | Fraction::new($num as u32, $den as u32); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 123 | let a = frac32!(132, 203); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `frac32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fraction.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | Fraction::new($num as u32, $den as u32); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 129 | let a = frac32!(1, 2); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `frac32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fraction.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | Fraction::new($num as u32, $den as u32); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 130 | let b = frac32!(1, 4); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `frac32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fraction.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | Fraction::new($num as u32, $den as u32); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 132 | assert_eq!(a + b, frac32!(6, 8)); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `frac32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fraction.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | Fraction::new($num as u32, $den as u32); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 137 | let a = frac32!(1, 2); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `frac32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fraction.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | Fraction::new($num as u32, $den as u32); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 138 | let b = frac32!(1, 4); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `frac32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fraction.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | Fraction::new($num as u32, $den as u32); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 140 | assert_eq!(a - b, frac32!(2, 8)); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `frac32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fraction.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | Fraction::new($num as u32, $den as u32); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 145 | let a = frac32!(1, 2); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `frac32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fraction.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | Fraction::new($num as u32, $den as u32); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 146 | let b = frac32!(2, 5); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `frac32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fraction.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | Fraction::new($num as u32, $den as u32); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 148 | assert_eq!(a * b, frac32!(2, 10)); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `frac32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fraction.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | Fraction::new($num as u32, $den as u32); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 153 | let a = frac32!(1, 2); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `frac32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fraction.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | Fraction::new($num as u32, $den as u32); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 154 | let b = frac32!(1, 4); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `frac32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fraction.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | Fraction::new($num as u32, $den as u32); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 156 | assert_eq!(a / b, frac32!(4, 2)); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `frac32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fraction.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | Fraction::new($num as u32, $den as u32); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 161 | let a = frac32!(157684, 511974); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `frac32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/fraction.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | Fraction::new($num as u32, $den as u32); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 162 | assert_eq!(a.reduce(), frac32!(158, 513)) [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `frac32` [INFO] [stdout] = note: this error originates in the macro `frac32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::macros::*` [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use crate::macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `m` and `n` are never read [INFO] [stdout] --> src/dense.rs:563:5 [INFO] [stdout] | [INFO] [stdout] 561 | pub struct DenseTranspose<'a, T: Numeric + 'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 562 | inner: &'a Dense, [INFO] [stdout] 563 | m: usize, [INFO] [stdout] | ^ [INFO] [stdout] 564 | n: usize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `DenseTranspose` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `m` and `n` are never read [INFO] [stdout] --> src/dense.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 568 | pub struct DenseTransposeMut<'a, T: Numeric + 'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 569 | inner: &'a mut Dense, [INFO] [stdout] 570 | m: usize, [INFO] [stdout] | ^ [INFO] [stdout] 571 | n: usize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `DenseTransposeMut` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dense.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn t_old(&self) -> MatrixT { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 224 | pub fn t_old(&self) -> MatrixT<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/utilities.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | &a.assert_approx_eq(&b, 0.00005); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = &a.assert_approx_eq(&b, 0.00005); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/utilities.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | &a.assert_approx_eq(&b, 0.00005); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = &a.assert_approx_eq(&b, 0.00005); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `numb_rs` (lib test) due to 32 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2114a6278bbb2e6a48b5cfa32c5dbcd3fa1857fbcf71c1768abf8a372373b214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2114a6278bbb2e6a48b5cfa32c5dbcd3fa1857fbcf71c1768abf8a372373b214", kill_on_drop: false }` [INFO] [stdout] 2114a6278bbb2e6a48b5cfa32c5dbcd3fa1857fbcf71c1768abf8a372373b214