[INFO] updating cached repository euclio/rustdoc-static [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/euclio/rustdoc-static [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/euclio/rustdoc-static" "work/ex/clippy-test-run/sources/stable/gh/euclio/rustdoc-static"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/euclio/rustdoc-static'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/euclio/rustdoc-static" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/euclio/rustdoc-static"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/euclio/rustdoc-static'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 43a04bde1afa65767d4f7eb0220532893fc1a5b8 [INFO] sha for GitHub repo euclio/rustdoc-static: 43a04bde1afa65767d4f7eb0220532893fc1a5b8 [INFO] validating manifest of euclio/rustdoc-static 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 euclio/rustdoc-static 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 euclio/rustdoc-static [INFO] finished frobbing euclio/rustdoc-static [INFO] frobbed toml for euclio/rustdoc-static written to work/ex/clippy-test-run/sources/stable/gh/euclio/rustdoc-static/Cargo.toml [INFO] started frobbing euclio/rustdoc-static [INFO] finished frobbing euclio/rustdoc-static [INFO] frobbed toml for euclio/rustdoc-static written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/euclio/rustdoc-static/Cargo.toml [INFO] crate euclio/rustdoc-static has a lockfile. skipping [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 euclio/rustdoc-static against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-1/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/euclio/rustdoc-static:/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] 7a5e043a4a3b58c14f7f8a1067b121e98e2aca9808156c4fa9c78818e953c380 [INFO] running `"docker" "start" "-a" "7a5e043a4a3b58c14f7f8a1067b121e98e2aca9808156c4fa9c78818e953c380"` [INFO] [stderr] Compiling cc v1.0.2 [INFO] [stderr] Compiling pulldown-cmark v0.1.0 [INFO] [stderr] Checking pathdiff v0.1.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking atty v0.2.3 [INFO] [stderr] Checking serde_json v0.8.6 [INFO] [stderr] Checking serde_json v0.9.10 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking clap v2.26.2 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking handlebars v0.29.1 [INFO] [stderr] Checking pretty_env_logger v0.1.1 [INFO] [stderr] Checking queryst v1.0.1 [INFO] [stderr] Checking jsonapi v0.5.2 [INFO] [stderr] Checking backtrace v0.3.3 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking rustdoc-static v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: calling `as_bytes()` on `include_str!(..)` [INFO] [stderr] --> src/lib.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | include_str!("../static/styles.css").as_bytes(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `include_bytes!(..)` instead: `include_bytes!("../static/styles.css")` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::string_lit_as_bytes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on `include_str!(..)` [INFO] [stderr] --> src/lib.rs:61:18 [INFO] [stderr] | [INFO] [stderr] 61 | js.write_all(include_str!("../static/main.js").as_bytes())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `include_bytes!(..)` instead: `include_bytes!("../static/main.js")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] error: this .into_iter() call is equivalent to .iter() and will not move the PathBuf [INFO] [stderr] --> src/lib.rs:244:14 [INFO] [stderr] | [INFO] [stderr] 244 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::into_iter_on_array)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_array [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `rustdoc-static`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: calling `as_bytes()` on `include_str!(..)` [INFO] [stderr] --> src/lib.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | include_str!("../static/styles.css").as_bytes(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `include_bytes!(..)` instead: `include_bytes!("../static/styles.css")` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::string_lit_as_bytes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on `include_str!(..)` [INFO] [stderr] --> src/lib.rs:61:18 [INFO] [stderr] | [INFO] [stderr] 61 | js.write_all(include_str!("../static/main.js").as_bytes())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `include_bytes!(..)` instead: `include_bytes!("../static/main.js")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] error: this .into_iter() call is equivalent to .iter() and will not move the PathBuf [INFO] [stderr] --> src/lib.rs:244:14 [INFO] [stderr] | [INFO] [stderr] 244 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::into_iter_on_array)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_array [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `rustdoc-static`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7a5e043a4a3b58c14f7f8a1067b121e98e2aca9808156c4fa9c78818e953c380"` [INFO] running `"docker" "rm" "-f" "7a5e043a4a3b58c14f7f8a1067b121e98e2aca9808156c4fa9c78818e953c380"` [INFO] [stdout] 7a5e043a4a3b58c14f7f8a1067b121e98e2aca9808156c4fa9c78818e953c380