[INFO] crate elastic_reqwest 0.20.10 is already in cache [INFO] extracting crate elastic_reqwest 0.20.10 into work/ex/clippy-test-run/sources/stable/reg/elastic_reqwest/0.20.10 [INFO] extracting crate elastic_reqwest 0.20.10 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/elastic_reqwest/0.20.10 [INFO] validating manifest of elastic_reqwest-0.20.10 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 elastic_reqwest-0.20.10 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 elastic_reqwest-0.20.10 [INFO] finished frobbing elastic_reqwest-0.20.10 [INFO] frobbed toml for elastic_reqwest-0.20.10 written to work/ex/clippy-test-run/sources/stable/reg/elastic_reqwest/0.20.10/Cargo.toml [INFO] started frobbing elastic_reqwest-0.20.10 [INFO] finished frobbing elastic_reqwest-0.20.10 [INFO] frobbed toml for elastic_reqwest-0.20.10 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/elastic_reqwest/0.20.10/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 elastic_reqwest-0.20.10 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/elastic_reqwest/0.20.10:/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] cf52f94d32c419e5c0528368c348dec626e7f80bfaa87b883253ee6fbaf5e8bf [INFO] running `"docker" "start" "-a" "cf52f94d32c419e5c0528368c348dec626e7f80bfaa87b883253ee6fbaf5e8bf"` [INFO] [stderr] Checking elastic_requests v0.20.10 [INFO] [stderr] Compiling json_str v0.5.2 [INFO] [stderr] Checking elastic_responses v0.20.10 [INFO] [stderr] Checking elastic_reqwest v0.20.10 (/opt/crater/workdir) [INFO] [stderr] error: length comparison to zero [INFO] [stderr] --> src/lib.rs:438:12 [INFO] [stderr] | [INFO] [stderr] 438 | if self.url_params.len() > 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!self.url_params.is_empty()` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:212:9 [INFO] [stderr] | [INFO] [stderr] 212 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::len_zero)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stderr] [INFO] [stderr] error: this lifetime isn't used in the function definition [INFO] [stderr] --> src/lib.rs:456:14 [INFO] [stderr] | [INFO] [stderr] 456 | fn build_url<'a>(req_url: &str, params: &RequestParams) -> String { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:212:9 [INFO] [stderr] | [INFO] [stderr] 212 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::extra_unused_lifetimes)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `elastic_reqwest`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: length comparison to zero [INFO] [stderr] --> src/lib.rs:438:12 [INFO] [stderr] | [INFO] [stderr] 438 | if self.url_params.len() > 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!self.url_params.is_empty()` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:212:9 [INFO] [stderr] | [INFO] [stderr] 212 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::len_zero)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stderr] [INFO] [stderr] error: this lifetime isn't used in the function definition [INFO] [stderr] --> src/lib.rs:456:14 [INFO] [stderr] | [INFO] [stderr] 456 | fn build_url<'a>(req_url: &str, params: &RequestParams) -> String { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:212:9 [INFO] [stderr] | [INFO] [stderr] 212 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::extra_unused_lifetimes)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `elastic_reqwest`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "cf52f94d32c419e5c0528368c348dec626e7f80bfaa87b883253ee6fbaf5e8bf"` [INFO] running `"docker" "rm" "-f" "cf52f94d32c419e5c0528368c348dec626e7f80bfaa87b883253ee6fbaf5e8bf"` [INFO] [stdout] cf52f94d32c419e5c0528368c348dec626e7f80bfaa87b883253ee6fbaf5e8bf