[INFO] crate tokio-beanstalkd 0.4.2 is already in cache [INFO] extracting crate tokio-beanstalkd 0.4.2 into work/ex/clippy-test-run/sources/stable/reg/tokio-beanstalkd/0.4.2 [INFO] extracting crate tokio-beanstalkd 0.4.2 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/tokio-beanstalkd/0.4.2 [INFO] validating manifest of tokio-beanstalkd-0.4.2 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 tokio-beanstalkd-0.4.2 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 tokio-beanstalkd-0.4.2 [INFO] finished frobbing tokio-beanstalkd-0.4.2 [INFO] frobbed toml for tokio-beanstalkd-0.4.2 written to work/ex/clippy-test-run/sources/stable/reg/tokio-beanstalkd/0.4.2/Cargo.toml [INFO] started frobbing tokio-beanstalkd-0.4.2 [INFO] finished frobbing tokio-beanstalkd-0.4.2 [INFO] frobbed toml for tokio-beanstalkd-0.4.2 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/tokio-beanstalkd/0.4.2/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 tokio-beanstalkd-0.4.2 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-5/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/tokio-beanstalkd/0.4.2:/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] 3bebf83e344db4073fbbea74412aa831f6267f7335430a2c4301e487111f1cb0 [INFO] running `"docker" "start" "-a" "3bebf83e344db4073fbbea74412aa831f6267f7335430a2c4301e487111f1cb0"` [INFO] [stderr] Checking tokio-beanstalkd v0.4.2 (/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/proto/request.rs:94:18 [INFO] [stderr] | [INFO] [stderr] 94 | } => write!( [INFO] [stderr] | __________________^ [INFO] [stderr] 95 | | f, [INFO] [stderr] 96 | | "put {pri} {del} {ttr} {len}\r\n", [INFO] [stderr] 97 | | pri = priority, [INFO] [stderr] ... | [INFO] [stderr] 100 | | len = data.len(), [INFO] [stderr] 101 | | ), [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/proto/request.rs:102:33 [INFO] [stderr] | [INFO] [stderr] 102 | Request::Reserve => write!(f, "reserve\r\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/proto/request.rs:103:38 [INFO] [stderr] | [INFO] [stderr] 103 | Request::Use { tube } => write!(f, "use {}\r\n", tube), [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/proto/request.rs:104:39 [INFO] [stderr] | [INFO] [stderr] 104 | Request::Delete { id } => write!(f, "delete {}\r\n", id), [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/proto/request.rs:109:18 [INFO] [stderr] | [INFO] [stderr] 109 | } => write!(f, "release {} {} {}\r\n", id, priority, delay), [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/proto/request.rs:110:47 [INFO] [stderr] | [INFO] [stderr] 110 | Request::Bury { id, priority } => write!(f, "bury {} {}\r\n", id, priority), [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/proto/request.rs:111:38 [INFO] [stderr] | [INFO] [stderr] 111 | Request::Touch { id } => write!(f, "touch {}\r\n", id), [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/proto/request.rs:112:40 [INFO] [stderr] | [INFO] [stderr] 112 | Request::Watch { tube } => write!(f, "watch {}\r\n", tube), [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/proto/request.rs:113:41 [INFO] [stderr] | [INFO] [stderr] 113 | Request::Ignore { tube } => write!(f, "ignore {}\r\n", tube), [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/proto/request.rs:114:37 [INFO] [stderr] | [INFO] [stderr] 114 | Request::Peek { id } => write!(f, "peek {}\r\n", id), [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/proto/request.rs:115:35 [INFO] [stderr] | [INFO] [stderr] 115 | Request::PeekReady => write!(f, "peek-ready\r\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/proto/request.rs:116:35 [INFO] [stderr] | [INFO] [stderr] 116 | Request::PeekDelay => write!(f, "peek-delayed\r\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/proto/request.rs:117:36 [INFO] [stderr] | [INFO] [stderr] 117 | Request::PeekBuried => write!(f, "peek-buried\r\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/proto/request.rs:118:40 [INFO] [stderr] | [INFO] [stderr] 118 | Request::Kick { bound } => write!(f, "kick {}\r\n", bound), [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/proto/request.rs:119:40 [INFO] [stderr] | [INFO] [stderr] 119 | Request::KickJob { id } => write!(f, "kick-job {}\r\n", id), [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/proto/request.rs:94:18 [INFO] [stderr] | [INFO] [stderr] 94 | } => write!( [INFO] [stderr] | __________________^ [INFO] [stderr] 95 | | f, [INFO] [stderr] 96 | | "put {pri} {del} {ttr} {len}\r\n", [INFO] [stderr] 97 | | pri = priority, [INFO] [stderr] ... | [INFO] [stderr] 100 | | len = data.len(), [INFO] [stderr] 101 | | ), [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/proto/request.rs:102:33 [INFO] [stderr] | [INFO] [stderr] 102 | Request::Reserve => write!(f, "reserve\r\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/proto/request.rs:103:38 [INFO] [stderr] | [INFO] [stderr] 103 | Request::Use { tube } => write!(f, "use {}\r\n", tube), [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/proto/request.rs:104:39 [INFO] [stderr] | [INFO] [stderr] 104 | Request::Delete { id } => write!(f, "delete {}\r\n", id), [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/proto/request.rs:109:18 [INFO] [stderr] | [INFO] [stderr] 109 | } => write!(f, "release {} {} {}\r\n", id, priority, delay), [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/proto/request.rs:110:47 [INFO] [stderr] | [INFO] [stderr] 110 | Request::Bury { id, priority } => write!(f, "bury {} {}\r\n", id, priority), [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/proto/request.rs:111:38 [INFO] [stderr] | [INFO] [stderr] 111 | Request::Touch { id } => write!(f, "touch {}\r\n", id), [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/proto/request.rs:112:40 [INFO] [stderr] | [INFO] [stderr] 112 | Request::Watch { tube } => write!(f, "watch {}\r\n", tube), [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/proto/request.rs:113:41 [INFO] [stderr] | [INFO] [stderr] 113 | Request::Ignore { tube } => write!(f, "ignore {}\r\n", tube), [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/proto/request.rs:114:37 [INFO] [stderr] | [INFO] [stderr] 114 | Request::Peek { id } => write!(f, "peek {}\r\n", id), [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/proto/request.rs:115:35 [INFO] [stderr] | [INFO] [stderr] 115 | Request::PeekReady => write!(f, "peek-ready\r\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/proto/request.rs:116:35 [INFO] [stderr] | [INFO] [stderr] 116 | Request::PeekDelay => write!(f, "peek-delayed\r\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/proto/request.rs:117:36 [INFO] [stderr] | [INFO] [stderr] 117 | Request::PeekBuried => write!(f, "peek-buried\r\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/proto/request.rs:118:40 [INFO] [stderr] | [INFO] [stderr] 118 | Request::Kick { bound } => write!(f, "kick {}\r\n", bound), [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/proto/request.rs:119:40 [INFO] [stderr] | [INFO] [stderr] 119 | Request::KickJob { id } => write!(f, "kick-job {}\r\n", id), [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] Finished dev [unoptimized + debuginfo] target(s) in 5.97s [INFO] running `"docker" "inspect" "3bebf83e344db4073fbbea74412aa831f6267f7335430a2c4301e487111f1cb0"` [INFO] running `"docker" "rm" "-f" "3bebf83e344db4073fbbea74412aa831f6267f7335430a2c4301e487111f1cb0"` [INFO] [stdout] 3bebf83e344db4073fbbea74412aa831f6267f7335430a2c4301e487111f1cb0