[INFO] updating cached repository leshow/mdt [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/leshow/mdt [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/leshow/mdt" "work/ex/clippy-test-run/sources/stable/gh/leshow/mdt"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/leshow/mdt'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/leshow/mdt" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/leshow/mdt"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/leshow/mdt'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 825aa3ca5124ff21a1a7a0cbcd788b06d244ee00 [INFO] sha for GitHub repo leshow/mdt: 825aa3ca5124ff21a1a7a0cbcd788b06d244ee00 [INFO] validating manifest of leshow/mdt 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 leshow/mdt 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 leshow/mdt [INFO] finished frobbing leshow/mdt [INFO] frobbed toml for leshow/mdt written to work/ex/clippy-test-run/sources/stable/gh/leshow/mdt/Cargo.toml [INFO] started frobbing leshow/mdt [INFO] finished frobbing leshow/mdt [INFO] frobbed toml for leshow/mdt written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/leshow/mdt/Cargo.toml [INFO] crate leshow/mdt 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 leshow/mdt 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/gh/leshow/mdt:/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] 2404af49126eea3b05868a5e2c20b95811590d92a205739b01fe266b26832bc4 [INFO] running `"docker" "start" "-a" "2404af49126eea3b05868a5e2c20b95811590d92a205739b01fe266b26832bc4"` [INFO] [stderr] Compiling plist v0.3.0 [INFO] [stderr] Checking same-file v1.0.1 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling onig_sys v69.0.0 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking pulldown-cmark v0.1.2 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Checking serde_json v1.0.9 [INFO] [stderr] Checking immeta v0.4.0 [INFO] [stderr] Checking walkdir v2.0.1 [INFO] [stderr] Checking flate2 v1.0.1 [INFO] [stderr] Checking onig v4.2.0 [INFO] [stderr] Checking syntect v3.0.1 [INFO] [stderr] Checking mdt v0.2.0 (/opt/crater/workdir) [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/table.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | / write!( [INFO] [stderr] 61 | | w, [INFO] [stderr] 62 | | "{}{}\n", [INFO] [stderr] 63 | | iter::repeat(hor).take(width).collect::(), [INFO] [stderr] 64 | | right [INFO] [stderr] 65 | | )?; [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::write_with_newline)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/table.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | / write!( [INFO] [stderr] 85 | | w, [INFO] [stderr] 86 | | "{}{}\n", [INFO] [stderr] 87 | | self.table()[self.index() - 1], [INFO] [stderr] 88 | | Self::H_OUTER_RIGHT_VERTICAL [INFO] [stderr] 89 | | )?; [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/table.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 109 | / write!( [INFO] [stderr] 110 | | w, [INFO] [stderr] 111 | | "{}{}\n", [INFO] [stderr] 112 | | self.table()[pos(row, self.index() - 1)], [INFO] [stderr] 113 | | Self::INNER_VERTICAL [INFO] [stderr] 114 | | )?; [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/terminal.rs:181:17 [INFO] [stderr] | [INFO] [stderr] 181 | write!(w, "[{}] {}: {}\n", i, title, dest).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/terminal.rs:183:17 [INFO] [stderr] | [INFO] [stderr] 183 | write!(w, "[{}] {}\n", i, dest).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/table.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | / write!( [INFO] [stderr] 61 | | w, [INFO] [stderr] 62 | | "{}{}\n", [INFO] [stderr] 63 | | iter::repeat(hor).take(width).collect::(), [INFO] [stderr] 64 | | right [INFO] [stderr] 65 | | )?; [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::write_with_newline)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/table.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | / write!( [INFO] [stderr] 85 | | w, [INFO] [stderr] 86 | | "{}{}\n", [INFO] [stderr] 87 | | self.table()[self.index() - 1], [INFO] [stderr] 88 | | Self::H_OUTER_RIGHT_VERTICAL [INFO] [stderr] 89 | | )?; [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/table.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 109 | / write!( [INFO] [stderr] 110 | | w, [INFO] [stderr] 111 | | "{}{}\n", [INFO] [stderr] 112 | | self.table()[pos(row, self.index() - 1)], [INFO] [stderr] 113 | | Self::INNER_VERTICAL [INFO] [stderr] 114 | | )?; [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/terminal.rs:181:17 [INFO] [stderr] | [INFO] [stderr] 181 | write!(w, "[{}] {}: {}\n", i, title, dest).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/terminal.rs:183:17 [INFO] [stderr] | [INFO] [stderr] 183 | write!(w, "[{}] {}\n", i, dest).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/terminal.rs:340:17 [INFO] [stderr] | [INFO] [stderr] 340 | write!(buf, "{}\n", *RESET_COLOR)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/terminal.rs:360:17 [INFO] [stderr] | [INFO] [stderr] 360 | write!(buf, "{}\n", *RESET_COLOR)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/terminal.rs:417:17 [INFO] [stderr] | [INFO] [stderr] 417 | write!(buf, "\n")?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/terminal.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | write!(buf, "\n")?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/terminal.rs:340:17 [INFO] [stderr] | [INFO] [stderr] 340 | write!(buf, "{}\n", *RESET_COLOR)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/terminal.rs:360:17 [INFO] [stderr] | [INFO] [stderr] 360 | write!(buf, "{}\n", *RESET_COLOR)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/terminal.rs:417:17 [INFO] [stderr] | [INFO] [stderr] 417 | write!(buf, "\n")?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/terminal.rs:427:5 [INFO] [stderr] | [INFO] [stderr] 427 | write!(buf, "\n")?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: function is never used: `img_dim` [INFO] [stderr] --> src/img.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / pub fn img_dim

(path: P) -> MDResult<(u32, u32)> [INFO] [stderr] 10 | | where [INFO] [stderr] 11 | | P: AsRef, [INFO] [stderr] 12 | | { [INFO] [stderr] 13 | | let dim = immeta::load_from_file(path.as_ref())?.dimensions(); [INFO] [stderr] 14 | | Ok((dim.width, dim.height)) [INFO] [stderr] 15 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: field is never used: `table_alignments` [INFO] [stderr] --> src/terminal.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | table_alignments: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `img_dim` [INFO] [stderr] --> src/img.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / pub fn img_dim

(path: P) -> MDResult<(u32, u32)> [INFO] [stderr] 10 | | where [INFO] [stderr] 11 | | P: AsRef, [INFO] [stderr] 12 | | { [INFO] [stderr] 13 | | let dim = immeta::load_from_file(path.as_ref())?.dimensions(); [INFO] [stderr] 14 | | Ok((dim.width, dim.height)) [INFO] [stderr] 15 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: field is never used: `table_alignments` [INFO] [stderr] --> src/terminal.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | table_alignments: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.06s [INFO] running `"docker" "inspect" "2404af49126eea3b05868a5e2c20b95811590d92a205739b01fe266b26832bc4"` [INFO] running `"docker" "rm" "-f" "2404af49126eea3b05868a5e2c20b95811590d92a205739b01fe266b26832bc4"` [INFO] [stdout] 2404af49126eea3b05868a5e2c20b95811590d92a205739b01fe266b26832bc4