[INFO] crate new_bitflags 0.1.0 is already in cache [INFO] extracting crate new_bitflags 0.1.0 into work/ex/clippy-test-run/sources/stable/reg/new_bitflags/0.1.0 [INFO] extracting crate new_bitflags 0.1.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/new_bitflags/0.1.0 [INFO] validating manifest of new_bitflags-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 new_bitflags-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 new_bitflags-0.1.0 [INFO] finished frobbing new_bitflags-0.1.0 [INFO] frobbed toml for new_bitflags-0.1.0 written to work/ex/clippy-test-run/sources/stable/reg/new_bitflags/0.1.0/Cargo.toml [INFO] started frobbing new_bitflags-0.1.0 [INFO] finished frobbing new_bitflags-0.1.0 [INFO] frobbed toml for new_bitflags-0.1.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/new_bitflags/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 new_bitflags-0.1.0 against stable+rustflags=-Dclippy::into_iter_on_array for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-3/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/new_bitflags/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 -Dclippy::into_iter_on_array" "-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] 333c148811f7cb3ae6711a37b3cac53a51b864d262a0bcbaa18c0bf4be3f266a [INFO] running `"docker" "start" "-a" "333c148811f7cb3ae6711a37b3cac53a51b864d262a0bcbaa18c0bf4be3f266a"` [INFO] [stderr] Checking new_bitflags v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error: you are deriving `Hash` but have implemented `PartialEq` explicitly [INFO] [stderr] --> tests/test_flags.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / new_bitflags!{ [INFO] [stderr] 4 | | pub flags Foo: u32 { [INFO] [stderr] 5 | | const alpha = 1 << 0; [INFO] [stderr] 6 | | const beta = 1 << 1; [INFO] [stderr] 7 | | const nothing = 0; [INFO] [stderr] 8 | | } [INFO] [stderr] 9 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::derive_hash_xor_eq)] on by default [INFO] [stderr] note: `PartialEq` implemented here [INFO] [stderr] --> tests/test_flags.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / new_bitflags!{ [INFO] [stderr] 4 | | pub flags Foo: u32 { [INFO] [stderr] 5 | | const alpha = 1 << 0; [INFO] [stderr] 6 | | const beta = 1 << 1; [INFO] [stderr] 7 | | const nothing = 0; [INFO] [stderr] 8 | | } [INFO] [stderr] 9 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_hash_xor_eq [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: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> tests/test_flags.rs:5:27 [INFO] [stderr] | [INFO] [stderr] 5 | const alpha = 1 << 0; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::identity_op)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> tests/test_flags.rs:5:27 [INFO] [stderr] | [INFO] [stderr] 5 | const alpha = 1 << 0; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: re-implementing `PartialEq::ne` is unnecessary [INFO] [stderr] --> tests/test_flags.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / new_bitflags!{ [INFO] [stderr] 4 | | pub flags Foo: u32 { [INFO] [stderr] 5 | | const alpha = 1 << 0; [INFO] [stderr] 6 | | const beta = 1 << 1; [INFO] [stderr] 7 | | const nothing = 0; [INFO] [stderr] 8 | | } [INFO] [stderr] 9 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::partialeq_ne_impl)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_ne_impl [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: re-implementing `PartialEq::ne` is unnecessary [INFO] [stderr] --> tests/test_flags.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / new_bitflags!{ [INFO] [stderr] 4 | | pub flags Foo: u32 { [INFO] [stderr] 5 | | const alpha = 1 << 0; [INFO] [stderr] 6 | | const beta = 1 << 1; [INFO] [stderr] 7 | | const nothing = 0; [INFO] [stderr] 8 | | } [INFO] [stderr] 9 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_ne_impl [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: you are deriving `Hash` but have implemented `PartialEq` explicitly [INFO] [stderr] --> tests/test_flags.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / new_bitflags!{ [INFO] [stderr] 12 | | #[allow(non_camel_case_types)] [INFO] [stderr] 13 | | flags test_attrs: u32 { [INFO] [stderr] 14 | | const alpha = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] note: `PartialEq` implemented here [INFO] [stderr] --> tests/test_flags.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / new_bitflags!{ [INFO] [stderr] 12 | | #[allow(non_camel_case_types)] [INFO] [stderr] 13 | | flags test_attrs: u32 { [INFO] [stderr] 14 | | const alpha = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_hash_xor_eq [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: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> tests/test_flags.rs:14:23 [INFO] [stderr] | [INFO] [stderr] 14 | const alpha = 1 << 0; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: re-implementing `PartialEq::ne` is unnecessary [INFO] [stderr] --> tests/test_flags.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / new_bitflags!{ [INFO] [stderr] 12 | | #[allow(non_camel_case_types)] [INFO] [stderr] 13 | | flags test_attrs: u32 { [INFO] [stderr] 14 | | const alpha = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_ne_impl [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: re-implementing `PartialEq::ne` is unnecessary [INFO] [stderr] --> tests/test_flags.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / new_bitflags!{ [INFO] [stderr] 12 | | #[allow(non_camel_case_types)] [INFO] [stderr] 13 | | flags test_attrs: u32 { [INFO] [stderr] 14 | | const alpha = 1 << 0; [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_ne_impl [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: you are deriving `Hash` but have implemented `PartialEq` explicitly [INFO] [stderr] --> tests/test_flags.rs:197:5 [INFO] [stderr] | [INFO] [stderr] 197 | / new_bitflags!{ [INFO] [stderr] 198 | | pub flags Foo: u32 { [INFO] [stderr] 199 | | const flag_a = 1 << 0; [INFO] [stderr] 200 | | const flag_b = 1 << 1; [INFO] [stderr] 201 | | const flag_c = 1 << 2; [INFO] [stderr] 202 | | } [INFO] [stderr] 203 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `PartialEq` implemented here [INFO] [stderr] --> tests/test_flags.rs:197:5 [INFO] [stderr] | [INFO] [stderr] 197 | / new_bitflags!{ [INFO] [stderr] 198 | | pub flags Foo: u32 { [INFO] [stderr] 199 | | const flag_a = 1 << 0; [INFO] [stderr] 200 | | const flag_b = 1 << 1; [INFO] [stderr] 201 | | const flag_c = 1 << 2; [INFO] [stderr] 202 | | } [INFO] [stderr] 203 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_hash_xor_eq [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: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> tests/test_flags.rs:199:28 [INFO] [stderr] | [INFO] [stderr] 199 | const flag_a = 1 << 0; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: re-implementing `PartialEq::ne` is unnecessary [INFO] [stderr] --> tests/test_flags.rs:197:5 [INFO] [stderr] | [INFO] [stderr] 197 | / new_bitflags!{ [INFO] [stderr] 198 | | pub flags Foo: u32 { [INFO] [stderr] 199 | | const flag_a = 1 << 0; [INFO] [stderr] 200 | | const flag_b = 1 << 1; [INFO] [stderr] 201 | | const flag_c = 1 << 2; [INFO] [stderr] 202 | | } [INFO] [stderr] 203 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_ne_impl [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: re-implementing `PartialEq::ne` is unnecessary [INFO] [stderr] --> tests/test_flags.rs:197:5 [INFO] [stderr] | [INFO] [stderr] 197 | / new_bitflags!{ [INFO] [stderr] 198 | | pub flags Foo: u32 { [INFO] [stderr] 199 | | const flag_a = 1 << 0; [INFO] [stderr] 200 | | const flag_b = 1 << 1; [INFO] [stderr] 201 | | const flag_c = 1 << 2; [INFO] [stderr] 202 | | } [INFO] [stderr] 203 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_ne_impl [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: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> tests/test_flags.rs:212:26 [INFO] [stderr] | [INFO] [stderr] 212 | pub fn is_flag_a(&self) -> bool { [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: you are deriving `Hash` but have implemented `PartialEq` explicitly [INFO] [stderr] --> tests/test_flags.rs:242:9 [INFO] [stderr] | [INFO] [stderr] 242 | / new_bitflags!{ [INFO] [stderr] 243 | | flags Bar: u32 { [INFO] [stderr] 244 | | const abc = 1; [INFO] [stderr] 245 | | } [INFO] [stderr] 246 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] note: `PartialEq` implemented here [INFO] [stderr] --> tests/test_flags.rs:242:9 [INFO] [stderr] | [INFO] [stderr] 242 | / new_bitflags!{ [INFO] [stderr] 243 | | flags Bar: u32 { [INFO] [stderr] 244 | | const abc = 1; [INFO] [stderr] 245 | | } [INFO] [stderr] 246 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_hash_xor_eq [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: re-implementing `PartialEq::ne` is unnecessary [INFO] [stderr] --> tests/test_flags.rs:242:9 [INFO] [stderr] | [INFO] [stderr] 242 | / new_bitflags!{ [INFO] [stderr] 243 | | flags Bar: u32 { [INFO] [stderr] 244 | | const abc = 1; [INFO] [stderr] 245 | | } [INFO] [stderr] 246 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_ne_impl [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: re-implementing `PartialEq::ne` is unnecessary [INFO] [stderr] --> tests/test_flags.rs:242:9 [INFO] [stderr] | [INFO] [stderr] 242 | / new_bitflags!{ [INFO] [stderr] 243 | | flags Bar: u32 { [INFO] [stderr] 244 | | const abc = 1; [INFO] [stderr] 245 | | } [INFO] [stderr] 246 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_ne_impl [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: you are deriving `Hash` but have implemented `PartialEq` explicitly [INFO] [stderr] --> tests/test_flags.rs:251:5 [INFO] [stderr] | [INFO] [stderr] 251 | / new_bitflags!{ [INFO] [stderr] 252 | | /// Document `Foo` [INFO] [stderr] 253 | | /// [INFO] [stderr] 254 | | /// Important stuff here. [INFO] [stderr] ... | [INFO] [stderr] 262 | | } [INFO] [stderr] 263 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `PartialEq` implemented here [INFO] [stderr] --> tests/test_flags.rs:251:5 [INFO] [stderr] | [INFO] [stderr] 251 | / new_bitflags!{ [INFO] [stderr] 252 | | /// Document `Foo` [INFO] [stderr] 253 | | /// [INFO] [stderr] 254 | | /// Important stuff here. [INFO] [stderr] ... | [INFO] [stderr] 262 | | } [INFO] [stderr] 263 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_hash_xor_eq [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: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> tests/test_flags.rs:257:23 [INFO] [stderr] | [INFO] [stderr] 257 | const a = 1 << 0; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: re-implementing `PartialEq::ne` is unnecessary [INFO] [stderr] --> tests/test_flags.rs:251:5 [INFO] [stderr] | [INFO] [stderr] 251 | / new_bitflags!{ [INFO] [stderr] 252 | | /// Document `Foo` [INFO] [stderr] 253 | | /// [INFO] [stderr] 254 | | /// Important stuff here. [INFO] [stderr] ... | [INFO] [stderr] 262 | | } [INFO] [stderr] 263 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_ne_impl [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: re-implementing `PartialEq::ne` is unnecessary [INFO] [stderr] --> tests/test_flags.rs:251:5 [INFO] [stderr] | [INFO] [stderr] 251 | / new_bitflags!{ [INFO] [stderr] 252 | | /// Document `Foo` [INFO] [stderr] 253 | | /// [INFO] [stderr] 254 | | /// Important stuff here. [INFO] [stderr] ... | [INFO] [stderr] 262 | | } [INFO] [stderr] 263 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_ne_impl [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 5 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `new_bitflags`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "333c148811f7cb3ae6711a37b3cac53a51b864d262a0bcbaa18c0bf4be3f266a"` [INFO] running `"docker" "rm" "-f" "333c148811f7cb3ae6711a37b3cac53a51b864d262a0bcbaa18c0bf4be3f266a"` [INFO] [stdout] 333c148811f7cb3ae6711a37b3cac53a51b864d262a0bcbaa18c0bf4be3f266a