[INFO] crate parking_lot_core 0.4.0 is already in cache [INFO] extracting crate parking_lot_core 0.4.0 into work/ex/clippy-test-run/sources/stable/reg/parking_lot_core/0.4.0 [INFO] extracting crate parking_lot_core 0.4.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/parking_lot_core/0.4.0 [INFO] validating manifest of parking_lot_core-0.4.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 parking_lot_core-0.4.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 parking_lot_core-0.4.0 [INFO] finished frobbing parking_lot_core-0.4.0 [INFO] frobbed toml for parking_lot_core-0.4.0 written to work/ex/clippy-test-run/sources/stable/reg/parking_lot_core/0.4.0/Cargo.toml [INFO] started frobbing parking_lot_core-0.4.0 [INFO] finished frobbing parking_lot_core-0.4.0 [INFO] frobbed toml for parking_lot_core-0.4.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/parking_lot_core/0.4.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 parking_lot_core-0.4.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-0/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/parking_lot_core/0.4.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" "-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] a8b03074fef59a2b718ed9e2931fce23602739de4b18b89309dfb9e688c0bd71 [INFO] running `"docker" "start" "-a" "a8b03074fef59a2b718ed9e2931fce23602739de4b18b89309dfb9e688c0bd71"` [INFO] [stderr] Compiling parking_lot_core v0.4.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/parking_lot.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 54 | hash_bits: hash_bits, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `hash_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/parking_lot.rs:54:13 [INFO] [stderr] | [INFO] [stderr] 54 | hash_bits: hash_bits, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `hash_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: long literal lacking separators [INFO] [stderr] --> src/parking_lot.rs:110:73 [INFO] [stderr] | [INFO] [stderr] 110 | self.timeout = now + Duration::new(0, self.rng.gen_range(0, 1000000)); [INFO] [stderr] | ^^^^^^^ help: consider: `1_000_000` [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/parking_lot.rs:310:22 [INFO] [stderr] | [INFO] [stderr] 310 | key.wrapping_mul(0x9E3779B97F4A7C15) >> (64 - bits) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: consider: `0x9E37_79B9_7F4A_7C15` [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/parking_lot.rs:110:73 [INFO] [stderr] | [INFO] [stderr] 110 | self.timeout = now + Duration::new(0, self.rng.gen_range(0, 1000000)); [INFO] [stderr] | ^^^^^^^ help: consider: `1_000_000` [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/parking_lot.rs:310:22 [INFO] [stderr] | [INFO] [stderr] 310 | key.wrapping_mul(0x9E3779B97F4A7C15) >> (64 - bits) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: consider: `0x9E37_79B9_7F4A_7C15` [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: casting u32 to i64 may become silently lossy if types change [INFO] [stderr] --> src/thread_parker/unix.rs:231:34 [INFO] [stderr] | [INFO] [stderr] 231 | let mut nsec = now.tv_nsec + timeout.subsec_nanos() as tv_nsec_t; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `i64::from(timeout.subsec_nanos())` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting u32 to i64 may become silently lossy if types change [INFO] [stderr] --> src/thread_parker/unix.rs:231:34 [INFO] [stderr] | [INFO] [stderr] 231 | let mut nsec = now.tv_nsec + timeout.subsec_nanos() as tv_nsec_t; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `i64::from(timeout.subsec_nanos())` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: equal expressions as operands to `&&` [INFO] [stderr] --> src/word_lock.rs:64:8 [INFO] [stderr] | [INFO] [stderr] 64 | if !cfg!(windows) && !cfg!(all(feature = "nightly", target_os = "linux")) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::eq_op)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#eq_op [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `parking_lot_core`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: equal expressions as operands to `&&` [INFO] [stderr] --> src/word_lock.rs:64:8 [INFO] [stderr] | [INFO] [stderr] 64 | if !cfg!(windows) && !cfg!(all(feature = "nightly", target_os = "linux")) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::eq_op)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#eq_op [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `parking_lot_core`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a8b03074fef59a2b718ed9e2931fce23602739de4b18b89309dfb9e688c0bd71"` [INFO] running `"docker" "rm" "-f" "a8b03074fef59a2b718ed9e2931fce23602739de4b18b89309dfb9e688c0bd71"` [INFO] [stdout] a8b03074fef59a2b718ed9e2931fce23602739de4b18b89309dfb9e688c0bd71