[package - main-amd64-default][devel/wasmer] Failed for wasmer-4.3.2_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 08 Jul 2024 12:12:42 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:     kjozic@gmail.com
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p291cba0140ec_sfb32ba6aa44/logs/wasmer-4.3.2_1.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p291cba0140ec_sfb32ba6aa44
Log:

=>> Building devel/wasmer
build started at Mon Jul  8 11:54:25 UTC 2024
port directory: /usr/ports/devel/wasmer
package name: wasmer-4.3.2_1
building for: FreeBSD main-amd64-default-job-02 15.0-CURRENT FreeBSD 15.0-CURRENT 1500019 amd64
maintained by: kjozic@gmail.com
Makefile datestamp: -rw-r--r--  1 root wheel 923 Jun 20 01:01 /usr/ports/devel/wasmer/Makefile
Ports top last git commit: 291cba0140e
Ports top unclean checkout: no
Port dir last git commit: 21476ca8a9b
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500019
Jail OSVERSION: 1500019
Job Id: 02

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500019
UNAME_v=FreeBSD 15.0-CURRENT 1500019
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.1-30-g79e3edcd
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-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-amd64-default/02/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-30-g79e3edcd
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---
---End OPTIONS List---

--MAINTAINER--
kjozic@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/devel/wasmer/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/wasmer/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/wasmer/work/.cache  HOME=/wrkdirs/usr/ports/devel/wasmer/work TMPDIR="/wrkdirs/usr/ports/devel/wasmer/work" PATH=/wrkdirs/usr/ports/devel/wasmer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/wasmer/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--
ENABLE_CRANELIFT=1  ENABLE_LLVM=1  ENABLE_SINGLEPASS=1 XDG_DATA_HOME=/wrkdirs/usr/ports/devel/wasmer/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/wasmer/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/wasmer/work/.cache  HOME=/wrkdirs/usr/ports/devel/wasmer/work TMPDIR="/wrkdirs/usr/ports/devel/wasmer/work" PATH=/wrkdirs/usr/ports/devel/wasmer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/wasmer/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_INST
ALL_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--
OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/wasmer"  EXAMPLESDIR="share/examples/wasmer"  DATADIR="share/wasmer"  WWWDIR="www/wasmer"  ETCDIR="etc/wasmer"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/wasmer DOCSDIR=/usr/local/share/doc/wasmer EXAMPLESDIR=/usr/local/share/examples/wasmer  WWWDIR=/usr/local/www/wasmer ETCDIR=/usr/local/etc/wasmer
--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)  33554432
stack size              (kbytes, -s)  524288
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 MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   wasmer-4.3.2_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-amd64-default-job-02] Installing pkg-1.21.3...
[main-amd64-default-job-02] Extracting pkg-1.21.3: .......... done
===>   wasmer-4.3.2_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of wasmer-4.3.2_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 MIT accepted by the user
===> Fetching all distfiles required by wasmer-4.3.2_1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===> Fetching all distfiles required by wasmer-4.3.2_1 for building
=> SHA256 Checksum OK for rust/crates/addr2line-0.21.0.crate.
=> SHA256 Checksum OK for rust/crates/adler-1.0.2.crate.
=> SHA256 Checksum OK for rust/crates/ahash-0.7.8.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/aliasable-0.1.3.crate.
=> SHA256 Checksum OK for rust/crates/allocator-api2-0.2.18.crate.
=> SHA256 Checksum OK for rust/crates/android-tzdata-0.1.1.crate.
=> SHA256 Checksum OK for rust/crates/android_system_properties-0.1.5.crate.
=> SHA256 Checksum OK for rust/crates/anes-0.1.6.crate.
=> SHA256 Checksum OK for rust/crates/anstream-0.6.14.crate.
=> SHA256 Checksum OK for rust/crates/anstyle-1.0.7.crate.
=> SHA256 Checksum OK for rust/crates/anstyle-parse-0.2.4.crate.
=> SHA256 Checksum OK for rust/crates/anstyle-query-1.0.3.crate.
=> SHA256 Checksum OK for rust/crates/anstyle-wincon-3.0.3.crate.
=> SHA256 Checksum OK for rust/crates/any_ascii-0.1.7.crate.
=> SHA256 Checksum OK for rust/crates/anyhow-1.0.83.crate.
=> SHA256 Checksum OK for rust/crates/arbitrary-1.3.2.crate.
=> SHA256 Checksum OK for rust/crates/arrayref-0.3.7.crate.
=> SHA256 Checksum OK for rust/crates/arrayvec-0.5.2.crate.
=> SHA256 Checksum OK for rust/crates/arrayvec-0.7.4.crate.
=> SHA256 Checksum OK for rust/crates/ascii-0.9.3.crate.
=> SHA256 Checksum OK for rust/crates/assert_cmd-1.0.8.crate.
=> SHA256 Checksum OK for rust/crates/assert_cmd-2.0.14.crate.
=> SHA256 Checksum OK for rust/crates/async-compression-0.4.10.crate.
=> SHA256 Checksum OK for rust/crates/async-trait-0.1.80.crate.
=> SHA256 Checksum OK for rust/crates/async-tungstenite-0.23.0.crate.
=> SHA256 Checksum OK for rust/crates/atomic-polyfill-1.0.3.crate.
=> SHA256 Checksum OK for rust/crates/autocfg-1.3.0.crate.
=> SHA256 Checksum OK for rust/crates/backtrace-0.3.71.crate.
=> SHA256 Checksum OK for rust/crates/base64-0.13.1.crate.
=> SHA256 Checksum OK for rust/crates/base64-0.21.7.crate.
=> SHA256 Checksum OK for rust/crates/base64-0.22.1.crate.
=> SHA256 Checksum OK for rust/crates/beef-0.5.2.crate.
=> SHA256 Checksum OK for rust/crates/bincode-1.3.3.crate.
=> SHA256 Checksum OK for rust/crates/bitflags-1.3.2.crate.
=> SHA256 Checksum OK for rust/crates/bitflags-2.5.0.crate.
=> SHA256 Checksum OK for rust/crates/bitvec-1.0.1.crate.
=> SHA256 Checksum OK for rust/crates/blake3-1.5.1.crate.
=> SHA256 Checksum OK for rust/crates/block-buffer-0.10.4.crate.
=> SHA256 Checksum OK for rust/crates/bstr-0.2.17.crate.
<snip>
   Compiling clap_builder v4.4.11
   Compiling smoltcp v0.8.2
   Compiling ouroboros v0.18.3
   Compiling cynic-parser v0.3.0
   Compiling crc v1.8.1
   Compiling virtual-mio v0.3.1 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.3.2/lib/virtual-io)
   Compiling cipher v0.4.4
   Compiling tokio-serde v0.8.0
   Compiling heapless v0.7.17
   Compiling graphql_client_codegen v0.13.0
   Compiling serde_yaml v0.8.26
   Compiling cranelift-codegen v0.91.1
   Compiling wai-bindgen-rust v0.2.3
   Compiling num_enum v0.5.11
   Compiling hyper-tungstenite v0.11.1
   Compiling gimli v0.26.2
   Compiling clap_derive v4.4.7
   Compiling counter v0.5.7
   Compiling wasmer-config v0.4.0 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.3.2/lib/config)
   Compiling serde_path_to_error v0.1.16
   Compiling hmac v0.12.1
   Compiling sparx v0.1.2
   Compiling blake3 v1.5.1
   Compiling nom v5.1.3
   Compiling portable-atomic v1.6.0
   Compiling ref-cast v1.0.23
   Compiling rustversion v1.0.17
   Compiling replace_with v0.1.7
   Compiling arrayvec v0.5.2
   Compiling fs_extra v1.3.0
   Compiling tower-layer v0.3.2
   Compiling slice-group-by v0.3.1
   Compiling tower v0.4.13
   Compiling regalloc2 v0.5.1
   Compiling virtual-fs v0.13.0 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.3.2/lib/virtual-fs)
   Compiling pbkdf2 v0.12.2
   Compiling clap v4.4.11
   Compiling cynic-codegen v3.7.1
   Compiling rayon v1.10.0
   Compiling virtual-net v0.6.7 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.3.2/lib/virtual-net)
   Compiling graphql_query_derive v0.13.0
   Compiling wasmer-wasix-types v0.21.0 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.3.2/lib/wasi-types)
   Compiling salsa20 v0.10.2
   Compiling cranelift-egraph v0.91.1
   Compiling cranelift-bforest v0.91.1
   Compiling console v0.15.8
   Compiling lz4_flex v0.11.3
   Compiling crossbeam-channel v0.5.12
   Compiling hash32 v0.2.1
   Compiling ref-cast-impl v1.0.23
   Compiling rtoolbox v0.0.2
   Compiling constant_time_eq v0.3.0
   Compiling iana-time-zone v0.1.60
   Compiling camino v1.1.7
   Compiling arrayref v0.3.7
   Compiling http-range-header v0.3.1
   Compiling fixedbitset v0.4.2
   Compiling inkwell v0.1.1
   Compiling matches v0.1.10
   Compiling idna v0.2.3
   Compiling petgraph v0.6.5
   Compiling tower-http v0.4.4
   Compiling chrono v0.4.38
   Compiling regex-automata v0.1.10
   Compiling rpassword v7.3.1
   Compiling rusty_pool v0.7.0
   Compiling wasmer-journal v0.4.0 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.3.2/lib/journal)
   Compiling scrypt v0.11.0
   Compiling graphql_client v0.13.0
   Compiling cynic-proc-macros v3.7.1
   Compiling wasmer-emscripten v4.3.2 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.3.2/lib/emscripten)
   Compiling linked_hash_set v0.1.4
   Compiling async-tungstenite v0.23.0
   Compiling dynasm v1.2.3
   Compiling tokio-stream v0.1.15
   Compiling terminal_size v0.3.0
   Compiling hashlink v0.8.4
   Compiling inkwell_internals v0.7.0
   Compiling termios v0.3.3
   Compiling dirs-sys v0.3.7
   Compiling shell-words v1.1.0
   Compiling number_prefix v0.4.0
   Compiling lockfree-object-pool v0.1.6
   Compiling simd-adler32 v0.3.7
   Compiling waker-fn v1.2.0
   Compiling cooked-waker v5.0.0
   Compiling fallible-streaming-iterator v0.1.9
   Compiling wasmer-compiler-cranelift v4.3.2 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.3.2/lib/compiler-cranelift)
   Compiling zeroize v1.7.0
   Compiling overload v0.1.1
   Compiling weezl v0.1.8
   Compiling urlencoding v2.1.3
   Compiling zip v2.1.3
   Compiling wasmer-wasix v0.21.0 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.3.2/lib/wasix)
   Compiling dialoguer v0.11.0
   Compiling nu-ansi-term v0.46.0
   Compiling rusqlite v0.28.0
   Compiling dynasmrt v1.2.3
   Compiling zopfli v0.8.1
   Compiling indicatif v0.17.8
   Compiling dirs v4.0.0
   Compiling graphql-ws-client v0.6.0
   Compiling strum_macros v0.26.2
   Compiling wasmer-wasm-interface v4.3.2 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.3.2/lib/wasm-interface)
   Compiling cranelift-frontend v0.91.1
   Compiling cynic v3.4.3
   Compiling minisign v0.7.6
   Compiling lzma-rs v0.2.0
   Compiling matchers v0.1.0
   Compiling wasmer-cli v4.3.2 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.3.2/lib/cli)
   Compiling tldextract v0.6.0
   Compiling edge-schema v0.0.3
   Compiling edge-schema v0.1.0
   Compiling crossterm v0.27.0
   Compiling itertools v0.10.5
   Compiling sharded-slab v0.1.7
   Compiling wast v38.0.1
   Compiling tracing-serde v0.1.3
   Compiling tracing-log v0.2.0
   Compiling toml v0.5.11
   Compiling cargo-platform v0.1.8
   Compiling displaydoc v0.2.4
   Compiling object v0.28.4
   Compiling thread_local v1.1.8
   Compiling strum v0.26.2
   Compiling harsh v0.2.2
   Compiling roff v0.2.1
   Compiling whoami v1.5.1
   Compiling wasmer-registry v5.14.0 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.3.2/lib/registry)
   Compiling wasmer-compiler-llvm v4.3.2 (/wrkdirs/usr/ports/devel/wasmer/work/wasmer-4.3.2/lib/compiler-llvm)
