[INFO] updating cached repository jacobh/fujifilm-wifi-client-rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/jacobh/fujifilm-wifi-client-rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/jacobh/fujifilm-wifi-client-rs" "work/ex/clippy-test-run/sources/stable/gh/jacobh/fujifilm-wifi-client-rs"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/jacobh/fujifilm-wifi-client-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/jacobh/fujifilm-wifi-client-rs" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/jacobh/fujifilm-wifi-client-rs"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/jacobh/fujifilm-wifi-client-rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8592c45f3a096b87a1f1df0e2bda9607514fd828 [INFO] sha for GitHub repo jacobh/fujifilm-wifi-client-rs: 8592c45f3a096b87a1f1df0e2bda9607514fd828 [INFO] validating manifest of jacobh/fujifilm-wifi-client-rs 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 jacobh/fujifilm-wifi-client-rs 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 jacobh/fujifilm-wifi-client-rs [INFO] finished frobbing jacobh/fujifilm-wifi-client-rs [INFO] frobbed toml for jacobh/fujifilm-wifi-client-rs written to work/ex/clippy-test-run/sources/stable/gh/jacobh/fujifilm-wifi-client-rs/Cargo.toml [INFO] started frobbing jacobh/fujifilm-wifi-client-rs [INFO] finished frobbing jacobh/fujifilm-wifi-client-rs [INFO] frobbed toml for jacobh/fujifilm-wifi-client-rs written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/jacobh/fujifilm-wifi-client-rs/Cargo.toml [INFO] crate jacobh/fujifilm-wifi-client-rs 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 jacobh/fujifilm-wifi-client-rs 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-1/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/jacobh/fujifilm-wifi-client-rs:/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] 1afc637334d0a3a47dc408144074905041933c9451c53ccb3cf2477ebb4fa5be [INFO] running `"docker" "start" "-a" "1afc637334d0a3a47dc408144074905041933c9451c53ccb3cf2477ebb4fa5be"` [INFO] [stderr] Checking bytes v0.4.9 [INFO] [stderr] Checking tokio-timer v0.2.4 [INFO] [stderr] Checking crossbeam-deque v0.3.1 [INFO] [stderr] Checking tokio-threadpool v0.1.5 [INFO] [stderr] Checking tokio-io v0.1.7 [INFO] [stderr] Checking tokio-reactor v0.1.2 [INFO] [stderr] Checking tokio-codec v0.1.0 [INFO] [stderr] Checking tokio-fs v0.1.2 [INFO] [stderr] Checking tokio-tcp v0.1.0 [INFO] [stderr] Checking tokio-udp v0.1.1 [INFO] [stderr] Checking tokio v0.1.7 [INFO] [stderr] Checking fujifilm-wifi-client-rs v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/main.rs:13:14 [INFO] [stderr] | [INFO] [stderr] 13 | const HOST: &'static str = "192.168.0.1"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: unneeded unit expression [INFO] [stderr] --> src/main.rs:109:17 [INFO] [stderr] | [INFO] [stderr] 109 | () [INFO] [stderr] | ^^ help: remove the final `()` [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: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/main.rs:13:14 [INFO] [stderr] | [INFO] [stderr] 13 | const HOST: &'static str = "192.168.0.1"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: unneeded unit expression [INFO] [stderr] --> src/main.rs:109:17 [INFO] [stderr] | [INFO] [stderr] 109 | () [INFO] [stderr] | ^^ help: remove the final `()` [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: unused variable: `stream` [INFO] [stderr] --> src/main.rs:106:20 [INFO] [stderr] | [INFO] [stderr] 106 | .map(|(stream, resp)| { [INFO] [stderr] | ^^^^^^ help: consider using `_stream` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `ASYNC_RESPONSE_SERVER_PORT` [INFO] [stderr] --> src/main.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | const ASYNC_RESPONSE_SERVER_PORT: u16 = 55741; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `JPEG_STREAM_SERVER_PORT` [INFO] [stderr] --> src/main.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | const JPEG_STREAM_SERVER_PORT: u16 = 55742; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stream` [INFO] [stderr] --> src/main.rs:106:20 [INFO] [stderr] | [INFO] [stderr] 106 | .map(|(stream, resp)| { [INFO] [stderr] | ^^^^^^ help: consider using `_stream` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `ASYNC_RESPONSE_SERVER_PORT` [INFO] [stderr] --> src/main.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | const ASYNC_RESPONSE_SERVER_PORT: u16 = 55741; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `JPEG_STREAM_SERVER_PORT` [INFO] [stderr] --> src/main.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | const JPEG_STREAM_SERVER_PORT: u16 = 55742; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.04s [INFO] running `"docker" "inspect" "1afc637334d0a3a47dc408144074905041933c9451c53ccb3cf2477ebb4fa5be"` [INFO] running `"docker" "rm" "-f" "1afc637334d0a3a47dc408144074905041933c9451c53ccb3cf2477ebb4fa5be"` [INFO] [stdout] 1afc637334d0a3a47dc408144074905041933c9451c53ccb3cf2477ebb4fa5be