[INFO] updating cached repository Wertusser/image-seller [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Wertusser/image-seller [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Wertusser/image-seller" "work/ex/clippy-test-run/sources/stable/gh/Wertusser/image-seller"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/Wertusser/image-seller'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Wertusser/image-seller" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Wertusser/image-seller"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Wertusser/image-seller'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c2387c2d08d7016f352796b4ade2b45167262fa4 [INFO] sha for GitHub repo Wertusser/image-seller: c2387c2d08d7016f352796b4ade2b45167262fa4 [INFO] validating manifest of Wertusser/image-seller 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 Wertusser/image-seller 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 Wertusser/image-seller [INFO] finished frobbing Wertusser/image-seller [INFO] frobbed toml for Wertusser/image-seller written to work/ex/clippy-test-run/sources/stable/gh/Wertusser/image-seller/Cargo.toml [INFO] started frobbing Wertusser/image-seller [INFO] finished frobbing Wertusser/image-seller [INFO] frobbed toml for Wertusser/image-seller written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Wertusser/image-seller/Cargo.toml [INFO] crate Wertusser/image-seller 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 Wertusser/image-seller against stable+rustflags=-Dclippy::into_iter_on_array for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-4/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Wertusser/image-seller:/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 -Dclippy::into_iter_on_array" "-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] 3a7a97045bc87ce8626efd3a195107042ed2db9f736dc9573bf91536818819ba [INFO] running `"docker" "start" "-a" "3a7a97045bc87ce8626efd3a195107042ed2db9f736dc9573bf91536818819ba"` [INFO] [stderr] Checking uuid v0.7.0 [INFO] [stderr] Checking kawasaki v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/entities/image.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | author: author, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `author` [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/entities/image.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | author: author, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `author` [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: long literal lacking separators [INFO] [stderr] --> src/utils/similarity.rs:49:28 [INFO] [stderr] | [INFO] [stderr] 49 | assert_eq!(dist_2, 12.727922); [INFO] [stderr] | ^^^^^^^^^ help: consider: `12.727_922` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unreadable_literal)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/utils/similarity.rs:50:28 [INFO] [stderr] | [INFO] [stderr] 50 | assert_eq!(dist_3, 19.849434); [INFO] [stderr] | ^^^^^^^^^ help: consider: `19.849_434` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/utils/similarity.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/entities/users.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/utils/similarity.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | assert_eq!(dist_1, 0.0); [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/utils/similarity.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | assert_eq!(dist_1, 0.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/utils/similarity.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | assert_eq!(dist_2, 12.727922); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/utils/similarity.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | assert_eq!(dist_2, 12.727922); [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/utils/similarity.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | assert_eq!(dist_3, 19.849434); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/utils/similarity.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | assert_eq!(dist_3, 19.849434); [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/entities/users.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | assert_eq!(0.0, user.authority); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/entities/users.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | assert_eq!(0.0, user.authority); [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/entities/users.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | assert_eq!(0.1, user.authority); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/entities/users.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | assert_eq!(0.1, user.authority); [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 `kawasaki`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "3a7a97045bc87ce8626efd3a195107042ed2db9f736dc9573bf91536818819ba"` [INFO] running `"docker" "rm" "-f" "3a7a97045bc87ce8626efd3a195107042ed2db9f736dc9573bf91536818819ba"` [INFO] [stdout] 3a7a97045bc87ce8626efd3a195107042ed2db9f736dc9573bf91536818819ba