error: multiple fields are never read
   --> lib/compiler-llvm/src/translator/intrinsics.rs:141:9
    |
64  | pub struct Intrinsics<'ctx> {
    |            ---------- fields in this struct
...
141 |     pub copysign_f32x4: FunctionValue<'ctx>,
    |         ^^^^^^^^^^^^^^
142 |     pub copysign_f64x2: FunctionValue<'ctx>,
    |         ^^^^^^^^^^^^^^
...
155 |     pub trap: FunctionValue<'ctx>,
    |         ^^^^
156 |     pub debug_trap: FunctionValue<'ctx>,
    |         ^^^^^^^^^^
...
189 |     pub isize_ptr_ty: PointerType<'ctx>,
    |         ^^^^^^^^^^^^
...
203 |     pub i128_zero: IntValue<'ctx>,
    |         ^^^^^^^^^
204 |     pub isize_zero: IntValue<'ctx>,
    |         ^^^^^^^^^^
...
221 |     pub experimental_stackmap: FunctionValue<'ctx>,
    |         ^^^^^^^^^^^^^^^^^^^^^
...
245 |     pub memory_wait32: FunctionValue<'ctx>,
    |         ^^^^^^^^^^^^^
246 |     pub memory_wait32_ty: FunctionType<'ctx>,
247 |     pub imported_memory_wait32: FunctionValue<'ctx>,
    |         ^^^^^^^^^^^^^^^^^^^^^^
