[INFO] fetching crate rsmath 0.1.6... [INFO] building rsmath-0.1.6 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate rsmath 0.1.6 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate rsmath 0.1.6 [INFO] finished tweaking crates.io crate rsmath 0.1.6 [INFO] tweaked toml for crates.io crate rsmath 0.1.6 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rsmath 0.1.6 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c63c7e1b4925ff70c8a700c14817a82537a9c3cc8248d8dd95e12a9e7320efa9 [INFO] running `Command { std: "docker" "start" "-a" "c63c7e1b4925ff70c8a700c14817a82537a9c3cc8248d8dd95e12a9e7320efa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c63c7e1b4925ff70c8a700c14817a82537a9c3cc8248d8dd95e12a9e7320efa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c63c7e1b4925ff70c8a700c14817a82537a9c3cc8248d8dd95e12a9e7320efa9", kill_on_drop: false }` [INFO] [stdout] c63c7e1b4925ff70c8a700c14817a82537a9c3cc8248d8dd95e12a9e7320efa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 745247c17146f67b4bb8a0f75eb40c2cd4ce6f5c7d5f9a1a45478876808ba348 [INFO] running `Command { std: "docker" "start" "-a" "745247c17146f67b4bb8a0f75eb40c2cd4ce6f5c7d5f9a1a45478876808ba348", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling rsmath v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:898:9 [INFO] [stdout] | [INFO] [stdout] 898 | try!(writeln!(f, "{{")); [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/algebra/matrix.rs:906:9 [INFO] [stdout] | [INFO] [stdout] 906 | try!(writeln!(f, "}}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:900:13 [INFO] [stdout] | [INFO] [stdout] 900 | try!(write!(f, "[ ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:904:13 [INFO] [stdout] | [INFO] [stdout] 904 | try!(writeln!(f, "]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:902:17 [INFO] [stdout] | [INFO] [stdout] 902 | try!(write!(f, "{} ", el)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/algebra/vector.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | (sum / self.values.len() as f64) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 216 - (sum / self.values.len() as f64) [INFO] [stdout] 216 + sum / self.values.len() as f64 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/vector.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | try!(write!(f, "[ ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/vector.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | try!(write!(f, "{el} ", el = el)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/linspace/point.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | let val: f64 = (pow((a.x() - b.x()), 2) + [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - let val: f64 = (pow((a.x() - b.x()), 2) + [INFO] [stdout] 113 + let val: f64 = (pow(a.x() - b.x(), 2) + [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/linspace/point.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | pow((a.y() - b.y()), 2) + [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 114 - pow((a.y() - b.y()), 2) + [INFO] [stdout] 114 + pow(a.y() - b.y(), 2) + [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/linspace/point.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | pow((a.z() - b.z()), 2)).into(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - pow((a.z() - b.z()), 2)).into(); [INFO] [stdout] 115 + pow(a.z() - b.z(), 2)).into(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/linspace/vector.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | ((self.x*other.x) + (self.y*other.y) + (self.z*other.z)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - ((self.x*other.x) + (self.y*other.y) + (self.z*other.z)) [INFO] [stdout] 161 + (self.x*other.x) + (self.y*other.y) + (self.z*other.z) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebra/matrix.rs:684:24 [INFO] [stdout] | [INFO] [stdout] 684 | pub fn col_iter_at(&self, n: usize) -> IteratorCol { [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] 684 | pub fn col_iter_at(&self, n: usize) -> IteratorCol<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebra/matrix.rs:693:21 [INFO] [stdout] | [INFO] [stdout] 693 | pub fn col_iter(&self) -> IteratorCol { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 693 | pub fn col_iter(&self) -> IteratorCol<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebra/matrix.rs:703:24 [INFO] [stdout] | [INFO] [stdout] 703 | pub fn row_iter_at(&self, n: usize) -> IteratorRow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 703 | pub fn row_iter_at(&self, n: usize) -> IteratorRow<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebra/matrix.rs:712:21 [INFO] [stdout] | [INFO] [stdout] 712 | pub fn row_iter(&self) -> IteratorRow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 712 | pub fn row_iter(&self) -> IteratorRow<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebra/matrix.rs:722:23 [INFO] [stdout] | [INFO] [stdout] 722 | pub fn el_iter_at(&self, n: usize) -> IteratorElement { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 722 | pub fn el_iter_at(&self, n: usize) -> IteratorElement<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebra/matrix.rs:731:20 [INFO] [stdout] | [INFO] [stdout] 731 | pub fn el_iter(&self) -> IteratorElement { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 731 | pub fn el_iter(&self) -> IteratorElement<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.88s [INFO] running `Command { std: "docker" "inspect" "745247c17146f67b4bb8a0f75eb40c2cd4ce6f5c7d5f9a1a45478876808ba348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "745247c17146f67b4bb8a0f75eb40c2cd4ce6f5c7d5f9a1a45478876808ba348", kill_on_drop: false }` [INFO] [stdout] 745247c17146f67b4bb8a0f75eb40c2cd4ce6f5c7d5f9a1a45478876808ba348 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c323c377d836a4e7b025740850f9bc41c532e8cdbc2bac15a5cc245294ac28a [INFO] running `Command { std: "docker" "start" "-a" "6c323c377d836a4e7b025740850f9bc41c532e8cdbc2bac15a5cc245294ac28a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:898:9 [INFO] [stdout] | [INFO] [stdout] 898 | try!(writeln!(f, "{{")); [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/algebra/matrix.rs:906:9 [INFO] [stdout] | [INFO] [stdout] 906 | try!(writeln!(f, "}}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:900:13 [INFO] [stdout] | [INFO] [stdout] 900 | try!(write!(f, "[ ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:904:13 [INFO] [stdout] | [INFO] [stdout] 904 | try!(writeln!(f, "]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:902:17 [INFO] [stdout] | [INFO] [stdout] 902 | try!(write!(f, "{} ", el)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/algebra/vector.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | (sum / self.values.len() as f64) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 216 - (sum / self.values.len() as f64) [INFO] [stdout] 216 + sum / self.values.len() as f64 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/vector.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | try!(write!(f, "[ ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/vector.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | try!(write!(f, "{el} ", el = el)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/linspace/point.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | let val: f64 = (pow((a.x() - b.x()), 2) + [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - let val: f64 = (pow((a.x() - b.x()), 2) + [INFO] [stdout] 113 + let val: f64 = (pow(a.x() - b.x(), 2) + [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/linspace/point.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | pow((a.y() - b.y()), 2) + [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 114 - pow((a.y() - b.y()), 2) + [INFO] [stdout] 114 + pow(a.y() - b.y(), 2) + [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/linspace/point.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | pow((a.z() - b.z()), 2)).into(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - pow((a.z() - b.z()), 2)).into(); [INFO] [stdout] 115 + pow(a.z() - b.z(), 2)).into(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/linspace/vector.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | ((self.x*other.x) + (self.y*other.y) + (self.z*other.z)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - ((self.x*other.x) + (self.y*other.y) + (self.z*other.z)) [INFO] [stdout] 161 + (self.x*other.x) + (self.y*other.y) + (self.z*other.z) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebra/matrix.rs:684:24 [INFO] [stdout] | [INFO] [stdout] 684 | pub fn col_iter_at(&self, n: usize) -> IteratorCol { [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] 684 | pub fn col_iter_at(&self, n: usize) -> IteratorCol<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebra/matrix.rs:693:21 [INFO] [stdout] | [INFO] [stdout] 693 | pub fn col_iter(&self) -> IteratorCol { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 693 | pub fn col_iter(&self) -> IteratorCol<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebra/matrix.rs:703:24 [INFO] [stdout] | [INFO] [stdout] 703 | pub fn row_iter_at(&self, n: usize) -> IteratorRow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 703 | pub fn row_iter_at(&self, n: usize) -> IteratorRow<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebra/matrix.rs:712:21 [INFO] [stdout] | [INFO] [stdout] 712 | pub fn row_iter(&self) -> IteratorRow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 712 | pub fn row_iter(&self) -> IteratorRow<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebra/matrix.rs:722:23 [INFO] [stdout] | [INFO] [stdout] 722 | pub fn el_iter_at(&self, n: usize) -> IteratorElement { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 722 | pub fn el_iter_at(&self, n: usize) -> IteratorElement<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebra/matrix.rs:731:20 [INFO] [stdout] | [INFO] [stdout] 731 | pub fn el_iter(&self) -> IteratorElement { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 731 | pub fn el_iter(&self) -> IteratorElement<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rsmath v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:898:9 [INFO] [stdout] | [INFO] [stdout] 898 | try!(writeln!(f, "{{")); [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/algebra/matrix.rs:906:9 [INFO] [stdout] | [INFO] [stdout] 906 | try!(writeln!(f, "}}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:900:13 [INFO] [stdout] | [INFO] [stdout] 900 | try!(write!(f, "[ ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:904:13 [INFO] [stdout] | [INFO] [stdout] 904 | try!(writeln!(f, "]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:902:17 [INFO] [stdout] | [INFO] [stdout] 902 | try!(write!(f, "{} ", el)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/algebra/vector.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | (sum / self.values.len() as f64) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 216 - (sum / self.values.len() as f64) [INFO] [stdout] 216 + sum / self.values.len() as f64 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/vector.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | try!(write!(f, "[ ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/vector.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | try!(write!(f, "{el} ", el = el)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/linspace/point.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | let val: f64 = (pow((a.x() - b.x()), 2) + [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - let val: f64 = (pow((a.x() - b.x()), 2) + [INFO] [stdout] 113 + let val: f64 = (pow(a.x() - b.x(), 2) + [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/linspace/point.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | pow((a.y() - b.y()), 2) + [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 114 - pow((a.y() - b.y()), 2) + [INFO] [stdout] 114 + pow(a.y() - b.y(), 2) + [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/linspace/point.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | pow((a.z() - b.z()), 2)).into(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - pow((a.z() - b.z()), 2)).into(); [INFO] [stdout] 115 + pow(a.z() - b.z(), 2)).into(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/linspace/vector.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | ((self.x*other.x) + (self.y*other.y) + (self.z*other.z)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - ((self.x*other.x) + (self.y*other.y) + (self.z*other.z)) [INFO] [stdout] 161 + (self.x*other.x) + (self.y*other.y) + (self.z*other.z) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebra/matrix.rs:684:24 [INFO] [stdout] | [INFO] [stdout] 684 | pub fn col_iter_at(&self, n: usize) -> IteratorCol { [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] 684 | pub fn col_iter_at(&self, n: usize) -> IteratorCol<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebra/matrix.rs:693:21 [INFO] [stdout] | [INFO] [stdout] 693 | pub fn col_iter(&self) -> IteratorCol { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 693 | pub fn col_iter(&self) -> IteratorCol<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebra/matrix.rs:703:24 [INFO] [stdout] | [INFO] [stdout] 703 | pub fn row_iter_at(&self, n: usize) -> IteratorRow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 703 | pub fn row_iter_at(&self, n: usize) -> IteratorRow<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebra/matrix.rs:712:21 [INFO] [stdout] | [INFO] [stdout] 712 | pub fn row_iter(&self) -> IteratorRow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 712 | pub fn row_iter(&self) -> IteratorRow<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebra/matrix.rs:722:23 [INFO] [stdout] | [INFO] [stdout] 722 | pub fn el_iter_at(&self, n: usize) -> IteratorElement { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 722 | pub fn el_iter_at(&self, n: usize) -> IteratorElement<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/algebra/matrix.rs:731:20 [INFO] [stdout] | [INFO] [stdout] 731 | pub fn el_iter(&self) -> IteratorElement { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 731 | pub fn el_iter(&self) -> IteratorElement<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `Command { std: "docker" "inspect" "6c323c377d836a4e7b025740850f9bc41c532e8cdbc2bac15a5cc245294ac28a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c323c377d836a4e7b025740850f9bc41c532e8cdbc2bac15a5cc245294ac28a", kill_on_drop: false }` [INFO] [stdout] 6c323c377d836a4e7b025740850f9bc41c532e8cdbc2bac15a5cc245294ac28a