[INFO] updating cached repository nocduro/rayon-thumbnail-example [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/nocduro/rayon-thumbnail-example [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/nocduro/rayon-thumbnail-example" "work/ex/clippy-test-run/sources/stable/gh/nocduro/rayon-thumbnail-example"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/nocduro/rayon-thumbnail-example'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/nocduro/rayon-thumbnail-example" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/nocduro/rayon-thumbnail-example"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/nocduro/rayon-thumbnail-example'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0dde3a0e3530fe2b7bacbba343918441ee2b0a01 [INFO] sha for GitHub repo nocduro/rayon-thumbnail-example: 0dde3a0e3530fe2b7bacbba343918441ee2b0a01 [INFO] validating manifest of nocduro/rayon-thumbnail-example 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 nocduro/rayon-thumbnail-example 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 nocduro/rayon-thumbnail-example [INFO] finished frobbing nocduro/rayon-thumbnail-example [INFO] frobbed toml for nocduro/rayon-thumbnail-example written to work/ex/clippy-test-run/sources/stable/gh/nocduro/rayon-thumbnail-example/Cargo.toml [INFO] started frobbing nocduro/rayon-thumbnail-example [INFO] finished frobbing nocduro/rayon-thumbnail-example [INFO] frobbed toml for nocduro/rayon-thumbnail-example written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/nocduro/rayon-thumbnail-example/Cargo.toml [INFO] crate nocduro/rayon-thumbnail-example 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 nocduro/rayon-thumbnail-example against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-5/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/nocduro/rayon-thumbnail-example:/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] b5e6738b0be948b2284cb477214cd2a00bfa8e8a9a9b7c531c3c34b88d58bedc [INFO] running `"docker" "start" "-a" "b5e6738b0be948b2284cb477214cd2a00bfa8e8a9a9b7c531c3c34b88d58bedc"` [INFO] [stderr] Checking rayon-core v1.2.1 [INFO] [stderr] Checking backtrace-sys v0.1.14 [INFO] [stderr] Checking png v0.9.0 [INFO] [stderr] Checking backtrace v0.3.3 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking rayon v0.8.2 [INFO] [stderr] Checking jpeg-decoder v0.1.13 [INFO] [stderr] Checking image v0.15.0 [INFO] [stderr] Checking rayon_image v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: length comparison to zero [INFO] [stderr] --> src/main.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | if files.len() == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `files.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: passing a unit value to a function [INFO] [stderr] --> src/main.rs:73:8 [INFO] [stderr] | [INFO] [stderr] 73 | Ok(img.resize(longest_edge, longest_edge, FilterType::Nearest) [INFO] [stderr] | ________^ [INFO] [stderr] 74 | | .save(fout, image::JPEG)?) [INFO] [stderr] | |_________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unit_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg [INFO] [stderr] help: if you intended to pass a unit value, use a unit literal instead [INFO] [stderr] | [INFO] [stderr] 73 | Ok(()) [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: length comparison to zero [INFO] [stderr] --> src/main.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | if files.len() == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `files.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: passing a unit value to a function [INFO] [stderr] --> src/main.rs:73:8 [INFO] [stderr] | [INFO] [stderr] 73 | Ok(img.resize(longest_edge, longest_edge, FilterType::Nearest) [INFO] [stderr] | ________^ [INFO] [stderr] 74 | | .save(fout, image::JPEG)?) [INFO] [stderr] | |_________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unit_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg [INFO] [stderr] help: if you intended to pass a unit value, use a unit literal instead [INFO] [stderr] | [INFO] [stderr] 73 | Ok(()) [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.07s [INFO] running `"docker" "inspect" "b5e6738b0be948b2284cb477214cd2a00bfa8e8a9a9b7c531c3c34b88d58bedc"` [INFO] running `"docker" "rm" "-f" "b5e6738b0be948b2284cb477214cd2a00bfa8e8a9a9b7c531c3c34b88d58bedc"` [INFO] [stdout] b5e6738b0be948b2284cb477214cd2a00bfa8e8a9a9b7c531c3c34b88d58bedc