[INFO] updating cached repository michael-robbins/filemerger [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/michael-robbins/filemerger [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/michael-robbins/filemerger" "work/ex/clippy-test-run/sources/stable/gh/michael-robbins/filemerger"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/michael-robbins/filemerger'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/michael-robbins/filemerger" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/michael-robbins/filemerger"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/michael-robbins/filemerger'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 52522b6d3238a3a5fd28fc8d54241660b6cd8397 [INFO] sha for GitHub repo michael-robbins/filemerger: 52522b6d3238a3a5fd28fc8d54241660b6cd8397 [INFO] validating manifest of michael-robbins/filemerger 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 michael-robbins/filemerger 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 michael-robbins/filemerger [INFO] finished frobbing michael-robbins/filemerger [INFO] frobbed toml for michael-robbins/filemerger written to work/ex/clippy-test-run/sources/stable/gh/michael-robbins/filemerger/Cargo.toml [INFO] started frobbing michael-robbins/filemerger [INFO] finished frobbing michael-robbins/filemerger [INFO] frobbed toml for michael-robbins/filemerger written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/michael-robbins/filemerger/Cargo.toml [INFO] crate michael-robbins/filemerger has a lockfile. skipping [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 michael-robbins/filemerger 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/gh/michael-robbins/filemerger:/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] f70faca04a109374033e91f7a806d6c004d80aea95a88f5ced454487057c7601 [INFO] running `"docker" "start" "-a" "f70faca04a109374033e91f7a806d6c004d80aea95a88f5ced454487057c7601"` [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Compiling bzip2-sys v0.1.6 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking csv v0.15.0 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking file-merger v0.3.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/merge_file.rs:83:13 [INFO] [stderr] | [INFO] [stderr] 83 | filesize: filesize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `filesize` [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/merge_file.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | delimiter: delimiter, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `delimiter` [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/merge_file.rs:86:13 [INFO] [stderr] | [INFO] [stderr] 86 | key_index: key_index, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `key_index` [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/merge_file.rs:91:13 [INFO] [stderr] | [INFO] [stderr] 91 | key_type: key_type, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `key_type` [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/settings.rs:43:13 [INFO] [stderr] | [INFO] [stderr] 43 | opts: opts, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `opts` [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/settings.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | matches: matches, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `matches` [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/settings.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | cache_path: cache_path, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `cache_path` [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/settings.rs:75:13 [INFO] [stderr] | [INFO] [stderr] 75 | glob_choices: glob_choices, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `glob_choices` [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/settings.rs:77:13 [INFO] [stderr] | [INFO] [stderr] 77 | key_index: key_index, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `key_index` [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/settings.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | key_start: key_start, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `key_start` [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/settings.rs:79:13 [INFO] [stderr] | [INFO] [stderr] 79 | key_end: key_end, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `key_end` [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/settings.rs:80:13 [INFO] [stderr] | [INFO] [stderr] 80 | key_type: key_type, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `key_type` [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/merge_file.rs:83:13 [INFO] [stderr] | [INFO] [stderr] 83 | filesize: filesize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `filesize` [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/merge_file.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | delimiter: delimiter, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `delimiter` [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/merge_file.rs:86:13 [INFO] [stderr] | [INFO] [stderr] 86 | key_index: key_index, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `key_index` [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/merge_file.rs:91:13 [INFO] [stderr] | [INFO] [stderr] 91 | key_type: key_type, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `key_type` [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/settings.rs:43:13 [INFO] [stderr] | [INFO] [stderr] 43 | opts: opts, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `opts` [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/settings.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | matches: matches, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `matches` [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/settings.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | cache_path: cache_path, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `cache_path` [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/settings.rs:75:13 [INFO] [stderr] | [INFO] [stderr] 75 | glob_choices: glob_choices, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `glob_choices` [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/settings.rs:77:13 [INFO] [stderr] | [INFO] [stderr] 77 | key_index: key_index, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `key_index` [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/settings.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | key_start: key_start, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `key_start` [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/settings.rs:79:13 [INFO] [stderr] | [INFO] [stderr] 79 | key_end: key_end, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `key_end` [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/settings.rs:80:13 [INFO] [stderr] | [INFO] [stderr] 80 | key_type: key_type, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `key_type` [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: handle written amount returned or use `Write::write_all` instead [INFO] [stderr] --> src/merge_file_manager.rs:297:9 [INFO] [stderr] | [INFO] [stderr] 297 | temp_file.write(contents.as_ref()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::unused_io_amount)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount [INFO] [stderr] [INFO] [stderr] error: handle written amount returned or use `Write::write_all` instead [INFO] [stderr] --> src/merge_file.rs:211:9 [INFO] [stderr] | [INFO] [stderr] 211 | temp_file.write(contents.as_ref()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `file-merger`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f70faca04a109374033e91f7a806d6c004d80aea95a88f5ced454487057c7601"` [INFO] running `"docker" "rm" "-f" "f70faca04a109374033e91f7a806d6c004d80aea95a88f5ced454487057c7601"` [INFO] [stdout] f70faca04a109374033e91f7a806d6c004d80aea95a88f5ced454487057c7601