[INFO] crate typed-headers 0.1.0 is already in cache [INFO] extracting crate typed-headers 0.1.0 into work/ex/clippy-test-run/sources/stable/reg/typed-headers/0.1.0 [INFO] extracting crate typed-headers 0.1.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/typed-headers/0.1.0 [INFO] validating manifest of typed-headers-0.1.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 typed-headers-0.1.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 typed-headers-0.1.0 [INFO] finished frobbing typed-headers-0.1.0 [INFO] frobbed toml for typed-headers-0.1.0 written to work/ex/clippy-test-run/sources/stable/reg/typed-headers/0.1.0/Cargo.toml [INFO] started frobbing typed-headers-0.1.0 [INFO] finished frobbing typed-headers-0.1.0 [INFO] frobbed toml for typed-headers-0.1.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/typed-headers/0.1.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 typed-headers-0.1.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-5/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/typed-headers/0.1.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] 220d77438c2be5c95e245bed4036e08f10d81e7f85af50a060be44f588de08b8 [INFO] running `"docker" "start" "-a" "220d77438c2be5c95e245bed4036e08f10d81e7f85af50a060be44f588de08b8"` [INFO] [stderr] Checking typed-headers v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/impls/credentials.rs:126:23 [INFO] [stderr] | [INFO] [stderr] 126 | Err(_) => return Err(Error::invalid_value()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove `return` as shown: `Err(Error::invalid_value())` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_return)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/impls/http_date.rs:8:29 [INFO] [stderr] | [INFO] [stderr] 8 | const IMF_FIXDATE_PATTERN: &'static str = "%a, %d %b %Y %T GMT"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/impls/http_date.rs:9:29 [INFO] [stderr] | [INFO] [stderr] 9 | const RFC850_DATE_PATTERN: &'static str = "%A, %d-%b-%y %T GMT"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/impls/http_date.rs:10:30 [INFO] [stderr] | [INFO] [stderr] 10 | const ASCTIME_DATE_PATTERN: &'static str = "%a %b %e %T %Y"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/impls/credentials.rs:126:23 [INFO] [stderr] | [INFO] [stderr] 126 | Err(_) => return Err(Error::invalid_value()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove `return` as shown: `Err(Error::invalid_value())` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_return)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/impls/http_date.rs:8:29 [INFO] [stderr] | [INFO] [stderr] 8 | const IMF_FIXDATE_PATTERN: &'static str = "%a, %d %b %Y %T GMT"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/impls/http_date.rs:9:29 [INFO] [stderr] | [INFO] [stderr] 9 | const RFC850_DATE_PATTERN: &'static str = "%A, %d-%b-%y %T GMT"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/impls/http_date.rs:10:30 [INFO] [stderr] | [INFO] [stderr] 10 | const ASCTIME_DATE_PATTERN: &'static str = "%a %b %e %T %Y"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'http::uri::Authority::port': use `port_part` or `port_u16` instead [INFO] [stderr] --> src/impls/host.rs:48:29 [INFO] [stderr] | [INFO] [stderr] 48 | port: authority.port(), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'http::uri::Authority::port': use `port_part` or `port_u16` instead [INFO] [stderr] --> src/impls/host.rs:48:29 [INFO] [stderr] | [INFO] [stderr] 48 | port: authority.port(), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] error: a const item with interior mutability should not be borrowed [INFO] [stderr] --> src/impls/accept.rs:31:14 [INFO] [stderr] | [INFO] [stderr] 31 | (Accept, ACCEPT) => (QualityItem)* [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/impls/accept_encoding.rs:28:22 [INFO] [stderr] | [INFO] [stderr] 28 | (AcceptEncoding, ACCEPT_ENCODING) => (QualityItem)* [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: a const item with interior mutability should not be borrowed [INFO] [stderr] --> src/impls/allow.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | (Allow, ALLOW) => (Method)* [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: a const item with interior mutability should not be borrowed [INFO] [stderr] --> src/impls/authorization.rs:23:21 [INFO] [stderr] | [INFO] [stderr] 23 | (Authorization, AUTHORIZATION) => [Credentials] [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: a const item with interior mutability should not be borrowed [INFO] [stderr] --> src/impls/content_encoding.rs:26:23 [INFO] [stderr] | [INFO] [stderr] 26 | (ContentEncoding, CONTENT_ENCODING) => (ContentCoding)+ [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: a const item with interior mutability should not be borrowed [INFO] [stderr] --> src/impls/content_length.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | &CONTENT_LENGTH [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: a const item with interior mutability should not be borrowed [INFO] [stderr] --> src/impls/content_type.rs:27:19 [INFO] [stderr] | [INFO] [stderr] 27 | (ContentType, CONTENT_TYPE) => [Mime] [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: a const item with interior mutability should not be borrowed [INFO] [stderr] --> src/impls/host.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | &HOST [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: a const item with interior mutability should not be borrowed [INFO] [stderr] --> src/impls/proxy_authorization.rs:24:26 [INFO] [stderr] | [INFO] [stderr] 24 | (ProxyAuthorization, PROXY_AUTHORIZATION) => [Credentials] [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] warning: casting u8 to u16 may become silently lossy if types change [INFO] [stderr] --> src/impls/quality.rs:122:22 [INFO] [stderr] | [INFO] [stderr] 122 | Some((v - b'0') as u16) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: try: `u16::from(v - b'0')` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/impls/quality.rs:179:19 [INFO] [stderr] | [INFO] [stderr] 179 | pub fn as_u16(&self) -> u16 { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::trivially_copy_pass_by_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] error: a const item with interior mutability should not be borrowed [INFO] [stderr] --> src/impls/retry_after.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | &RETRY_AFTER [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] warning: redundant closure found [INFO] [stderr] --> src/impls/retry_after.rs:33:25 [INFO] [stderr] | [INFO] [stderr] 33 | .ok_or_else(|| Error::invalid_value()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `Error::invalid_value` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_closure)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `typed-headers`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: a const item with interior mutability should not be borrowed [INFO] [stderr] --> src/impls/accept.rs:31:14 [INFO] [stderr] | [INFO] [stderr] 31 | (Accept, ACCEPT) => (QualityItem)* [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/impls/accept_encoding.rs:28:22 [INFO] [stderr] | [INFO] [stderr] 28 | (AcceptEncoding, ACCEPT_ENCODING) => (QualityItem)* [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: a const item with interior mutability should not be borrowed [INFO] [stderr] --> src/impls/allow.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | (Allow, ALLOW) => (Method)* [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: a const item with interior mutability should not be borrowed [INFO] [stderr] --> src/impls/authorization.rs:23:21 [INFO] [stderr] | [INFO] [stderr] 23 | (Authorization, AUTHORIZATION) => [Credentials] [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: a const item with interior mutability should not be borrowed [INFO] [stderr] --> src/impls/content_encoding.rs:26:23 [INFO] [stderr] | [INFO] [stderr] 26 | (ContentEncoding, CONTENT_ENCODING) => (ContentCoding)+ [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: a const item with interior mutability should not be borrowed [INFO] [stderr] --> src/impls/content_length.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | &CONTENT_LENGTH [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: a const item with interior mutability should not be borrowed [INFO] [stderr] --> src/impls/content_type.rs:27:19 [INFO] [stderr] | [INFO] [stderr] 27 | (ContentType, CONTENT_TYPE) => [Mime] [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: a const item with interior mutability should not be borrowed [INFO] [stderr] --> src/impls/host.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | &HOST [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: a const item with interior mutability should not be borrowed [INFO] [stderr] --> src/impls/proxy_authorization.rs:24:26 [INFO] [stderr] | [INFO] [stderr] 24 | (ProxyAuthorization, PROXY_AUTHORIZATION) => [Credentials] [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] warning: casting u8 to u16 may become silently lossy if types change [INFO] [stderr] --> src/impls/quality.rs:122:22 [INFO] [stderr] | [INFO] [stderr] 122 | Some((v - b'0') as u16) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: try: `u16::from(v - b'0')` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/impls/quality.rs:179:19 [INFO] [stderr] | [INFO] [stderr] 179 | pub fn as_u16(&self) -> u16 { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::trivially_copy_pass_by_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] error: a const item with interior mutability should not be borrowed [INFO] [stderr] --> src/impls/retry_after.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | &RETRY_AFTER [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] warning: redundant closure found [INFO] [stderr] --> src/impls/retry_after.rs:33:25 [INFO] [stderr] | [INFO] [stderr] 33 | .ok_or_else(|| Error::invalid_value()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `Error::invalid_value` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_closure)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `typed-headers`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "220d77438c2be5c95e245bed4036e08f10d81e7f85af50a060be44f588de08b8"` [INFO] running `"docker" "rm" "-f" "220d77438c2be5c95e245bed4036e08f10d81e7f85af50a060be44f588de08b8"` [INFO] [stdout] 220d77438c2be5c95e245bed4036e08f10d81e7f85af50a060be44f588de08b8