[INFO] updating cached repository thebearingedge/rust-api [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/thebearingedge/rust-api [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/thebearingedge/rust-api" "work/ex/clippy-test-run/sources/stable/gh/thebearingedge/rust-api"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/thebearingedge/rust-api'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/thebearingedge/rust-api" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/thebearingedge/rust-api"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/thebearingedge/rust-api'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 952d2fd46366e78b942e2f689f6f256690a8c41e [INFO] sha for GitHub repo thebearingedge/rust-api: 952d2fd46366e78b942e2f689f6f256690a8c41e [INFO] validating manifest of thebearingedge/rust-api 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 thebearingedge/rust-api 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 thebearingedge/rust-api [INFO] finished frobbing thebearingedge/rust-api [INFO] frobbed toml for thebearingedge/rust-api written to work/ex/clippy-test-run/sources/stable/gh/thebearingedge/rust-api/Cargo.toml [INFO] started frobbing thebearingedge/rust-api [INFO] finished frobbing thebearingedge/rust-api [INFO] frobbed toml for thebearingedge/rust-api written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/thebearingedge/rust-api/Cargo.toml [INFO] crate thebearingedge/rust-api 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 thebearingedge/rust-api against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-0/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/thebearingedge/rust-api:/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] fb6114fef4fd28df58b74a2dfd63722cbbcb366b72f3a704b29b0dd3cf8fb833 [INFO] running `"docker" "start" "-a" "fb6114fef4fd28df58b74a2dfd63722cbbcb366b72f3a704b29b0dd3cf8fb833"` [INFO] [stderr] Checking route-recognizer v0.1.12 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Checking memchr v2.1.1 [INFO] [stderr] Checking uuid v0.7.1 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking hyper v0.10.15 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking regex v1.0.6 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling mime_guess v1.8.6 [INFO] [stderr] Checking env_logger v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking iron v0.6.0 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking logger v0.4.0 [INFO] [stderr] Checking web-api v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: You are using an explicit closure for cloning elements [INFO] [stderr] --> src/handlers.rs:119:9 [INFO] [stderr] | [INFO] [stderr] 119 | / db.get_posts() [INFO] [stderr] 120 | | .iter() [INFO] [stderr] 121 | | .find(|p| p.post_id() == post_id) [INFO] [stderr] 122 | | .map(|p| p.clone()) [INFO] [stderr] | |_______________________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::map_clone)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone [INFO] [stderr] help: Consider calling the dedicated `cloned` method [INFO] [stderr] | [INFO] [stderr] 119 | db.get_posts() [INFO] [stderr] 120 | .iter() [INFO] [stderr] 121 | .find(|p| p.post_id() == post_id).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: You are using an explicit closure for cloning elements [INFO] [stderr] --> src/handlers.rs:119:9 [INFO] [stderr] | [INFO] [stderr] 119 | / db.get_posts() [INFO] [stderr] 120 | | .iter() [INFO] [stderr] 121 | | .find(|p| p.post_id() == post_id) [INFO] [stderr] 122 | | .map(|p| p.clone()) [INFO] [stderr] | |_______________________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::map_clone)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone [INFO] [stderr] help: Consider calling the dedicated `cloned` method [INFO] [stderr] | [INFO] [stderr] 119 | db.get_posts() [INFO] [stderr] 120 | .iter() [INFO] [stderr] 121 | .find(|p| p.post_id() == post_id).cloned() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.97s [INFO] running `"docker" "inspect" "fb6114fef4fd28df58b74a2dfd63722cbbcb366b72f3a704b29b0dd3cf8fb833"` [INFO] running `"docker" "rm" "-f" "fb6114fef4fd28df58b74a2dfd63722cbbcb366b72f3a704b29b0dd3cf8fb833"` [INFO] [stdout] fb6114fef4fd28df58b74a2dfd63722cbbcb366b72f3a704b29b0dd3cf8fb833