[INFO] crate rustdoc-highlight 0.1.5 is already in cache [INFO] extracting crate rustdoc-highlight 0.1.5 into work/ex/clippy-test-run/sources/stable/reg/rustdoc-highlight/0.1.5 [INFO] extracting crate rustdoc-highlight 0.1.5 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/rustdoc-highlight/0.1.5 [INFO] validating manifest of rustdoc-highlight-0.1.5 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 rustdoc-highlight-0.1.5 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 rustdoc-highlight-0.1.5 [INFO] finished frobbing rustdoc-highlight-0.1.5 [INFO] frobbed toml for rustdoc-highlight-0.1.5 written to work/ex/clippy-test-run/sources/stable/reg/rustdoc-highlight/0.1.5/Cargo.toml [INFO] started frobbing rustdoc-highlight-0.1.5 [INFO] finished frobbing rustdoc-highlight-0.1.5 [INFO] frobbed toml for rustdoc-highlight-0.1.5 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/rustdoc-highlight/0.1.5/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 rustdoc-highlight-0.1.5 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-2/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/rustdoc-highlight/0.1.5:/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] 05e77810d0e4b9fc87419c43752475a8b6988265831ce519780149ee59c0d218 [INFO] running `"docker" "start" "-a" "05e77810d0e4b9fc87419c43752475a8b6988265831ce519780149ee59c0d218"` [INFO] [stderr] Checking rustdoc-highlight v0.1.5 (/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/lib.rs:381:5 [INFO] [stderr] | [INFO] [stderr] 381 | write!(out, "class=\"rust {}\">\n", class.unwrap_or("")) [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/lib.rs:385:5 [INFO] [stderr] | [INFO] [stderr] 385 | write!(out, "\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/lib.rs:381:5 [INFO] [stderr] | [INFO] [stderr] 381 | write!(out, "class=\"rust {}\">\n", class.unwrap_or("")) [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/lib.rs:385:5 [INFO] [stderr] | [INFO] [stderr] 385 | write!(out, "\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] error[E0531]: cannot find unit struct/variant or constant `DotEq` in module `token` [INFO] [stderr] --> src/lib.rs:333:47 [INFO] [stderr] | [INFO] [stderr] 333 | token::Tilde | token::At | token::DotEq => Class::None, [INFO] [stderr] | ^^^^^ not found in `token` [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | #![feature(rustc_private)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0531, E0554. [INFO] [stderr] For more information about an error, try `rustc --explain E0531`. [INFO] [stderr] error: Could not compile `rustdoc-highlight`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0531]: cannot find unit struct/variant or constant `DotEq` in module `token` [INFO] [stderr] --> src/lib.rs:333:47 [INFO] [stderr] | [INFO] [stderr] 333 | token::Tilde | token::At | token::DotEq => Class::None, [INFO] [stderr] | ^^^^^ not found in `token` [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | #![feature(rustc_private)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0531, E0554. [INFO] [stderr] For more information about an error, try `rustc --explain E0531`. [INFO] [stderr] error: Could not compile `rustdoc-highlight`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "05e77810d0e4b9fc87419c43752475a8b6988265831ce519780149ee59c0d218"` [INFO] running `"docker" "rm" "-f" "05e77810d0e4b9fc87419c43752475a8b6988265831ce519780149ee59c0d218"` [INFO] [stdout] 05e77810d0e4b9fc87419c43752475a8b6988265831ce519780149ee59c0d218