[INFO] crate hyper-multipart-rfc7578 0.2.0-alpha2 is already in cache [INFO] extracting crate hyper-multipart-rfc7578 0.2.0-alpha2 into work/ex/clippy-test-run/sources/stable/reg/hyper-multipart-rfc7578/0.2.0-alpha2 [INFO] extracting crate hyper-multipart-rfc7578 0.2.0-alpha2 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/hyper-multipart-rfc7578/0.2.0-alpha2 [INFO] validating manifest of hyper-multipart-rfc7578-0.2.0-alpha2 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 hyper-multipart-rfc7578-0.2.0-alpha2 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 hyper-multipart-rfc7578-0.2.0-alpha2 [INFO] finished frobbing hyper-multipart-rfc7578-0.2.0-alpha2 [INFO] frobbed toml for hyper-multipart-rfc7578-0.2.0-alpha2 written to work/ex/clippy-test-run/sources/stable/reg/hyper-multipart-rfc7578/0.2.0-alpha2/Cargo.toml [INFO] started frobbing hyper-multipart-rfc7578-0.2.0-alpha2 [INFO] finished frobbing hyper-multipart-rfc7578-0.2.0-alpha2 [INFO] frobbed toml for hyper-multipart-rfc7578-0.2.0-alpha2 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/hyper-multipart-rfc7578/0.2.0-alpha2/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 hyper-multipart-rfc7578-0.2.0-alpha2 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/hyper-multipart-rfc7578/0.2.0-alpha2:/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] d957d0cc695fd2c5fe069fbdafe9733997a1717579b8d7a1f397710ba49c9e7d [INFO] running `"docker" "start" "-a" "d957d0cc695fd2c5fe069fbdafe9733997a1717579b8d7a1f397710ba49c9e7d"` [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking hyper v0.12.23 [INFO] [stderr] Checking tokio-tls v0.1.4 [INFO] [stderr] Checking hyper-multipart-rfc7578 v0.2.0-alpha2 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/client_.rs:553:13 [INFO] [stderr] | [INFO] [stderr] 553 | inner: inner, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `inner` [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/client_.rs:554:13 [INFO] [stderr] | [INFO] [stderr] 554 | content_type: content_type, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `content_type` [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] Checking hyper-tls v0.2.1 [INFO] [stderr] warning: method is never used: `len` [INFO] [stderr] --> src/client_.rs:595:5 [INFO] [stderr] | [INFO] [stderr] 595 | fn len(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] error: a const item with interior mutability should not be borrowed [INFO] [stderr] --> src/client_.rs:84:25 [INFO] [stderr] | [INFO] [stderr] 84 | write.write_all(CONTENT_TYPE.as_ref())?; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::borrow_interior_mutable_const)] on by default [INFO] [stderr] = help: assign this const to a local or static variable, and use the variable here [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_interior_mutable_const [INFO] [stderr] [INFO] [stderr] error: a const item with interior mutability should not be borrowed [INFO] [stderr] --> src/client_.rs:88:25 [INFO] [stderr] | [INFO] [stderr] 88 | write.write_all(CONTENT_DISPOSITION.as_ref())?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: assign this const to a local or static variable, and use the variable here [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_interior_mutable_const [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `hyper-multipart-rfc7578`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "d957d0cc695fd2c5fe069fbdafe9733997a1717579b8d7a1f397710ba49c9e7d"` [INFO] running `"docker" "rm" "-f" "d957d0cc695fd2c5fe069fbdafe9733997a1717579b8d7a1f397710ba49c9e7d"` [INFO] [stdout] d957d0cc695fd2c5fe069fbdafe9733997a1717579b8d7a1f397710ba49c9e7d