[package - main-armv7-default][x11-wm/niri] Failed for niri-0.1.8_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 04 Sep 2024 07:04:44 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     jbeich@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/p15d22e1c70da_s871911a4a/logs/niri-0.1.8_1.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p15d22e1c70da_s871911a4a
Log:

=>> Building x11-wm/niri
build started at Wed Sep  4 06:55:47 UTC 2024
port directory: /usr/ports/x11-wm/niri
package name: niri-0.1.8_1
building for: FreeBSD main-armv7-default-job-05 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 arm
maintained by: jbeich@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1760 Aug 27 01:02 /usr/ports/x11-wm/niri/Makefile
Ports top last git commit: 15d22e1c70d
Ports top unclean checkout: no
Port dir last git commit: 7a55f954253
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500019
Jail OSVERSION: 1500023
Job Id: 05




!!! Jail is newer than host. (Jail: 1500023, Host: 1500019) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500023
UNAME_v=FreeBSD 15.0-CURRENT 1500023
UNAME_r=15.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-armv7-default/05/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for niri-0.1.8_1:
     PIPEWIRE=on: Screen capture via PipeWire
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
jbeich@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/x11-wm/niri/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-wm/niri/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/x11-wm/niri/work/.cache  HOME=/wrkdirs/usr/ports/x11-wm/niri/work TMPDIR="/wrkdirs/usr/ports/x11-wm/niri/work" PATH=/wrkdirs/usr/ports/x11-wm/niri/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/x11-wm/niri/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/x11-wm/niri/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-wm/niri/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/x11-wm/niri/work/.cache  HOME=/wrkdirs/usr/ports/x11-wm/niri/work TMPDIR="/wrkdirs/usr/ports/x11-wm/niri/work" PATH=/wrkdirs/usr/ports/x11-wm/niri/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/x11-wm/niri/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/usr/local/llvm15/bin/clang" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="/usr/local/llvm15/bin/clang-cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="/usr/local/llvm15/bin/clang++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s
 -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
 GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0"  GTK4_VERSION="4.0.0" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/niri"  EXAMPLESDIR="share/examples/niri"  DATADIR="share/niri"  WWWDIR="www/niri"  ETCDIR="etc/niri"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/niri DOCSDIR=/usr/local/share/doc/niri EXAMPLESDIR=/usr/local/share/examples/niri  WWWDIR=/usr/local/www/niri ETCDIR=/usr/local/etc/niri
--End SUB_LIST--

---Begin make.conf---
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   niri-0.1.8_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-armv7-default-job-05] Installing pkg-1.21.3...
[main-armv7-default-job-05] Extracting pkg-1.21.3: .......... done
===>   niri-0.1.8_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of niri-0.1.8_1
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by niri-0.1.8_1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by niri-0.1.8_1 for building
=> SHA256 Checksum OK for rust/crates/addr2line-0.22.0.crate.
=> SHA256 Checksum OK for rust/crates/adler-1.0.2.crate.
=> SHA256 Checksum OK for rust/crates/ahash-0.8.11.crate.
=> SHA256 Checksum OK for rust/crates/aho-corasick-1.1.3.crate.
=> SHA256 Checksum OK for rust/crates/allocator-api2-0.2.18.crate.
=> SHA256 Checksum OK for rust/crates/android-activity-0.6.0.crate.
=> SHA256 Checksum OK for rust/crates/android-properties-0.2.2.crate.
=> SHA256 Checksum OK for rust/crates/annotate-snippets-0.9.2.crate.
=> SHA256 Checksum OK for rust/crates/anstream-0.6.15.crate.
=> SHA256 Checksum OK for rust/crates/anstyle-1.0.8.crate.
=> SHA256 Checksum OK for rust/crates/anstyle-parse-0.2.5.crate.
=> SHA256 Checksum OK for rust/crates/anstyle-query-1.1.1.crate.
=> SHA256 Checksum OK for rust/crates/anstyle-wincon-3.0.4.crate.
=> SHA256 Checksum OK for rust/crates/anyhow-1.0.86.crate.
=> SHA256 Checksum OK for rust/crates/appendlist-1.4.0.crate.
=> SHA256 Checksum OK for rust/crates/approx-0.4.0.crate.
=> SHA256 Checksum OK for rust/crates/approx-0.5.1.crate.
=> SHA256 Checksum OK for rust/crates/arrayvec-0.7.4.crate.
=> SHA256 Checksum OK for rust/crates/as-raw-xcb-connection-1.0.1.crate.
=> SHA256 Checksum OK for rust/crates/async-broadcast-0.5.1.crate.
=> SHA256 Checksum OK for rust/crates/async-channel-2.3.1.crate.
=> SHA256 Checksum OK for rust/crates/async-executor-1.13.0.crate.
=> SHA256 Checksum OK for rust/crates/async-fs-1.6.0.crate.
=> SHA256 Checksum OK for rust/crates/async-io-1.13.0.crate.
=> SHA256 Checksum OK for rust/crates/async-io-2.3.3.crate.
=> SHA256 Checksum OK for rust/crates/async-lock-2.8.0.crate.
=> SHA256 Checksum OK for rust/crates/async-lock-3.4.0.crate.
=> SHA256 Checksum OK for rust/crates/async-process-1.8.1.crate.
<snip>
warning: unexpected `cfg` condition name: `linux_kernel`
  --> /wrkdirs/usr/ports/x11-wm/niri/work/niri-0.1.8/cargo-crates/rustix-0.37.27/src/process/rlimit.rs:49:7
   |
