[INFO] crate parsnip 0.3.0 is already in cache [INFO] extracting crate parsnip 0.3.0 into work/ex/clippy-test-run/sources/stable/reg/parsnip/0.3.0 [INFO] extracting crate parsnip 0.3.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/parsnip/0.3.0 [INFO] validating manifest of parsnip-0.3.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 parsnip-0.3.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 parsnip-0.3.0 [INFO] finished frobbing parsnip-0.3.0 [INFO] frobbed toml for parsnip-0.3.0 written to work/ex/clippy-test-run/sources/stable/reg/parsnip/0.3.0/Cargo.toml [INFO] started frobbing parsnip-0.3.0 [INFO] finished frobbing parsnip-0.3.0 [INFO] frobbed toml for parsnip-0.3.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/parsnip/0.3.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 parsnip-0.3.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-5/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/parsnip/0.3.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] 4ba68c8d57a36bc132a91dae37f8f814139421d13ea78eeee3fc3dba8609bd1f [INFO] running `"docker" "start" "-a" "4ba68c8d57a36bc132a91dae37f8f814139421d13ea78eeee3fc3dba8609bd1f"` [INFO] [stderr] Checking parsnip v0.3.0 (/opt/crater/workdir) [INFO] [stderr] Checking approx v0.3.1 [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/lib.rs:106:36 [INFO] [stderr] | [INFO] [stderr] 106 | let classes: HashSet<_> = pred.into_iter().collect(); [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::into_iter_on_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/lib.rs:126:36 [INFO] [stderr] | [INFO] [stderr] 126 | let classes: HashSet<_> = pred.into_iter().collect(); [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/lib.rs:208:36 [INFO] [stderr] | [INFO] [stderr] 208 | let classes: HashSet<_> = pred.into_iter().collect(); [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/lib.rs:227:36 [INFO] [stderr] | [INFO] [stderr] 227 | let classes: HashSet<_> = pred.into_iter().collect(); [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/lib.rs:446:25 [INFO] [stderr] | [INFO] [stderr] 446 | assert_ulps_eq!(0.33333333, categorical_accuracy(&pred, &real).unwrap()); [INFO] [stderr] | ^^^^^^^^^^ help: consider: `0.333_333_33` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unreadable_literal)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/lib.rs:455:25 [INFO] [stderr] | [INFO] [stderr] 455 | assert_ulps_eq!(0.6666666, class_precision(&pred, &actual, &0)); [INFO] [stderr] | ^^^^^^^^^ help: consider: `0.666_666_6` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/lib.rs:469:25 [INFO] [stderr] | [INFO] [stderr] 469 | assert_ulps_eq!(0.22222222, weighted_precision(&pred, &actual)); [INFO] [stderr] | ^^^^^^^^^^ help: consider: `0.222_222_22` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/lib.rs:476:25 [INFO] [stderr] | [INFO] [stderr] 476 | assert_ulps_eq!(0.22222222, macro_precision(&pred, &actual)); [INFO] [stderr] | ^^^^^^^^^^ help: consider: `0.222_222_22` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/lib.rs:483:25 [INFO] [stderr] | [INFO] [stderr] 483 | assert_ulps_eq!(0.33333333, macro_recall(&pred, &actual)); [INFO] [stderr] | ^^^^^^^^^^ help: consider: `0.333_333_33` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/lib.rs:490:25 [INFO] [stderr] | [INFO] [stderr] 490 | assert_ulps_eq!(0.333333333, weighted_recall(&pred, &actual)); [INFO] [stderr] | ^^^^^^^^^^^ help: consider: `0.333_333_333` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/lib.rs:497:76 [INFO] [stderr] | [INFO] [stderr] 497 | assert_ulps_eq!(f1_score(&pred, &actual, Average::Macro).unwrap(), 0.26666665); [INFO] [stderr] | ^^^^^^^^^^ help: consider: `0.266_666_65` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/lib.rs:106:36 [INFO] [stderr] | [INFO] [stderr] 106 | let classes: HashSet<_> = pred.into_iter().collect(); [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::into_iter_on_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/lib.rs:126:36 [INFO] [stderr] | [INFO] [stderr] 126 | let classes: HashSet<_> = pred.into_iter().collect(); [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/lib.rs:208:36 [INFO] [stderr] | [INFO] [stderr] 208 | let classes: HashSet<_> = pred.into_iter().collect(); [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/lib.rs:227:36 [INFO] [stderr] | [INFO] [stderr] 227 | let classes: HashSet<_> = pred.into_iter().collect(); [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: float has excessive precision [INFO] [stderr] --> src/lib.rs:446:25 [INFO] [stderr] | [INFO] [stderr] 446 | assert_ulps_eq!(0.33333333, categorical_accuracy(&pred, &real).unwrap()); [INFO] [stderr] | ^^^^^^^^^^ help: consider changing the type or truncating it to: `0.333_333_34` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::excessive_precision)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision [INFO] [stderr] [INFO] [stderr] warning: float has excessive precision [INFO] [stderr] --> src/lib.rs:483:25 [INFO] [stderr] | [INFO] [stderr] 483 | assert_ulps_eq!(0.33333333, macro_recall(&pred, &actual)); [INFO] [stderr] | ^^^^^^^^^^ help: consider changing the type or truncating it to: `0.333_333_34` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision [INFO] [stderr] [INFO] [stderr] warning: float has excessive precision [INFO] [stderr] --> src/lib.rs:490:25 [INFO] [stderr] | [INFO] [stderr] 490 | assert_ulps_eq!(0.333333333, weighted_recall(&pred, &actual)); [INFO] [stderr] | ^^^^^^^^^^^ help: consider changing the type or truncating it to: `0.333_333_34` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#excessive_precision [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.66s [INFO] running `"docker" "inspect" "4ba68c8d57a36bc132a91dae37f8f814139421d13ea78eeee3fc3dba8609bd1f"` [INFO] running `"docker" "rm" "-f" "4ba68c8d57a36bc132a91dae37f8f814139421d13ea78eeee3fc3dba8609bd1f"` [INFO] [stdout] 4ba68c8d57a36bc132a91dae37f8f814139421d13ea78eeee3fc3dba8609bd1f