Aug 30 21:29:29.720 INFO checking classif-0.0.2 against master#545f22340f72ee0efaf6463efb43a2840e3d35db for pr-53699 Aug 30 21:29:29.720 INFO running: cargo +545f22340f72ee0efaf6463efb43a2840e3d35db-alt check --frozen --all --all-targets Aug 30 21:29:29.720 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-0/pr-53699/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-0/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/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 +545f22340f72ee0efaf6463efb43a2840e3d35db-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.947 INFO blam! 23bdef54f61d8f16fb00e05f3bc04579bcc374499ab6d1d644e3cabb8a07ee67 Aug 30 21:29:29.949 INFO running `"docker" "start" "-a" "23bdef54f61d8f16fb00e05f3bc04579bcc374499ab6d1d644e3cabb8a07ee67"` Aug 30 21:29:30.623 INFO kablam! Checking classif v0.0.2 (file:///source) Aug 30 21:29:31.848 INFO kablam! warning: variable does not need to be mutable Aug 30 21:29:31.848 INFO kablam! --> src/jenks.rs:25:13 Aug 30 21:29:31.848 INFO kablam! | Aug 30 21:29:31.848 INFO kablam! 25 | let mut v = unsafe { self.values.get_unchecked_mut(ix.0 * self.dim + ix.1) }; Aug 30 21:29:31.848 INFO kablam! | ----^ Aug 30 21:29:31.848 INFO kablam! | | Aug 30 21:29:31.848 INFO kablam! | help: remove this `mut` Aug 30 21:29:31.848 INFO kablam! | Aug 30 21:29:31.848 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 21:29:31.849 INFO kablam! Aug 30 21:29:31.896 INFO kablam! warning: unused return value of `std::iter::Iterator::collect` which must be used Aug 30 21:29:31.896 INFO kablam! --> src/stats.rs:8:5 Aug 30 21:29:31.896 INFO kablam! | Aug 30 21:29:31.896 INFO kablam! 8 | values.iter().map(|v| sum += *v).collect::>(); Aug 30 21:29:31.896 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 21:29:31.896 INFO kablam! | Aug 30 21:29:31.897 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 30 21:29:31.897 INFO kablam! = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead Aug 30 21:29:31.897 INFO kablam! Aug 30 21:29:32.228 INFO kablam! warning: variable does not need to be mutable Aug 30 21:29:32.228 INFO kablam! --> src/jenks.rs:25:13 Aug 30 21:29:32.228 INFO kablam! | Aug 30 21:29:32.228 INFO kablam! 25 | let mut v = unsafe { self.values.get_unchecked_mut(ix.0 * self.dim + ix.1) }; Aug 30 21:29:32.228 INFO kablam! | ----^ Aug 30 21:29:32.228 INFO kablam! | | Aug 30 21:29:32.228 INFO kablam! | help: remove this `mut` Aug 30 21:29:32.228 INFO kablam! | Aug 30 21:29:32.228 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 21:29:32.228 INFO kablam! Aug 30 21:29:32.264 INFO kablam! warning: unused return value of `std::iter::Iterator::collect` which must be used Aug 30 21:29:32.264 INFO kablam! --> src/stats.rs:8:5 Aug 30 21:29:32.264 INFO kablam! | Aug 30 21:29:32.264 INFO kablam! 8 | values.iter().map(|v| sum += *v).collect::>(); Aug 30 21:29:32.264 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 21:29:32.264 INFO kablam! | Aug 30 21:29:32.264 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 30 21:29:32.264 INFO kablam! = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead Aug 30 21:29:32.265 INFO kablam! Aug 30 21:29:32.682 INFO kablam! warning: unused variable: `mean` Aug 30 21:29:32.682 INFO kablam! --> benches/benchmark.rs:13:25 Aug 30 21:29:32.682 INFO kablam! | Aug 30 21:29:32.682 INFO kablam! 13 | bench.iter(|| { let mean = stats::mean(&a); }); Aug 30 21:29:32.682 INFO kablam! | ^^^^ help: consider using `_mean` instead Aug 30 21:29:32.683 INFO kablam! | Aug 30 21:29:32.683 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 30 21:29:32.683 INFO kablam! Aug 30 21:29:32.683 INFO kablam! warning: unused variable: `mean` Aug 30 21:29:32.683 INFO kablam! --> benches/benchmark.rs:20:25 Aug 30 21:29:32.683 INFO kablam! | Aug 30 21:29:32.683 INFO kablam! 20 | bench.iter(|| { let mean = stats::kurtosis(&a); }); Aug 30 21:29:32.683 INFO kablam! | ^^^^ help: consider using `_mean` instead Aug 30 21:29:32.683 INFO kablam! Aug 30 21:29:32.683 INFO kablam! warning: unused variable: `mean` Aug 30 21:29:32.683 INFO kablam! --> benches/benchmark.rs:27:25 Aug 30 21:29:32.683 INFO kablam! | Aug 30 21:29:32.683 INFO kablam! 27 | bench.iter(|| { let mean = stats::variance(&a); }); Aug 30 21:29:32.683 INFO kablam! | ^^^^ help: consider using `_mean` instead Aug 30 21:29:32.683 INFO kablam! Aug 30 21:29:32.683 INFO kablam! warning: unused variable: `b` Aug 30 21:29:32.683 INFO kablam! --> benches/benchmark.rs:36:24 Aug 30 21:29:32.683 INFO kablam! | Aug 30 21:29:32.684 INFO kablam! 36 | let b = get_head_tail_breaks(&a); Aug 30 21:29:32.684 INFO kablam! | ^ help: consider using `_b` instead Aug 30 21:29:32.684 INFO kablam! Aug 30 21:29:32.684 INFO kablam! warning: unused variable: `b` Aug 30 21:29:32.684 INFO kablam! --> benches/benchmark.rs:44:25 Aug 30 21:29:32.684 INFO kablam! | Aug 30 21:29:32.684 INFO kablam! 44 | bench.iter(|| { let b = BoundsInfo::new(5, &a, Classification::HeadTail).unwrap(); }); Aug 30 21:29:32.684 INFO kablam! | ^ help: consider using `_b` instead Aug 30 21:29:32.684 INFO kablam! Aug 30 21:29:32.684 INFO kablam! warning: unused variable: `b` Aug 30 21:29:32.684 INFO kablam! --> benches/benchmark.rs:52:25 Aug 30 21:29:32.684 INFO kablam! | Aug 30 21:29:32.684 INFO kablam! 52 | bench.iter(|| { let b = get_jenks_breaks(&a, 5); }); Aug 30 21:29:32.684 INFO kablam! | ^ help: consider using `_b` instead Aug 30 21:29:32.684 INFO kablam! Aug 30 21:29:32.684 INFO kablam! warning: unused variable: `b` Aug 30 21:29:32.684 INFO kablam! --> benches/benchmark.rs:61:24 Aug 30 21:29:32.684 INFO kablam! | Aug 30 21:29:32.685 INFO kablam! 61 | let b = get_jenks_breaks(&a, 5); Aug 30 21:29:32.685 INFO kablam! | ^ help: consider using `_b` instead Aug 30 21:29:32.685 INFO kablam! Aug 30 21:29:32.685 INFO kablam! warning: unused variable: `b` Aug 30 21:29:32.685 INFO kablam! --> benches/benchmark.rs:69:25 Aug 30 21:29:32.685 INFO kablam! | Aug 30 21:29:32.685 INFO kablam! 69 | bench.iter(|| { let b = BoundsInfo::new(5, &a, Classification::JenksNaturalBreaks).unwrap(); }); Aug 30 21:29:32.685 INFO kablam! | ^ help: consider using `_b` instead Aug 30 21:29:32.685 INFO kablam! Aug 30 21:29:32.713 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 2.11s Aug 30 21:29:32.716 INFO kablam! su: No module specific data is present Aug 30 21:29:33.149 INFO running `"docker" "rm" "-f" "23bdef54f61d8f16fb00e05f3bc04579bcc374499ab6d1d644e3cabb8a07ee67"` Aug 30 21:29:33.245 INFO blam! 23bdef54f61d8f16fb00e05f3bc04579bcc374499ab6d1d644e3cabb8a07ee67