[INFO] crate bit-matrix 0.2.0 is already in cache [INFO] extracting crate bit-matrix 0.2.0 into work/ex/clippy-test-run/sources/stable/reg/bit-matrix/0.2.0 [INFO] extracting crate bit-matrix 0.2.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/bit-matrix/0.2.0 [INFO] validating manifest of bit-matrix-0.2.0 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 bit-matrix-0.2.0 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 bit-matrix-0.2.0 [INFO] finished frobbing bit-matrix-0.2.0 [INFO] frobbed toml for bit-matrix-0.2.0 written to work/ex/clippy-test-run/sources/stable/reg/bit-matrix/0.2.0/Cargo.toml [INFO] started frobbing bit-matrix-0.2.0 [INFO] finished frobbing bit-matrix-0.2.0 [INFO] frobbed toml for bit-matrix-0.2.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/bit-matrix/0.2.0/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 bit-matrix-0.2.0 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/reg/bit-matrix/0.2.0:/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] 14abbf8350f3be22bbb1a73e9f9efec7fcb9fe93b449d14226d62232fcdf294b [INFO] running `"docker" "start" "-a" "14abbf8350f3be22bbb1a73e9f9efec7fcb9fe93b449d14226d62232fcdf294b"` [INFO] [stderr] Checking bit-matrix v0.2.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/matrix.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | row_bits: row_bits, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `row_bits` [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/submatrix.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | slice: slice, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `slice` [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/submatrix.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | row_bits: row_bits, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `row_bits` [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/submatrix.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | row_bits: row_bits, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `row_bits` [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/submatrix.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | slice: slice, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `slice` [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/submatrix.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | row_bits: row_bits, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `row_bits` [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/submatrix.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | row_bits: row_bits, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `row_bits` [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] error: redundant field names in struct initialization [INFO] [stderr] --> src/matrix.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | row_bits: row_bits, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `row_bits` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:10:24 [INFO] [stderr] | [INFO] [stderr] 10 | #![cfg_attr(test, deny(warnings))] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::redundant_field_names)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] error: redundant field names in struct initialization [INFO] [stderr] --> src/submatrix.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | slice: slice, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `slice` [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] error: redundant field names in struct initialization [INFO] [stderr] --> src/submatrix.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | row_bits: row_bits, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `row_bits` [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] error: redundant field names in struct initialization [INFO] [stderr] --> src/submatrix.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | row_bits: row_bits, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `row_bits` [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] error: redundant field names in struct initialization [INFO] [stderr] --> src/submatrix.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | slice: slice, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `slice` [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] error: redundant field names in struct initialization [INFO] [stderr] --> src/submatrix.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | row_bits: row_bits, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `row_bits` [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] error: redundant field names in struct initialization [INFO] [stderr] --> src/submatrix.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | row_bits: row_bits, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `row_bits` [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: transmute from a reference to a reference [INFO] [stderr] --> src/matrix.rs:136:13 [INFO] [stderr] | [INFO] [stderr] 136 | / mem::transmute( [INFO] [stderr] 137 | | &self.bit_vec.storage()[row * row_size .. (row + 1) * row_size] [INFO] [stderr] 138 | | ) [INFO] [stderr] | |_____________^ help: try: `&*(&self.bit_vec.storage()[row * row_size .. (row + 1) * row_size] as *const [u32] as *const row::BitVecSlice)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::transmute_ptr_to_ptr)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr [INFO] [stderr] [INFO] [stderr] warning: transmute from a reference to a reference [INFO] [stderr] --> src/matrix.rs:149:13 [INFO] [stderr] | [INFO] [stderr] 149 | / mem::transmute( [INFO] [stderr] 150 | | &mut self.bit_vec.storage_mut()[row * row_size .. (row + 1) * row_size] [INFO] [stderr] 151 | | ) [INFO] [stderr] | |_____________^ help: try: `&mut *(&mut self.bit_vec.storage_mut()[row * row_size .. (row + 1) * row_size] as *mut [u32] as *mut row::BitVecSlice)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr [INFO] [stderr] [INFO] [stderr] warning: transmute from a reference to a reference [INFO] [stderr] --> src/row.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | mem::transmute(slice) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(slice as *const [u32] as *const row::BitVecSlice)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/submatrix.rs:45:27 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn iter(&self) -> Map, [INFO] [stderr] | ___________________________^ [INFO] [stderr] 46 | | fn(&[Block]) -> &BitVecSlice> { [INFO] [stderr] | |___________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::type_complexity)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: transmute from a reference to a reference [INFO] [stderr] --> src/submatrix.rs:48:22 [INFO] [stderr] | [INFO] [stderr] 48 | unsafe { mem::transmute(arg) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: try: `&*(arg as *const [u32] as *const row::BitVecSlice)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/submatrix.rs:164:35 [INFO] [stderr] | [INFO] [stderr] 164 | pub fn iter_mut(&mut self) -> Map, [INFO] [stderr] | ___________________________________^ [INFO] [stderr] 165 | | fn(&mut [Block]) -> &mut BitVecSlice> { [INFO] [stderr] | |___________________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: transmute from a reference to a reference [INFO] [stderr] --> src/submatrix.rs:167:22 [INFO] [stderr] | [INFO] [stderr] 167 | unsafe { mem::transmute(arg) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: try: `&mut *(arg as *mut [u32] as *mut row::BitVecSlice)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr [INFO] [stderr] [INFO] [stderr] warning: transmute from a reference to a reference [INFO] [stderr] --> src/submatrix.rs:182:13 [INFO] [stderr] | [INFO] [stderr] 182 | / mem::transmute( [INFO] [stderr] 183 | | &self.slice[row * row_size .. (row + 1) * row_size] [INFO] [stderr] 184 | | ) [INFO] [stderr] | |_____________^ help: try: `&*(&self.slice[row * row_size .. (row + 1) * row_size] as *const [u32] as *const row::BitVecSlice)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr [INFO] [stderr] [INFO] [stderr] warning: transmute from a reference to a reference [INFO] [stderr] --> src/submatrix.rs:195:13 [INFO] [stderr] | [INFO] [stderr] 195 | / mem::transmute( [INFO] [stderr] 196 | | &mut self.slice[row * row_size .. (row + 1) * row_size] [INFO] [stderr] 197 | | ) [INFO] [stderr] | |_____________^ help: try: `&mut *(&mut self.slice[row * row_size .. (row + 1) * row_size] as *mut [u32] as *mut row::BitVecSlice)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr [INFO] [stderr] [INFO] [stderr] warning: transmute from a reference to a reference [INFO] [stderr] --> src/submatrix.rs:210:13 [INFO] [stderr] | [INFO] [stderr] 210 | / mem::transmute( [INFO] [stderr] 211 | | &self.slice[row * row_size .. (row + 1) * row_size] [INFO] [stderr] 212 | | ) [INFO] [stderr] | |_____________^ help: try: `&*(&self.slice[row * row_size .. (row + 1) * row_size] as *const [u32] as *const row::BitVecSlice)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `bit-matrix`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "14abbf8350f3be22bbb1a73e9f9efec7fcb9fe93b449d14226d62232fcdf294b"` [INFO] running `"docker" "rm" "-f" "14abbf8350f3be22bbb1a73e9f9efec7fcb9fe93b449d14226d62232fcdf294b"` [INFO] [stdout] 14abbf8350f3be22bbb1a73e9f9efec7fcb9fe93b449d14226d62232fcdf294b