[INFO] updating cached repository 0ncorhynchus/eriocheir [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/0ncorhynchus/eriocheir [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/0ncorhynchus/eriocheir" "work/ex/clippy-test-run/sources/stable/gh/0ncorhynchus/eriocheir"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/0ncorhynchus/eriocheir'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/0ncorhynchus/eriocheir" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/0ncorhynchus/eriocheir"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/0ncorhynchus/eriocheir'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] df38d4144092d644bf5451018a857542b5b7b91b [INFO] sha for GitHub repo 0ncorhynchus/eriocheir: df38d4144092d644bf5451018a857542b5b7b91b [INFO] validating manifest of 0ncorhynchus/eriocheir 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 0ncorhynchus/eriocheir 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 0ncorhynchus/eriocheir [INFO] finished frobbing 0ncorhynchus/eriocheir [INFO] frobbed toml for 0ncorhynchus/eriocheir written to work/ex/clippy-test-run/sources/stable/gh/0ncorhynchus/eriocheir/Cargo.toml [INFO] started frobbing 0ncorhynchus/eriocheir [INFO] finished frobbing 0ncorhynchus/eriocheir [INFO] frobbed toml for 0ncorhynchus/eriocheir written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/0ncorhynchus/eriocheir/Cargo.toml [INFO] crate 0ncorhynchus/eriocheir 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 0ncorhynchus/eriocheir 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-2/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/0ncorhynchus/eriocheir:/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] 4ceb0ce8dd867a465596bcc65909b38899d9b215c7f2daa206c838e85f7ec817 [INFO] running `"docker" "start" "-a" "4ceb0ce8dd867a465596bcc65909b38899d9b215c7f2daa206c838e85f7ec817"` [INFO] [stderr] Checking eriocheir v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/core/vector3.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | Vector3 { x: x, y: y, z: z } [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/core/vector3.rs:10:25 [INFO] [stderr] | [INFO] [stderr] 10 | Vector3 { x: x, y: y, z: z } [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/core/vector3.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | Vector3 { x: x, y: y, z: z } [INFO] [stderr] | ^^^^ help: replace it with: `z` [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/core/space.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | size: size, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `size` [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/core/vector3.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | Vector3 { x: x, y: y, z: z } [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/core/vector3.rs:10:25 [INFO] [stderr] | [INFO] [stderr] 10 | Vector3 { x: x, y: y, z: z } [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/core/vector3.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | Vector3 { x: x, y: y, z: z } [INFO] [stderr] | ^^^^ help: replace it with: `z` [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/core/space.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | size: size, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `size` [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: method is never used: `new` [INFO] [stderr] --> src/core/vector3.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn new(x: f64, y: f64, z: f64) -> Vector3 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `zero` [INFO] [stderr] --> src/core/vector3.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn zero() -> Vector3 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Space` [INFO] [stderr] --> src/core/space.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct Space { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/core/space.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(size: Vector3) -> Space { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `push_particle` [INFO] [stderr] --> src/core/space.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | / pub fn push_particle(&mut self, [INFO] [stderr] 21 | | position: Vector3, [INFO] [stderr] 22 | | velocity: Vector3) { [INFO] [stderr] 23 | | self.positions.push(position); [INFO] [stderr] 24 | | self.velocities.push(velocity); [INFO] [stderr] 25 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/core/vector3.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | assert_eq!(1.0, vec.x); [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/core/vector3.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | assert_eq!(1.0, vec.x); [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/core/vector3.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | assert_eq!(2.0, vec.y); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/core/vector3.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | assert_eq!(2.0, vec.y); [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/core/vector3.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | assert_eq!(3.0, vec.z); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/core/vector3.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | assert_eq!(3.0, vec.z); [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/core/vector3.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | assert_eq!(0.0, vec.x); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/core/vector3.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | assert_eq!(0.0, vec.x); [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/core/vector3.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | assert_eq!(0.0, vec.y); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/core/vector3.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | assert_eq!(0.0, vec.y); [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/core/vector3.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | assert_eq!(0.0, vec.z); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/core/vector3.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | assert_eq!(0.0, vec.z); [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/core/space.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | assert_eq!(0.0, space.t); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/core/space.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | assert_eq!(0.0, space.t); [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 7 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `eriocheir`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4ceb0ce8dd867a465596bcc65909b38899d9b215c7f2daa206c838e85f7ec817"` [INFO] running `"docker" "rm" "-f" "4ceb0ce8dd867a465596bcc65909b38899d9b215c7f2daa206c838e85f7ec817"` [INFO] [stdout] 4ceb0ce8dd867a465596bcc65909b38899d9b215c7f2daa206c838e85f7ec817