[INFO] crate positioned-io-preview 0.3.1 is already in cache [INFO] extracting crate positioned-io-preview 0.3.1 into work/ex/clippy-test-run/sources/stable/reg/positioned-io-preview/0.3.1 [INFO] extracting crate positioned-io-preview 0.3.1 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/positioned-io-preview/0.3.1 [INFO] validating manifest of positioned-io-preview-0.3.1 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 positioned-io-preview-0.3.1 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 positioned-io-preview-0.3.1 [INFO] finished frobbing positioned-io-preview-0.3.1 [INFO] frobbed toml for positioned-io-preview-0.3.1 written to work/ex/clippy-test-run/sources/stable/reg/positioned-io-preview/0.3.1/Cargo.toml [INFO] started frobbing positioned-io-preview-0.3.1 [INFO] finished frobbing positioned-io-preview-0.3.1 [INFO] frobbed toml for positioned-io-preview-0.3.1 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/positioned-io-preview/0.3.1/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 positioned-io-preview-0.3.1 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-4/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/positioned-io-preview/0.3.1:/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] 378eec52dfe8b4fe4df02d609d0c7a5a2ff5dfadb08dc67aa64513f61bcfdf76 [INFO] running `"docker" "start" "-a" "378eec52dfe8b4fe4df02d609d0c7a5a2ff5dfadb08dc67aa64513f61bcfdf76"` [INFO] [stderr] Checking positioned-io-preview v0.3.1 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> tests/test.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | i: i, [INFO] [stderr] | ^^^^ help: replace it with: `i` [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] --> tests/test.rs:78:32 [INFO] [stderr] | [INFO] [stderr] 78 | assert!(file.read_exact_at(1000000000, buf.as_mut()).is_err()); [INFO] [stderr] | ^^^^^^^^^^ help: consider: `1_000_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] --> tests/test.rs:85:22 [INFO] [stderr] | [INFO] [stderr] 85 | assert_eq!(size, 1000002); [INFO] [stderr] | ^^^^^^^ help: consider: `1_000_002` [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] --> tests/test.rs:118:16 [INFO] [stderr] | [INFO] [stderr] 118 | assert_eq!(0x67616b63, r); [INFO] [stderr] | ^^^^^^^^^^ help: consider: `0x6761_6b63` [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: single-character string constant used as pattern [INFO] [stderr] --> tests/test.rs:110:24 [INFO] [stderr] | [INFO] [stderr] 110 | assert!(s.contains("\n")); [INFO] [stderr] | ^^^^ help: try using a char instead: `'\n'` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::single_char_pattern)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern [INFO] [stderr] [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> tests/model.rs:28:48 [INFO] [stderr] | [INFO] [stderr] 28 | 1 => Op::WriteAllAt(g.gen_range(0, 123456), Vec::arbitrary(g)), [INFO] [stderr] | ^^^^^^ help: consider: `123_456` [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] --> tests/model.rs:31:42 [INFO] [stderr] | [INFO] [stderr] 31 | 4 => Op::Seek(g.gen_range(0, 123456)), [INFO] [stderr] | ^^^^^^ help: consider: `123_456` [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] Finished dev [unoptimized + debuginfo] target(s) in 3.60s [INFO] running `"docker" "inspect" "378eec52dfe8b4fe4df02d609d0c7a5a2ff5dfadb08dc67aa64513f61bcfdf76"` [INFO] running `"docker" "rm" "-f" "378eec52dfe8b4fe4df02d609d0c7a5a2ff5dfadb08dc67aa64513f61bcfdf76"` [INFO] [stdout] 378eec52dfe8b4fe4df02d609d0c7a5a2ff5dfadb08dc67aa64513f61bcfdf76