[INFO] updating cached repository ubnt-intrepid/react-iron-boilerplate [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/ubnt-intrepid/react-iron-boilerplate [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/ubnt-intrepid/react-iron-boilerplate" "work/ex/clippy-test-run/sources/stable/gh/ubnt-intrepid/react-iron-boilerplate"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/ubnt-intrepid/react-iron-boilerplate'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/ubnt-intrepid/react-iron-boilerplate" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ubnt-intrepid/react-iron-boilerplate"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ubnt-intrepid/react-iron-boilerplate'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ac36c05b617a9d2c3d4e0f3d76bc9e6212a07854 [INFO] sha for GitHub repo ubnt-intrepid/react-iron-boilerplate: ac36c05b617a9d2c3d4e0f3d76bc9e6212a07854 [INFO] validating manifest of ubnt-intrepid/react-iron-boilerplate 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 ubnt-intrepid/react-iron-boilerplate 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 ubnt-intrepid/react-iron-boilerplate [INFO] finished frobbing ubnt-intrepid/react-iron-boilerplate [INFO] frobbed toml for ubnt-intrepid/react-iron-boilerplate written to work/ex/clippy-test-run/sources/stable/gh/ubnt-intrepid/react-iron-boilerplate/Cargo.toml [INFO] started frobbing ubnt-intrepid/react-iron-boilerplate [INFO] finished frobbing ubnt-intrepid/react-iron-boilerplate [INFO] frobbed toml for ubnt-intrepid/react-iron-boilerplate written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ubnt-intrepid/react-iron-boilerplate/Cargo.toml [INFO] crate ubnt-intrepid/react-iron-boilerplate 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 ubnt-intrepid/react-iron-boilerplate against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-6/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/ubnt-intrepid/react-iron-boilerplate:/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] f9d6ab3286953dccf0d1e9abe86fbd4fea249a6b931cae1e29d1d1630479c538 [INFO] running `"docker" "start" "-a" "f9d6ab3286953dccf0d1e9abe86fbd4fea249a6b931cae1e29d1d1630479c538"` [INFO] [stderr] Compiling backtrace v0.3.0 [INFO] [stderr] Checking libc v0.2.22 [INFO] [stderr] Checking serde v1.0.4 [INFO] [stderr] Checking unidecode v0.2.0 [INFO] [stderr] Checking pest v0.4.1 [INFO] [stderr] Checking humansize v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.2.5 [INFO] [stderr] Compiling backtrace-sys v0.1.10 [INFO] [stderr] Compiling libsqlite3-sys v0.7.1 [INFO] [stderr] Checking scheduled-thread-pool v0.1.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking num v0.1.37 [INFO] [stderr] Checking idna v0.1.1 [INFO] [stderr] Checking r2d2 v0.7.2 [INFO] [stderr] Checking num_cpus v1.4.0 [INFO] [stderr] Checking thread-id v3.1.0 [INFO] [stderr] Checking time v0.1.37 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking chrono v0.3.1 [INFO] [stderr] Checking slug v0.1.2 [INFO] [stderr] Checking diesel v0.12.1 [INFO] [stderr] Checking regex v0.2.1 [INFO] [stderr] Checking url v1.4.0 [INFO] [stderr] Checking hyper v0.10.10 [INFO] [stderr] Compiling serde_derive_internals v0.15.0 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Checking iron v0.5.1 [INFO] [stderr] Checking serde_json v1.0.2 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking mount v0.3.0 [INFO] [stderr] Checking router v0.5.1 [INFO] [stderr] Checking staticfile v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.4 [INFO] [stderr] Checking dotenv v0.10.0 [INFO] [stderr] Checking tera v0.10.5 [INFO] [stderr] Checking r2d2-diesel v0.12.0 [INFO] [stderr] Compiling diesel_infer_schema v0.12.0 [INFO] [stderr] Compiling diesel_codegen v0.12.0 [INFO] [stderr] Checking iron-tera v0.3.0 [INFO] [stderr] Checking microblog v0.0.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/config.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | AppConfig { bind_address: bind_address } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `bind_address` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/config.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | AppConfig { bind_address: bind_address } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `bind_address` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of `unwrap_or` followed by a function call [INFO] [stderr] --> src/config.rs:9:50 [INFO] [stderr] | [INFO] [stderr] 9 | let bind_address = env::var("BIND_ADDR").unwrap_or("0.0.0.0:3000".to_owned()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| "0.0.0.0:3000".to_owned())` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::or_fun_call)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `unwrap_or` followed by a function call [INFO] [stderr] --> src/config.rs:9:50 [INFO] [stderr] | [INFO] [stderr] 9 | let bind_address = env::var("BIND_ADDR").unwrap_or("0.0.0.0:3000".to_owned()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| "0.0.0.0:3000".to_owned())` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::or_fun_call)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `"docker" "inspect" "f9d6ab3286953dccf0d1e9abe86fbd4fea249a6b931cae1e29d1d1630479c538"` [INFO] running `"docker" "rm" "-f" "f9d6ab3286953dccf0d1e9abe86fbd4fea249a6b931cae1e29d1d1630479c538"` [INFO] [stdout] f9d6ab3286953dccf0d1e9abe86fbd4fea249a6b931cae1e29d1d1630479c538