49 | #[cfg(linux_kernel)]
   |       ^^^^^^^^^^^^
   |
   = help: consider using a Cargo feature instead
   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
            [lints.rust]
            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux_kernel)'] }
   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux_kernel)");` to the top of the `build.rs`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `linux_kernel`
  --> /wrkdirs/usr/ports/x11-wm/niri/work/niri-0.1.8/cargo-crates/rustix-0.37.27/src/process/system.rs:15:7
   |
15 | #[cfg(linux_kernel)]
   |       ^^^^^^^^^^^^
   |
   = help: consider using a Cargo feature instead
   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
            [lints.rust]
            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux_kernel)'] }
   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux_kernel)");` to the top of the `build.rs`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `linux_kernel`
   --> /wrkdirs/usr/ports/x11-wm/niri/work/niri-0.1.8/cargo-crates/rustix-0.37.27/src/process/system.rs:121:7
    |
121 | #[cfg(linux_kernel)]
    |       ^^^^^^^^^^^^
    |
    = help: consider using a Cargo feature instead
    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
             [lints.rust]
             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux_kernel)'] }
    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux_kernel)");` to the top of the `build.rs`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `linux_kernel`
  --> /wrkdirs/usr/ports/x11-wm/niri/work/niri-0.1.8/cargo-crates/rustix-0.37.27/src/process/system.rs:72:11
   |
72 |     #[cfg(linux_kernel)]
   |           ^^^^^^^^^^^^
   |
   = help: consider using a Cargo feature instead
   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
            [lints.rust]
            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux_kernel)'] }
   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux_kernel)");` to the top of the `build.rs`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `linux_kernel`
  --> /wrkdirs/usr/ports/x11-wm/niri/work/niri-0.1.8/cargo-crates/rustix-0.37.27/src/process/system.rs:87:19
   |
87 |         #[cfg(not(linux_kernel))]
   |                   ^^^^^^^^^^^^
   |
   = help: consider using a Cargo feature instead
   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
            [lints.rust]
            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux_kernel)'] }
   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux_kernel)");` to the top of the `build.rs`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `linux_kernel`
  --> /wrkdirs/usr/ports/x11-wm/niri/work/niri-0.1.8/cargo-crates/rustix-0.37.27/src/process/system.rs:99:15
   |
99 |         #[cfg(linux_kernel)]
   |               ^^^^^^^^^^^^
   |
   = help: consider using a Cargo feature instead
   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
            [lints.rust]
            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux_kernel)'] }
   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux_kernel)");` to the top of the `build.rs`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `doc_cfg`
  --> /wrkdirs/usr/ports/x11-wm/niri/work/niri-0.1.8/cargo-crates/rustix-0.37.27/src/process/umask.rs:17:12
   |
