[INFO] crate kronos 0.1.0 is already in cache [INFO] extracting crate kronos 0.1.0 into work/ex/clippy-test-run/sources/stable/reg/kronos/0.1.0 [INFO] extracting crate kronos 0.1.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/kronos/0.1.0 [INFO] validating manifest of kronos-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 kronos-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 kronos-0.1.0 [INFO] finished frobbing kronos-0.1.0 [INFO] frobbed toml for kronos-0.1.0 written to work/ex/clippy-test-run/sources/stable/reg/kronos/0.1.0/Cargo.toml [INFO] started frobbing kronos-0.1.0 [INFO] finished frobbing kronos-0.1.0 [INFO] frobbed toml for kronos-0.1.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/kronos/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 kronos-0.1.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-6/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/kronos/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" "-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] a41ed5699aad0987d49c7420d4be18c16973d994707c41a27aeefc57abec5c82 [INFO] running `"docker" "start" "-a" "a41ed5699aad0987d49c7420d4be18c16973d994707c41a27aeefc57abec5c82"` [INFO] [stderr] Checking kronos v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error: this boolean expression can be simplified [INFO] [stderr] --> src/seq_union.rs:37:16 [INFO] [stderr] | [INFO] [stderr] 37 | if (anext.start <= bnext.start && future) || [INFO] [stderr] | ________________^ [INFO] [stderr] 38 | | (anext.start > bnext.start && !future) { [INFO] [stderr] | |_____________________________________________________^ help: try: `anext.start <= bnext.start && future || anext.start > bnext.start && !future` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/seq_union.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::nonminimal_bool)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stderr] [INFO] [stderr] error: redundant closure found [INFO] [stderr] --> src/seq_func.rs:15:52 [INFO] [stderr] | [INFO] [stderr] 15 | Box::new(self.0._future_raw(t0).filter_map(move |x| f(x))) [INFO] [stderr] | ^^^^^^^^^^^^^ help: remove closure as shown: `f` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/seq_func.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::redundant_closure)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] error: redundant closure found [INFO] [stderr] --> src/seq_func.rs:20:50 [INFO] [stderr] | [INFO] [stderr] 20 | Box::new(self.0._past_raw(t0).filter_map(move |x| f(x))) [INFO] [stderr] | ^^^^^^^^^^^^^ help: remove closure as shown: `f` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `kronos`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: this boolean expression can be simplified [INFO] [stderr] --> src/seq_union.rs:37:16 [INFO] [stderr] | [INFO] [stderr] 37 | if (anext.start <= bnext.start && future) || [INFO] [stderr] | ________________^ [INFO] [stderr] 38 | | (anext.start > bnext.start && !future) { [INFO] [stderr] | |_____________________________________________________^ help: try: `anext.start <= bnext.start && future || anext.start > bnext.start && !future` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/seq_union.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::nonminimal_bool)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stderr] [INFO] [stderr] error: redundant closure found [INFO] [stderr] --> src/seq_func.rs:15:52 [INFO] [stderr] | [INFO] [stderr] 15 | Box::new(self.0._future_raw(t0).filter_map(move |x| f(x))) [INFO] [stderr] | ^^^^^^^^^^^^^ help: remove closure as shown: `f` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/seq_func.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::redundant_closure)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] error: redundant closure found [INFO] [stderr] --> src/seq_func.rs:20:50 [INFO] [stderr] | [INFO] [stderr] 20 | Box::new(self.0._past_raw(t0).filter_map(move |x| f(x))) [INFO] [stderr] | ^^^^^^^^^^^^^ help: remove closure as shown: `f` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `kronos`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a41ed5699aad0987d49c7420d4be18c16973d994707c41a27aeefc57abec5c82"` [INFO] running `"docker" "rm" "-f" "a41ed5699aad0987d49c7420d4be18c16973d994707c41a27aeefc57abec5c82"` [INFO] [stdout] a41ed5699aad0987d49c7420d4be18c16973d994707c41a27aeefc57abec5c82