Aug 30 21:29:29.481 INFO checking classif-0.0.2 against try#bc5a74802bb3ffc82f51ef04bca58d64220124c4 for pr-53699 Aug 30 21:29:29.481 INFO running: cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets Aug 30 21:29:29.481 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-1/pr-53699/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-1/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/target:rw,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=500" "-e" "CMD=cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Aug 30 21:29:29.671 INFO blam! dee672f12875cf34f39a53cb3242cda9cd8222429d521057862e867900eec050 Aug 30 21:29:29.671 INFO running `"docker" "start" "-a" "dee672f12875cf34f39a53cb3242cda9cd8222429d521057862e867900eec050"` Aug 30 21:29:30.356 INFO kablam! Checking classif v0.0.2 (file:///source) Aug 30 21:29:31.382 INFO kablam! warning: variable does not need to be mutable Aug 30 21:29:31.382 INFO kablam! --> src/jenks.rs:25:13 Aug 30 21:29:31.382 INFO kablam! | Aug 30 21:29:31.382 INFO kablam! 25 | let mut v = unsafe { self.values.get_unchecked_mut(ix.0 * self.dim + ix.1) }; Aug 30 21:29:31.382 INFO kablam! | ----^ Aug 30 21:29:31.382 INFO kablam! | | Aug 30 21:29:31.382 INFO kablam! | help: remove this `mut` Aug 30 21:29:31.382 INFO kablam! | Aug 30 21:29:31.382 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 21:29:31.382 INFO kablam! Aug 30 21:29:31.411 INFO kablam! warning: unused return value of `std::iter::Iterator::collect` which must be used Aug 30 21:29:31.411 INFO kablam! --> src/stats.rs:8:5 Aug 30 21:29:31.411 INFO kablam! | Aug 30 21:29:31.411 INFO kablam! 8 | values.iter().map(|v| sum += *v).collect::>(); Aug 30 21:29:31.412 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 21:29:31.412 INFO kablam! | Aug 30 21:29:31.412 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 30 21:29:31.412 INFO kablam! = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead Aug 30 21:29:31.412 INFO kablam! Aug 30 21:29:31.526 INFO kablam! warning: variable does not need to be mutable Aug 30 21:29:31.526 INFO kablam! --> src/jenks.rs:25:13 Aug 30 21:29:31.526 INFO kablam! | Aug 30 21:29:31.526 INFO kablam! 25 | let mut v = unsafe { self.values.get_unchecked_mut(ix.0 * self.dim + ix.1) }; Aug 30 21:29:31.526 INFO kablam! | ----^ Aug 30 21:29:31.526 INFO kablam! | | Aug 30 21:29:31.526 INFO kablam! | help: remove this `mut` Aug 30 21:29:31.526 INFO kablam! | Aug 30 21:29:31.526 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 21:29:31.526 INFO kablam! Aug 30 21:29:31.568 INFO kablam! warning: unused return value of `std::iter::Iterator::collect` which must be used Aug 30 21:29:31.568 INFO kablam! --> src/stats.rs:8:5 Aug 30 21:29:31.568 INFO kablam! | Aug 30 21:29:31.568 INFO kablam! 8 | values.iter().map(|v| sum += *v).collect::>(); Aug 30 21:29:31.568 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 21:29:31.568 INFO kablam! | Aug 30 21:29:31.569 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 30 21:29:31.569 INFO kablam! = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead Aug 30 21:29:31.569 INFO kablam! Aug 30 21:29:32.386 INFO kablam! warning: unused variable: `mean` Aug 30 21:29:32.387 INFO kablam! --> benches/benchmark.rs:13:25 Aug 30 21:29:32.387 INFO kablam! | Aug 30 21:29:32.387 INFO kablam! 13 | bench.iter(|| { let mean = stats::mean(&a); }); Aug 30 21:29:32.387 INFO kablam! | ^^^^ help: consider using `_mean` instead Aug 30 21:29:32.387 INFO kablam! | Aug 30 21:29:32.387 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 30 21:29:32.387 INFO kablam! Aug 30 21:29:32.387 INFO kablam! warning: unused variable: `mean` Aug 30 21:29:32.387 INFO kablam! --> benches/benchmark.rs:20:25 Aug 30 21:29:32.387 INFO kablam! | Aug 30 21:29:32.387 INFO kablam! 20 | bench.iter(|| { let mean = stats::kurtosis(&a); }); Aug 30 21:29:32.387 INFO kablam! | ^^^^ help: consider using `_mean` instead Aug 30 21:29:32.387 INFO kablam! Aug 30 21:29:32.387 INFO kablam! warning: unused variable: `mean` Aug 30 21:29:32.387 INFO kablam! --> benches/benchmark.rs:27:25 Aug 30 21:29:32.387 INFO kablam! | Aug 30 21:29:32.387 INFO kablam! 27 | bench.iter(|| { let mean = stats::variance(&a); }); Aug 30 21:29:32.387 INFO kablam! | ^^^^ help: consider using `_mean` instead Aug 30 21:29:32.388 INFO kablam! Aug 30 21:29:32.388 INFO kablam! warning: unused variable: `b` Aug 30 21:29:32.388 INFO kablam! --> benches/benchmark.rs:36:24 Aug 30 21:29:32.388 INFO kablam! | Aug 30 21:29:32.388 INFO kablam! 36 | let b = get_head_tail_breaks(&a); Aug 30 21:29:32.388 INFO kablam! | ^ help: consider using `_b` instead Aug 30 21:29:32.388 INFO kablam! Aug 30 21:29:32.388 INFO kablam! warning: unused variable: `b` Aug 30 21:29:32.388 INFO kablam! --> benches/benchmark.rs:44:25 Aug 30 21:29:32.388 INFO kablam! | Aug 30 21:29:32.388 INFO kablam! 44 | bench.iter(|| { let b = BoundsInfo::new(5, &a, Classification::HeadTail).unwrap(); }); Aug 30 21:29:32.388 INFO kablam! | ^ help: consider using `_b` instead Aug 30 21:29:32.388 INFO kablam! Aug 30 21:29:32.388 INFO kablam! warning: unused variable: `b` Aug 30 21:29:32.388 INFO kablam! --> benches/benchmark.rs:52:25 Aug 30 21:29:32.389 INFO kablam! | Aug 30 21:29:32.389 INFO kablam! 52 | bench.iter(|| { let b = get_jenks_breaks(&a, 5); }); Aug 30 21:29:32.389 INFO kablam! | ^ help: consider using `_b` instead Aug 30 21:29:32.389 INFO kablam! Aug 30 21:29:32.389 INFO kablam! warning: unused variable: `b` Aug 30 21:29:32.389 INFO kablam! --> benches/benchmark.rs:61:24 Aug 30 21:29:32.389 INFO kablam! | Aug 30 21:29:32.389 INFO kablam! 61 | let b = get_jenks_breaks(&a, 5); Aug 30 21:29:32.389 INFO kablam! | ^ help: consider using `_b` instead Aug 30 21:29:32.389 INFO kablam! Aug 30 21:29:32.389 INFO kablam! warning: unused variable: `b` Aug 30 21:29:32.389 INFO kablam! --> benches/benchmark.rs:69:25 Aug 30 21:29:32.389 INFO kablam! | Aug 30 21:29:32.389 INFO kablam! 69 | bench.iter(|| { let b = BoundsInfo::new(5, &a, Classification::JenksNaturalBreaks).unwrap(); }); Aug 30 21:29:32.389 INFO kablam! | ^ help: consider using `_b` instead Aug 30 21:29:32.389 INFO kablam! Aug 30 21:29:32.418 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 2.08s Aug 30 21:29:32.421 INFO kablam! su: No module specific data is present Aug 30 21:29:32.760 INFO running `"docker" "rm" "-f" "dee672f12875cf34f39a53cb3242cda9cd8222429d521057862e867900eec050"` Aug 30 21:29:32.862 INFO blam! dee672f12875cf34f39a53cb3242cda9cd8222429d521057862e867900eec050