[INFO] updating cached repository Lignum/steg [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Lignum/steg [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Lignum/steg" "work/ex/clippy-test-run/sources/stable/gh/Lignum/steg"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/Lignum/steg'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Lignum/steg" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Lignum/steg"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Lignum/steg'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 80596ff4bb6d28607a7548ab2d03f2f3c677e325 [INFO] sha for GitHub repo Lignum/steg: 80596ff4bb6d28607a7548ab2d03f2f3c677e325 [INFO] validating manifest of Lignum/steg 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 Lignum/steg 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 Lignum/steg [INFO] finished frobbing Lignum/steg [INFO] frobbed toml for Lignum/steg written to work/ex/clippy-test-run/sources/stable/gh/Lignum/steg/Cargo.toml [INFO] started frobbing Lignum/steg [INFO] finished frobbing Lignum/steg [INFO] frobbed toml for Lignum/steg written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Lignum/steg/Cargo.toml [INFO] crate Lignum/steg has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on the registry index [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting Lignum/steg against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-3/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/Lignum/steg:/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] 0542838c609c863d6d880e3304b0c1286f757ddcec1d113450b28f5a321a5e1a [INFO] running `"docker" "start" "-a" "0542838c609c863d6d880e3304b0c1286f757ddcec1d113450b28f5a321a5e1a"` [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Checking image v0.10.4 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking png v0.5.2 [INFO] [stderr] Checking raster v0.2.0 [INFO] [stderr] Checking steg v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> src/hide.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | c.r = c.r & !(1 << 0) | (d << 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 `d` [INFO] [stderr] --> src/hide.rs:21:37 [INFO] [stderr] | [INFO] [stderr] 21 | c.r = c.r & !(1 << 0) | (d << 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: The function/method `write_all` doesn't need a mutable reference [INFO] [stderr] --> src/main.rs:35:20 [INFO] [stderr] | [INFO] [stderr] 35 | file.write_all(&mut data) [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] warning: the operation is ineffective. Consider reducing it to `1` [INFO] [stderr] --> src/hide.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | c.r = c.r & !(1 << 0) | (d << 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 `d` [INFO] [stderr] --> src/hide.rs:21:37 [INFO] [stderr] | [INFO] [stderr] 21 | c.r = c.r & !(1 << 0) | (d << 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: The function/method `write_all` doesn't need a mutable reference [INFO] [stderr] --> src/main.rs:35:20 [INFO] [stderr] | [INFO] [stderr] 35 | file.write_all(&mut data) [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] Finished dev [unoptimized + debuginfo] target(s) in 10.68s [INFO] running `"docker" "inspect" "0542838c609c863d6d880e3304b0c1286f757ddcec1d113450b28f5a321a5e1a"` [INFO] running `"docker" "rm" "-f" "0542838c609c863d6d880e3304b0c1286f757ddcec1d113450b28f5a321a5e1a"` [INFO] [stdout] 0542838c609c863d6d880e3304b0c1286f757ddcec1d113450b28f5a321a5e1a