17 | #[cfg_attr(doc_cfg, doc(cfg(feature = "fs")))]
   |            ^^^^^^^
   |
   = help: consider using a Cargo feature instead
   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
            [lints.rust]
            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] }
   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `linux_raw`
 --> /wrkdirs/usr/ports/x11-wm/niri/work/niri-0.1.8/cargo-crates/rustix-0.37.27/src/process/wait.rs:8:7
  |
8 | #[cfg(linux_raw)]
  |       ^^^^^^^^^
  |
  = help: consider using a Cargo feature instead
  = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
           [lints.rust]
           unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux_raw)'] }
  = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux_raw)");` to the top of the `build.rs`
  = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `linux_raw`
   --> /wrkdirs/usr/ports/x11-wm/niri/work/niri-0.1.8/cargo-crates/rustix-0.37.27/src/process/wait.rs:220:11
    |
220 |     #[cfg(linux_raw)]
    |           ^^^^^^^^^
    |
    = help: consider using a Cargo feature instead
    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
             [lints.rust]
             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux_raw)'] }
    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux_raw)");` to the top of the `build.rs`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `linux_raw`
   --> /wrkdirs/usr/ports/x11-wm/niri/work/niri-0.1.8/cargo-crates/rustix-0.37.27/src/process/wait.rs:225:15
    |
225 |     #[cfg(not(linux_raw))]
    |               ^^^^^^^^^
    |
    = help: consider using a Cargo feature instead
    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
             [lints.rust]
             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux_raw)'] }
    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux_raw)");` to the top of the `build.rs`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

error[E0599]: no associated item named `TMPFILE` found for struct `backend::fs::types::OFlags` in the current scope
   --> /wrkdirs/usr/ports/x11-wm/niri/work/niri-0.1.8/cargo-crates/rustix-0.37.27/src/backend/libc/fs/syscalls.rs:157:32
    |
157 |       if oflags.contains(OFlags::TMPFILE) && crate::backend::if_glibc_is_less_than_2_25() {
    |                                  ^^^^^^^ associated item not found in `OFlags`
    |
   ::: /wrkdirs/usr/ports/x11-wm/niri/work/niri-0.1.8/cargo-crates/rustix-0.37.27/src/backend/libc/fs/types.rs:181:1
    |
181 | / bitflags! {
182 | |     /// `O_*` constants for use with [`openat`].
183 | |     ///
184 | |     /// [`openat`]: crate::fs::openat
...   |
308 | |     }
309 | | }
    | |_- associated item `TMPFILE` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
    = note: the following traits define an item `TMPFILE`, perhaps you need to implement one of them:
            candidate #1: `<backend::fs::types::OFlags as Debug>::fmt::__BitFlags`
            candidate #2: `backend::fs::types::OFlags::all::__BitFlags`
help: trait `__BitFlags` which provides `TMPFILE` is implemented but not in scope; perhaps you want to import it
    |
3   + use <crate::backend::fs::types::OFlags as std::fmt::Debug>::fmt::__BitFlags;
    |
help: trait `__BitFlags` which provides `TMPFILE` is implemented but not in scope; perhaps you want to import it
    |
3   + use crate::backend::fs::types::OFlags::all::__BitFlags;
    |

warning: `extern` fn uses type `XEventQueueOwner`, which is not FFI-safe
  --> /wrkdirs/usr/ports/x11-wm/niri/work/niri-0.1.8/cargo-crates/x11-dl-2.21.0/src/link.rs:28:23
   |
28 |         $(pub $fn_name: unsafe extern "C" fn ($($param_type),*) -> $ret_type,)*
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
   |
  ::: /wrkdirs/usr/ports/x11-wm/niri/work/niri-0.1.8/cargo-crates/x11-dl-2.21.0/src/xlib_xcb.rs:4:1
   |
4  | / x11_link! { Xlib_xcb, xlib_xcb, ["libX11-xcb.so.1", "libX11-xcb.so"], 2,
5  | |     pub fn XGetXCBConnection(_1: *mut Display) -> *mut xcb_connection_t,
6  | |     pub fn XSetEventQueueOwner(_1: *mut Display, _2: XEventQueueOwner) -> (),
7  | |     variadic:
8  | |     globals:
9  | | }
   | |_- in this macro invocation
   |
   = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
   = note: enum has no representation hint
