[INFO] crate hashbrown 0.1.7 is already in cache [INFO] extracting crate hashbrown 0.1.7 into work/ex/clippy-test-run/sources/stable/reg/hashbrown/0.1.7 [INFO] extracting crate hashbrown 0.1.7 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/hashbrown/0.1.7 [INFO] validating manifest of hashbrown-0.1.7 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 hashbrown-0.1.7 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 hashbrown-0.1.7 [INFO] finished frobbing hashbrown-0.1.7 [INFO] frobbed toml for hashbrown-0.1.7 written to work/ex/clippy-test-run/sources/stable/reg/hashbrown/0.1.7/Cargo.toml [INFO] started frobbing hashbrown-0.1.7 [INFO] finished frobbing hashbrown-0.1.7 [INFO] frobbed toml for hashbrown-0.1.7 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/hashbrown/0.1.7/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 hashbrown-0.1.7 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-1/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/hashbrown/0.1.7:/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] 4a02be452dd4c7d75dc74ec3afc17350f2968801dff069fcafc078db9d0f80b9 [INFO] running `"docker" "start" "-a" "4a02be452dd4c7d75dc74ec3afc17350f2968801dff069fcafc078db9d0f80b9"` [INFO] [stderr] Checking hashbrown v0.1.7 (/opt/crater/workdir) [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/fx.rs:31:18 [INFO] [stderr] | [INFO] [stderr] 31 | const K: usize = 0x517cc1b727220a95; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: consider: `0x517c_c1b7_2722_0a95` [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/raw/mod.rs:47:19 [INFO] [stderr] | [INFO] [stderr] 47 | const EMPTY: u8 = 0b11111111; [INFO] [stderr] | ^^^^^^^^^^ help: consider: `0b1111_1111` [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: long literal lacking separators [INFO] [stderr] --> src/raw/mod.rs:50:21 [INFO] [stderr] | [INFO] [stderr] 50 | const DELETED: u8 = 0b10000000; [INFO] [stderr] | ^^^^^^^^^^ help: consider: `0b1000_0000` [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: long literal lacking separators [INFO] [stderr] --> src/fx.rs:31:18 [INFO] [stderr] | [INFO] [stderr] 31 | const K: usize = 0x517cc1b727220a95; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: consider: `0x517c_c1b7_2722_0a95` [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/raw/mod.rs:47:19 [INFO] [stderr] | [INFO] [stderr] 47 | const EMPTY: u8 = 0b11111111; [INFO] [stderr] | ^^^^^^^^^^ help: consider: `0b1111_1111` [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: long literal lacking separators [INFO] [stderr] --> src/raw/mod.rs:50:21 [INFO] [stderr] | [INFO] [stderr] 50 | const DELETED: u8 = 0b10000000; [INFO] [stderr] | ^^^^^^^^^^ help: consider: `0b1000_0000` [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: length comparison to one [INFO] [stderr] --> src/fx.rs:69:40 [INFO] [stderr] | [INFO] [stderr] 69 | if (size_of::() > 1) && bytes.len() >= 1 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!bytes.is_empty()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::len_zero)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const core::arch::x86_64::__m128i`) [INFO] [stderr] --> src/raw/sse2.rs:45:36 [INFO] [stderr] | [INFO] [stderr] 45 | Group(x86::_mm_loadu_si128(ptr as *const _)) [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::cast_ptr_alignment)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const core::arch::x86_64::__m128i`) [INFO] [stderr] --> src/raw/sse2.rs:52:35 [INFO] [stderr] | [INFO] [stderr] 52 | Group(x86::_mm_load_si128(ptr as *const _)) [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*mut u8` to a more-strictly-aligned pointer (`*mut core::arch::x86_64::__m128i`) [INFO] [stderr] --> src/raw/sse2.rs:59:30 [INFO] [stderr] | [INFO] [stderr] 59 | x86::_mm_store_si128(ptr as *mut _, self.0); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false [INFO] [stderr] --> src/raw/bitmask.rs:62:41 [INFO] [stderr] | [INFO] [stderr] 62 | if cfg!(target_arch = "arm") && BITMASK_SHIFT >= 3 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::absurd_extreme_comparisons)] on by default [INFO] [stderr] = help: because BITMASK_SHIFT is the minimum value for this type, the case where the two sides are not equal never occurs, consider using BITMASK_SHIFT == 3 instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#absurd_extreme_comparisons [INFO] [stderr] [INFO] [stderr] warning: length comparison to one [INFO] [stderr] --> src/fx.rs:69:40 [INFO] [stderr] | [INFO] [stderr] 69 | if (size_of::() > 1) && bytes.len() >= 1 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!bytes.is_empty()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::len_zero)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `hashbrown`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const core::arch::x86_64::__m128i`) [INFO] [stderr] --> src/raw/sse2.rs:45:36 [INFO] [stderr] | [INFO] [stderr] 45 | Group(x86::_mm_loadu_si128(ptr as *const _)) [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::cast_ptr_alignment)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const core::arch::x86_64::__m128i`) [INFO] [stderr] --> src/raw/sse2.rs:52:35 [INFO] [stderr] | [INFO] [stderr] 52 | Group(x86::_mm_load_si128(ptr as *const _)) [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*mut u8` to a more-strictly-aligned pointer (`*mut core::arch::x86_64::__m128i`) [INFO] [stderr] --> src/raw/sse2.rs:59:30 [INFO] [stderr] | [INFO] [stderr] 59 | x86::_mm_store_si128(ptr as *mut _, self.0); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false [INFO] [stderr] --> src/raw/bitmask.rs:62:41 [INFO] [stderr] | [INFO] [stderr] 62 | if cfg!(target_arch = "arm") && BITMASK_SHIFT >= 3 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::absurd_extreme_comparisons)] on by default [INFO] [stderr] = help: because BITMASK_SHIFT is the minimum value for this type, the case where the two sides are not equal never occurs, consider using BITMASK_SHIFT == 3 instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#absurd_extreme_comparisons [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `hashbrown`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4a02be452dd4c7d75dc74ec3afc17350f2968801dff069fcafc078db9d0f80b9"` [INFO] running `"docker" "rm" "-f" "4a02be452dd4c7d75dc74ec3afc17350f2968801dff069fcafc078db9d0f80b9"` [INFO] [stdout] 4a02be452dd4c7d75dc74ec3afc17350f2968801dff069fcafc078db9d0f80b9