[INFO] crate nom-bibtex 0.2.0 is already in cache [INFO] extracting crate nom-bibtex 0.2.0 into work/ex/clippy-test-run/sources/stable/reg/nom-bibtex/0.2.0 [INFO] extracting crate nom-bibtex 0.2.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/nom-bibtex/0.2.0 [INFO] validating manifest of nom-bibtex-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 nom-bibtex-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 nom-bibtex-0.2.0 [INFO] finished frobbing nom-bibtex-0.2.0 [INFO] frobbed toml for nom-bibtex-0.2.0 written to work/ex/clippy-test-run/sources/stable/reg/nom-bibtex/0.2.0/Cargo.toml [INFO] started frobbing nom-bibtex-0.2.0 [INFO] finished frobbing nom-bibtex-0.2.0 [INFO] frobbed toml for nom-bibtex-0.2.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/nom-bibtex/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 nom-bibtex-0.2.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-7/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/nom-bibtex/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" "-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] 19a7ce62687daffd232dafb7ea0e41ba5ceb7e0bc447f447b80e9c5ec2c9cdc6 [INFO] running `"docker" "start" "-a" "19a7ce62687daffd232dafb7ea0e41ba5ceb7e0bc447f447b80e9c5ec2c9cdc6"` [INFO] [stderr] Checking nom-bibtex v0.2.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/model.rs:204:21 [INFO] [stderr] | [INFO] [stderr] 204 | Self { key, value: value } [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `value` [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/model.rs:204:21 [INFO] [stderr] | [INFO] [stderr] 204 | Self { key, value: value } [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `value` [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: casting character literal to u8. `char`s are 4 bytes wide in rust, so casting to u8 truncates them [INFO] [stderr] --> src/parser.rs:283:32 [INFO] [stderr] | [INFO] [stderr] 283 | take_while!(call!(|c| c != '\0' as u8)) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::char_lit_as_u8)] on by default [INFO] [stderr] = help: Consider using a byte literal instead: [INFO] [stderr] b'\0' [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#char_lit_as_u8 [INFO] [stderr] [INFO] [stderr] warning: you don't need to add `&` to all patterns [INFO] [stderr] --> src/model.rs:81:29 [INFO] [stderr] | [INFO] [stderr] 81 | .filter_map(|v| match v { [INFO] [stderr] | _____________________________^ [INFO] [stderr] 82 | | &Entry::Variable(ref v) => Some(v), [INFO] [stderr] 83 | | _ => None, [INFO] [stderr] 84 | | }) [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] 81 | .filter_map(|v| match *v { [INFO] [stderr] 82 | Entry::Variable(ref v) => Some(v), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/model.rs:96:43 [INFO] [stderr] | [INFO] [stderr] 96 | fn expand_variables_value(var_values: &Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: change this to: `&[StringValueType]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/model.rs:97:42 [INFO] [stderr] | [INFO] [stderr] 97 | variables: &Vec<&KeyValue>) [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change this to: `&[&KeyValue]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: casting character literal to u8. `char`s are 4 bytes wide in rust, so casting to u8 truncates them [INFO] [stderr] --> src/parser.rs:283:32 [INFO] [stderr] | [INFO] [stderr] 283 | take_while!(call!(|c| c != '\0' as u8)) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::char_lit_as_u8)] on by default [INFO] [stderr] = help: Consider using a byte literal instead: [INFO] [stderr] b'\0' [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#char_lit_as_u8 [INFO] [stderr] [INFO] [stderr] warning: you don't need to add `&` to all patterns [INFO] [stderr] --> src/model.rs:81:29 [INFO] [stderr] | [INFO] [stderr] 81 | .filter_map(|v| match v { [INFO] [stderr] | _____________________________^ [INFO] [stderr] 82 | | &Entry::Variable(ref v) => Some(v), [INFO] [stderr] 83 | | _ => None, [INFO] [stderr] 84 | | }) [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] 81 | .filter_map(|v| match *v { [INFO] [stderr] 82 | Entry::Variable(ref v) => Some(v), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/model.rs:96:43 [INFO] [stderr] | [INFO] [stderr] 96 | fn expand_variables_value(var_values: &Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: change this to: `&[StringValueType]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&Vec<_>` instead of `&[_]` involves one more reference and cannot be used with non-Vec-based slices. [INFO] [stderr] --> src/model.rs:97:42 [INFO] [stderr] | [INFO] [stderr] 97 | variables: &Vec<&KeyValue>) [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change this to: `&[&KeyValue]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> benches/parser.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(test)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0554`. [INFO] [stderr] error: Could not compile `nom-bibtex`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "19a7ce62687daffd232dafb7ea0e41ba5ceb7e0bc447f447b80e9c5ec2c9cdc6"` [INFO] running `"docker" "rm" "-f" "19a7ce62687daffd232dafb7ea0e41ba5ceb7e0bc447f447b80e9c5ec2c9cdc6"` [INFO] [stdout] 19a7ce62687daffd232dafb7ea0e41ba5ceb7e0bc447f447b80e9c5ec2c9cdc6