pngquant-3.0.3
checks.x86_64-linux.nixos-durandal
· build #173
· raw
unpackPhase
1unpacking source archive /nix/store/cq6s6i9rrxirxc73nnzcc2wav8sws95j-source2source root is source3Executing cargoSetupPostUnpackHook4Finished cargoSetupPostUnpackHookpatchPhase
5applying patch /nix/store/1x1icc55kia7l2c8ljd673mwv25l862l-add-Cargo.lock.patch6patching file Cargo.lock7Executing cargoSetupPostPatchHook8Validating consistency between /build/source/Cargo.lock and /build/pngquant-3.0.3-vendor/Cargo.lock9Finished cargoSetupPostPatchHookbuildPhase
10Executing cargoBuildHook11cargoBuildHook flags: -j 4 --target x86_64-unknown-linux-gnu --offline --profile release12 Compiling libc v0.2.15013 Compiling autocfg v1.1.014 Compiling pkg-config v0.3.2715 Compiling dunce v1.0.416 Compiling cfg-if v1.0.017 Compiling crossbeam-utils v0.8.1618 Compiling memoffset v0.9.019 Compiling crossbeam-epoch v0.9.1520 Compiling jobserver v0.1.2721 Compiling vcpkg v0.2.1522 Compiling cc v1.0.8323 Compiling scopeguard v1.2.024 Compiling rayon-core v1.12.025 Compiling libz-sys v1.1.1226 Compiling lcms2-sys v4.0.327 Compiling libpng-sys v1.1.928 Compiling either v1.9.029 Compiling once_cell v1.18.030 Compiling imagequant-sys v4.0.3 (/build/source/lib/imagequant-sys)31 Compiling bytemuck v1.14.032 Compiling rgb v0.8.3733 Compiling thread_local v1.1.734 Compiling arrayvec v0.7.435 Compiling pngquant v3.0.3 (/build/source)36warning: unexpected `cfg` condition value: `sse`37 --> rust/build.rs:30:3838 |3930 | (target_arch == "x86" && cfg!(feature = "sse")) {40 | ^^^^^^^^^^^^^^^41 |42 = note: expected values for `feature` are: `cocoa`, `default`, `lcms2`, `lcms2-static`, `png-static`, `static`, and `z-static`43 = help: consider adding `sse` as a feature in `Cargo.toml`44 = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration45 = note: `#[warn(unexpected_cfgs)]` on by default4647 Compiling unicode-width v0.1.1148 Compiling bitflags v2.4.149 Compiling getopts v0.2.2150 Compiling wild v2.2.051warning: `pngquant` (build script) generated 1 warning52 Compiling crossbeam-deque v0.8.353 Compiling rayon v1.8.054 Compiling imagequant v4.2.2 (/build/source/lib)55warning: `extern` declarations without an explicit ABI are deprecated56 --> lib/src/rows.rs:170:10857 |58170 | ... own_pixels: bool, free_fn: unsafe extern fn(*mut std::os::raw::c_void)) -> Result<(), Error> {59 | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`60 |61 = note: `#[warn(missing_abi)]` on by default6263warning: `extern` declarations without an explicit ABI are deprecated64 --> lib/src/seacow.rs:48:6865 |6648 | pub unsafe fn c_owned(ptr: *mut T, len: usize, free_fn: unsafe extern fn(*mut c_void)) -> Self {67 | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`6869warning: `extern` declarations without an explicit ABI are deprecated70 --> lib/src/seacow.rs:59:5771 |7259 | pub(crate) fn make_owned(&mut self, free_fn: unsafe extern fn(*mut c_void)) {73 | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`7475warning: `extern` declarations without an explicit ABI are deprecated76 --> lib/src/seacow.rs:68:5477 |7868 | Owned { ptr: *mut T, len: usize, free_fn: unsafe extern fn(*mut c_void) },79 | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`8081warning: `extern` declarations without an explicit ABI are deprecated82 --> lib/src/capi.rs:61:12483 |8461 | ..., own_pixels: bool, free_fn: unsafe extern fn(*mut std::os::raw::c_void)) -> Result<(), Error> {85 | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`8687warning: `Eq::assert_receiver_is_total_eq` should never be implemented by hand88 --> lib/src/hist.rs:433:589 |90433 | fn assert_receiver_is_total_eq(&self) {}91 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^92 |93 = note: this method was used to add checks to the `Eq` derive macro94 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!95 = note: for more information, see issue #152336 <https://github.com/rust-lang/rust/issues/152336>96 = note: `#[warn(internal_eq_trait_method_impls)]` (part of `#[warn(future_incompatible)]`) on by default9798warning: eliding a lifetime that's named elsewhere is confusing99 --> lib/src/rows.rs:76:88100 |10176 | fn row_rgba<'px>(&'px self, temp_row: &'px mut [MaybeUninit<RGBA>], row: usize) -> &[RGBA] {102 | --- --- the lifetime is named here ^^^^^^^ the same lifetime is elided here103 | |104 | the lifetime is named here105 |106 = help: the same lifetime is referred to in inconsistent ways, making the signature confusing107 = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default108help: consistently use `'px`109 |11076 | fn row_rgba<'px>(&'px self, temp_row: &'px mut [MaybeUninit<RGBA>], row: usize) -> &'px [RGBA] {111 | +++112113warning: `imagequant` (lib) generated 7 warnings (run `cargo fix --lib -p imagequant` to apply 6 suggestions)114warning: `extern` declarations without an explicit ABI are deprecated115 --> lib/imagequant-sys/src/ffi.rs:27:24116 |11727 | c_api_free: unsafe extern fn(*mut c_void),118 | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`119 |120 = note: `#[warn(missing_abi)]` on by default121122warning: `extern` declarations without an explicit ABI are deprecated123 --> lib/imagequant-sys/src/ffi.rs:34:24124 |12534 | c_api_free: unsafe extern fn(*mut c_void),126 | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`127128warning: `extern` declarations without an explicit ABI are deprecated129 --> lib/imagequant-sys/src/ffi.rs:428:85130 |131428 | pub extern "C" fn liq_attr_create_with_allocator(_unused: *mut c_void, free: unsafe extern fn(*mut c_void)) -> Option<Box<liq_attr>> {132 | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`133134warning: `imagequant-sys` (lib) generated 3 warnings (run `cargo fix --lib -p imagequant-sys` to apply 3 suggestions)135 Finished `release` profile [optimized] target(s) in 1m 28s136Executing cargoInstallPostBuildHook137Finished cargoInstallPostBuildHook138Finished cargoBuildHook139buildPhase completed in 2 minutes 19 secondsinstallPhase
140Executing cargoInstallHook141Finished cargoInstallHookfixupPhase
142shrinking RPATHs of ELF executables and libraries in /nix/store/zxcl88k6sjg1yp7w7nr78q62fdnnls4r-pngquant-3.0.3-man143checking for references to /build/ in /nix/store/zxcl88k6sjg1yp7w7nr78q62fdnnls4r-pngquant-3.0.3-man...144gzipping man pages under /nix/store/zxcl88k6sjg1yp7w7nr78q62fdnnls4r-pngquant-3.0.3-man/share/man/145patching script interpreter paths in /nix/store/zxcl88k6sjg1yp7w7nr78q62fdnnls4r-pngquant-3.0.3-man146shrinking RPATHs of ELF executables and libraries in /nix/store/4nz2vfrgxrf81w181b5pfbb19ysn1dva-pngquant-3.0.3147shrinking /nix/store/4nz2vfrgxrf81w181b5pfbb19ysn1dva-pngquant-3.0.3/bin/pngquant148checking for references to /build/ in /nix/store/4nz2vfrgxrf81w181b5pfbb19ysn1dva-pngquant-3.0.3...149patching script interpreter paths in /nix/store/4nz2vfrgxrf81w181b5pfbb19ysn1dva-pngquant-3.0.3150stripping (with command strip and flags -S -p) in /nix/store/4nz2vfrgxrf81w181b5pfbb19ysn1dva-pngquant-3.0.3/bin