[INFO] crate bigwise 0.4.0 is already in cache [INFO] extracting crate bigwise 0.4.0 into work/ex/clippy-test-run/sources/stable/reg/bigwise/0.4.0 [INFO] extracting crate bigwise 0.4.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/bigwise/0.4.0 [INFO] validating manifest of bigwise-0.4.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 bigwise-0.4.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 bigwise-0.4.0 [INFO] finished frobbing bigwise-0.4.0 [INFO] frobbed toml for bigwise-0.4.0 written to work/ex/clippy-test-run/sources/stable/reg/bigwise/0.4.0/Cargo.toml [INFO] started frobbing bigwise-0.4.0 [INFO] finished frobbing bigwise-0.4.0 [INFO] frobbed toml for bigwise-0.4.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/bigwise/0.4.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 bigwise-0.4.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-2/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/bigwise/0.4.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] 0067d2e8190dab9ba0191ee213a20a27c8c791a7b2303efe454472fdb4b4c85a [INFO] running `"docker" "start" "-a" "0067d2e8190dab9ba0191ee213a20a27c8c791a7b2303efe454472fdb4b4c85a"` [INFO] [stderr] Checking bigwise v0.4.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/bigwise.rs:169:20 [INFO] [stderr] | [INFO] [stderr] 169 | BitsIter { bw: bw, idx: 0 } [INFO] [stderr] | ^^^^^^ help: replace it with: `bw` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/bigwise.rs:169:20 [INFO] [stderr] | [INFO] [stderr] 169 | BitsIter { bw: bw, idx: 0 } [INFO] [stderr] | ^^^^^^ help: replace it with: `bw` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: casting u8 to u64 may become silently lossy if types change [INFO] [stderr] --> src/bw64.rs:31:20 [INFO] [stderr] | [INFO] [stderr] 31 | val |= (b as u64) << (8*i); [INFO] [stderr] | ^^^^^^^^^^ help: try: `u64::from(b)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: handle written amount returned or use `Write::write_all` instead [INFO] [stderr] --> examples/rule_110.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | f.write(&*state.to_bytes()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::unused_io_amount)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `bigwise`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: casting u8 to u64 may become silently lossy if types change [INFO] [stderr] --> src/bw64.rs:31:20 [INFO] [stderr] | [INFO] [stderr] 31 | val |= (b as u64) << (8*i); [INFO] [stderr] | ^^^^^^^^^^ help: try: `u64::from(b)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: equality checks against false can be replaced by a negation [INFO] [stderr] --> src/tests.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | assert!(x.get(i) == false); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `!x.get(i)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::bool_comparison)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/tests.rs:37:17 [INFO] [stderr] | [INFO] [stderr] 37 | assert!(x.get(i) == true); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `x.get(i)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against false can be replaced by a negation [INFO] [stderr] --> src/tests.rs:49:17 [INFO] [stderr] | [INFO] [stderr] 49 | assert!(x.get(i) == false); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `!x.get(i)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/tests.rs:51:17 [INFO] [stderr] | [INFO] [stderr] 51 | assert!(x.get(i) == true); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `x.get(i)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against false can be replaced by a negation [INFO] [stderr] --> src/tests.rs:53:17 [INFO] [stderr] | [INFO] [stderr] 53 | assert!(x.get(i) == false); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `!x.get(i)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "0067d2e8190dab9ba0191ee213a20a27c8c791a7b2303efe454472fdb4b4c85a"` [INFO] running `"docker" "rm" "-f" "0067d2e8190dab9ba0191ee213a20a27c8c791a7b2303efe454472fdb4b4c85a"` [INFO] [stdout] 0067d2e8190dab9ba0191ee213a20a27c8c791a7b2303efe454472fdb4b4c85a