[INFO] fetching crate slice_math 0.1.31... [INFO] checking slice_math-0.1.31 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate slice_math 0.1.31 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate slice_math 0.1.31 [INFO] finished tweaking crates.io crate slice_math 0.1.31 [INFO] tweaked toml for crates.io crate slice_math 0.1.31 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate slice_math 0.1.31 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate slice_math 0.1.31 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e3746832db2bca87e2f98c9ed0b1e723bd6073a10f388a62c86e752d103106f [INFO] running `Command { std: "docker" "start" "-a" "8e3746832db2bca87e2f98c9ed0b1e723bd6073a10f388a62c86e752d103106f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e3746832db2bca87e2f98c9ed0b1e723bd6073a10f388a62c86e752d103106f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e3746832db2bca87e2f98c9ed0b1e723bd6073a10f388a62c86e752d103106f", kill_on_drop: false }` [INFO] [stdout] 8e3746832db2bca87e2f98c9ed0b1e723bd6073a10f388a62c86e752d103106f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e44bf0c156292e560da330c873027f23c766f2594ff1dd604ea32611cf80beea [INFO] running `Command { std: "docker" "start" "-a" "e44bf0c156292e560da330c873027f23c766f2594ff1dd604ea32611cf80beea", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling cc v1.2.3 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Compiling font-kit v0.14.2 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Checking bytemuck v1.20.0 [INFO] [stderr] Compiling pathfinder_simd v0.5.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking png v0.17.15 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking slice_trait v0.1.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking moddef v0.2.2 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking slice_ops v0.1.12 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking transpose v0.2.3 [INFO] [stderr] Checking primal-check v0.3.4 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking slice_math v0.1.31 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Neg` [INFO] [stdout] --> src/slice_math_.rs:2:71 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{iter::Sum, ops::{AddAssign, Div, DivAssign, Mul, MulAssign, Neg, SubAssign}}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToPrimitive` [INFO] [stdout] --> src/slice_math_.rs:4:91 [INFO] [stdout] | [INFO] [stdout] 4 | use num::{complex::ComplexFloat, traits::{FloatConst, Inv}, Complex, Float, NumCast, One, ToPrimitive, Zero}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SliceMath` [INFO] [stdout] --> src/fft.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{util, SliceMath, SliceOps}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `associated_type_bounds` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(associated_type_bounds)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_arg_infer` has been stable since 1.90.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_arg_infer)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `array_methods` has been stable since 1.77.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(array_methods)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_as_chunks` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(slice_as_chunks)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `new_uninit` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(new_uninit)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking plotters-bitmap v0.3.7 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/slice_math_.rs:487:40 [INFO] [stdout] | [INFO] [stdout] 487 | fn cconvolve_direct(&self, mut rhs: &[Rhs]) -> C [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NEWTON_POLYNOMIAL_ROOTS` is never used [INFO] [stdout] --> src/slice_math_.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const NEWTON_POLYNOMIAL_ROOTS: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closest_prime` is never used [INFO] [stdout] --> src/util.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | pub const fn closest_prime(x: usize) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Neg` [INFO] [stdout] --> src/slice_math_.rs:2:71 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{iter::Sum, ops::{AddAssign, Div, DivAssign, Mul, MulAssign, Neg, SubAssign}}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToPrimitive` [INFO] [stdout] --> src/slice_math_.rs:4:91 [INFO] [stdout] | [INFO] [stdout] 4 | use num::{complex::ComplexFloat, traits::{FloatConst, Inv}, Complex, Float, NumCast, One, ToPrimitive, Zero}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FRAC_1_SQRT_2` and `SQRT_2` [INFO] [stdout] --> src/lib.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | use core::f64::consts::{FRAC_1_SQRT_2, SQRT_2}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `f32::NAN` and `ops::RangeBounds` [INFO] [stdout] --> src/lib.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | use std::{f32::NAN, ops::RangeBounds, time::{Duration, SystemTime}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `associated_type_bounds` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(associated_type_bounds)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_arg_infer` has been stable since 1.90.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_arg_infer)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `array_methods` has been stable since 1.77.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(array_methods)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_as_chunks` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(slice_as_chunks)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `new_uninit` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(new_uninit)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SliceMath` [INFO] [stdout] --> src/fft.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{util, SliceMath, SliceOps}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/slice_math_.rs:487:40 [INFO] [stdout] | [INFO] [stdout] 487 | fn cconvolve_direct(&self, mut rhs: &[Rhs]) -> C [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lib.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let err: Vec<_> = y1.iter() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NEWTON_POLYNOMIAL_ROOTS` is never used [INFO] [stdout] --> src/slice_math_.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const NEWTON_POLYNOMIAL_ROOTS: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closest_prime` is never used [INFO] [stdout] --> src/util.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | pub const fn closest_prime(x: usize) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `benchmark` is never used [INFO] [stdout] --> src/lib.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn benchmark(x: &[T], f: &dyn Fn(T) -> R) -> Duration [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.93s [INFO] running `Command { std: "docker" "inspect" "e44bf0c156292e560da330c873027f23c766f2594ff1dd604ea32611cf80beea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e44bf0c156292e560da330c873027f23c766f2594ff1dd604ea32611cf80beea", kill_on_drop: false }` [INFO] [stdout] e44bf0c156292e560da330c873027f23c766f2594ff1dd604ea32611cf80beea