Running phase: unpackPhase unpacking source archive /nix/store/cq6s6i9rrxirxc73nnzcc2wav8sws95j-source source root is source Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook Running phase: patchPhase applying patch /nix/store/1x1icc55kia7l2c8ljd673mwv25l862l-add-Cargo.lock.patch patching file Cargo.lock Executing cargoSetupPostPatchHook Validating consistency between /build/source/Cargo.lock and /build/pngquant-3.0.3-vendor/Cargo.lock Finished cargoSetupPostPatchHook Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase Executing cargoBuildHook cargoBuildHook flags: -j 4 --target x86_64-unknown-linux-gnu --offline --profile release Compiling libc v0.2.150 Compiling autocfg v1.1.0 Compiling pkg-config v0.3.27 Compiling dunce v1.0.4 Compiling cfg-if v1.0.0 Compiling crossbeam-utils v0.8.16 Compiling memoffset v0.9.0 Compiling crossbeam-epoch v0.9.15 Compiling jobserver v0.1.27 Compiling vcpkg v0.2.15 Compiling cc v1.0.83 Compiling scopeguard v1.2.0 Compiling rayon-core v1.12.0 Compiling libz-sys v1.1.12 Compiling lcms2-sys v4.0.3 Compiling libpng-sys v1.1.9 Compiling either v1.9.0 Compiling once_cell v1.18.0 Compiling imagequant-sys v4.0.3 (/build/source/lib/imagequant-sys) Compiling bytemuck v1.14.0 Compiling rgb v0.8.37 Compiling thread_local v1.1.7 Compiling arrayvec v0.7.4 Compiling pngquant v3.0.3 (/build/source) warning: unexpected `cfg` condition value: `sse` --> rust/build.rs:30:38 | 30 | (target_arch == "x86" && cfg!(feature = "sse")) { | ^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `cocoa`, `default`, `lcms2`, `lcms2-static`, `png-static`, `static`, and `z-static` = help: consider adding `sse` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default Compiling unicode-width v0.1.11 Compiling bitflags v2.4.1 Compiling getopts v0.2.21 Compiling wild v2.2.0 warning: `pngquant` (build script) generated 1 warning Compiling crossbeam-deque v0.8.3 Compiling rayon v1.8.0 Compiling imagequant v4.2.2 (/build/source/lib) warning: `extern` declarations without an explicit ABI are deprecated --> lib/src/rows.rs:170:108 | 170 | ... own_pixels: bool, free_fn: unsafe extern fn(*mut std::os::raw::c_void)) -> Result<(), Error> { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` | = note: `#[warn(missing_abi)]` on by default warning: `extern` declarations without an explicit ABI are deprecated --> lib/src/seacow.rs:48:68 | 48 | pub unsafe fn c_owned(ptr: *mut T, len: usize, free_fn: unsafe extern fn(*mut c_void)) -> Self { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> lib/src/seacow.rs:59:57 | 59 | pub(crate) fn make_owned(&mut self, free_fn: unsafe extern fn(*mut c_void)) { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> lib/src/seacow.rs:68:54 | 68 | Owned { ptr: *mut T, len: usize, free_fn: unsafe extern fn(*mut c_void) }, | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> lib/src/capi.rs:61:124 | 61 | ..., own_pixels: bool, free_fn: unsafe extern fn(*mut std::os::raw::c_void)) -> Result<(), Error> { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `Eq::assert_receiver_is_total_eq` should never be implemented by hand --> lib/src/hist.rs:433:5 | 433 | fn assert_receiver_is_total_eq(&self) {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this method was used to add checks to the `Eq` derive macro = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #152336 = note: `#[warn(internal_eq_trait_method_impls)]` (part of `#[warn(future_incompatible)]`) on by default warning: eliding a lifetime that's named elsewhere is confusing --> lib/src/rows.rs:76:88 | 76 | fn row_rgba<'px>(&'px self, temp_row: &'px mut [MaybeUninit], row: usize) -> &[RGBA] { | --- --- the lifetime is named here ^^^^^^^ the same lifetime is elided here | | | the lifetime is named here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: consistently use `'px` | 76 | fn row_rgba<'px>(&'px self, temp_row: &'px mut [MaybeUninit], row: usize) -> &'px [RGBA] { | +++ warning: `imagequant` (lib) generated 7 warnings (run `cargo fix --lib -p imagequant` to apply 6 suggestions) warning: `extern` declarations without an explicit ABI are deprecated --> lib/imagequant-sys/src/ffi.rs:27:24 | 27 | c_api_free: unsafe extern fn(*mut c_void), | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` | = note: `#[warn(missing_abi)]` on by default warning: `extern` declarations without an explicit ABI are deprecated --> lib/imagequant-sys/src/ffi.rs:34:24 | 34 | c_api_free: unsafe extern fn(*mut c_void), | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> lib/imagequant-sys/src/ffi.rs:428:85 | 428 | pub extern "C" fn liq_attr_create_with_allocator(_unused: *mut c_void, free: unsafe extern fn(*mut c_void)) -> Option> { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `imagequant-sys` (lib) generated 3 warnings (run `cargo fix --lib -p imagequant-sys` to apply 3 suggestions) Finished `release` profile [optimized] target(s) in 1m 28s Executing cargoInstallPostBuildHook Finished cargoInstallPostBuildHook Finished cargoBuildHook buildPhase completed in 2 minutes 19 seconds Running phase: installPhase Executing cargoInstallHook Finished cargoInstallHook Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/zxcl88k6sjg1yp7w7nr78q62fdnnls4r-pngquant-3.0.3-man checking for references to /build/ in /nix/store/zxcl88k6sjg1yp7w7nr78q62fdnnls4r-pngquant-3.0.3-man... gzipping man pages under /nix/store/zxcl88k6sjg1yp7w7nr78q62fdnnls4r-pngquant-3.0.3-man/share/man/ patching script interpreter paths in /nix/store/zxcl88k6sjg1yp7w7nr78q62fdnnls4r-pngquant-3.0.3-man shrinking RPATHs of ELF executables and libraries in /nix/store/4nz2vfrgxrf81w181b5pfbb19ysn1dva-pngquant-3.0.3 shrinking /nix/store/4nz2vfrgxrf81w181b5pfbb19ysn1dva-pngquant-3.0.3/bin/pngquant checking for references to /build/ in /nix/store/4nz2vfrgxrf81w181b5pfbb19ysn1dva-pngquant-3.0.3... patching script interpreter paths in /nix/store/4nz2vfrgxrf81w181b5pfbb19ysn1dva-pngquant-3.0.3 stripping (with command strip and flags -S -p) in /nix/store/4nz2vfrgxrf81w181b5pfbb19ysn1dva-pngquant-3.0.3/bin