[INFO] updating cached repository maufl/lbsync [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/maufl/lbsync [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/maufl/lbsync" "work/ex/clippy-test-run/sources/stable/gh/maufl/lbsync"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/maufl/lbsync'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/maufl/lbsync" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/maufl/lbsync"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/maufl/lbsync'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d1f2773c209d5345a81c829658681d36e6f61d12 [INFO] sha for GitHub repo maufl/lbsync: d1f2773c209d5345a81c829658681d36e6f61d12 [INFO] validating manifest of maufl/lbsync 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 maufl/lbsync 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 maufl/lbsync [INFO] finished frobbing maufl/lbsync [INFO] frobbed toml for maufl/lbsync written to work/ex/clippy-test-run/sources/stable/gh/maufl/lbsync/Cargo.toml [INFO] started frobbing maufl/lbsync [INFO] finished frobbing maufl/lbsync [INFO] frobbed toml for maufl/lbsync written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/maufl/lbsync/Cargo.toml [INFO] crate maufl/lbsync 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 maufl/lbsync 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/maufl/lbsync:/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] 11cd03a1260a78cee608382ed3fd9cbb2fbc57d7ff573ca2d2b1983959ad1e8d [INFO] running `"docker" "start" "-a" "11cd03a1260a78cee608382ed3fd9cbb2fbc57d7ff573ca2d2b1983959ad1e8d"` [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling serde v1.0.37 [INFO] [stderr] Checking serde_json v1.0.13 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking chrono v0.4.2 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Checking openssl-sys v0.9.28 [INFO] [stderr] Compiling html5ever v0.22.0 [INFO] [stderr] Checking openssl v0.9.24 [INFO] [stderr] Checking libflate v0.1.14 [INFO] [stderr] Compiling string_cache_codegen v0.4.0 [INFO] [stderr] Checking tokio-core v0.1.16 [INFO] [stderr] Compiling string_cache v0.7.1 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking native-tls v0.1.5 [INFO] [stderr] Checking tokio-tls v0.1.4 [INFO] [stderr] Checking hyper v0.11.25 [INFO] [stderr] Compiling cssparser v0.23.4 [INFO] [stderr] Compiling cssparser-macros v0.3.2 [INFO] [stderr] Compiling markup5ever v0.7.2 [INFO] [stderr] Checking hyper-tls v0.1.3 [INFO] [stderr] Checking reqwest v0.8.5 [INFO] [stderr] Checking selectors v0.19.0 [INFO] [stderr] Checking scraper v0.6.0 [INFO] [stderr] Checking lbsync v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | amount: amount, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `amount` [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/main.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | currency: currency, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `currency` [INFO] [stderr] | [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/main.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | amount: amount, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `amount` [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/main.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | currency: currency, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `currency` [INFO] [stderr] | [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: this `else { if .. }` block can be collapsed [INFO] [stderr] --> src/main.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | } else { [INFO] [stderr] | ____________^ [INFO] [stderr] 46 | | if let Err(err) = post_data_to_couchdb(host, port, database_name, &data) { [INFO] [stderr] 47 | | println!("Error posting data to CouchDB: {}", err) [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::collapsible_if)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stderr] help: try [INFO] [stderr] | [INFO] [stderr] 45 | } else if let Err(err) = post_data_to_couchdb(host, port, database_name, &data) { [INFO] [stderr] 46 | println!("Error posting data to CouchDB: {}", err) [INFO] [stderr] 47 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this `else { if .. }` block can be collapsed [INFO] [stderr] --> src/main.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | } else { [INFO] [stderr] | ____________^ [INFO] [stderr] 46 | | if let Err(err) = post_data_to_couchdb(host, port, database_name, &data) { [INFO] [stderr] 47 | | println!("Error posting data to CouchDB: {}", err) [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::collapsible_if)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stderr] help: try [INFO] [stderr] | [INFO] [stderr] 45 | } else if let Err(err) = post_data_to_couchdb(host, port, database_name, &data) { [INFO] [stderr] 46 | println!("Error posting data to CouchDB: {}", err) [INFO] [stderr] 47 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `"docker" "inspect" "11cd03a1260a78cee608382ed3fd9cbb2fbc57d7ff573ca2d2b1983959ad1e8d"` [INFO] running `"docker" "rm" "-f" "11cd03a1260a78cee608382ed3fd9cbb2fbc57d7ff573ca2d2b1983959ad1e8d"` [INFO] [stdout] 11cd03a1260a78cee608382ed3fd9cbb2fbc57d7ff573ca2d2b1983959ad1e8d