>>> swhkd: Building testing/swhkd 1.2.1-r0 (using abuild 3.10.0-r0) started Wed, 04 Jan 2023 17:02:15 +0000 >>> swhkd: Checking sanity of /home/buildozer/aports/testing/swhkd/APKBUILD... >>> swhkd: Analyzing dependencies... >>> swhkd: Installing for build: build-base polkit cargo scdoc (1/19) Installing libffi (3.4.4-r0) (2/19) Installing libintl (0.21.1-r1) (3/19) Installing libblkid (2.38.1-r1) (4/19) Installing libmount (2.38.1-r1) (5/19) Installing glib (2.74.4-r0) (6/19) Installing linux-pam (1.5.2-r1) (7/19) Installing polkit-libs (122-r0) (8/19) Installing polkit-common (122-r0) Executing polkit-common-122-r0.pre-install (9/19) Installing duktape (2.7.0-r0) (10/19) Installing polkit (122-r0) (11/19) Installing rust-stdlib (1.66.0-r0) (12/19) Installing xz-libs (5.4.0-r1) (13/19) Installing libxml2 (2.10.3-r2) (14/19) Installing llvm15-libs (15.0.6-r1) (15/19) Installing rust (1.66.0-r0) (16/19) Installing cargo (1.66.0-r0) (17/19) Installing scdoc (1.11.2-r0) (18/19) Installing .makedepends-swhkd (20230104.170216) (19/19) Installing polkit-openrc (122-r0) Executing busybox-1.35.0-r29.trigger OK: 1387 MiB in 117 packages >>> swhkd: Cleaning up srcdir >>> swhkd: Cleaning up pkgdir >>> swhkd: Fetching https://distfiles.alpinelinux.org/distfiles/edge//swhkd-1.2.1.tar.gz >>> swhkd: Fetching https://distfiles.alpinelinux.org/distfiles/edge//swhkd-1.2.1.tar.gz >>> swhkd: Checking sha512sums... swhkd-1.2.1.tar.gz: OK lock.patch: OK >>> swhkd: Unpacking /var/cache/distfiles/edge/swhkd-1.2.1.tar.gz... >>> swhkd: lock.patch patching file Cargo.lock Compiling autocfg v1.1.0 Compiling libc v0.2.126 Compiling cfg-if v1.0.0 Compiling once_cell v1.13.0 Compiling scopeguard v1.1.0 Compiling memchr v2.5.0 Compiling proc-macro2 v1.0.40 Compiling log v0.4.17 Compiling crossbeam-utils v0.8.10 Compiling unicode-ident v1.0.1 Compiling quote v1.0.20 Compiling memoffset v0.6.5 Compiling crossbeam-epoch v0.9.9 Compiling lock_api v0.4.7 Compiling parking_lot_core v0.9.3 Compiling syn v1.0.98 Compiling rayon-core v1.9.3 Compiling smallvec v1.9.0 Compiling tokio v1.20.0 Compiling futures-core v0.3.21 Compiling crossbeam-channel v0.5.5 Compiling crossbeam-deque v0.8.1 Compiling rayon v1.5.3 Compiling radium v0.7.0 Compiling bytes v1.1.0 Compiling num_cpus v1.13.1 Compiling signal-hook-registry v1.4.0 Compiling parking_lot v0.12.1 Compiling mio v0.8.4 Compiling socket2 v0.4.4 Compiling bitflags v1.3.2 Compiling either v1.7.0 Compiling pin-project-lite v0.2.9 Compiling atty v0.2.14 Compiling aho-corasick v0.7.18 Compiling indexmap v1.9.1 Compiling termcolor v1.1.3 Compiling tap v1.0.1 Compiling regex-syntax v0.6.27 Compiling sysinfo v0.23.13 Compiling signal-hook v0.3.14 Compiling wyz v0.5.0 Compiling nix v0.23.1 error[E0428]: the name `fs_type_t` is defined multiple times --> /home/buildozer/.cargo/registry/src/github.com-eae4ba8cbf2ce1c7/nix-0.23.1/src/sys/statfs.rs:31:1 | 29 | type fs_type_t = libc::c_uint; | ------------------------------ previous definition of the type `fs_type_t` here 30 | #[cfg(all(target_os = "linux", target_env = "musl"))] 31 | type fs_type_t = libc::c_ulong; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `fs_type_t` redefined here | = note: `fs_type_t` must be defined only once in the type namespace of this module Compiling humantime v2.1.0 error[E0425]: cannot find value `O_LARGEFILE` in crate `libc` --> /home/buildozer/.cargo/registry/src/github.com-eae4ba8cbf2ce1c7/nix-0.23.1/src/fcntl.rs:105:9 | 105 | O_LARGEFILE; | ^^^^^^^^^^^ not found in `libc` Compiling regex v1.6.0 Compiling os_str_bytes v6.1.0 Compiling funty v2.0.0 Compiling hashbrown v0.12.2 error[E0592]: duplicate definitions with name `optimal_transfer_size` --> /home/buildozer/.cargo/registry/src/github.com-eae4ba8cbf2ce1c7/nix-0.23.1/src/sys/statfs.rs:179:5 | 170 | pub fn optimal_transfer_size(&self) -> u32 { | ------------------------------------------ other definition for `optimal_transfer_size` ... 179 | pub fn optimal_transfer_size(&self) -> libc::c_ulong { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `optimal_transfer_size` error[E0592]: duplicate definitions with name `block_size` --> /home/buildozer/.cargo/registry/src/github.com-eae4ba8cbf2ce1c7/nix-0.23.1/src/sys/statfs.rs:217:5 | 210 | pub fn block_size(&self) -> u32 { | ------------------------------- other definition for `block_size` ... 217 | pub fn block_size(&self) -> libc::c_ulong { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `block_size` error[E0592]: duplicate definitions with name `maximum_name_length` --> /home/buildozer/.cargo/registry/src/github.com-eae4ba8cbf2ce1c7/nix-0.23.1/src/sys/statfs.rs:260:5 | 254 | pub fn maximum_name_length(&self) -> u32 { | ---------------------------------------- other definition for `maximum_name_length` ... 260 | pub fn maximum_name_length(&self) -> libc::c_ulong { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `maximum_name_length` Some errors have detailed explanations: E0425, E0428, E0592. For more information about an error, try `rustc --explain E0425`. error: could not compile `nix` due to 5 previous errors warning: build failed, waiting for other jobs to finish... >>> ERROR: swhkd: build failed >>> swhkd: Uninstalling dependencies... (1/19) Purging .makedepends-swhkd (20230104.170216) (2/19) Purging polkit-openrc (122-r0) (3/19) Purging polkit (122-r0) (4/19) Purging polkit-common (122-r0) (5/19) Purging cargo (1.66.0-r0) (6/19) Purging rust (1.66.0-r0) (7/19) Purging rust-stdlib (1.66.0-r0) (8/19) Purging scdoc (1.11.2-r0) (9/19) Purging llvm15-libs (15.0.6-r1) (10/19) Purging polkit-libs (122-r0) (11/19) Purging glib (2.74.4-r0) (12/19) Purging libffi (3.4.4-r0) (13/19) Purging libintl (0.21.1-r1) (14/19) Purging libmount (2.38.1-r1) (15/19) Purging libblkid (2.38.1-r1) (16/19) Purging linux-pam (1.5.2-r1) (17/19) Purging duktape (2.7.0-r0) (18/19) Purging libxml2 (2.10.3-r2) (19/19) Purging xz-libs (5.4.0-r1) Executing busybox-1.35.0-r29.trigger OK: 369 MiB in 98 packages