note: the type is defined here
  --> /wrkdirs/usr/ports/x11-wm/niri/work/niri-0.1.8/cargo-crates/x11-dl-2.21.0/src/xlib_xcb.rs:11:1
   |
11 | pub enum XEventQueueOwner {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^
   = note: `#[warn(improper_ctypes_definitions)]` on by default
   = note: this warning originates in the macro `x11_link` (in Nightly builds, run with -Z macro-backtrace for more info)

Some errors have detailed explanations: E0425, E0599.
For more information about an error, try `rustc --explain E0425`.
warning: `rustix` (lib) generated 573 warnings
error: could not compile `rustix` (lib) due to 2 previous errors; 573 warnings emitted

Caused by:
  process didn't exit successfully: `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=rustix CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/x11-wm/niri/work/niri-0.1.8/cargo-crates/rustix-0.37.27 CARGO_PKG_AUTHORS='Dan Gohman <dev@sunfishcode.online>:Jakub Konka <kubkon@jakubkonka.com>' CARGO_PKG_DESCRIPTION='Safe Rust bindings to POSIX/Unix/Linux/Winsock2-like syscalls' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=rustix CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/bytecodealliance/rustix' CARGO_PKG_RUST_VERSION=1.48 CARGO_PKG_VERSION=0.37.27 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=37 CARGO_PKG_VERSION_PATCH=27 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/wrkdirs/usr/ports/x11-wm/niri/work/target/release/deps OUT_DIR=/wrkdirs/usr/ports/x11-wm/niri/work/target/armv7-unknown-freebsd/release/build/rustix-32545b76ff3f0040/out /usr/local/bin/rustc --crate-name rustix --editi
on=2018 /wrkdirs/usr/ports/x11-wm/niri/work/niri-0.1.8/cargo-crates/rustix-0.37.27/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C panic=abort -C linker-plugin-lto -C codegen-units=1 -C overflow-checks=on --cfg 'feature="fs"' --cfg 'feature="io-lifetimes"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-apis", "all-impls", "alloc", "cc", "compiler_builtins", "core", "default", "fs", "fs-err", "io-lifetimes", "io_uring", "itoa", "libc", "libc_errno", "linux_4_11", "linux_latest", "mm", "net", "once_cell", "os_pipe", "param", "process", "procfs", "pty", "rand", "runtime", "rustc-dep-of-std", "std", "termios", "thread", "time", "use-libc", "use-libc-auxv"))' -C metadata=a35c5a6d27bc1f54 -C extra-filename=-a35c5a6d27bc1f54 --out-dir /wrkdirs/usr/ports/x11-wm/niri/work/target/armv7-unknown-freebsd/release/deps --target armv7-unknown-freeb
sd -C linker=/usr/local/llvm15/bin/clang -C strip=debuginfo -L dependency=/wrkdirs/usr/ports/x11-wm/niri/work/target/armv7-unknown-freebsd/release/deps -L dependency=/wrkdirs/usr/ports/x11-wm/niri/work/target/release/deps --extern bitflags=/wrkdirs/usr/ports/x11-wm/niri/work/target/armv7-unknown-freebsd/release/deps/libbitflags-1c2a53ba876bc5fb.rmeta --extern libc_errno=/wrkdirs/usr/ports/x11-wm/niri/work/target/armv7-unknown-freebsd/release/deps/liberrno-57593516432aa217.rmeta --extern io_lifetimes=/wrkdirs/usr/ports/x11-wm/niri/work/target/armv7-unknown-freebsd/release/deps/libio_lifetimes-3d686d2c5f954b6a.rmeta --extern libc=/wrkdirs/usr/ports/x11-wm/niri/work/target/armv7-unknown-freebsd/release/deps/liblibc-f7403daa486b194c.rmeta --cap-lints warn -C target-cpu= -C link-arg=-fstack-protector-strong --cfg libc --cfg freebsdlike --cfg bsd` (exit status: 1)
warning: build failed, waiting for other jobs to finish...
warning: `x11-dl` (lib) generated 2 warnings
warning: `x11rb-protocol` (lib) generated 1 warning
*** Error code 101

Stop.
make: stopped making "build" in /usr/ports/x11-wm/niri