[INFO] updating cached repository ryanpbrewster/tdigest-rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/ryanpbrewster/tdigest-rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/ryanpbrewster/tdigest-rs" "work/ex/clippy-test-run/sources/stable/gh/ryanpbrewster/tdigest-rs"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/ryanpbrewster/tdigest-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/ryanpbrewster/tdigest-rs" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ryanpbrewster/tdigest-rs"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ryanpbrewster/tdigest-rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ccfc05b5dc60f8a96c74ad1811e5e66c344ba966 [INFO] sha for GitHub repo ryanpbrewster/tdigest-rs: ccfc05b5dc60f8a96c74ad1811e5e66c344ba966 [INFO] validating manifest of ryanpbrewster/tdigest-rs 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 ryanpbrewster/tdigest-rs 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 ryanpbrewster/tdigest-rs [INFO] finished frobbing ryanpbrewster/tdigest-rs [INFO] frobbed toml for ryanpbrewster/tdigest-rs written to work/ex/clippy-test-run/sources/stable/gh/ryanpbrewster/tdigest-rs/Cargo.toml [INFO] started frobbing ryanpbrewster/tdigest-rs [INFO] finished frobbing ryanpbrewster/tdigest-rs [INFO] frobbed toml for ryanpbrewster/tdigest-rs written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/ryanpbrewster/tdigest-rs/Cargo.toml [INFO] crate ryanpbrewster/tdigest-rs 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 ryanpbrewster/tdigest-rs against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-4/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/ryanpbrewster/tdigest-rs:/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] ce899c0b53eab2f436cb157d34465e3c3d6d41f060ff16af04b556de1816cbbb [INFO] running `"docker" "start" "-a" "ce899c0b53eab2f436cb157d34465e3c3d6d41f060ff16af04b556de1816cbbb"` [INFO] [stderr] Compiling ryu v0.2.4 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking thread-scoped v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking csv-core v0.1.4 [INFO] [stderr] Checking tdigest v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Checking itertools-num v0.1.1 [INFO] [stderr] Checking criterion-stats v0.2.4 [INFO] [stderr] Checking criterion-plot v0.2.4 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Checking simplelog v0.5.2 [INFO] [stderr] Checking csv v1.0.0 [INFO] [stderr] Checking serde_json v1.0.26 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking handlebars v0.32.4 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking criterion v0.2.4 [INFO] [stderr] warning: casting i32 to f64 may become silently lossy if types change [INFO] [stderr] --> benches/simple.rs:21:39 [INFO] [stderr] | [INFO] [stderr] 21 | estimator.add(n as f64 / size as f64); [INFO] [stderr] | ^^^^^^^^ help: try: `f64::from(n)` [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 i32 to f64 may become silently lossy if types change [INFO] [stderr] --> benches/simple.rs:21:50 [INFO] [stderr] | [INFO] [stderr] 21 | estimator.add(n as f64 / size as f64); [INFO] [stderr] | ^^^^^^^^^^^ help: try: `f64::from(size)` [INFO] [stderr] | [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 i32 to f64 may become silently lossy if types change [INFO] [stderr] --> benches/simple.rs:32:46 [INFO] [stderr] | [INFO] [stderr] 32 | let mut estimator = TDigest::new(z as f64, s as usize); [INFO] [stderr] | ^^^^^^^^ help: try: `f64::from(z)` [INFO] [stderr] | [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 i32 to f64 may become silently lossy if types change [INFO] [stderr] --> benches/simple.rs:38:39 [INFO] [stderr] | [INFO] [stderr] 38 | estimator.add(n as f64 / size as f64); [INFO] [stderr] | ^^^^^^^^ help: try: `f64::from(n)` [INFO] [stderr] | [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 i32 to f64 may become silently lossy if types change [INFO] [stderr] --> benches/simple.rs:38:50 [INFO] [stderr] | [INFO] [stderr] 38 | estimator.add(n as f64 / size as f64); [INFO] [stderr] | ^^^^^^^^^^^ help: try: `f64::from(size)` [INFO] [stderr] | [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 47.66s [INFO] running `"docker" "inspect" "ce899c0b53eab2f436cb157d34465e3c3d6d41f060ff16af04b556de1816cbbb"` [INFO] running `"docker" "rm" "-f" "ce899c0b53eab2f436cb157d34465e3c3d6d41f060ff16af04b556de1816cbbb"` [INFO] [stdout] ce899c0b53eab2f436cb157d34465e3c3d6d41f060ff16af04b556de1816cbbb