[INFO] crate finchers-test 0.11.0 is already in cache [INFO] extracting crate finchers-test 0.11.0 into work/ex/clippy-test-run/sources/stable/reg/finchers-test/0.11.0 [INFO] extracting crate finchers-test 0.11.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/finchers-test/0.11.0 [INFO] validating manifest of finchers-test-0.11.0 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 finchers-test-0.11.0 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 finchers-test-0.11.0 [INFO] finished frobbing finchers-test-0.11.0 [INFO] frobbed toml for finchers-test-0.11.0 written to work/ex/clippy-test-run/sources/stable/reg/finchers-test/0.11.0/Cargo.toml [INFO] started frobbing finchers-test-0.11.0 [INFO] finished frobbing finchers-test-0.11.0 [INFO] frobbed toml for finchers-test-0.11.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/finchers-test/0.11.0/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 finchers-test-0.11.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-4/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/finchers-test/0.11.0:/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] 075c87dc6e7c0c8d956eb7b4afabbf37bcfe1f0991c509683d0c8794c1af7788 [INFO] running `"docker" "start" "-a" "075c87dc6e7c0c8d956eb7b4afabbf37bcfe1f0991c509683d0c8794c1af7788"` [INFO] [stderr] Checking finchers-core v0.11.0 [INFO] [stderr] Checking finchers-test v0.11.0 (/opt/crater/workdir) [INFO] [stderr] error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | / pub fn request<'a, M, U>(&'a self, method: M, uri: U) -> ClientRequest<'a, E> [INFO] [stderr] 35 | | where [INFO] [stderr] 36 | | Method: HttpTryFrom, [INFO] [stderr] 37 | | Uri: HttpTryFrom, [INFO] [stderr] ... | [INFO] [stderr] 46 | | client [INFO] [stderr] 47 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::needless_lifetimes)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | / pub fn $name<'a, U>(&'a self, uri: U) -> ClientRequest<'a, E> [INFO] [stderr] 57 | | where [INFO] [stderr] 58 | | Uri: HttpTryFrom, [INFO] [stderr] 59 | | { [INFO] [stderr] 60 | | self.request(Method::$METHOD, uri) [INFO] [stderr] 61 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] ... [INFO] [stderr] 66 | / impl_constructors! { [INFO] [stderr] 67 | | /// Create a dummy `GET` request with given URI. [INFO] [stderr] 68 | | GET => get, [INFO] [stderr] 69 | | [INFO] [stderr] ... | [INFO] [stderr] 83 | | PATCH => patch, [INFO] [stderr] 84 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `finchers-test`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | / pub fn request<'a, M, U>(&'a self, method: M, uri: U) -> ClientRequest<'a, E> [INFO] [stderr] 35 | | where [INFO] [stderr] 36 | | Method: HttpTryFrom, [INFO] [stderr] 37 | | Uri: HttpTryFrom, [INFO] [stderr] ... | [INFO] [stderr] 46 | | client [INFO] [stderr] 47 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::needless_lifetimes)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | / pub fn $name<'a, U>(&'a self, uri: U) -> ClientRequest<'a, E> [INFO] [stderr] 57 | | where [INFO] [stderr] 58 | | Uri: HttpTryFrom, [INFO] [stderr] 59 | | { [INFO] [stderr] 60 | | self.request(Method::$METHOD, uri) [INFO] [stderr] 61 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] ... [INFO] [stderr] 66 | / impl_constructors! { [INFO] [stderr] 67 | | /// Create a dummy `GET` request with given URI. [INFO] [stderr] 68 | | GET => get, [INFO] [stderr] 69 | | [INFO] [stderr] ... | [INFO] [stderr] 83 | | PATCH => patch, [INFO] [stderr] 84 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `finchers-test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "075c87dc6e7c0c8d956eb7b4afabbf37bcfe1f0991c509683d0c8794c1af7788"` [INFO] running `"docker" "rm" "-f" "075c87dc6e7c0c8d956eb7b4afabbf37bcfe1f0991c509683d0c8794c1af7788"` [INFO] [stdout] 075c87dc6e7c0c8d956eb7b4afabbf37bcfe1f0991c509683d0c8794c1af7788