[INFO] crate yubihsm 0.19.2 is already in cache [INFO] extracting crate yubihsm 0.19.2 into work/ex/clippy-test-run/sources/stable/reg/yubihsm/0.19.2 [INFO] extracting crate yubihsm 0.19.2 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/yubihsm/0.19.2 [INFO] validating manifest of yubihsm-0.19.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 yubihsm-0.19.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 yubihsm-0.19.2 [INFO] finished frobbing yubihsm-0.19.2 [INFO] frobbed toml for yubihsm-0.19.2 written to work/ex/clippy-test-run/sources/stable/reg/yubihsm/0.19.2/Cargo.toml [INFO] started frobbing yubihsm-0.19.2 [INFO] finished frobbing yubihsm-0.19.2 [INFO] frobbed toml for yubihsm-0.19.2 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/yubihsm/0.19.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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dbl v0.2.1 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting yubihsm-0.19.2 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/yubihsm/0.19.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] a6f54783330be4850f2d112684c7b7d3a3f0fec8e2b4d55f1c022821d83dc7a0 [INFO] running `"docker" "start" "-a" "a6f54783330be4850f2d112684c7b7d3a3f0fec8e2b4d55f1c022821d83dc7a0"` [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking opaque-debug v0.2.2 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling zeroize v0.4.2 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking criterion-plot v0.3.0 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking dbl v0.2.1 [INFO] [stderr] Checking block-padding v0.1.3 [INFO] [stderr] Checking tinytemplate v1.0.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_pcg v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_os v0.1.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking block-buffer v0.7.2 [INFO] [stderr] Checking block-modes v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking hmac v0.7.0 [INFO] [stderr] Checking cmac v0.2.0 [INFO] [stderr] Checking aes v0.3.2 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking gaunt v0.1.0 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Checking csv v1.0.5 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking rayon v1.0.3 [INFO] [stderr] Checking uuid v0.7.2 [INFO] [stderr] Checking yubihsm v0.19.2 (/opt/crater/workdir) [INFO] [stderr] Checking criterion v0.2.9 [INFO] [stderr] error: You are using an explicit closure for cloning elements [INFO] [stderr] --> src/session/mod.rs:315:21 [INFO] [stderr] | [INFO] [stderr] 315 | .or_else(|| err.downcast_ref::<&str>().map(|m| *m)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: Consider calling the dedicated `cloned` method: `err.downcast_ref::<&str>().cloned()` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | #![deny(warnings, missing_docs, trivial_casts, trivial_numeric_casts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::map_clone)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `yubihsm`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: You are using an explicit closure for cloning elements [INFO] [stderr] --> src/session/mod.rs:315:21 [INFO] [stderr] | [INFO] [stderr] 315 | .or_else(|| err.downcast_ref::<&str>().map(|m| *m)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: Consider calling the dedicated `cloned` method: `err.downcast_ref::<&str>().cloned()` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | #![deny(warnings, missing_docs, trivial_casts, trivial_numeric_casts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::map_clone)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `yubihsm`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a6f54783330be4850f2d112684c7b7d3a3f0fec8e2b4d55f1c022821d83dc7a0"` [INFO] running `"docker" "rm" "-f" "a6f54783330be4850f2d112684c7b7d3a3f0fec8e2b4d55f1c022821d83dc7a0"` [INFO] [stdout] a6f54783330be4850f2d112684c7b7d3a3f0fec8e2b4d55f1c022821d83dc7a0