[INFO] updating cached repository Aaronepower/relnotes [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Aaronepower/relnotes [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Aaronepower/relnotes" "work/ex/clippy-test-run/sources/stable/gh/Aaronepower/relnotes"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/Aaronepower/relnotes'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Aaronepower/relnotes" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Aaronepower/relnotes"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Aaronepower/relnotes'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7db1d59fc2ab887f571ae6bc13ee16f35bf9ab34 [INFO] sha for GitHub repo Aaronepower/relnotes: 7db1d59fc2ab887f571ae6bc13ee16f35bf9ab34 [INFO] validating manifest of Aaronepower/relnotes 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 Aaronepower/relnotes 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 Aaronepower/relnotes [INFO] finished frobbing Aaronepower/relnotes [INFO] frobbed toml for Aaronepower/relnotes written to work/ex/clippy-test-run/sources/stable/gh/Aaronepower/relnotes/Cargo.toml [INFO] started frobbing Aaronepower/relnotes [INFO] finished frobbing Aaronepower/relnotes [INFO] frobbed toml for Aaronepower/relnotes written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Aaronepower/relnotes/Cargo.toml [INFO] crate Aaronepower/relnotes 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 Aaronepower/relnotes 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/gh/Aaronepower/relnotes:/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] fd0dc060900ab939965de50a12a634f832def070fa296fe15790030b4a9c7348 [INFO] running `"docker" "start" "-a" "fd0dc060900ab939965de50a12a634f832def070fa296fe15790030b4a9c7348"` [INFO] [stderr] Compiling memchr v2.0.2 [INFO] [stderr] Checking want v0.0.4 [INFO] [stderr] Compiling askama_shared v0.7.1 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Compiling nom v4.0.0 [INFO] [stderr] Compiling askama_derive v0.7.1 [INFO] [stderr] Checking tokio-tls v0.1.4 [INFO] [stderr] Checking hyper v0.11.27 [INFO] [stderr] Checking hyper-tls v0.1.4 [INFO] [stderr] Checking askama v0.7.1 [INFO] [stderr] Checking reqwest v0.8.8 [INFO] [stderr] Checking relnotes v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #[macro_use] extern crate askama; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #[macro_use] extern crate askama; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: length comparison to zero [INFO] [stderr] --> src/main.rs:199:12 [INFO] [stderr] | [INFO] [stderr] 199 | if pull_requests.len() != 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!pull_requests.is_empty()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::len_zero)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stderr] [INFO] [stderr] warning: length comparison to zero [INFO] [stderr] --> src/main.rs:199:12 [INFO] [stderr] | [INFO] [stderr] 199 | if pull_requests.len() != 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!pull_requests.is_empty()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::len_zero)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.00s [INFO] running `"docker" "inspect" "fd0dc060900ab939965de50a12a634f832def070fa296fe15790030b4a9c7348"` [INFO] running `"docker" "rm" "-f" "fd0dc060900ab939965de50a12a634f832def070fa296fe15790030b4a9c7348"` [INFO] [stdout] fd0dc060900ab939965de50a12a634f832def070fa296fe15790030b4a9c7348