[INFO] crate xi-unicode 0.1.0 is already in cache [INFO] extracting crate xi-unicode 0.1.0 into work/ex/clippy-test-run/sources/stable/reg/xi-unicode/0.1.0 [INFO] extracting crate xi-unicode 0.1.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/xi-unicode/0.1.0 [INFO] validating manifest of xi-unicode-0.1.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 xi-unicode-0.1.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 xi-unicode-0.1.0 [INFO] finished frobbing xi-unicode-0.1.0 [INFO] frobbed toml for xi-unicode-0.1.0 written to work/ex/clippy-test-run/sources/stable/reg/xi-unicode/0.1.0/Cargo.toml [INFO] started frobbing xi-unicode-0.1.0 [INFO] finished frobbing xi-unicode-0.1.0 [INFO] frobbed toml for xi-unicode-0.1.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/xi-unicode/0.1.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 xi-unicode-0.1.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-4/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/xi-unicode/0.1.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] 40f0f957753eb4828526ba12fdd249d56ca31c3d7af1d6f2d0712a444eb4ef61 [INFO] running `"docker" "start" "-a" "40f0f957753eb4828526ba12fdd249d56ca31c3d7af1d6f2d0712a444eb4ef61"` [INFO] [stderr] Checking xi-unicode v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/lib.rs:105:17 [INFO] [stderr] | [INFO] [stderr] 105 | s: s, [INFO] [stderr] | ^^^^ help: replace it with: `s` [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/lib.rs:112:17 [INFO] [stderr] | [INFO] [stderr] 112 | s: s, [INFO] [stderr] | ^^^^ help: replace it with: `s` [INFO] [stderr] | [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/lib.rs:105:17 [INFO] [stderr] | [INFO] [stderr] 105 | s: s, [INFO] [stderr] | ^^^^ help: replace it with: `s` [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/lib.rs:112:17 [INFO] [stderr] | [INFO] [stderr] 112 | s: s, [INFO] [stderr] | ^^^^ help: replace it with: `s` [INFO] [stderr] | [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: this `else { if .. }` block can be collapsed [INFO] [stderr] --> examples/runtestdata.rs:99:16 [INFO] [stderr] | [INFO] [stderr] 99 | } else { [INFO] [stderr] | ________________^ [INFO] [stderr] 100 | | if check_breaks(&s, &breaks) { pass += 1; } [INFO] [stderr] 101 | | } [INFO] [stderr] | |_________^ help: try: `if check_breaks(&s, &breaks) { pass += 1; }` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::collapsible_if)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> benches/bench.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | #![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 `xi-unicode`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: the function has a cyclomatic complexity of 127 [INFO] [stderr] --> src/lib.rs:196:5 [INFO] [stderr] | [INFO] [stderr] 196 | / fn linebreak_prop() { [INFO] [stderr] 197 | | assert_eq!( 9, linebreak_property('\u{0001}')); [INFO] [stderr] 198 | | assert_eq!( 9, linebreak_property('\u{0003}')); [INFO] [stderr] 199 | | assert_eq!( 9, linebreak_property('\u{0004}')); [INFO] [stderr] ... | [INFO] [stderr] 322 | | assert_eq!( 0, linebreak_property('\u{1064B4}')); [INFO] [stderr] 323 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 132 [INFO] [stderr] --> src/lib.rs:326:5 [INFO] [stderr] | [INFO] [stderr] 326 | / fn linebreak_prop_str() { [INFO] [stderr] 327 | | assert_eq!((9, 1), linebreak_property_str(&"\u{0004}", 0)); [INFO] [stderr] 328 | | assert_eq!((9, 1), linebreak_property_str(&"\u{0005}", 0)); [INFO] [stderr] 329 | | assert_eq!((9, 1), linebreak_property_str(&"\u{0008}", 0)); [INFO] [stderr] ... | [INFO] [stderr] 457 | | assert_eq!((0, 4), linebreak_property_str(&"\u{10E4D5}", 0)); [INFO] [stderr] 458 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "40f0f957753eb4828526ba12fdd249d56ca31c3d7af1d6f2d0712a444eb4ef61"` [INFO] running `"docker" "rm" "-f" "40f0f957753eb4828526ba12fdd249d56ca31c3d7af1d6f2d0712a444eb4ef61"` [INFO] [stdout] 40f0f957753eb4828526ba12fdd249d56ca31c3d7af1d6f2d0712a444eb4ef61