[INFO] crate iptoasn-webservice 0.2.2 is already in cache [INFO] extracting crate iptoasn-webservice 0.2.2 into work/ex/clippy-test-run/sources/stable/reg/iptoasn-webservice/0.2.2 [INFO] extracting crate iptoasn-webservice 0.2.2 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/iptoasn-webservice/0.2.2 [INFO] validating manifest of iptoasn-webservice-0.2.2 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 iptoasn-webservice-0.2.2 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 iptoasn-webservice-0.2.2 [INFO] finished frobbing iptoasn-webservice-0.2.2 [INFO] frobbed toml for iptoasn-webservice-0.2.2 written to work/ex/clippy-test-run/sources/stable/reg/iptoasn-webservice/0.2.2/Cargo.toml [INFO] started frobbing iptoasn-webservice-0.2.2 [INFO] finished frobbing iptoasn-webservice-0.2.2 [INFO] frobbed toml for iptoasn-webservice-0.2.2 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/iptoasn-webservice/0.2.2/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 iptoasn-webservice-0.2.2 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-7/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/iptoasn-webservice/0.2.2:/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] 8176b7649a6c3962bfd68d42c3f967727b1662660a949551b2d84acbcc622fea [INFO] running `"docker" "start" "-a" "8176b7649a6c3962bfd68d42c3f967727b1662660a949551b2d84acbcc622fea"` [INFO] [stderr] Checking horrorshow v0.6.5 [INFO] [stderr] Checking iptoasn-webservice v0.2.2 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/asns.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 83 | first_ip: first_ip, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `first_ip` [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/asns.rs:84:17 [INFO] [stderr] | [INFO] [stderr] 84 | last_ip: last_ip, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `last_ip` [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/asns.rs:85:17 [INFO] [stderr] | [INFO] [stderr] 85 | number: number, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `number` [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/asns.rs:86:17 [INFO] [stderr] | [INFO] [stderr] 86 | country: country, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `country` [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/asns.rs:87:17 [INFO] [stderr] | [INFO] [stderr] 87 | description: description, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `description` [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/asns.rs:92:19 [INFO] [stderr] | [INFO] [stderr] 92 | Ok(ASNs { asns: asns }) [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `asns` [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/webservice.rs:28:26 [INFO] [stderr] | [INFO] [stderr] 28 | ASNsMiddleware { asns_arc: asns_arc } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `asns_arc` [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/asns.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 83 | first_ip: first_ip, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `first_ip` [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/asns.rs:84:17 [INFO] [stderr] | [INFO] [stderr] 84 | last_ip: last_ip, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `last_ip` [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/asns.rs:85:17 [INFO] [stderr] | [INFO] [stderr] 85 | number: number, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `number` [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/asns.rs:86:17 [INFO] [stderr] | [INFO] [stderr] 86 | country: country, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `country` [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/asns.rs:87:17 [INFO] [stderr] | [INFO] [stderr] 87 | description: description, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `description` [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/asns.rs:92:19 [INFO] [stderr] | [INFO] [stderr] 92 | Ok(ASNs { asns: asns }) [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `asns` [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/webservice.rs:28:26 [INFO] [stderr] | [INFO] [stderr] 28 | ASNsMiddleware { asns_arc: asns_arc } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `asns_arc` [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: equality checks against true are unnecessary [INFO] [stderr] --> src/webservice.rs:128:26 [INFO] [stderr] | [INFO] [stderr] 128 | @ if map.get("announced").unwrap().as_bool().unwrap() == true { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `map.get("announced").unwrap().as_bool().unwrap()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::bool_comparison)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/webservice.rs:128:26 [INFO] [stderr] | [INFO] [stderr] 128 | @ if map.get("announced").unwrap().as_bool().unwrap() == true { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `map.get("announced").unwrap().as_bool().unwrap()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::bool_comparison)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.87s [INFO] running `"docker" "inspect" "8176b7649a6c3962bfd68d42c3f967727b1662660a949551b2d84acbcc622fea"` [INFO] running `"docker" "rm" "-f" "8176b7649a6c3962bfd68d42c3f967727b1662660a949551b2d84acbcc622fea"` [INFO] [stdout] 8176b7649a6c3962bfd68d42c3f967727b1662660a949551b2d84acbcc622fea