[INFO] updating cached repository Hylian/min-entropy [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Hylian/min-entropy [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Hylian/min-entropy" "work/ex/clippy-test-run/sources/stable/gh/Hylian/min-entropy"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/Hylian/min-entropy'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Hylian/min-entropy" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Hylian/min-entropy"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Hylian/min-entropy'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] dc812c3f9537cdf983f02c1ed757b288b8e83be3 [INFO] sha for GitHub repo Hylian/min-entropy: dc812c3f9537cdf983f02c1ed757b288b8e83be3 [INFO] validating manifest of Hylian/min-entropy 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 Hylian/min-entropy 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 Hylian/min-entropy [INFO] finished frobbing Hylian/min-entropy [INFO] frobbed toml for Hylian/min-entropy written to work/ex/clippy-test-run/sources/stable/gh/Hylian/min-entropy/Cargo.toml [INFO] started frobbing Hylian/min-entropy [INFO] finished frobbing Hylian/min-entropy [INFO] frobbed toml for Hylian/min-entropy written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Hylian/min-entropy/Cargo.toml [INFO] crate Hylian/min-entropy has a lockfile. skipping [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 Hylian/min-entropy 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/gh/Hylian/min-entropy:/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] 7ea0fb1d30eefc86c627fd8e624993c7e19059e47b9d1e8b34b3e9d00a026e18 [INFO] running `"docker" "start" "-a" "7ea0fb1d30eefc86c627fd8e624993c7e19059e47b9d1e8b34b3e9d00a026e18"` [INFO] [stderr] Checking min-entropy v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: casting u32 to f64 may become silently lossy if types change [INFO] [stderr] --> src/main.rs:40:49 [INFO] [stderr] | [INFO] [stderr] 40 | println!("Min entropy = repeats/len = {}", ((freq_count as f64) / (data.len() as f64))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: try: `f64::from(freq_count)` [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: casting u32 to f64 may become silently lossy if types change [INFO] [stderr] --> src/main.rs:40:49 [INFO] [stderr] | [INFO] [stderr] 40 | println!("Min entropy = repeats/len = {}", ((freq_count as f64) / (data.len() as f64))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: try: `f64::from(freq_count)` [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] Finished dev [unoptimized + debuginfo] target(s) in 1.16s [INFO] running `"docker" "inspect" "7ea0fb1d30eefc86c627fd8e624993c7e19059e47b9d1e8b34b3e9d00a026e18"` [INFO] running `"docker" "rm" "-f" "7ea0fb1d30eefc86c627fd8e624993c7e19059e47b9d1e8b34b3e9d00a026e18"` [INFO] [stdout] 7ea0fb1d30eefc86c627fd8e624993c7e19059e47b9d1e8b34b3e9d00a026e18