[INFO] crate cranelift-codegen 0.25.0 is already in cache [INFO] extracting crate cranelift-codegen 0.25.0 into work/ex/clippy-test-run/sources/stable/reg/cranelift-codegen/0.25.0 [INFO] extracting crate cranelift-codegen 0.25.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/cranelift-codegen/0.25.0 [INFO] validating manifest of cranelift-codegen-0.25.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 cranelift-codegen-0.25.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 cranelift-codegen-0.25.0 [INFO] finished frobbing cranelift-codegen-0.25.0 [INFO] frobbed toml for cranelift-codegen-0.25.0 written to work/ex/clippy-test-run/sources/stable/reg/cranelift-codegen/0.25.0/Cargo.toml [INFO] started frobbing cranelift-codegen-0.25.0 [INFO] finished frobbing cranelift-codegen-0.25.0 [INFO] frobbed toml for cranelift-codegen-0.25.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/cranelift-codegen/0.25.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 cranelift-codegen-0.25.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-1/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/cranelift-codegen/0.25.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] 163637f1ef6fa116932707a78ef083d30f4d940a727d7bd64982a5192f088732 [INFO] running `"docker" "start" "-a" "163637f1ef6fa116932707a78ef083d30f4d940a727d7bd64982a5192f088732"` [INFO] [stderr] Compiling cranelift-codegen v0.25.0 (/opt/crater/workdir) [INFO] [stderr] warning: lint name `while_let_loop` 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:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | while_let_loop, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: change it to: `clippy::while_let_loop` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `needless_lifetimes` 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:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | needless_lifetimes, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::needless_lifetimes` [INFO] [stderr] [INFO] [stderr] warning: lint name `many_single_char_names` 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:16:17 [INFO] [stderr] | [INFO] [stderr] 16 | many_single_char_names, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::many_single_char_names` [INFO] [stderr] [INFO] [stderr] warning: lint name `identity_op` 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:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | identity_op, [INFO] [stderr] | ^^^^^^^^^^^ help: change it to: `clippy::identity_op` [INFO] [stderr] [INFO] [stderr] warning: lint name `needless_borrow` 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:18:17 [INFO] [stderr] | [INFO] [stderr] 18 | needless_borrow, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::needless_borrow` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_lossless` 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:19:17 [INFO] [stderr] | [INFO] [stderr] 19 | cast_lossless, [INFO] [stderr] | ^^^^^^^^^^^^^ help: change it to: `clippy::cast_lossless` [INFO] [stderr] [INFO] [stderr] warning: lint name `unreadable_literal` 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:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | unreadable_literal, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::unreadable_literal` [INFO] [stderr] [INFO] [stderr] warning: lint name `assign_op_pattern` 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:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | assign_op_pattern, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change it to: `clippy::assign_op_pattern` [INFO] [stderr] [INFO] [stderr] warning: lint name `empty_line_after_outer_attr` 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:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | empty_line_after_outer_attr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::empty_line_after_outer_attr` [INFO] [stderr] [INFO] [stderr] warning: lint name `cyclomatic_complexity` 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:24:17 [INFO] [stderr] | [INFO] [stderr] 24 | cyclomatic_complexity, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cyclomatic_complexity` [INFO] [stderr] [INFO] [stderr] warning: lint name `too_many_arguments` 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:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | too_many_arguments, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::too_many_arguments` [INFO] [stderr] [INFO] [stderr] warning: lint name `match_same_arms` 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:27:17 [INFO] [stderr] | [INFO] [stderr] 27 | match_same_arms, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::match_same_arms` [INFO] [stderr] [INFO] [stderr] warning: lint name `new_without_default` 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:29:17 [INFO] [stderr] | [INFO] [stderr] 29 | new_without_default, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::new_without_default` [INFO] [stderr] [INFO] [stderr] warning: lint name `new_without_default_derive` 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:30:17 [INFO] [stderr] | [INFO] [stderr] 30 | new_without_default_derive, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::new_without_default_derive` [INFO] [stderr] [INFO] [stderr] warning: lint name `should_implement_trait` 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:31:17 [INFO] [stderr] | [INFO] [stderr] 31 | should_implement_trait, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::should_implement_trait` [INFO] [stderr] [INFO] [stderr] warning: lint name `len_without_is_empty` 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:32:17 [INFO] [stderr] | [INFO] [stderr] 32 | len_without_is_empty))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::len_without_is_empty` [INFO] [stderr] [INFO] [stderr] warning: lint name `float_arithmetic` 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:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | float_arithmetic, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: change it to: `clippy::float_arithmetic` [INFO] [stderr] [INFO] [stderr] warning: lint name `mut_mut` 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:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | mut_mut, [INFO] [stderr] | ^^^^^^^ help: change it to: `clippy::mut_mut` [INFO] [stderr] [INFO] [stderr] warning: lint name `nonminimal_bool` 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:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | nonminimal_bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::nonminimal_bool` [INFO] [stderr] [INFO] [stderr] warning: lint name `option_map_unwrap_or` 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:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | option_map_unwrap_or, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::option_map_unwrap_or` [INFO] [stderr] [INFO] [stderr] warning: lint name `option_map_unwrap_or_else` 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:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | option_map_unwrap_or_else, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::option_map_unwrap_or_else` [INFO] [stderr] [INFO] [stderr] warning: lint name `print_stdout` 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:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | print_stdout, [INFO] [stderr] | ^^^^^^^^^^^^ help: change it to: `clippy::print_stdout` [INFO] [stderr] [INFO] [stderr] warning: lint name `unicode_not_nfc` 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:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | unicode_not_nfc, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::unicode_not_nfc` [INFO] [stderr] [INFO] [stderr] warning: lint name `use_self` 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:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | use_self [INFO] [stderr] | ^^^^^^^^ help: change it to: `clippy::use_self` [INFO] [stderr] [INFO] [stderr] warning: lint name `while_let_loop` 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:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | while_let_loop, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: change it to: `clippy::while_let_loop` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `needless_lifetimes` 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:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | needless_lifetimes, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::needless_lifetimes` [INFO] [stderr] [INFO] [stderr] warning: lint name `many_single_char_names` 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:16:17 [INFO] [stderr] | [INFO] [stderr] 16 | many_single_char_names, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::many_single_char_names` [INFO] [stderr] [INFO] [stderr] warning: lint name `identity_op` 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:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | identity_op, [INFO] [stderr] | ^^^^^^^^^^^ help: change it to: `clippy::identity_op` [INFO] [stderr] [INFO] [stderr] warning: lint name `needless_borrow` 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:18:17 [INFO] [stderr] | [INFO] [stderr] 18 | needless_borrow, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::needless_borrow` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_lossless` 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:19:17 [INFO] [stderr] | [INFO] [stderr] 19 | cast_lossless, [INFO] [stderr] | ^^^^^^^^^^^^^ help: change it to: `clippy::cast_lossless` [INFO] [stderr] [INFO] [stderr] warning: lint name `unreadable_literal` 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:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | unreadable_literal, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::unreadable_literal` [INFO] [stderr] [INFO] [stderr] warning: lint name `assign_op_pattern` 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:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | assign_op_pattern, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change it to: `clippy::assign_op_pattern` [INFO] [stderr] [INFO] [stderr] warning: lint name `empty_line_after_outer_attr` 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:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | empty_line_after_outer_attr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::empty_line_after_outer_attr` [INFO] [stderr] [INFO] [stderr] warning: lint name `cyclomatic_complexity` 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:24:17 [INFO] [stderr] | [INFO] [stderr] 24 | cyclomatic_complexity, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cyclomatic_complexity` [INFO] [stderr] [INFO] [stderr] warning: lint name `too_many_arguments` 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:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | too_many_arguments, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::too_many_arguments` [INFO] [stderr] [INFO] [stderr] warning: lint name `match_same_arms` 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:27:17 [INFO] [stderr] | [INFO] [stderr] 27 | match_same_arms, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::match_same_arms` [INFO] [stderr] [INFO] [stderr] warning: lint name `new_without_default` 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:29:17 [INFO] [stderr] | [INFO] [stderr] 29 | new_without_default, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::new_without_default` [INFO] [stderr] [INFO] [stderr] warning: lint name `new_without_default_derive` 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:30:17 [INFO] [stderr] | [INFO] [stderr] 30 | new_without_default_derive, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::new_without_default_derive` [INFO] [stderr] [INFO] [stderr] warning: lint name `should_implement_trait` 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:31:17 [INFO] [stderr] | [INFO] [stderr] 31 | should_implement_trait, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::should_implement_trait` [INFO] [stderr] [INFO] [stderr] warning: lint name `len_without_is_empty` 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:32:17 [INFO] [stderr] | [INFO] [stderr] 32 | len_without_is_empty))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::len_without_is_empty` [INFO] [stderr] [INFO] [stderr] warning: lint name `float_arithmetic` 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:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | float_arithmetic, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: change it to: `clippy::float_arithmetic` [INFO] [stderr] [INFO] [stderr] warning: lint name `mut_mut` 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:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | mut_mut, [INFO] [stderr] | ^^^^^^^ help: change it to: `clippy::mut_mut` [INFO] [stderr] [INFO] [stderr] warning: lint name `nonminimal_bool` 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:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | nonminimal_bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::nonminimal_bool` [INFO] [stderr] [INFO] [stderr] warning: lint name `option_map_unwrap_or` 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:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | option_map_unwrap_or, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::option_map_unwrap_or` [INFO] [stderr] [INFO] [stderr] warning: lint name `option_map_unwrap_or_else` 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:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | option_map_unwrap_or_else, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::option_map_unwrap_or_else` [INFO] [stderr] [INFO] [stderr] warning: lint name `print_stdout` 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:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | print_stdout, [INFO] [stderr] | ^^^^^^^^^^^^ help: change it to: `clippy::print_stdout` [INFO] [stderr] [INFO] [stderr] warning: lint name `unicode_not_nfc` 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:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | unicode_not_nfc, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::unicode_not_nfc` [INFO] [stderr] [INFO] [stderr] warning: lint name `use_self` 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:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | use_self [INFO] [stderr] | ^^^^^^^^ help: change it to: `clippy::use_self` [INFO] [stderr] [INFO] [stderr] warning: lint name `while_let_loop` 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:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | while_let_loop, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: change it to: `clippy::while_let_loop` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_ptr_alignment` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/binemit/memorysink.rs:92:56 [INFO] [stderr] | [INFO] [stderr] 92 | #[cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cast_ptr_alignment` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_ptr_alignment` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/binemit/memorysink.rs:100:56 [INFO] [stderr] | [INFO] [stderr] 100 | #[cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cast_ptr_alignment` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_ptr_alignment` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/binemit/memorysink.rs:108:56 [INFO] [stderr] | [INFO] [stderr] 108 | #[cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cast_ptr_alignment` [INFO] [stderr] [INFO] [stderr] warning: lint name `match_wild_err_arm` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/cursor.rs:754:52 [INFO] [stderr] | [INFO] [stderr] 754 | #[cfg_attr(feature = "cargo-clippy", allow(match_wild_err_arm))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::match_wild_err_arm` [INFO] [stderr] [INFO] [stderr] warning: lint name `block_in_if_condition_stmt` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/licm.rs:194:52 [INFO] [stderr] | [INFO] [stderr] 194 | #[cfg_attr(feature = "cargo-clippy", allow(block_in_if_condition_stmt))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::block_in_if_condition_stmt` [INFO] [stderr] [INFO] [stderr] warning: lint name `trivially_copy_pass_by_ref` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/regalloc/virtregs.rs:100:48 [INFO] [stderr] | [INFO] [stderr] 100 | #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::trivially_copy_pass_by_ref` [INFO] [stderr] [INFO] [stderr] warning: lint name `wrong_self_convention` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/regalloc/solver.rs:297:48 [INFO] [stderr] | [INFO] [stderr] 297 | #[cfg_attr(feature = "cargo-clippy", allow(wrong_self_convention))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::wrong_self_convention` [INFO] [stderr] [INFO] [stderr] warning: lint name `while_let_loop` 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:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | while_let_loop, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: change it to: `clippy::while_let_loop` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_ptr_alignment` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/binemit/memorysink.rs:92:56 [INFO] [stderr] | [INFO] [stderr] 92 | #[cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cast_ptr_alignment` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_ptr_alignment` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/binemit/memorysink.rs:100:56 [INFO] [stderr] | [INFO] [stderr] 100 | #[cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cast_ptr_alignment` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_ptr_alignment` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/binemit/memorysink.rs:108:56 [INFO] [stderr] | [INFO] [stderr] 108 | #[cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cast_ptr_alignment` [INFO] [stderr] [INFO] [stderr] warning: lint name `match_wild_err_arm` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/cursor.rs:754:52 [INFO] [stderr] | [INFO] [stderr] 754 | #[cfg_attr(feature = "cargo-clippy", allow(match_wild_err_arm))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::match_wild_err_arm` [INFO] [stderr] [INFO] [stderr] warning: inconsistent casing in hexadecimal literal [INFO] [stderr] --> src/divconst_magic_numbers.rs:380:23 [INFO] [stderr] | [INFO] [stderr] 380 | magicS64(-0x0ddC0ffeeBadF00di64), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::mixed_case_hex_literals)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mixed_case_hex_literals [INFO] [stderr] [INFO] [stderr] warning: inconsistent casing in hexadecimal literal [INFO] [stderr] --> src/divconst_magic_numbers.rs:404:23 [INFO] [stderr] | [INFO] [stderr] 404 | magicS64(-0xDeadBeefi64), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mixed_case_hex_literals [INFO] [stderr] [INFO] [stderr] warning: lint name `block_in_if_condition_stmt` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/licm.rs:194:52 [INFO] [stderr] | [INFO] [stderr] 194 | #[cfg_attr(feature = "cargo-clippy", allow(block_in_if_condition_stmt))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::block_in_if_condition_stmt` [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/regalloc/liverange.rs:547:16 [INFO] [stderr] | [INFO] [stderr] 547 | const PO: &'static ProgOrder = &ProgOrder {}; [INFO] [stderr] | -^^^^^^^---------- help: consider removing `'static`: `&ProgOrder` [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: lint name `trivially_copy_pass_by_ref` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/regalloc/virtregs.rs:100:48 [INFO] [stderr] | [INFO] [stderr] 100 | #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::trivially_copy_pass_by_ref` [INFO] [stderr] [INFO] [stderr] warning: lint name `wrong_self_convention` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/regalloc/solver.rs:297:48 [INFO] [stderr] | [INFO] [stderr] 297 | #[cfg_attr(feature = "cargo-clippy", allow(wrong_self_convention))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::wrong_self_convention` [INFO] [stderr] [INFO] [stderr] warning: unnecessary structure name repetition [INFO] [stderr] --> src/ir/instructions.rs:78:45 [INFO] [stderr] | [INFO] [stderr] 78 | impl<'a> Table<&'a str> for [Option] { [INFO] [stderr] | ^^^^^^ help: use the applicable keyword: `Self` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | use_self [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self [INFO] [stderr] [INFO] [stderr] warning: unnecessary structure name repetition [INFO] [stderr] --> src/timing.rs:143:13 [INFO] [stderr] | [INFO] [stderr] 143 | PassTimes { [INFO] [stderr] | ^^^^^^^^^ help: use the applicable keyword: `Self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/licm.rs:72:70 [INFO] [stderr] | [INFO] [stderr] 72 | let header_args_values: Vec = func.dfg.ebb_params(header).into_iter().cloned().collect(); [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::into_iter_on_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: The function/method `recompute_ebb` doesn't need a mutable reference [INFO] [stderr] --> src/flowgraph.rs:312:27 [INFO] [stderr] | [INFO] [stderr] 312 | cfg.recompute_ebb(&mut func, ebb0); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unnecessary_mut_passed)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/ir/immediates.rs:904:13 [INFO] [stderr] | [INFO] [stderr] 904 | / assert_eq!(-((1u32 << (n - 1)) as f32) - 1.0, unsafe { [INFO] [stderr] 905 | | mem::transmute(Ieee32::fcvt_to_sint_negative_overflow(*n)) [INFO] [stderr] 906 | | }); [INFO] [stderr] | |_______________^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::float_cmp)] on by default [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/ir/immediates.rs:904:13 [INFO] [stderr] | [INFO] [stderr] 904 | / assert_eq!(-((1u32 << (n - 1)) as f32) - 1.0, unsafe { [INFO] [stderr] 905 | | mem::transmute(Ieee32::fcvt_to_sint_negative_overflow(*n)) [INFO] [stderr] 906 | | }); [INFO] [stderr] | |_______________^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/ir/immediates.rs:1042:13 [INFO] [stderr] | [INFO] [stderr] 1042 | / assert_eq!(-((1u64 << (n - 1)) as f64) - 1.0, unsafe { [INFO] [stderr] 1043 | | mem::transmute(Ieee64::fcvt_to_sint_negative_overflow(*n)) [INFO] [stderr] 1044 | | }); [INFO] [stderr] | |_______________^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/ir/immediates.rs:1042:13 [INFO] [stderr] | [INFO] [stderr] 1042 | / assert_eq!(-((1u64 << (n - 1)) as f64) - 1.0, unsafe { [INFO] [stderr] 1043 | | mem::transmute(Ieee64::fcvt_to_sint_negative_overflow(*n)) [INFO] [stderr] 1044 | | }); [INFO] [stderr] | |_______________^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary structure name repetition [INFO] [stderr] --> src/ir/instructions.rs:78:45 [INFO] [stderr] | [INFO] [stderr] 78 | impl<'a> Table<&'a str> for [Option] { [INFO] [stderr] | ^^^^^^ help: use the applicable keyword: `Self` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | use_self [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/ir/layout.rs:820:35 [INFO] [stderr] | [INFO] [stderr] 820 | for &(ebb, insts) in ebbs.into_iter().rev() { [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::into_iter_on_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/ir/layout.rs:822:32 [INFO] [stderr] | [INFO] [stderr] 822 | for &inst in insts.into_iter().rev() { [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: unnecessary structure name repetition [INFO] [stderr] --> src/timing.rs:143:13 [INFO] [stderr] | [INFO] [stderr] 143 | PassTimes { [INFO] [stderr] | ^^^^^^^^^ help: use the applicable keyword: `Self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/licm.rs:72:70 [INFO] [stderr] | [INFO] [stderr] 72 | let header_args_values: Vec = func.dfg.ebb_params(header).into_iter().cloned().collect(); [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: unnecessary structure name repetition [INFO] [stderr] --> src/regalloc/liverange.rs:512:46 [INFO] [stderr] | [INFO] [stderr] 512 | fn validate(&self, lr: &GenLiveRange, forest: &bforest::MapForest) { [INFO] [stderr] | ^^^^^^^^^ help: use the applicable keyword: `Self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#use_self [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `cranelift-codegen`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "163637f1ef6fa116932707a78ef083d30f4d940a727d7bd64982a5192f088732"` [INFO] running `"docker" "rm" "-f" "163637f1ef6fa116932707a78ef083d30f4d940a727d7bd64982a5192f088732"` [INFO] [stdout] 163637f1ef6fa116932707a78ef083d30f4d940a727d7bd64982a5192f088732