[INFO] updating cached repository atsushi130/http-status-code-searcher [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/atsushi130/http-status-code-searcher [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/atsushi130/http-status-code-searcher" "work/ex/clippy-test-run/sources/stable/gh/atsushi130/http-status-code-searcher"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/atsushi130/http-status-code-searcher'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/atsushi130/http-status-code-searcher" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/atsushi130/http-status-code-searcher"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/atsushi130/http-status-code-searcher'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] cf208c58d0d1ae75e4c8e52de71444fea793985b [INFO] sha for GitHub repo atsushi130/http-status-code-searcher: cf208c58d0d1ae75e4c8e52de71444fea793985b [INFO] validating manifest of atsushi130/http-status-code-searcher 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 atsushi130/http-status-code-searcher 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 atsushi130/http-status-code-searcher [INFO] finished frobbing atsushi130/http-status-code-searcher [INFO] frobbed toml for atsushi130/http-status-code-searcher written to work/ex/clippy-test-run/sources/stable/gh/atsushi130/http-status-code-searcher/Cargo.toml [INFO] started frobbing atsushi130/http-status-code-searcher [INFO] finished frobbing atsushi130/http-status-code-searcher [INFO] frobbed toml for atsushi130/http-status-code-searcher written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/atsushi130/http-status-code-searcher/Cargo.toml [INFO] crate atsushi130/http-status-code-searcher 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 atsushi130/http-status-code-searcher against stable+rustflags=-Dclippy::into_iter_on_array for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-0/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/atsushi130/http-status-code-searcher:/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 -Dclippy::into_iter_on_array" "-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] 04ceb9898486ec5032a5f50d379938c856b2142e944146515ca141f37f127052 [INFO] running `"docker" "start" "-a" "04ceb9898486ec5032a5f50d379938c856b2142e944146515ca141f37f127052"` [INFO] [stderr] Checking http_status_code_searcher v0.1.3 (/opt/crater/workdir) [INFO] [stderr] warning: module has the same name as its containing module [INFO] [stderr] --> src/http_status_code_searcher/mod.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | mod http_status_code_searcher; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::module_inception)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stderr] [INFO] [stderr] warning: module has the same name as its containing module [INFO] [stderr] --> src/http_status_code_searcher/mod.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | mod http_status_code_searcher; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::module_inception)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stderr] [INFO] [stderr] warning: this creates an owned instance just for comparison [INFO] [stderr] --> src/http_status_code_searcher/http_status_code_searcher.rs:18:42 [INFO] [stderr] | [INFO] [stderr] 18 | http_status_code.code == code.to_string() [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try: `code` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cmp_owned)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned [INFO] [stderr] [INFO] [stderr] warning: this creates an owned instance just for comparison [INFO] [stderr] --> src/http_status_code_searcher/http_status_code_searcher.rs:18:42 [INFO] [stderr] | [INFO] [stderr] 18 | http_status_code.code == code.to_string() [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try: `code` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cmp_owned)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `"docker" "inspect" "04ceb9898486ec5032a5f50d379938c856b2142e944146515ca141f37f127052"` [INFO] running `"docker" "rm" "-f" "04ceb9898486ec5032a5f50d379938c856b2142e944146515ca141f37f127052"` [INFO] [stdout] 04ceb9898486ec5032a5f50d379938c856b2142e944146515ca141f37f127052