[INFO] fetching crate classif 0.0.2...
[INFO] checking classif-0.0.2 against 1.95.0 for pr-155915
[INFO] extracting crate classif 0.0.2 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate classif 0.0.2
[INFO] finished tweaking crates.io crate classif 0.0.2
[INFO] tweaked toml for crates.io crate classif 0.0.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate classif 0.0.2 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 3 packages to latest compatible versions
[INFO] [stderr]       Adding num-traits v0.1.43 (available: v0.2.19)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 664de26be096c241332ec983e555e348598ac256c8cf5d69bbd7405a7e1576e1
[INFO] running `Command { std: "docker" "start" "-a" "664de26be096c241332ec983e555e348598ac256c8cf5d69bbd7405a7e1576e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "664de26be096c241332ec983e555e348598ac256c8cf5d69bbd7405a7e1576e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "664de26be096c241332ec983e555e348598ac256c8cf5d69bbd7405a7e1576e1", kill_on_drop: false }`
[INFO] [stdout] 664de26be096c241332ec983e555e348598ac256c8cf5d69bbd7405a7e1576e1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 02e7fe5e30d0e66a5dc93afc7f5e15bd9c8e3c13c37ce662fbc331cc44d1eec6
[INFO] running `Command { std: "docker" "start" "-a" "02e7fe5e30d0e66a5dc93afc7f5e15bd9c8e3c13c37ce662fbc331cc44d1eec6", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking classif v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/jenks.rs:71:16
[INFO] [stdout]    |
[INFO] [stdout] 71 |         kclass[(j - 2)] = n;
[INFO] [stdout]    |                ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 71 -         kclass[(j - 2)] = n;
[INFO] [stdout] 71 +         kclass[j - 2 ] = n;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/jenks.rs:77:35
[INFO] [stdout]    |
[INFO] [stdout] 77 |         breaks.push(sorted_values[(kclass[i - 1usize] - 1)]);
[INFO] [stdout]    |                                   ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 77 -         breaks.push(sorted_values[(kclass[i - 1usize] - 1)]);
[INFO] [stdout] 77 +         breaks.push(sorted_values[kclass[i - 1usize] - 1 ]);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/jenks.rs:79:31
[INFO] [stdout]    |
[INFO] [stdout] 79 |     breaks.push(sorted_values[(nb_elem - 1)]);
[INFO] [stdout]    |                               ^           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 79 -     breaks.push(sorted_values[(nb_elem - 1)]);
[INFO] [stdout] 79 +     breaks.push(sorted_values[nb_elem - 1 ]);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/jenks.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let mut v = unsafe { self.values.get_unchecked_mut(ix.0 * self.dim + ix.1) };
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `collect` that must be used
[INFO] [stdout]  --> src/stats.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     values.iter().map(|v| sum += *v).collect::<Vec<_>>();
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead
[INFO] [stdout]   = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let _ = values.iter().map(|v| sum += *v).collect::<Vec<_>>();
[INFO] [stdout]   |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/jenks.rs:71:16
[INFO] [stdout]    |
[INFO] [stdout] 71 |         kclass[(j - 2)] = n;
[INFO] [stdout]    |                ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 71 -         kclass[(j - 2)] = n;
[INFO] [stdout] 71 +         kclass[j - 2 ] = n;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/jenks.rs:77:35
[INFO] [stdout]    |
[INFO] [stdout] 77 |         breaks.push(sorted_values[(kclass[i - 1usize] - 1)]);
[INFO] [stdout]    |                                   ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 77 -         breaks.push(sorted_values[(kclass[i - 1usize] - 1)]);
[INFO] [stdout] 77 +         breaks.push(sorted_values[kclass[i - 1usize] - 1 ]);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/jenks.rs:79:31
[INFO] [stdout]    |
[INFO] [stdout] 79 |     breaks.push(sorted_values[(nb_elem - 1)]);
[INFO] [stdout]    |                               ^           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 79 -     breaks.push(sorted_values[(nb_elem - 1)]);
[INFO] [stdout] 79 +     breaks.push(sorted_values[nb_elem - 1 ]);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel
[INFO] [stdout]  --> benches/benchmark.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(test)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mean`
[INFO] [stdout]   --> benches/benchmark.rs:13:25
[INFO] [stdout]    |
[INFO] [stdout] 13 |     bench.iter(|| { let mean = stats::mean(&a); });
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_mean`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mean`
[INFO] [stdout]   --> benches/benchmark.rs:20:25
[INFO] [stdout]    |
[INFO] [stdout] 20 |     bench.iter(|| { let mean = stats::kurtosis(&a); });
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_mean`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mean`
[INFO] [stdout]   --> benches/benchmark.rs:27:25
[INFO] [stdout]    |
[INFO] [stdout] 27 |     bench.iter(|| { let mean = stats::variance(&a); });
[INFO] [stdout]    |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_mean`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> benches/benchmark.rs:36:24
[INFO] [stdout]    |
[INFO] [stdout] 36 |                    let b = get_head_tail_breaks(&a);
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> benches/benchmark.rs:44:25
[INFO] [stdout]    |
[INFO] [stdout] 44 |     bench.iter(|| { let b = BoundsInfo::new(5, &a, Classification::HeadTail).unwrap(); });
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> benches/benchmark.rs:52:25
[INFO] [stdout]    |
[INFO] [stdout] 52 |     bench.iter(|| { let b = get_jenks_breaks(&a, 5); });
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> benches/benchmark.rs:61:24
[INFO] [stdout]    |
[INFO] [stdout] 61 |                    let b = get_jenks_breaks(&a, 5);
[INFO] [stdout]    |                        ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> benches/benchmark.rs:69:25
[INFO] [stdout]    |
[INFO] [stdout] 69 |     bench.iter(|| { let b = BoundsInfo::new(5, &a, Classification::JenksNaturalBreaks).unwrap(); });
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0554`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `classif` (bench "benchmark") due to 1 previous error; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/jenks.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let mut v = unsafe { self.values.get_unchecked_mut(ix.0 * self.dim + ix.1) };
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `collect` that must be used
[INFO] [stdout]  --> src/stats.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     values.iter().map(|v| sum += *v).collect::<Vec<_>>();
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead
[INFO] [stdout]   = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let _ = values.iter().map(|v| sum += *v).collect::<Vec<_>>();
[INFO] [stdout]   |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "02e7fe5e30d0e66a5dc93afc7f5e15bd9c8e3c13c37ce662fbc331cc44d1eec6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02e7fe5e30d0e66a5dc93afc7f5e15bd9c8e3c13c37ce662fbc331cc44d1eec6", kill_on_drop: false }`
[INFO] [stdout] 02e7fe5e30d0e66a5dc93afc7f5e15bd9c8e3c13c37ce662fbc331cc44d1eec6
