[INFO] updating cached repository pjohansson/densmap-analysis [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/pjohansson/densmap-analysis [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/pjohansson/densmap-analysis" "work/ex/clippy-test-run/sources/stable/gh/pjohansson/densmap-analysis"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/pjohansson/densmap-analysis'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/pjohansson/densmap-analysis" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/pjohansson/densmap-analysis"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/pjohansson/densmap-analysis'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 86d0b0f1d50631a3ec58447edd31625d493f1dfd [INFO] sha for GitHub repo pjohansson/densmap-analysis: 86d0b0f1d50631a3ec58447edd31625d493f1dfd [INFO] validating manifest of pjohansson/densmap-analysis 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 pjohansson/densmap-analysis 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 pjohansson/densmap-analysis [INFO] finished frobbing pjohansson/densmap-analysis [INFO] frobbed toml for pjohansson/densmap-analysis written to work/ex/clippy-test-run/sources/stable/gh/pjohansson/densmap-analysis/Cargo.toml [INFO] started frobbing pjohansson/densmap-analysis [INFO] finished frobbing pjohansson/densmap-analysis [INFO] frobbed toml for pjohansson/densmap-analysis written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/pjohansson/densmap-analysis/Cargo.toml [INFO] crate pjohansson/densmap-analysis has a lockfile. skipping [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 pjohansson/densmap-analysis 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/gh/pjohansson/densmap-analysis:/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] cf86ac341622a3e6a5d19ea1d85308440c04b01a79ecd26b0dae039baa66b2e0 [INFO] running `"docker" "start" "-a" "cf86ac341622a3e6a5d19ea1d85308440c04b01a79ecd26b0dae039baa66b2e0"` [INFO] [stderr] Compiling proc-macro2 v0.4.23 [INFO] [stderr] Checking thread-scoped v1.0.2 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking itertools v0.7.9 [INFO] [stderr] Checking pbr v1.0.1 [INFO] [stderr] Checking itertools-num v0.1.2 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Checking flate2 v1.0.5 [INFO] [stderr] Checking simplelog v0.5.3 [INFO] [stderr] Checking criterion-stats v0.2.5 [INFO] [stderr] Checking criterion-plot v0.2.5 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.20 [INFO] [stderr] Checking handlebars v0.32.4 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling structopt-derive v0.2.13 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Checking structopt v0.2.13 [INFO] [stderr] Checking densmap v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/graphdata.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | write!(writer, "{:12.5} {:12.5}\n", x, y)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::write_with_newline)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] Checking failure v0.1.3 [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/graphdata.rs:86:36 [INFO] [stderr] | [INFO] [stderr] 86 | Graph::Carthesian { x, y: _ } => &x, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unneeded_field_pattern)] on by default [INFO] [stderr] = help: Try with `Carthesian { x, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/graphdata.rs:87:36 [INFO] [stderr] | [INFO] [stderr] 87 | Graph::Polar { angles, radius: _ } => &angles, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Polar { angles, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/graphdata.rs:93:33 [INFO] [stderr] | [INFO] [stderr] 93 | Graph::Carthesian { x: _, y } => &y, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Carthesian { y, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/graphdata.rs:94:28 [INFO] [stderr] | [INFO] [stderr] 94 | Graph::Polar { angles: _, radius } => &radius, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Polar { radius, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> src/graphdata.rs:114:13 [INFO] [stderr] | [INFO] [stderr] 114 | Graph::Carthesian { x: _, y: _ } => self.clone(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Carthesian { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> src/graphdata.rs:131:13 [INFO] [stderr] | [INFO] [stderr] 131 | / Graph::Polar { [INFO] [stderr] 132 | | angles: _, [INFO] [stderr] 133 | | radius: _, [INFO] [stderr] 134 | | } => self.clone(), [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Polar { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/analysis/radial_density.rs:69:10 [INFO] [stderr] | [INFO] [stderr] 69 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::into_iter_on_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/average.rs:39:32 [INFO] [stderr] | [INFO] [stderr] 39 | fn average_value_of_bins(data: &Vec, bins: &Vec) -> f64 { [INFO] [stderr] | ^^^^^^^^^ help: change this to: `&[f64]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/average.rs:39:49 [INFO] [stderr] | [INFO] [stderr] 39 | fn average_value_of_bins(data: &Vec, bins: &Vec) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^ help: change this to: `&[usize]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/average.rs:51:54 [INFO] [stderr] | [INFO] [stderr] 51 | fn get_bin_neighbours(i: usize, shape: Shape, sieve: &Vec<(isize, isize)>) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change this to: `&[(isize, isize)]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] Checking criterion v0.2.5 [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/graphdata.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | write!(writer, "{:12.5} {:12.5}\n", x, y)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::write_with_newline)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/graphdata.rs:86:36 [INFO] [stderr] | [INFO] [stderr] 86 | Graph::Carthesian { x, y: _ } => &x, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unneeded_field_pattern)] on by default [INFO] [stderr] = help: Try with `Carthesian { x, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/graphdata.rs:87:36 [INFO] [stderr] | [INFO] [stderr] 87 | Graph::Polar { angles, radius: _ } => &angles, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Polar { angles, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/graphdata.rs:93:33 [INFO] [stderr] | [INFO] [stderr] 93 | Graph::Carthesian { x: _, y } => &y, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Carthesian { y, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/graphdata.rs:94:28 [INFO] [stderr] | [INFO] [stderr] 94 | Graph::Polar { angles: _, radius } => &radius, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Polar { radius, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> src/graphdata.rs:114:13 [INFO] [stderr] | [INFO] [stderr] 114 | Graph::Carthesian { x: _, y: _ } => self.clone(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Carthesian { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> src/graphdata.rs:131:13 [INFO] [stderr] | [INFO] [stderr] 131 | / Graph::Polar { [INFO] [stderr] 132 | | angles: _, [INFO] [stderr] 133 | | radius: _, [INFO] [stderr] 134 | | } => self.clone(), [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Polar { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/analysis/radial_density.rs:69:10 [INFO] [stderr] | [INFO] [stderr] 69 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::into_iter_on_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: useless use of `vec!` [INFO] [stderr] --> src/analysis/radial_density.rs:193:42 [INFO] [stderr] | [INFO] [stderr] 193 | cut_bins_below_percentage_of_max(&vec![0.0, 4.1, 3.9, 5.0, 4.5, 8.0, 3.5], 50.0) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use a slice directly: `&[0.0, 4.1, 3.9, 5.0, 4.5, 8.0, 3.5]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::useless_vec)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/average.rs:39:32 [INFO] [stderr] | [INFO] [stderr] 39 | fn average_value_of_bins(data: &Vec, bins: &Vec) -> f64 { [INFO] [stderr] | ^^^^^^^^^ help: change this to: `&[f64]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/average.rs:39:49 [INFO] [stderr] | [INFO] [stderr] 39 | fn average_value_of_bins(data: &Vec, bins: &Vec) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^ help: change this to: `&[usize]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/average.rs:51:54 [INFO] [stderr] | [INFO] [stderr] 51 | fn get_bin_neighbours(i: usize, shape: Shape, sieve: &Vec<(isize, isize)>) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change this to: `&[(isize, isize)]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/average.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | assert_eq!(0.0, average_value_of_bins(&data, &vec![])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] --> src/average.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | assert_eq!(0.0, average_value_of_bins(&data, &vec![])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] --> src/average.rs:100:9 [INFO] [stderr] | [INFO] [stderr] 100 | assert_eq!(10.0, average_value_of_bins(&data, &vec![0])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/average.rs:100:9 [INFO] [stderr] | [INFO] [stderr] 100 | assert_eq!(10.0, average_value_of_bins(&data, &vec![0])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] --> src/average.rs:101:9 [INFO] [stderr] | [INFO] [stderr] 101 | assert_eq!(15.0, average_value_of_bins(&data, &vec![0, 1])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/average.rs:101:9 [INFO] [stderr] | [INFO] [stderr] 101 | assert_eq!(15.0, average_value_of_bins(&data, &vec![0, 1])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] --> src/average.rs:102:9 [INFO] [stderr] | [INFO] [stderr] 102 | assert_eq!(20.0, average_value_of_bins(&data, &vec![0, 2])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/average.rs:102:9 [INFO] [stderr] | [INFO] [stderr] 102 | assert_eq!(20.0, average_value_of_bins(&data, &vec![0, 2])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] --> src/average.rs:103:9 [INFO] [stderr] | [INFO] [stderr] 103 | assert_eq!(20.0, average_value_of_bins(&data, &vec![0, 1, 2])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/average.rs:103:9 [INFO] [stderr] | [INFO] [stderr] 103 | assert_eq!(20.0, average_value_of_bins(&data, &vec![0, 1, 2])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `densmap`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "cf86ac341622a3e6a5d19ea1d85308440c04b01a79ecd26b0dae039baa66b2e0"` [INFO] running `"docker" "rm" "-f" "cf86ac341622a3e6a5d19ea1d85308440c04b01a79ecd26b0dae039baa66b2e0"` [INFO] [stdout] cf86ac341622a3e6a5d19ea1d85308440c04b01a79ecd26b0dae039baa66b2e0