[INFO] crate rdrand 0.3.0 is already in cache [INFO] extracting crate rdrand 0.3.0 into work/ex/clippy-test-run/sources/stable/reg/rdrand/0.3.0 [INFO] extracting crate rdrand 0.3.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/rdrand/0.3.0 [INFO] validating manifest of rdrand-0.3.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 rdrand-0.3.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 rdrand-0.3.0 [INFO] finished frobbing rdrand-0.3.0 [INFO] frobbed toml for rdrand-0.3.0 written to work/ex/clippy-test-run/sources/stable/reg/rdrand/0.3.0/Cargo.toml [INFO] started frobbing rdrand-0.3.0 [INFO] finished frobbing rdrand-0.3.0 [INFO] frobbed toml for rdrand-0.3.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/rdrand/0.3.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 rdrand-0.3.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-5/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/rdrand/0.3.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] 4af436ee9905e29d5a87653c268bfcd4e4c38d597ee7b7dcddc9263bea6ab822 [INFO] running `"docker" "start" "-a" "4af436ee9905e29d5a87653c268bfcd4e4c38d597ee7b7dcddc9263bea6ab822"` [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rdrand v0.3.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant pattern matching, consider using `is_err()` [INFO] [stderr] --> src/lib.rs:308:24 [INFO] [stderr] | [INFO] [stderr] 308 | if let Err(_) = self.try_fill_bytes(dest) { [INFO] [stderr] | _________________- ^^^^^^ [INFO] [stderr] 309 | | busy_loop_fail() [INFO] [stderr] 310 | | } [INFO] [stderr] | |_________________- help: try this: `if self.try_fill_bytes(dest).is_err()` [INFO] [stderr] ... [INFO] [stderr] 395 | / impl_rand!(RdRand, "rdrand", [INFO] [stderr] 396 | | ::arch::_rdrand16_step, ::arch::_rdrand32_step, ::arch::_rdrand64_step, [INFO] [stderr] 397 | | maxstep = ::arch::_rdrand64_step, maxty = u64); [INFO] [stderr] | |__________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_pattern_matching)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stderr] [INFO] [stderr] warning: redundant pattern matching, consider using `is_err()` [INFO] [stderr] --> src/lib.rs:308:24 [INFO] [stderr] | [INFO] [stderr] 308 | if let Err(_) = self.try_fill_bytes(dest) { [INFO] [stderr] | _________________- ^^^^^^ [INFO] [stderr] 309 | | busy_loop_fail() [INFO] [stderr] 310 | | } [INFO] [stderr] | |_________________- help: try this: `if self.try_fill_bytes(dest).is_err()` [INFO] [stderr] ... [INFO] [stderr] 399 | / impl_rand!(RdSeed, "rdseed", [INFO] [stderr] 400 | | ::arch::_rdseed16_step, ::arch::_rdseed32_step, ::arch::_rdseed64_step, [INFO] [stderr] 401 | | maxstep = ::arch::_rdseed64_step, maxty = u64); [INFO] [stderr] | |__________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stderr] [INFO] [stderr] warning: redundant pattern matching, consider using `is_err()` [INFO] [stderr] --> src/lib.rs:308:24 [INFO] [stderr] | [INFO] [stderr] 308 | if let Err(_) = self.try_fill_bytes(dest) { [INFO] [stderr] | _________________- ^^^^^^ [INFO] [stderr] 309 | | busy_loop_fail() [INFO] [stderr] 310 | | } [INFO] [stderr] | |_________________- help: try this: `if self.try_fill_bytes(dest).is_err()` [INFO] [stderr] ... [INFO] [stderr] 395 | / impl_rand!(RdRand, "rdrand", [INFO] [stderr] 396 | | ::arch::_rdrand16_step, ::arch::_rdrand32_step, ::arch::_rdrand64_step, [INFO] [stderr] 397 | | maxstep = ::arch::_rdrand64_step, maxty = u64); [INFO] [stderr] | |__________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_pattern_matching)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stderr] [INFO] [stderr] warning: redundant pattern matching, consider using `is_err()` [INFO] [stderr] --> src/lib.rs:308:24 [INFO] [stderr] | [INFO] [stderr] 308 | if let Err(_) = self.try_fill_bytes(dest) { [INFO] [stderr] | _________________- ^^^^^^ [INFO] [stderr] 309 | | busy_loop_fail() [INFO] [stderr] 310 | | } [INFO] [stderr] | |_________________- help: try this: `if self.try_fill_bytes(dest).is_err()` [INFO] [stderr] ... [INFO] [stderr] 399 | / impl_rand!(RdSeed, "rdseed", [INFO] [stderr] 400 | | ::arch::_rdseed16_step, ::arch::_rdseed32_step, ::arch::_rdseed64_step, [INFO] [stderr] 401 | | maxstep = ::arch::_rdseed64_step, maxty = u64); [INFO] [stderr] | |__________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching [INFO] [stderr] [INFO] [stderr] warning: manual implementation of an assign operation [INFO] [stderr] --> src/lib.rs:432:21 [INFO] [stderr] | [INFO] [stderr] 432 | *b = *b | *p; [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `*b |= *p` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::assign_op_pattern)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> benches/rdrand.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(test)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0554`. [INFO] [stderr] error: Could not compile `rdrand`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> benches/rdseed.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(test)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0554`. [INFO] [stderr] error: Could not compile `rdrand`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4af436ee9905e29d5a87653c268bfcd4e4c38d597ee7b7dcddc9263bea6ab822"` [INFO] running `"docker" "rm" "-f" "4af436ee9905e29d5a87653c268bfcd4e4c38d597ee7b7dcddc9263bea6ab822"` [INFO] [stdout] 4af436ee9905e29d5a87653c268bfcd4e4c38d597ee7b7dcddc9263bea6ab822