[INFO] updating cached repository intrepion/example-x-rust-x-rustbyexample-com-x-fn [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/intrepion/example-x-rust-x-rustbyexample-com-x-fn [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/intrepion/example-x-rust-x-rustbyexample-com-x-fn" "work/ex/clippy-test-run/sources/stable/gh/intrepion/example-x-rust-x-rustbyexample-com-x-fn"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/intrepion/example-x-rust-x-rustbyexample-com-x-fn'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/intrepion/example-x-rust-x-rustbyexample-com-x-fn" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/intrepion/example-x-rust-x-rustbyexample-com-x-fn"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/intrepion/example-x-rust-x-rustbyexample-com-x-fn'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 35eb8418216f3ab1cd11ccd053a73b75fe098cbe [INFO] sha for GitHub repo intrepion/example-x-rust-x-rustbyexample-com-x-fn: 35eb8418216f3ab1cd11ccd053a73b75fe098cbe [INFO] validating manifest of intrepion/example-x-rust-x-rustbyexample-com-x-fn 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 intrepion/example-x-rust-x-rustbyexample-com-x-fn 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 intrepion/example-x-rust-x-rustbyexample-com-x-fn [INFO] finished frobbing intrepion/example-x-rust-x-rustbyexample-com-x-fn [INFO] frobbed toml for intrepion/example-x-rust-x-rustbyexample-com-x-fn written to work/ex/clippy-test-run/sources/stable/gh/intrepion/example-x-rust-x-rustbyexample-com-x-fn/Cargo.toml [INFO] started frobbing intrepion/example-x-rust-x-rustbyexample-com-x-fn [INFO] finished frobbing intrepion/example-x-rust-x-rustbyexample-com-x-fn [INFO] frobbed toml for intrepion/example-x-rust-x-rustbyexample-com-x-fn written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/intrepion/example-x-rust-x-rustbyexample-com-x-fn/Cargo.toml [INFO] crate intrepion/example-x-rust-x-rustbyexample-com-x-fn 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 intrepion/example-x-rust-x-rustbyexample-com-x-fn 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/intrepion/example-x-rust-x-rustbyexample-com-x-fn:/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] bd8c8a30d78735cb00d298c6222e7325cb195a0a126b781d180cdc90a708cb31 [INFO] running `"docker" "start" "-a" "bd8c8a30d78735cb00d298c6222e7325cb195a0a126b781d180cdc90a708cb31"` [INFO] [stderr] Checking example-x-rust-x-rustbyexample-com-x-fn v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unneeded unit return type [INFO] [stderr] --> src/main.rs:19:21 [INFO] [stderr] | [INFO] [stderr] 19 | fn fizzbuzz(n: u32) -> () { [INFO] [stderr] | ^^^^^ help: remove the `-> ()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unused_unit)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stderr] [INFO] [stderr] warning: an inclusive range would be more readable [INFO] [stderr] --> src/main.rs:34:14 [INFO] [stderr] | [INFO] [stderr] 34 | for n in 1..n + 1 { [INFO] [stderr] | ^^^^^^^^ help: use: `1..=n` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::range_plus_one)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#range_plus_one [INFO] [stderr] [INFO] [stderr] warning: unneeded unit return type [INFO] [stderr] --> src/main.rs:19:21 [INFO] [stderr] | [INFO] [stderr] 19 | fn fizzbuzz(n: u32) -> () { [INFO] [stderr] | ^^^^^ help: remove the `-> ()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unused_unit)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stderr] [INFO] [stderr] warning: an inclusive range would be more readable [INFO] [stderr] --> src/main.rs:34:14 [INFO] [stderr] | [INFO] [stderr] 34 | for n in 1..n + 1 { [INFO] [stderr] | ^^^^^^^^ help: use: `1..=n` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::range_plus_one)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#range_plus_one [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `"docker" "inspect" "bd8c8a30d78735cb00d298c6222e7325cb195a0a126b781d180cdc90a708cb31"` [INFO] running `"docker" "rm" "-f" "bd8c8a30d78735cb00d298c6222e7325cb195a0a126b781d180cdc90a708cb31"` [INFO] [stdout] bd8c8a30d78735cb00d298c6222e7325cb195a0a126b781d180cdc90a708cb31