[INFO] crate classif 0.0.2 is already in cache [INFO] extracting crate classif 0.0.2 into work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/reg/classif/0.0.2 [INFO] extracting crate classif 0.0.2 into work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/reg/classif/0.0.2 [INFO] validating manifest of classif-0.0.2 on toolchain master#a850a426491e14186af2250549bf41256b5938d2 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of classif-0.0.2 on toolchain try#06a150c7d11500b41499224f165e9de1de096768 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing classif-0.0.2 [INFO] finished frobbing classif-0.0.2 [INFO] frobbed toml for classif-0.0.2 written to work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/reg/classif/0.0.2/Cargo.toml [INFO] started frobbing classif-0.0.2 [INFO] finished frobbing classif-0.0.2 [INFO] frobbed toml for classif-0.0.2 written to work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/reg/classif/0.0.2/Cargo.toml [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking classif-0.0.2 against try#06a150c7d11500b41499224f165e9de1de096768 for pr-60162 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60162/worker-7/try#06a150c7d11500b41499224f165e9de1de096768:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/reg/classif/0.0.2:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/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" "+06a150c7d11500b41499224f165e9de1de096768-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 1a40c52a26385923ab89b3f101ab6511987ed13868bab69a3c04fb13d088b913 [INFO] running `"docker" "start" "-a" "1a40c52a26385923ab89b3f101ab6511987ed13868bab69a3c04fb13d088b913"` [INFO] [stderr] Checking classif v0.0.2 (/opt/crater/workdir) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/jenks.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | let mut v = unsafe { self.values.get_unchecked_mut(ix.0 * self.dim + ix.1) }; [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::iter::Iterator::collect` that must be used [INFO] [stderr] --> src/stats.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | values.iter().map(|v| sum += *v).collect::>(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_must_use)] on by default [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/jenks.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | let mut v = unsafe { self.values.get_unchecked_mut(ix.0 * self.dim + ix.1) }; [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::iter::Iterator::collect` that must be used [INFO] [stderr] --> src/stats.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | values.iter().map(|v| sum += *v).collect::>(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_must_use)] on by default [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mean` [INFO] [stderr] --> benches/benchmark.rs:13:25 [INFO] [stderr] | [INFO] [stderr] 13 | bench.iter(|| { let mean = stats::mean(&a); }); [INFO] [stderr] | ^^^^ help: consider prefixing with an underscore: `_mean` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mean` [INFO] [stderr] --> benches/benchmark.rs:20:25 [INFO] [stderr] | [INFO] [stderr] 20 | bench.iter(|| { let mean = stats::kurtosis(&a); }); [INFO] [stderr] | ^^^^ help: consider prefixing with an underscore: `_mean` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mean` [INFO] [stderr] --> benches/benchmark.rs:27:25 [INFO] [stderr] | [INFO] [stderr] 27 | bench.iter(|| { let mean = stats::variance(&a); }); [INFO] [stderr] | ^^^^ help: consider prefixing with an underscore: `_mean` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> benches/benchmark.rs:36:24 [INFO] [stderr] | [INFO] [stderr] 36 | let b = get_head_tail_breaks(&a); [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> benches/benchmark.rs:44:25 [INFO] [stderr] | [INFO] [stderr] 44 | bench.iter(|| { let b = BoundsInfo::new(5, &a, Classification::HeadTail).unwrap(); }); [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> benches/benchmark.rs:52:25 [INFO] [stderr] | [INFO] [stderr] 52 | bench.iter(|| { let b = get_jenks_breaks(&a, 5); }); [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> benches/benchmark.rs:61:24 [INFO] [stderr] | [INFO] [stderr] 61 | let b = get_jenks_breaks(&a, 5); [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> benches/benchmark.rs:69:25 [INFO] [stderr] | [INFO] [stderr] 69 | bench.iter(|| { let b = BoundsInfo::new(5, &a, Classification::JenksNaturalBreaks).unwrap(); }); [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.32s [INFO] running `"docker" "inspect" "1a40c52a26385923ab89b3f101ab6511987ed13868bab69a3c04fb13d088b913"` [INFO] running `"docker" "rm" "-f" "1a40c52a26385923ab89b3f101ab6511987ed13868bab69a3c04fb13d088b913"` [INFO] [stdout] 1a40c52a26385923ab89b3f101ab6511987ed13868bab69a3c04fb13d088b913