[INFO] crate chase 0.1.8 is already in cache [INFO] extracting crate chase 0.1.8 into work/ex/clippy-test-run/sources/stable/reg/chase/0.1.8 [INFO] extracting crate chase 0.1.8 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/chase/0.1.8 [INFO] validating manifest of chase-0.1.8 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 chase-0.1.8 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 chase-0.1.8 [INFO] finished frobbing chase-0.1.8 [INFO] frobbed toml for chase-0.1.8 written to work/ex/clippy-test-run/sources/stable/reg/chase/0.1.8/Cargo.toml [INFO] started frobbing chase-0.1.8 [INFO] finished frobbing chase-0.1.8 [INFO] frobbed toml for chase-0.1.8 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/chase/0.1.8/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 chase-0.1.8 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-6/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/chase/0.1.8:/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] a484e3c45956800b704b123cab77c5947a76e0e047e3f44adc0c0c8ebe270569 [INFO] running `"docker" "start" "-a" "a484e3c45956800b704b123cab77c5947a76e0e047e3f44adc0c0c8ebe270569"` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Checking chase v0.1.8 (/opt/crater/workdir) [INFO] [stderr] error[E0602]: unknown lint: `clippy::into_iter_on_array` [INFO] [stderr] | [INFO] [stderr] = note: requested on the command line with `-D clippy::into_iter_on_array` [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/sync.rs:269:9 [INFO] [stderr] | [INFO] [stderr] 269 | write!(file_write, "Hello, world 1\n").unwrap(); [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/sync.rs:270:9 [INFO] [stderr] | [INFO] [stderr] 270 | write!(file_write, "Hello, world 2\n").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/sync.rs:271:9 [INFO] [stderr] | [INFO] [stderr] 271 | write!(file_write, "Hello, world 3\n").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/async/channel.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | write!(file_write, "Hello, world 1\n").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/async/channel.rs:98:9 [INFO] [stderr] | [INFO] [stderr] 98 | write!(file_write, "Hello, world 2\n").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/async/channel.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | write!(file_write, "Hello, world 3\n").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/async/channel.rs:123:9 [INFO] [stderr] | [INFO] [stderr] 123 | write!(file_write_new, "Hello, world 4\n").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] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0602`. [INFO] [stderr] error: Could not compile `libc`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/async/channel.rs:60:10 [INFO] [stderr] | [INFO] [stderr] 60 | ) -> Result<(Receiver, JoinHandle>), ChaseError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::type_complexity)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: you don't need to add `&` to all patterns [INFO] [stderr] --> src/errors.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | / match self { [INFO] [stderr] 26 | | &IoError(ref e) => write!(f, "{}", e), [INFO] [stderr] 27 | | &ChannelSendError(ref e) => write!(f, "{}", e), [INFO] [stderr] 28 | | #[cfg(feature = "stream")] [INFO] [stderr] 29 | | &StreamSendError(ref e) => write!(f, "{}", e), [INFO] [stderr] 30 | | &Custom(ref e) => e.fmt(f), [INFO] [stderr] 31 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::match_ref_pats)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stderr] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stderr] | [INFO] [stderr] 25 | match *self { [INFO] [stderr] 26 | IoError(ref e) => write!(f, "{}", e), [INFO] [stderr] 27 | ChannelSendError(ref e) => write!(f, "{}", e), [INFO] [stderr] 28 | #[cfg(feature = "stream")] [INFO] [stderr] 29 | &StreamSendError(ref e) => write!(f, "{}", e), [INFO] [stderr] 30 | Custom(ref e) => e.fmt(f), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: you don't need to add `&` to all patterns [INFO] [stderr] --> src/errors.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | / match self { [INFO] [stderr] 39 | | &IoError(ref e) => e.description(), [INFO] [stderr] 40 | | &ChannelSendError(ref e) => e.description(), [INFO] [stderr] 41 | | #[cfg(feature = "stream")] [INFO] [stderr] 42 | | &StreamSendError(ref e) => e.description(), [INFO] [stderr] 43 | | &Custom(ref e) => e.description(), [INFO] [stderr] 44 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stderr] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stderr] | [INFO] [stderr] 38 | match *self { [INFO] [stderr] 39 | IoError(ref e) => e.description(), [INFO] [stderr] 40 | ChannelSendError(ref e) => e.description(), [INFO] [stderr] 41 | #[cfg(feature = "stream")] [INFO] [stderr] 42 | &StreamSendError(ref e) => e.description(), [INFO] [stderr] 43 | Custom(ref e) => e.description(), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: you don't need to add `&` to all patterns [INFO] [stderr] --> src/errors.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | / match self { [INFO] [stderr] 50 | | &IoError(ref e) => Some(e), [INFO] [stderr] 51 | | &ChannelSendError(ref e) => Some(e), [INFO] [stderr] 52 | | #[cfg(feature = "stream")] [INFO] [stderr] 53 | | &StreamSendError(ref e) => Some(e), [INFO] [stderr] 54 | | &Custom(ref e) => e.cause(), [INFO] [stderr] 55 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stderr] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stderr] | [INFO] [stderr] 49 | match *self { [INFO] [stderr] 50 | IoError(ref e) => Some(e), [INFO] [stderr] 51 | ChannelSendError(ref e) => Some(e), [INFO] [stderr] 52 | #[cfg(feature = "stream")] [INFO] [stderr] 53 | &StreamSendError(ref e) => Some(e), [INFO] [stderr] 54 | Custom(ref e) => e.cause(), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "a484e3c45956800b704b123cab77c5947a76e0e047e3f44adc0c0c8ebe270569"` [INFO] running `"docker" "rm" "-f" "a484e3c45956800b704b123cab77c5947a76e0e047e3f44adc0c0c8ebe270569"` [INFO] [stdout] a484e3c45956800b704b123cab77c5947a76e0e047e3f44adc0c0c8ebe270569