[INFO] crate envelope 0.8.1 is already in cache [INFO] extracting crate envelope 0.8.1 into work/ex/clippy-test-run/sources/stable/reg/envelope/0.8.1 [INFO] extracting crate envelope 0.8.1 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/envelope/0.8.1 [INFO] validating manifest of envelope-0.8.1 on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of envelope-0.8.1 on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing envelope-0.8.1 [INFO] finished frobbing envelope-0.8.1 [INFO] frobbed toml for envelope-0.8.1 written to work/ex/clippy-test-run/sources/stable/reg/envelope/0.8.1/Cargo.toml [INFO] started frobbing envelope-0.8.1 [INFO] finished frobbing envelope-0.8.1 [INFO] frobbed toml for envelope-0.8.1 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/envelope/0.8.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting envelope-0.8.1 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-7/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/envelope/0.8.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 7ae80147f433b7d0c3c4489ad070abd00bd0e75f427ccfc28bb806c9ee2617e6 [INFO] running `"docker" "start" "-a" "7ae80147f433b7d0c3c4489ad070abd00bd0e75f427ccfc28bb806c9ee2617e6"` [INFO] [stderr] Checking envelope v0.8.1 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/bezier_point.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | x: x, [INFO] [stderr] | ^^^^ help: replace it with: `x` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/bezier_point.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | y: y, [INFO] [stderr] | ^^^^ help: replace it with: `y` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/bezier_point.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | curve: curve, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `curve` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/ease_point.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | x: x, [INFO] [stderr] | ^^^^ help: replace it with: `x` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/ease_point.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | y: y, [INFO] [stderr] | ^^^^ help: replace it with: `y` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/ease_point.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | maybe_ease_fn: maybe_ease_fn, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_ease_fn` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/envelope.rs:181:17 [INFO] [stderr] | [INFO] [stderr] 181 | points: points, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `points` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/envelope.rs:182:17 [INFO] [stderr] | [INFO] [stderr] 182 | step: step, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `step` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/envelope.rs:184:17 [INFO] [stderr] | [INFO] [stderr] 184 | left: left, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `left` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/envelope.rs:185:17 [INFO] [stderr] | [INFO] [stderr] 185 | maybe_right: maybe_right, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_right` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/bezier_point.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | x: x, [INFO] [stderr] | ^^^^ help: replace it with: `x` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/bezier_point.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | y: y, [INFO] [stderr] | ^^^^ help: replace it with: `y` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/bezier_point.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | curve: curve, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `curve` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/ease_point.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | x: x, [INFO] [stderr] | ^^^^ help: replace it with: `x` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/ease_point.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | y: y, [INFO] [stderr] | ^^^^ help: replace it with: `y` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/ease_point.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | maybe_ease_fn: maybe_ease_fn, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_ease_fn` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/envelope.rs:181:17 [INFO] [stderr] | [INFO] [stderr] 181 | points: points, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `points` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/envelope.rs:182:17 [INFO] [stderr] | [INFO] [stderr] 182 | step: step, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `step` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/envelope.rs:184:17 [INFO] [stderr] | [INFO] [stderr] 184 | left: left, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `left` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/envelope.rs:185:17 [INFO] [stderr] | [INFO] [stderr] 185 | maybe_right: maybe_right, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_right` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: this loop could be written as a `for` loop [INFO] [stderr] --> src/envelope.rs:165:37 [INFO] [stderr] | [INFO] [stderr] 165 | while let Some(point) = points.next() { [INFO] [stderr] | ^^^^^^^^^^^^^ help: try: `for point in points { .. }` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::while_let_on_iterator)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stderr] [INFO] [stderr] warning: this loop could be written as a `for` loop [INFO] [stderr] --> src/envelope.rs:327:33 [INFO] [stderr] | [INFO] [stderr] 327 | while let Some(point) = points.next() { [INFO] [stderr] | ^^^^^^^^^^^^^ help: try: `for point in points { .. }` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stderr] [INFO] [stderr] warning: this loop could be written as a `for` loop [INFO] [stderr] --> src/envelope.rs:165:37 [INFO] [stderr] | [INFO] [stderr] 165 | while let Some(point) = points.next() { [INFO] [stderr] | ^^^^^^^^^^^^^ help: try: `for point in points { .. }` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::while_let_on_iterator)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stderr] [INFO] [stderr] warning: this loop could be written as a `for` loop [INFO] [stderr] --> src/envelope.rs:327:33 [INFO] [stderr] | [INFO] [stderr] 327 | while let Some(point) = points.next() { [INFO] [stderr] | ^^^^^^^^^^^^^ help: try: `for point in points { .. }` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::float_cmp)] on by default [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | test_x_y_float!(xf32_yf32, f32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting f32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:20:69 [INFO] [stderr] | [INFO] [stderr] 20 | fn x_to_scalar(x: $X) -> ::Scalar { x as ::Scalar } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `f64::from(x)` [INFO] [stderr] ... [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting f32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:46:18 [INFO] [stderr] | [INFO] [stderr] 46 | ((x as $Y).sin() / 2.0) + 0.5 [INFO] [stderr] | ^^^^^^^^^ help: try: `f64::from(x)` [INFO] [stderr] ... [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | test_x_y_float!(xf32_yf64, f32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | let x = i as $X; [INFO] [stderr] | ^ help: try: `f64::from(i)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:56:25 [INFO] [stderr] | [INFO] [stderr] 56 | let x = i as $X; [INFO] [stderr] | ^ help: try: `f64::from(i)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:66:56 [INFO] [stderr] | [INFO] [stderr] 66 | let points_b: Vec = once(Point { x: 0 as $X, y: 0.0 as $Y }) [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:67:40 [INFO] [stderr] | [INFO] [stderr] 67 | .chain(once(Point { x: 10 as $X, y: 1.0 as $Y })) [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:70:35 [INFO] [stderr] | [INFO] [stderr] 70 | assert_eq!(points_b.y(0 as $X).expect("Cannot interpolate 0"), 0.0 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:71:35 [INFO] [stderr] | [INFO] [stderr] 71 | assert_eq!(points_b.y(1 as $X).expect("Cannot interpolate 1"), 0.1 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(1)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:72:35 [INFO] [stderr] | [INFO] [stderr] 72 | assert_eq!(points_b.y(2 as $X).expect("Cannot interpolate 2"), 0.2 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(2)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:73:35 [INFO] [stderr] | [INFO] [stderr] 73 | assert_eq!(points_b.y(3 as $X).expect("Cannot interpolate 3"), 0.3 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(3)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:74:35 [INFO] [stderr] | [INFO] [stderr] 74 | assert_eq!(points_b.y(4 as $X).expect("Cannot interpolate 4"), 0.4 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(4)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:75:35 [INFO] [stderr] | [INFO] [stderr] 75 | assert_eq!(points_b.y(5 as $X).expect("Cannot interpolate 5"), 0.5 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:76:35 [INFO] [stderr] | [INFO] [stderr] 76 | assert_eq!(points_b.y(6 as $X).expect("Cannot interpolate 6"), 0.6 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(6)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:77:35 [INFO] [stderr] | [INFO] [stderr] 77 | assert_eq!(points_b.y(7 as $X).expect("Cannot interpolate 7"), 0.7 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(7)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:78:35 [INFO] [stderr] | [INFO] [stderr] 78 | assert_eq!(points_b.y(8 as $X).expect("Cannot interpolate 8"), 0.8 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(8)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:79:35 [INFO] [stderr] | [INFO] [stderr] 79 | assert_eq!(points_b.y(9 as $X).expect("Cannot interpolate 9"), 0.9 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(9)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:80:35 [INFO] [stderr] | [INFO] [stderr] 80 | assert_eq!(points_b.y(10 as $X).expect("Cannot interpolate 10"), 1.0 as $Y); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:81:35 [INFO] [stderr] | [INFO] [stderr] 81 | assert_eq!(points_b.y(11 as $X), None); [INFO] [stderr] | ^^ help: try: `f64::from(11)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:84:50 [INFO] [stderr] | [INFO] [stderr] 84 | assert_eq!(points_b.point_idx_before(5 as $X), Some(0)); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:85:50 [INFO] [stderr] | [INFO] [stderr] 85 | assert_eq!(points_b.point_idx_before(0 as $X), None); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:86:56 [INFO] [stderr] | [INFO] [stderr] 86 | assert_eq!(points_b.point_idx_on_or_before(5 as $X), Some(0)); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:87:56 [INFO] [stderr] | [INFO] [stderr] 87 | assert_eq!(points_b.point_idx_on_or_before(0 as $X), Some(0)); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:88:56 [INFO] [stderr] | [INFO] [stderr] 88 | assert_eq!(points_b.point_idx_on_or_before(10 as $X), Some(1)); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:90:49 [INFO] [stderr] | [INFO] [stderr] 90 | assert_eq!(points_b.point_idx_after(5 as $X), Some(1)); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:91:49 [INFO] [stderr] | [INFO] [stderr] 91 | assert_eq!(points_b.point_idx_after(10 as $X), None); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:92:55 [INFO] [stderr] | [INFO] [stderr] 92 | assert_eq!(points_b.point_idx_on_or_after(5 as $X), Some(1)); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:93:55 [INFO] [stderr] | [INFO] [stderr] 93 | assert_eq!(points_b.point_idx_on_or_after(10 as $X), Some(1)); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:94:55 [INFO] [stderr] | [INFO] [stderr] 94 | assert_eq!(points_b.point_idx_on_or_after(0 as $X), Some(0)); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:96:47 [INFO] [stderr] | [INFO] [stderr] 96 | assert_eq!(*points_b.point_before(5 as $X).unwrap(), points_b.0[0]); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:97:53 [INFO] [stderr] | [INFO] [stderr] 97 | assert_eq!(*points_b.point_on_or_before(5 as $X).unwrap(), points_b.0[0]); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:98:53 [INFO] [stderr] | [INFO] [stderr] 98 | assert_eq!(*points_b.point_on_or_before(0 as $X).unwrap(), points_b.0[0]); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:99:53 [INFO] [stderr] | [INFO] [stderr] 99 | assert_eq!(*points_b.point_on_or_before(10 as $X).unwrap(), points_b.0[1]); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:101:46 [INFO] [stderr] | [INFO] [stderr] 101 | assert_eq!(*points_b.point_after(5 as $X).unwrap(), points_b.0[1]); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:102:52 [INFO] [stderr] | [INFO] [stderr] 102 | assert_eq!(*points_b.point_on_or_after(5 as $X).unwrap(), points_b.0[1]); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:103:52 [INFO] [stderr] | [INFO] [stderr] 103 | assert_eq!(*points_b.point_on_or_after(0 as $X).unwrap(), points_b.0[0]); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:104:52 [INFO] [stderr] | [INFO] [stderr] 104 | assert_eq!(*points_b.point_on_or_after(10 as $X).unwrap(), points_b.0[1]); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 114 | test_x_y_float!(xf64_yf32, f64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | let x = i as $X; [INFO] [stderr] | ^ help: try: `f64::from(i)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:56:25 [INFO] [stderr] | [INFO] [stderr] 56 | let x = i as $X; [INFO] [stderr] | ^ help: try: `f64::from(i)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:66:56 [INFO] [stderr] | [INFO] [stderr] 66 | let points_b: Vec = once(Point { x: 0 as $X, y: 0.0 as $Y }) [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:67:40 [INFO] [stderr] | [INFO] [stderr] 67 | .chain(once(Point { x: 10 as $X, y: 1.0 as $Y })) [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:70:35 [INFO] [stderr] | [INFO] [stderr] 70 | assert_eq!(points_b.y(0 as $X).expect("Cannot interpolate 0"), 0.0 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:71:35 [INFO] [stderr] | [INFO] [stderr] 71 | assert_eq!(points_b.y(1 as $X).expect("Cannot interpolate 1"), 0.1 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(1)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:72:35 [INFO] [stderr] | [INFO] [stderr] 72 | assert_eq!(points_b.y(2 as $X).expect("Cannot interpolate 2"), 0.2 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(2)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:73:35 [INFO] [stderr] | [INFO] [stderr] 73 | assert_eq!(points_b.y(3 as $X).expect("Cannot interpolate 3"), 0.3 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(3)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:74:35 [INFO] [stderr] | [INFO] [stderr] 74 | assert_eq!(points_b.y(4 as $X).expect("Cannot interpolate 4"), 0.4 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(4)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:75:35 [INFO] [stderr] | [INFO] [stderr] 75 | assert_eq!(points_b.y(5 as $X).expect("Cannot interpolate 5"), 0.5 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:76:35 [INFO] [stderr] | [INFO] [stderr] 76 | assert_eq!(points_b.y(6 as $X).expect("Cannot interpolate 6"), 0.6 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(6)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:77:35 [INFO] [stderr] | [INFO] [stderr] 77 | assert_eq!(points_b.y(7 as $X).expect("Cannot interpolate 7"), 0.7 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(7)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:78:35 [INFO] [stderr] | [INFO] [stderr] 78 | assert_eq!(points_b.y(8 as $X).expect("Cannot interpolate 8"), 0.8 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(8)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:79:35 [INFO] [stderr] | [INFO] [stderr] 79 | assert_eq!(points_b.y(9 as $X).expect("Cannot interpolate 9"), 0.9 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(9)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:80:35 [INFO] [stderr] | [INFO] [stderr] 80 | assert_eq!(points_b.y(10 as $X).expect("Cannot interpolate 10"), 1.0 as $Y); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:115:1 [INFO] [stderr] | [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:81:35 [INFO] [stderr] | [INFO] [stderr] 81 | assert_eq!(points_b.y(11 as $X), None); [INFO] [stderr] | ^^ help: try: `f64::from(11)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:84:50 [INFO] [stderr] | [INFO] [stderr] 84 | assert_eq!(points_b.point_idx_before(5 as $X), Some(0)); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:85:50 [INFO] [stderr] | [INFO] [stderr] 85 | assert_eq!(points_b.point_idx_before(0 as $X), None); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:86:56 [INFO] [stderr] | [INFO] [stderr] 86 | assert_eq!(points_b.point_idx_on_or_before(5 as $X), Some(0)); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:87:56 [INFO] [stderr] | [INFO] [stderr] 87 | assert_eq!(points_b.point_idx_on_or_before(0 as $X), Some(0)); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:88:56 [INFO] [stderr] | [INFO] [stderr] 88 | assert_eq!(points_b.point_idx_on_or_before(10 as $X), Some(1)); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:90:49 [INFO] [stderr] | [INFO] [stderr] 90 | assert_eq!(points_b.point_idx_after(5 as $X), Some(1)); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:91:49 [INFO] [stderr] | [INFO] [stderr] 91 | assert_eq!(points_b.point_idx_after(10 as $X), None); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:92:55 [INFO] [stderr] | [INFO] [stderr] 92 | assert_eq!(points_b.point_idx_on_or_after(5 as $X), Some(1)); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:93:55 [INFO] [stderr] | [INFO] [stderr] 93 | assert_eq!(points_b.point_idx_on_or_after(10 as $X), Some(1)); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:94:55 [INFO] [stderr] | [INFO] [stderr] 94 | assert_eq!(points_b.point_idx_on_or_after(0 as $X), Some(0)); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:96:47 [INFO] [stderr] | [INFO] [stderr] 96 | assert_eq!(*points_b.point_before(5 as $X).unwrap(), points_b.0[0]); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:97:53 [INFO] [stderr] | [INFO] [stderr] 97 | assert_eq!(*points_b.point_on_or_before(5 as $X).unwrap(), points_b.0[0]); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:98:53 [INFO] [stderr] | [INFO] [stderr] 98 | assert_eq!(*points_b.point_on_or_before(0 as $X).unwrap(), points_b.0[0]); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:99:53 [INFO] [stderr] | [INFO] [stderr] 99 | assert_eq!(*points_b.point_on_or_before(10 as $X).unwrap(), points_b.0[1]); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:101:46 [INFO] [stderr] | [INFO] [stderr] 101 | assert_eq!(*points_b.point_after(5 as $X).unwrap(), points_b.0[1]); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:102:52 [INFO] [stderr] | [INFO] [stderr] 102 | assert_eq!(*points_b.point_on_or_after(5 as $X).unwrap(), points_b.0[1]); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:103:52 [INFO] [stderr] | [INFO] [stderr] 103 | assert_eq!(*points_b.point_on_or_after(0 as $X).unwrap(), points_b.0[0]); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:104:52 [INFO] [stderr] | [INFO] [stderr] 104 | assert_eq!(*points_b.point_on_or_after(10 as $X).unwrap(), points_b.0[1]); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 115 | test_x_y_float!(xf64_yf64, f64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:117:1 [INFO] [stderr] | [INFO] [stderr] 117 | test_x_y_float!(xi32_yf32, i32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:20:69 [INFO] [stderr] | [INFO] [stderr] 20 | fn x_to_scalar(x: $X) -> ::Scalar { x as ::Scalar } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `f64::from(x)` [INFO] [stderr] ... [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:46:18 [INFO] [stderr] | [INFO] [stderr] 46 | ((x as $Y).sin() / 2.0) + 0.5 [INFO] [stderr] | ^^^^^^^^^ help: try: `f64::from(x)` [INFO] [stderr] ... [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | test_x_y_float!(xi32_yf64, i32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to i64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | let x = i as $X; [INFO] [stderr] | ^ help: try: `i64::from(i)` [INFO] [stderr] ... [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to i64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:56:25 [INFO] [stderr] | [INFO] [stderr] 56 | let x = i as $X; [INFO] [stderr] | ^ help: try: `i64::from(i)` [INFO] [stderr] ... [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:120:1 [INFO] [stderr] | [INFO] [stderr] 120 | test_x_y_float!(xi64_yf32, i64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting i32 to i64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:51:25 [INFO] [stderr] | [INFO] [stderr] 51 | let x = i as $X; [INFO] [stderr] | ^ help: try: `i64::from(i)` [INFO] [stderr] ... [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to i64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:56:25 [INFO] [stderr] | [INFO] [stderr] 56 | let x = i as $X; [INFO] [stderr] | ^ help: try: `i64::from(i)` [INFO] [stderr] ... [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | test_x_y_float!(xi64_yf64, i64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | test_x_y_float!(xu32_yf32, u32, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting u32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:20:69 [INFO] [stderr] | [INFO] [stderr] 20 | fn x_to_scalar(x: $X) -> ::Scalar { x as ::Scalar } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `f64::from(x)` [INFO] [stderr] ... [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:46:18 [INFO] [stderr] | [INFO] [stderr] 46 | ((x as $Y).sin() / 2.0) + 0.5 [INFO] [stderr] | ^^^^^^^^^ help: try: `f64::from(x)` [INFO] [stderr] ... [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:124:1 [INFO] [stderr] | [INFO] [stderr] 124 | test_x_y_float!(xu32_yf64, u32, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:126:1 [INFO] [stderr] | [INFO] [stderr] 126 | test_x_y_float!(xu64_yf32, u64, f32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:127:1 [INFO] [stderr] | [INFO] [stderr] 127 | test_x_y_float!(xu64_yf64, u64, f64); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: casting f32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:141:19 [INFO] [stderr] | [INFO] [stderr] 141 | (((x as f64).sin() * 20.0) + 10.0) as $Y [INFO] [stderr] | ^^^^^^^^^^ help: try: `f64::from(x)` [INFO] [stderr] ... [INFO] [stderr] 206 | test_x_y_int!(xf32_yi32, f32, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting f32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:20:69 [INFO] [stderr] | [INFO] [stderr] 20 | fn x_to_scalar(x: $X) -> ::Scalar { x as ::Scalar } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `f64::from(x)` [INFO] [stderr] ... [INFO] [stderr] 207 | test_x_y_int!(xf32_yi64, f32, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting f32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:141:19 [INFO] [stderr] | [INFO] [stderr] 141 | (((x as f64).sin() * 20.0) + 10.0) as $Y [INFO] [stderr] | ^^^^^^^^^^ help: try: `f64::from(x)` [INFO] [stderr] ... [INFO] [stderr] 207 | test_x_y_int!(xf32_yi64, f32, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:146:25 [INFO] [stderr] | [INFO] [stderr] 146 | let x = i as $X; [INFO] [stderr] | ^ help: try: `f64::from(i)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:151:25 [INFO] [stderr] | [INFO] [stderr] 151 | let x = i as $X; [INFO] [stderr] | ^ help: try: `f64::from(i)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:161:56 [INFO] [stderr] | [INFO] [stderr] 161 | let points_b: Vec = once(Point { x: 0 as $X, y: 0 as $Y }) [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:162:40 [INFO] [stderr] | [INFO] [stderr] 162 | .chain(once(Point { x: 10 as $X, y: 100 as $Y })) [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:165:35 [INFO] [stderr] | [INFO] [stderr] 165 | assert_eq!(points_b.y(0 as $X).expect("Cannot interpolate 0"), 0 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:166:35 [INFO] [stderr] | [INFO] [stderr] 166 | assert_eq!(points_b.y(1 as $X).expect("Cannot interpolate 1"), 10 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(1)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:167:35 [INFO] [stderr] | [INFO] [stderr] 167 | assert_eq!(points_b.y(2 as $X).expect("Cannot interpolate 2"), 20 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(2)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:168:35 [INFO] [stderr] | [INFO] [stderr] 168 | assert_eq!(points_b.y(3 as $X).expect("Cannot interpolate 3"), 30 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(3)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:169:35 [INFO] [stderr] | [INFO] [stderr] 169 | assert_eq!(points_b.y(4 as $X).expect("Cannot interpolate 4"), 40 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(4)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:170:35 [INFO] [stderr] | [INFO] [stderr] 170 | assert_eq!(points_b.y(5 as $X).expect("Cannot interpolate 5"), 50 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:171:35 [INFO] [stderr] | [INFO] [stderr] 171 | assert_eq!(points_b.y(6 as $X).expect("Cannot interpolate 6"), 60 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(6)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:172:35 [INFO] [stderr] | [INFO] [stderr] 172 | assert_eq!(points_b.y(7 as $X).expect("Cannot interpolate 7"), 70 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(7)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:173:35 [INFO] [stderr] | [INFO] [stderr] 173 | assert_eq!(points_b.y(8 as $X).expect("Cannot interpolate 8"), 80 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(8)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:174:35 [INFO] [stderr] | [INFO] [stderr] 174 | assert_eq!(points_b.y(9 as $X).expect("Cannot interpolate 9"), 90 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(9)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:175:35 [INFO] [stderr] | [INFO] [stderr] 175 | assert_eq!(points_b.y(10 as $X).expect("Cannot interpolate 10"), 100 as $Y); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:176:35 [INFO] [stderr] | [INFO] [stderr] 176 | assert_eq!(points_b.y(11 as $X), None); [INFO] [stderr] | ^^ help: try: `f64::from(11)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:179:50 [INFO] [stderr] | [INFO] [stderr] 179 | assert_eq!(points_b.point_idx_before(5 as $X), Some(0)); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:180:50 [INFO] [stderr] | [INFO] [stderr] 180 | assert_eq!(points_b.point_idx_before(0 as $X), None); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:181:56 [INFO] [stderr] | [INFO] [stderr] 181 | assert_eq!(points_b.point_idx_on_or_before(5 as $X), Some(0)); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:182:56 [INFO] [stderr] | [INFO] [stderr] 182 | assert_eq!(points_b.point_idx_on_or_before(0 as $X), Some(0)); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:183:56 [INFO] [stderr] | [INFO] [stderr] 183 | assert_eq!(points_b.point_idx_on_or_before(10 as $X), Some(1)); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:185:49 [INFO] [stderr] | [INFO] [stderr] 185 | assert_eq!(points_b.point_idx_after(5 as $X), Some(1)); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:186:49 [INFO] [stderr] | [INFO] [stderr] 186 | assert_eq!(points_b.point_idx_after(10 as $X), None); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:187:55 [INFO] [stderr] | [INFO] [stderr] 187 | assert_eq!(points_b.point_idx_on_or_after(5 as $X), Some(1)); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:188:55 [INFO] [stderr] | [INFO] [stderr] 188 | assert_eq!(points_b.point_idx_on_or_after(10 as $X), Some(1)); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:189:55 [INFO] [stderr] | [INFO] [stderr] 189 | assert_eq!(points_b.point_idx_on_or_after(0 as $X), Some(0)); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:191:47 [INFO] [stderr] | [INFO] [stderr] 191 | assert_eq!(*points_b.point_before(5 as $X).unwrap(), points_b.0[0]); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:192:53 [INFO] [stderr] | [INFO] [stderr] 192 | assert_eq!(*points_b.point_on_or_before(5 as $X).unwrap(), points_b.0[0]); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:193:53 [INFO] [stderr] | [INFO] [stderr] 193 | assert_eq!(*points_b.point_on_or_before(0 as $X).unwrap(), points_b.0[0]); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:194:53 [INFO] [stderr] | [INFO] [stderr] 194 | assert_eq!(*points_b.point_on_or_before(10 as $X).unwrap(), points_b.0[1]); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:196:46 [INFO] [stderr] | [INFO] [stderr] 196 | assert_eq!(*points_b.point_after(5 as $X).unwrap(), points_b.0[1]); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:197:52 [INFO] [stderr] | [INFO] [stderr] 197 | assert_eq!(*points_b.point_on_or_after(5 as $X).unwrap(), points_b.0[1]); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:198:52 [INFO] [stderr] | [INFO] [stderr] 198 | assert_eq!(*points_b.point_on_or_after(0 as $X).unwrap(), points_b.0[0]); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:199:52 [INFO] [stderr] | [INFO] [stderr] 199 | assert_eq!(*points_b.point_on_or_after(10 as $X).unwrap(), points_b.0[1]); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 209 | test_x_y_int!(xf64_yi32, f64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:146:25 [INFO] [stderr] | [INFO] [stderr] 146 | let x = i as $X; [INFO] [stderr] | ^ help: try: `f64::from(i)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:151:25 [INFO] [stderr] | [INFO] [stderr] 151 | let x = i as $X; [INFO] [stderr] | ^ help: try: `f64::from(i)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:161:56 [INFO] [stderr] | [INFO] [stderr] 161 | let points_b: Vec = once(Point { x: 0 as $X, y: 0 as $Y }) [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:162:40 [INFO] [stderr] | [INFO] [stderr] 162 | .chain(once(Point { x: 10 as $X, y: 100 as $Y })) [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:165:35 [INFO] [stderr] | [INFO] [stderr] 165 | assert_eq!(points_b.y(0 as $X).expect("Cannot interpolate 0"), 0 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:166:35 [INFO] [stderr] | [INFO] [stderr] 166 | assert_eq!(points_b.y(1 as $X).expect("Cannot interpolate 1"), 10 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(1)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:167:35 [INFO] [stderr] | [INFO] [stderr] 167 | assert_eq!(points_b.y(2 as $X).expect("Cannot interpolate 2"), 20 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(2)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:168:35 [INFO] [stderr] | [INFO] [stderr] 168 | assert_eq!(points_b.y(3 as $X).expect("Cannot interpolate 3"), 30 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(3)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:169:35 [INFO] [stderr] | [INFO] [stderr] 169 | assert_eq!(points_b.y(4 as $X).expect("Cannot interpolate 4"), 40 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(4)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:170:35 [INFO] [stderr] | [INFO] [stderr] 170 | assert_eq!(points_b.y(5 as $X).expect("Cannot interpolate 5"), 50 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:171:35 [INFO] [stderr] | [INFO] [stderr] 171 | assert_eq!(points_b.y(6 as $X).expect("Cannot interpolate 6"), 60 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(6)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:172:35 [INFO] [stderr] | [INFO] [stderr] 172 | assert_eq!(points_b.y(7 as $X).expect("Cannot interpolate 7"), 70 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(7)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:173:35 [INFO] [stderr] | [INFO] [stderr] 173 | assert_eq!(points_b.y(8 as $X).expect("Cannot interpolate 8"), 80 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(8)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:174:35 [INFO] [stderr] | [INFO] [stderr] 174 | assert_eq!(points_b.y(9 as $X).expect("Cannot interpolate 9"), 90 as $Y); [INFO] [stderr] | ^ help: try: `f64::from(9)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:175:35 [INFO] [stderr] | [INFO] [stderr] 175 | assert_eq!(points_b.y(10 as $X).expect("Cannot interpolate 10"), 100 as $Y); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:176:35 [INFO] [stderr] | [INFO] [stderr] 176 | assert_eq!(points_b.y(11 as $X), None); [INFO] [stderr] | ^^ help: try: `f64::from(11)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:179:50 [INFO] [stderr] | [INFO] [stderr] 179 | assert_eq!(points_b.point_idx_before(5 as $X), Some(0)); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:180:50 [INFO] [stderr] | [INFO] [stderr] 180 | assert_eq!(points_b.point_idx_before(0 as $X), None); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:181:56 [INFO] [stderr] | [INFO] [stderr] 181 | assert_eq!(points_b.point_idx_on_or_before(5 as $X), Some(0)); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:182:56 [INFO] [stderr] | [INFO] [stderr] 182 | assert_eq!(points_b.point_idx_on_or_before(0 as $X), Some(0)); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:183:56 [INFO] [stderr] | [INFO] [stderr] 183 | assert_eq!(points_b.point_idx_on_or_before(10 as $X), Some(1)); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:185:49 [INFO] [stderr] | [INFO] [stderr] 185 | assert_eq!(points_b.point_idx_after(5 as $X), Some(1)); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:186:49 [INFO] [stderr] | [INFO] [stderr] 186 | assert_eq!(points_b.point_idx_after(10 as $X), None); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:187:55 [INFO] [stderr] | [INFO] [stderr] 187 | assert_eq!(points_b.point_idx_on_or_after(5 as $X), Some(1)); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:188:55 [INFO] [stderr] | [INFO] [stderr] 188 | assert_eq!(points_b.point_idx_on_or_after(10 as $X), Some(1)); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:189:55 [INFO] [stderr] | [INFO] [stderr] 189 | assert_eq!(points_b.point_idx_on_or_after(0 as $X), Some(0)); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:191:47 [INFO] [stderr] | [INFO] [stderr] 191 | assert_eq!(*points_b.point_before(5 as $X).unwrap(), points_b.0[0]); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:192:53 [INFO] [stderr] | [INFO] [stderr] 192 | assert_eq!(*points_b.point_on_or_before(5 as $X).unwrap(), points_b.0[0]); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:193:53 [INFO] [stderr] | [INFO] [stderr] 193 | assert_eq!(*points_b.point_on_or_before(0 as $X).unwrap(), points_b.0[0]); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:194:53 [INFO] [stderr] | [INFO] [stderr] 194 | assert_eq!(*points_b.point_on_or_before(10 as $X).unwrap(), points_b.0[1]); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:196:46 [INFO] [stderr] | [INFO] [stderr] 196 | assert_eq!(*points_b.point_after(5 as $X).unwrap(), points_b.0[1]); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:197:52 [INFO] [stderr] | [INFO] [stderr] 197 | assert_eq!(*points_b.point_on_or_after(5 as $X).unwrap(), points_b.0[1]); [INFO] [stderr] | ^ help: try: `f64::from(5)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:198:52 [INFO] [stderr] | [INFO] [stderr] 198 | assert_eq!(*points_b.point_on_or_after(0 as $X).unwrap(), points_b.0[0]); [INFO] [stderr] | ^ help: try: `f64::from(0)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:199:52 [INFO] [stderr] | [INFO] [stderr] 199 | assert_eq!(*points_b.point_on_or_after(10 as $X).unwrap(), points_b.0[1]); [INFO] [stderr] | ^^ help: try: `f64::from(10)` [INFO] [stderr] ... [INFO] [stderr] 210 | test_x_y_int!(xf64_yi64, f64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:141:19 [INFO] [stderr] | [INFO] [stderr] 141 | (((x as f64).sin() * 20.0) + 10.0) as $Y [INFO] [stderr] | ^^^^^^^^^^ help: try: `f64::from(x)` [INFO] [stderr] ... [INFO] [stderr] 212 | test_x_y_int!(xi32_yi32, i32, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:20:69 [INFO] [stderr] | [INFO] [stderr] 20 | fn x_to_scalar(x: $X) -> ::Scalar { x as ::Scalar } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `f64::from(x)` [INFO] [stderr] ... [INFO] [stderr] 213 | test_x_y_int!(xi32_yi64, i32, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:141:19 [INFO] [stderr] | [INFO] [stderr] 141 | (((x as f64).sin() * 20.0) + 10.0) as $Y [INFO] [stderr] | ^^^^^^^^^^ help: try: `f64::from(x)` [INFO] [stderr] ... [INFO] [stderr] 213 | test_x_y_int!(xi32_yi64, i32, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to i64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:146:25 [INFO] [stderr] | [INFO] [stderr] 146 | let x = i as $X; [INFO] [stderr] | ^ help: try: `i64::from(i)` [INFO] [stderr] ... [INFO] [stderr] 215 | test_x_y_int!(xi64_yi32, i64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to i64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:151:25 [INFO] [stderr] | [INFO] [stderr] 151 | let x = i as $X; [INFO] [stderr] | ^ help: try: `i64::from(i)` [INFO] [stderr] ... [INFO] [stderr] 215 | test_x_y_int!(xi64_yi32, i64, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to i64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:146:25 [INFO] [stderr] | [INFO] [stderr] 146 | let x = i as $X; [INFO] [stderr] | ^ help: try: `i64::from(i)` [INFO] [stderr] ... [INFO] [stderr] 216 | test_x_y_int!(xi64_yi64, i64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i32 to i64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:151:25 [INFO] [stderr] | [INFO] [stderr] 151 | let x = i as $X; [INFO] [stderr] | ^ help: try: `i64::from(i)` [INFO] [stderr] ... [INFO] [stderr] 216 | test_x_y_int!(xi64_yi64, i64, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:141:19 [INFO] [stderr] | [INFO] [stderr] 141 | (((x as f64).sin() * 20.0) + 10.0) as $Y [INFO] [stderr] | ^^^^^^^^^^ help: try: `f64::from(x)` [INFO] [stderr] ... [INFO] [stderr] 218 | test_x_y_int!(xu32_yi32, u32, i32); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:20:69 [INFO] [stderr] | [INFO] [stderr] 20 | fn x_to_scalar(x: $X) -> ::Scalar { x as ::Scalar } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `f64::from(x)` [INFO] [stderr] ... [INFO] [stderr] 219 | test_x_y_int!(xu32_yi64, u32, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u32 to f64 may become silently lossy if types change [INFO] [stderr] --> tests/impl_envelope_for_vec.rs:141:19 [INFO] [stderr] | [INFO] [stderr] 141 | (((x as f64).sin() * 20.0) + 10.0) as $Y [INFO] [stderr] | ^^^^^^^^^^ help: try: `f64::from(x)` [INFO] [stderr] ... [INFO] [stderr] 219 | test_x_y_int!(xu32_yi64, u32, i64); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: aborting due to 144 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `envelope`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7ae80147f433b7d0c3c4489ad070abd00bd0e75f427ccfc28bb806c9ee2617e6"` [INFO] running `"docker" "rm" "-f" "7ae80147f433b7d0c3c4489ad070abd00bd0e75f427ccfc28bb806c9ee2617e6"` [INFO] [stdout] 7ae80147f433b7d0c3c4489ad070abd00bd0e75f427ccfc28bb806c9ee2617e6