[INFO] crate threshold_crypto 0.2.1 is already in cache [INFO] extracting crate threshold_crypto 0.2.1 into work/ex/clippy-test-run/sources/stable/reg/threshold_crypto/0.2.1 [INFO] extracting crate threshold_crypto 0.2.1 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/threshold_crypto/0.2.1 [INFO] validating manifest of threshold_crypto-0.2.1 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 threshold_crypto-0.2.1 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 threshold_crypto-0.2.1 [INFO] finished frobbing threshold_crypto-0.2.1 [INFO] frobbed toml for threshold_crypto-0.2.1 written to work/ex/clippy-test-run/sources/stable/reg/threshold_crypto/0.2.1/Cargo.toml [INFO] started frobbing threshold_crypto-0.2.1 [INFO] finished frobbing threshold_crypto-0.2.1 [INFO] frobbed toml for threshold_crypto-0.2.1 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/threshold_crypto/0.2.1/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 threshold_crypto-0.2.1 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/threshold_crypto/0.2.1:/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] b824c9d8d785320ee5fbfc78231d01059bbd297fc85d139104e012590a59588d [INFO] running `"docker" "start" "-a" "b824c9d8d785320ee5fbfc78231d01059bbd297fc85d139104e012590a59588d"` [INFO] [stderr] Compiling memsec v0.5.4 [INFO] [stderr] Checking init_with v1.1.0 [INFO] [stderr] Checking hex_fmt v0.2.0 [INFO] [stderr] Compiling rand_derive v0.3.1 [INFO] [stderr] Checking pairing v0.14.2 [INFO] [stderr] Checking criterion v0.2.9 [INFO] [stderr] Checking threshold_crypto v0.2.1 (/opt/crater/workdir) [INFO] [stderr] warning: lint name `derive_hash_xor_eq` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:3:45 [INFO] [stderr] | [INFO] [stderr] 3 | #![cfg_attr(feature = "cargo-clippy", allow(derive_hash_xor_eq))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::derive_hash_xor_eq` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `derive_hash_xor_eq` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:3:45 [INFO] [stderr] | [INFO] [stderr] 3 | #![cfg_attr(feature = "cargo-clippy", allow(derive_hash_xor_eq))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::derive_hash_xor_eq` [INFO] [stderr] [INFO] [stderr] warning: lint name `suspicious_op_assign_impl` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/poly.rs:55:44 [INFO] [stderr] | [INFO] [stderr] 55 | #[cfg_attr(feature = "cargo-clippy", allow(suspicious_op_assign_impl))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::suspicious_op_assign_impl` [INFO] [stderr] [INFO] [stderr] warning: lint name `suspicious_arithmetic_impl` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/poly.rs:141:44 [INFO] [stderr] | [INFO] [stderr] 141 | #[cfg_attr(feature = "cargo-clippy", allow(suspicious_arithmetic_impl))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::suspicious_arithmetic_impl` [INFO] [stderr] [INFO] [stderr] warning: lint name `suspicious_arithmetic_impl` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/poly.rs:160:44 [INFO] [stderr] | [INFO] [stderr] 160 | #[cfg_attr(feature = "cargo-clippy", allow(suspicious_arithmetic_impl))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::suspicious_arithmetic_impl` [INFO] [stderr] [INFO] [stderr] warning: lint name `derive_hash_xor_eq` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:3:45 [INFO] [stderr] | [INFO] [stderr] 3 | #![cfg_attr(feature = "cargo-clippy", allow(derive_hash_xor_eq))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::derive_hash_xor_eq` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `derive_hash_xor_eq` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:3:45 [INFO] [stderr] | [INFO] [stderr] 3 | #![cfg_attr(feature = "cargo-clippy", allow(derive_hash_xor_eq))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::derive_hash_xor_eq` [INFO] [stderr] [INFO] [stderr] warning: lint name `suspicious_op_assign_impl` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/poly.rs:55:44 [INFO] [stderr] | [INFO] [stderr] 55 | #[cfg_attr(feature = "cargo-clippy", allow(suspicious_op_assign_impl))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::suspicious_op_assign_impl` [INFO] [stderr] [INFO] [stderr] warning: lint name `suspicious_arithmetic_impl` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/poly.rs:141:44 [INFO] [stderr] | [INFO] [stderr] 141 | #[cfg_attr(feature = "cargo-clippy", allow(suspicious_arithmetic_impl))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::suspicious_arithmetic_impl` [INFO] [stderr] [INFO] [stderr] warning: lint name `suspicious_arithmetic_impl` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/poly.rs:160:44 [INFO] [stderr] | [INFO] [stderr] 160 | #[cfg_attr(feature = "cargo-clippy", allow(suspicious_arithmetic_impl))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::suspicious_arithmetic_impl` [INFO] [stderr] [INFO] [stderr] error: this .into_iter() call is equivalent to .iter() and will not move the array [INFO] [stderr] --> src/poly.rs:758:43 [INFO] [stderr] | [INFO] [stderr] 758 | let coeff: Vec<_> = [-2, 1, 0, 5].into_iter().map(IntoFr::into_fr).collect(); [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::into_iter_on_array)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_array [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `threshold_crypto`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: an inclusive range would be more readable [INFO] [stderr] --> benches/bench.rs:105:49 [INFO] [stderr] | [INFO] [stderr] 105 | let mut sig_parts: Vec = (0..threshold + 1).collect(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use: `(0..=threshold)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::range_plus_one)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#range_plus_one [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "b824c9d8d785320ee5fbfc78231d01059bbd297fc85d139104e012590a59588d"` [INFO] running `"docker" "rm" "-f" "b824c9d8d785320ee5fbfc78231d01059bbd297fc85d139104e012590a59588d"` [INFO] [stdout] b824c9d8d785320ee5fbfc78231d01059bbd297fc85d139104e012590a59588d