248 |     pub memory_wait64: FunctionValue<'ctx>,
    |         ^^^^^^^^^^^^^
249 |     pub memory_wait64_ty: FunctionType<'ctx>,
250 |     pub imported_memory_wait64: FunctionValue<'ctx>,
    |         ^^^^^^^^^^^^^^^^^^^^^^
251 |     pub memory_notify: FunctionValue<'ctx>,
    |         ^^^^^^^^^^^^^
252 |     pub memory_notify_ty: FunctionType<'ctx>,
253 |     pub imported_memory_notify: FunctionValue<'ctx>,
    |         ^^^^^^^^^^^^^^^^^^^^^^
    |
note: the lint level is defined here
   --> lib/compiler-llvm/src/lib.rs:11:10
    |
11  |     deny(dead_code)
    |          ^^^^^^^^^

error: fields `if_then` and `then_phis` are never read
  --> lib/compiler-llvm/src/translator/state.rs:24:9
   |
23 |     IfElse {
   |     ------ fields in this variant
24 |         if_then: BasicBlock<'ctx>,
   |         ^^^^^^^
...
27 |         then_phis: SmallVec<[PhiValue<'ctx>; 1]>,
   |         ^^^^^^^^^

error: could not compile `wasmer-compiler-llvm` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
gmake: *** [Makefile:387: build-wasmer] Error 101
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/wasmer