[INFO] crate enumx_derive 0.2.0 is already in cache [INFO] extracting crate enumx_derive 0.2.0 into work/ex/clippy-test-run/sources/stable/reg/enumx_derive/0.2.0 [INFO] extracting crate enumx_derive 0.2.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/enumx_derive/0.2.0 [INFO] validating manifest of enumx_derive-0.2.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 enumx_derive-0.2.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 enumx_derive-0.2.0 [INFO] finished frobbing enumx_derive-0.2.0 [INFO] frobbed toml for enumx_derive-0.2.0 written to work/ex/clippy-test-run/sources/stable/reg/enumx_derive/0.2.0/Cargo.toml [INFO] started frobbing enumx_derive-0.2.0 [INFO] finished frobbing enumx_derive-0.2.0 [INFO] frobbed toml for enumx_derive-0.2.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/enumx_derive/0.2.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 enumx_derive-0.2.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-7/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/enumx_derive/0.2.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] 6dc3168bb1128a969666d44c09211e5a757dd6ea1d55718d7579e677c34be4f1 [INFO] running `"docker" "start" "-a" "6dc3168bb1128a969666d44c09211e5a757dd6ea1d55718d7579e677c34be4f1"` [INFO] [stderr] Checking syn v0.15.26 [INFO] [stderr] Checking enumx_derive v0.2.0 (/opt/crater/workdir) [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> src/lib.rs:49:125 [INFO] [stderr] | [INFO] [stderr] 49 | let ( impl_generics_fx, ty_generics_fx, where_clause_fx ) = ( impl_generics_ex.clone(), ty_generics_ex.clone(), where_clause_ex.clone() ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `where_clause_ex` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::clone_on_copy)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> src/lib.rs:50:125 [INFO] [stderr] | [INFO] [stderr] 50 | let ( impl_generics_tx, ty_generics_tx, where_clause_tx ) = ( impl_generics_fx.clone(), ty_generics_fx.clone(), where_clause_fx.clone() ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `where_clause_fx` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> src/lib.rs:51:81 [INFO] [stderr] | [INFO] [stderr] 51 | let ( ty_generics_fv, where_clause_fv ) = ( ty_generics_fx.clone(), where_clause_fx.clone() ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `where_clause_fx` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> src/lib.rs:49:125 [INFO] [stderr] | [INFO] [stderr] 49 | let ( impl_generics_fx, ty_generics_fx, where_clause_fx ) = ( impl_generics_ex.clone(), ty_generics_ex.clone(), where_clause_ex.clone() ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `where_clause_ex` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::clone_on_copy)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> src/lib.rs:50:125 [INFO] [stderr] | [INFO] [stderr] 50 | let ( impl_generics_tx, ty_generics_tx, where_clause_tx ) = ( impl_generics_fx.clone(), ty_generics_fx.clone(), where_clause_fx.clone() ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `where_clause_fx` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] warning: using `clone` on a `Copy` type [INFO] [stderr] --> src/lib.rs:51:81 [INFO] [stderr] | [INFO] [stderr] 51 | let ( ty_generics_fv, where_clause_fv ) = ( ty_generics_fx.clone(), where_clause_fx.clone() ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `where_clause_fx` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stderr] [INFO] [stderr] error: for loop over `$ single`, which is an `Option`. This is more readably written as an `if let` statement. [INFO] [stderr] --> src/lib.rs:59:28 [INFO] [stderr] | [INFO] [stderr] 59 | let expanded = quote! { [INFO] [stderr] | ____________________________^ [INFO] [stderr] 60 | | impl #impl_generics_ex Exchange for #name_ex #ty_generics_ex #where_clause_ex { [INFO] [stderr] 61 | | type EnumX = #enumx_ex #ty_generics_ex; [INFO] [stderr] 62 | | } [INFO] [stderr] ... | [INFO] [stderr] 88 | | } [INFO] [stderr] 89 | | }; [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::for_loop_over_option)] on by default [INFO] [stderr] = help: consider replacing `for $ first in $ single` with `if let Some($ first) = $ single` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#for_loop_over_option [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: for loop over `$ single`, which is an `Option`. This is more readably written as an `if let` statement. [INFO] [stderr] --> src/lib.rs:59:28 [INFO] [stderr] | [INFO] [stderr] 59 | let expanded = quote! { [INFO] [stderr] | ____________________________^ [INFO] [stderr] 60 | | impl #impl_generics_ex Exchange for #name_ex #ty_generics_ex #where_clause_ex { [INFO] [stderr] 61 | | type EnumX = #enumx_ex #ty_generics_ex; [INFO] [stderr] 62 | | } [INFO] [stderr] ... | [INFO] [stderr] 88 | | } [INFO] [stderr] 89 | | }; [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::for_loop_over_option)] on by default [INFO] [stderr] = help: consider replacing `for $ first in $ single` with `if let Some($ first) = $ single` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#for_loop_over_option [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: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `enumx_derive`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `enumx_derive`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6dc3168bb1128a969666d44c09211e5a757dd6ea1d55718d7579e677c34be4f1"` [INFO] running `"docker" "rm" "-f" "6dc3168bb1128a969666d44c09211e5a757dd6ea1d55718d7579e677c34be4f1"` [INFO] [stdout] 6dc3168bb1128a969666d44c09211e5a757dd6ea1d55718d7579e677c34be4f1