[INFO] crate pem-iterator 0.2.0 is already in cache [INFO] extracting crate pem-iterator 0.2.0 into work/ex/clippy-test-run/sources/stable/reg/pem-iterator/0.2.0 [INFO] extracting crate pem-iterator 0.2.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/pem-iterator/0.2.0 [INFO] validating manifest of pem-iterator-0.2.0 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 pem-iterator-0.2.0 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 pem-iterator-0.2.0 [INFO] removed 4 missing examples [INFO] finished frobbing pem-iterator-0.2.0 [INFO] frobbed toml for pem-iterator-0.2.0 written to work/ex/clippy-test-run/sources/stable/reg/pem-iterator/0.2.0/Cargo.toml [INFO] started frobbing pem-iterator-0.2.0 [INFO] removed 4 missing examples [INFO] finished frobbing pem-iterator-0.2.0 [INFO] frobbed toml for pem-iterator-0.2.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/pem-iterator/0.2.0/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 pem-iterator-0.2.0 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-5/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/pem-iterator/0.2.0:/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] 239312d247637f329c1fd9226d0dc0736ad68d3f594ce6d963c90c312b9449ae [INFO] running `"docker" "start" "-a" "239312d247637f329c1fd9226d0dc0736ad68d3f594ce6d963c90c312b9449ae"` [INFO] [stderr] warning: An explicit [[example]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other example targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a example target: [INFO] [stderr] [INFO] [stderr] * /opt/crater/workdir/examples/std-chunked-known.rs [INFO] [stderr] * /opt/crater/workdir/examples/single-mismatch.rs [INFO] [stderr] * /opt/crater/workdir/examples/std-chunked-unknown.rs [INFO] [stderr] * /opt/crater/workdir/examples/std-chunked-ignore.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a example target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autoexamples = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking pem-iterator v0.2.0 (/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] 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: redundant field names in struct initialization [INFO] [stderr] --> src/boundary.rs:303:58 [INFO] [stderr] | [INFO] [stderr] 303 | return Err(Mismatch{found, location, expected: expected}) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `expected` [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] error[E0602]: unknown lint: `clippy::into_iter_on_array` [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[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] error: Could not compile `libc`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] | [INFO] [stderr] = note: requested on the command line with `-D clippy::into_iter_on_array` [INFO] [stderr] [INFO] [stderr] error[E0602]: unknown lint: `clippy::into_iter_on_array` [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] | [INFO] [stderr] = note: requested on the command line with `-D clippy::into_iter_on_array` [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 `byteorder`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `regex`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: All variants have the same postfix: `Bits` [INFO] [stderr] --> src/body.rs:425:1 [INFO] [stderr] | [INFO] [stderr] 425 | / enum SingleState2 { [INFO] [stderr] 426 | | SixBits(u8), [INFO] [stderr] 427 | | FourBits(u8), [INFO] [stderr] 428 | | TwoBits(u8), [INFO] [stderr] 429 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::enum_variant_names)] on by default [INFO] [stderr] = help: remove the postfixes and use full paths to the variants instead of glob imports [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [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 `memchr`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `autocfg`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: you don't need to add `&` to all patterns [INFO] [stderr] --> src/body.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | / match self { [INFO] [stderr] 113 | | &Bytes::One(ref a) => a, [INFO] [stderr] 114 | | &Bytes::Two(ref a) => a, [INFO] [stderr] 115 | | &Bytes::Three(ref a) => a, [INFO] [stderr] 116 | | } [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] 112 | match *self { [INFO] [stderr] 113 | Bytes::One(ref a) => a, [INFO] [stderr] 114 | Bytes::Two(ref a) => a, [INFO] [stderr] 115 | Bytes::Three(ref a) => a, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: you don't need to add `&` to all patterns [INFO] [stderr] --> src/body.rs:121:9 [INFO] [stderr] | [INFO] [stderr] 121 | / match self { [INFO] [stderr] 122 | | &mut Bytes::One(ref mut a) => a, [INFO] [stderr] 123 | | &mut Bytes::Two(ref mut a) => a, [INFO] [stderr] 124 | | &mut Bytes::Three(ref mut a) => a, [INFO] [stderr] 125 | | } [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] 121 | match *self { [INFO] [stderr] 122 | Bytes::One(ref mut a) => a, [INFO] [stderr] 123 | Bytes::Two(ref mut a) => a, [INFO] [stderr] 124 | Bytes::Three(ref mut a) => a, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: you don't need to add `&` to all patterns [INFO] [stderr] --> src/body.rs:131:9 [INFO] [stderr] | [INFO] [stderr] 131 | / match self { [INFO] [stderr] 132 | | &Bytes::One(ref a) => a, [INFO] [stderr] 133 | | &Bytes::Two(ref a) => a, [INFO] [stderr] 134 | | &Bytes::Three(ref a) => a, [INFO] [stderr] 135 | | } [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] 131 | match *self { [INFO] [stderr] 132 | Bytes::One(ref a) => a, [INFO] [stderr] 133 | Bytes::Two(ref a) => a, [INFO] [stderr] 134 | Bytes::Three(ref a) => a, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: you don't need to add `&` to all patterns [INFO] [stderr] --> src/body.rs:141:9 [INFO] [stderr] | [INFO] [stderr] 141 | / match self { [INFO] [stderr] 142 | | &mut Bytes::One(ref mut a) => a, [INFO] [stderr] 143 | | &mut Bytes::Two(ref mut a) => a, [INFO] [stderr] 144 | | &mut Bytes::Three(ref mut a) => a, [INFO] [stderr] 145 | | } [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] 141 | match *self { [INFO] [stderr] 142 | Bytes::One(ref mut a) => a, [INFO] [stderr] 143 | Bytes::Two(ref mut a) => a, [INFO] [stderr] 144 | Bytes::Three(ref mut a) => a, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/body.rs:165:23 [INFO] [stderr] | [INFO] [stderr] 165 | self.as_ref().into_iter() [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::into_iter_on_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter_mut() and will not move the slice [INFO] [stderr] --> src/body.rs:173:23 [INFO] [stderr] | [INFO] [stderr] 173 | self.as_mut().into_iter() [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter_mut` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: you don't need to add `&` to all patterns [INFO] [stderr] --> src/body.rs:212:9 [INFO] [stderr] | [INFO] [stderr] 212 | / match self { [INFO] [stderr] 213 | | &BytesIter::Zero => (0, Some(0)), [INFO] [stderr] 214 | | &BytesIter::One(..) => (1, Some(1)), [INFO] [stderr] 215 | | &BytesIter::Two(..) => (2, Some(2)), [INFO] [stderr] 216 | | &BytesIter::Three(..) => (3, Some(3)), [INFO] [stderr] 217 | | } [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] 212 | match *self { [INFO] [stderr] 213 | BytesIter::Zero => (0, Some(0)), [INFO] [stderr] 214 | BytesIter::One(..) => (1, Some(1)), [INFO] [stderr] 215 | BytesIter::Two(..) => (2, Some(2)), [INFO] [stderr] 216 | BytesIter::Three(..) => (3, Some(3)), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: you don't need to add `&` to all patterns [INFO] [stderr] --> src/body.rs:244:9 [INFO] [stderr] | [INFO] [stderr] 244 | / match self { [INFO] [stderr] 245 | | &ResultBytesIter::Empty => (0, Some(0)), [INFO] [stderr] 246 | | &ResultBytesIter::Err(..) => (1, Some(1)), [INFO] [stderr] 247 | | &ResultBytesIter::One(..) => (1, Some(1)), [INFO] [stderr] 248 | | &ResultBytesIter::Two(..) => (2, Some(2)), [INFO] [stderr] 249 | | &ResultBytesIter::Three(..) => (3, Some(3)), [INFO] [stderr] 250 | | } [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] 244 | match *self { [INFO] [stderr] 245 | ResultBytesIter::Empty => (0, Some(0)), [INFO] [stderr] 246 | ResultBytesIter::Err(..) => (1, Some(1)), [INFO] [stderr] 247 | ResultBytesIter::One(..) => (1, Some(1)), [INFO] [stderr] 248 | ResultBytesIter::Two(..) => (2, Some(2)), [INFO] [stderr] 249 | ResultBytesIter::Three(..) => (3, Some(3)), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/body.rs:358:102 [INFO] [stderr] | [INFO] [stderr] 358 | fn process<'a, Loc: 'a, E: 'a>(self, stream: &'a mut Iterator>) -> (Option, Option>>) { [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: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/body.rs:376:102 [INFO] [stderr] | [INFO] [stderr] 376 | fn process<'a, Loc: 'a, E: 'a>(self, stream: &'a mut Iterator>) -> (Option, Option>>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/body.rs:394:102 [INFO] [stderr] | [INFO] [stderr] 394 | fn process<'a, Loc: 'a, E: 'a>(self, stream: &'a mut Iterator>) -> (Option, Option>>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/body.rs:467:102 [INFO] [stderr] | [INFO] [stderr] 467 | fn process<'a, Loc: 'a, E: 'a>(self, stream: &'a mut Iterator>) -> (Option, Option>>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/boundary.rs:179:93 [INFO] [stderr] | [INFO] [stderr] 179 | fn process<'a, E: 'a>(self, stream: &'a mut Iterator>) -> Result, EncapsulationBoundaryError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/boundary.rs:213:93 [INFO] [stderr] | [INFO] [stderr] 213 | fn process<'a, E: 'a>(self, stream: &'a mut Iterator>) -> Result, EncapsulationBoundaryError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/boundary.rs:240:93 [INFO] [stderr] | [INFO] [stderr] 240 | fn process<'a, E: 'a>(self, stream: &'a mut Iterator>) -> Result, EncapsulationBoundaryError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [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 `cc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "239312d247637f329c1fd9226d0dc0736ad68d3f594ce6d963c90c312b9449ae"` [INFO] running `"docker" "rm" "-f" "239312d247637f329c1fd9226d0dc0736ad68d3f594ce6d963c90c312b9449ae"` [INFO] [stdout] 239312d247637f329c1fd9226d0dc0736ad68d3f594ce6d963c90c312b9449ae