[package - 140amd64-quarterly][devel/wasmer] Failed for wasmer-4.3.2_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 11 Aug 2024 01:07: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/beefy20/data/140amd64-quarterly/d032848c5848/logs/wasmer-4.3.2_1.log
Build URL:      https://pkg-status.freebsd.org/beefy20/build.html?mastername=140amd64-quarterly&build=d032848c5848
Log:

=>> Building devel/wasmer
build started at Sun Aug 11 01:04:22 UTC 2024
port directory: /usr/ports/devel/wasmer
package name: wasmer-4.3.2_1
building for: FreeBSD 140amd64-quarterly-job-10 14.0-RELEASE-p9 FreeBSD 14.0-RELEASE-p9 amd64
maintained by: kjozic@gmail.com
Makefile datestamp: -rw-r--r--  1 root wheel 923 Jul  6 01:01 /usr/ports/devel/wasmer/Makefile
Ports top last git commit: d032848c5
Ports top unclean checkout: no
Port dir last git commit: 854c13714
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500019
Jail OSVERSION: 1400097
Job Id: 10

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400097
UNAME_v=FreeBSD 14.0-RELEASE-p9
UNAME_r=14.0-RELEASE-p9
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/140amd64-quarterly/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/140amd64-quarterly/10/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=140amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140amd64-quarterly/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=14.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---
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
DISABLE_MAKE_JOBS=poudriere
---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
[140amd64-quarterly-job-10] Installing pkg-1.21.3...
[140amd64-quarterly-job-10] 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.
=> SHA256 Checksum OK for rust/crates/bstr-1.9.1.crate.
=> SHA256 Checksum OK for rust/crates/build-deps-0.1.4.crate.
=> SHA256 Checksum OK for rust/crates/build_const-0.2.2.crate.
=> SHA256 Checksum OK for rust/crates/bumpalo-3.16.0.crate.
=> SHA256 Checksum OK for rust/crates/bytecheck-0.6.12.crate.
=> SHA256 Checksum OK for rust/crates/bytecheck_derive-0.6.12.crate.
<snip>
    |            ---------------- fields in this struct
87  |     /// Initial.
88  |     pub initial: MachineState,
    |         ^^^^^^^
...
92  |     pub locals: Vec<WasmAbstractValue>,
    |         ^^^^^^
93  |     /// Shadow size.
94  |     pub shadow_size: usize, // for single-pass backend, 32 bytes on x86-64
    |         ^^^^^^^^^^^
...
98  |     pub wasm_function_header_target_offset: Option<SuspendOffset>,
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
102 |     pub loop_offsets: BTreeMap<usize, OffsetInfo>, /* suspend_offset -> info */
    |         ^^^^^^^^^^^^
    |
    = note: `FunctionStateMap` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis

warning: field `0` is never read
   --> lib/compiler-singlepass/src/common_decl.rs:123:10
    |
123 |     Call(usize),
    |     ---- ^^^^^
    |     |
    |     field in this variant
    |
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
    |
123 |     Call(()),
    |          ~~

warning: field `0` is never read
   --> lib/compiler-singlepass/src/common_decl.rs:125:15
    |
125 |     Trappable(usize),
    |     --------- ^^^^^
    |     |
    |     field in this variant
    |
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
    |
125 |     Trappable(()),
    |               ~~

warning: fields `end_offset`, `diff_id`, and `activate_offset` are never read
   --> lib/compiler-singlepass/src/common_decl.rs:132:9
    |
130 | pub struct OffsetInfo {
    |            ---------- fields in this struct
131 |     /// Exclusive range-end offset.
132 |     pub end_offset: usize,
    |         ^^^^^^^^^^
133 |     /// Index pointing to the `MachineStateDiff` entry.
134 |     pub diff_id: usize,
    |         ^^^^^^^
135 |     /// Offset at which execution can be continued.
136 |     pub activate_offset: usize,
    |         ^^^^^^^^^^^^^^^
    |
    = note: `OffsetInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis

warning: multiple methods are never used
   --> lib/compiler-singlepass/src/emitter_arm64.rs:90:8
    |
87  | pub trait EmitterARM64 {
    |           ------------ methods in this trait
...
90  |     fn get_jmp_instr_size(&self) -> u8;
    |        ^^^^^^^^^^^^^^^^^^
...
110 |     fn emit_strdb(
    |        ^^^^^^^^^^
...
124 |     fn emit_ldria(
    |        ^^^^^^^^^^
...
184 |     fn emit_movz(&mut self, reg: Location, val: u32) -> Result<(), CompileError>;
    |        ^^^^^^^^^
185 |     fn emit_movk(&mut self, reg: Location, val: u32, shift: u32) -> Result<(), CompileError>;
    |        ^^^^^^^^^
...
335 |     fn emit_csetm(&mut self, sz: Size, dst: Location, cond: Condition) -> Result<(), CompileError>;
    |        ^^^^^^^^^^
336 |     fn emit_cinc(
    |        ^^^^^^^^^
...
370 |     fn emit_tbnz_label(
    |        ^^^^^^^^^^^^^^^

warning: multiple methods are never used
   --> lib/compiler-singlepass/src/emitter_x64.rs:74:8
    |
64  | pub trait EmitterX64 {
    |           ---------- methods in this trait
...
74  |     fn emit_u64(&mut self, x: u64) -> Result<(), CompileError>;
    |        ^^^^^^^^
...
79  |     fn emit_nop(&mut self) -> Result<(), CompileError>;
    |        ^^^^^^^^
...
147 |     fn emit_cmovae_gpr_32(&mut self, src: GPR, dst: GPR) -> Result<(), CompileError>;
    |        ^^^^^^^^^^^^^^^^^^
...
219 |     fn emit_vcmpordss(
    |        ^^^^^^^^^^^^^^
...
225 |     fn emit_vcmpordsd(
    |        ^^^^^^^^^^^^^^
...
347 |     fn emit_ud2(&mut self) -> Result<(), CompileError>;
    |        ^^^^^^^^
...
461 |     fn arch_emit_entry_trampoline(&mut self) -> Result<(), CompileError> {
    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
467 |     fn arch_mov64_imm_offset(&self) -> Result<usize, CompileError> {
    |        ^^^^^^^^^^^^^^^^^^^^^

warning: methods `is_callee_save` and `is_reserved` are never used
  --> lib/compiler-singlepass/src/location.rs:42:8
   |
41 | pub trait Reg: Copy + Clone + Eq + PartialEq + Debug + Hash + Ord {
   |           --- methods in this trait
42 |     fn is_callee_save(self) -> bool;
   |        ^^^^^^^^^^^^^^
43 |     fn is_reserved(self) -> bool;
   |        ^^^^^^^^^^^

warning: trait `Descriptor` is never used
  --> lib/compiler-singlepass/src/location.rs:50:11
   |
50 | pub trait Descriptor<R: Reg, S: Reg> {
   |           ^^^^^^^^^^

warning: associated items `to_index`, `from_gpr`, and `from_simd` are never used
  --> lib/compiler-singlepass/src/location.rs:70:8
   |
68 | pub trait CombinedRegister: Copy + Clone + Eq + PartialEq + Debug {
   |           ---------------- associated items in this trait
69 |     /// Returns the index of the register.
70 |     fn to_index(&self) -> RegisterIndex;
   |        ^^^^^^^^
...
74 |     fn from_gpr(x: u16) -> Self;
   |        ^^^^^^^^
75 |     /// Convert from an SIMD register
76 |     fn from_simd(x: u16) -> Self;
   |        ^^^^^^^^^

warning: methods `imm_value` and `is_imm` are never used
  --> lib/compiler-singlepass/src/machine.rs:36:8
   |
35 | pub trait MaybeImmediate {
   |           -------------- methods in this trait
36 |     fn imm_value(&self) -> Option<Value>;
   |        ^^^^^^^^^
37 |     fn is_imm(&self) -> bool {
   |        ^^^^^^

warning: multiple methods are never used
   --> lib/compiler-singlepass/src/machine.rs:114:8
    |
54  | pub trait Machine {
    |           ------- methods in this trait
...
114 |     fn mark_address_with_trap_code(&mut self, code: TrapCode);
    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
279 |     fn emit_call_label(&mut self, label: Label) -> Result<(), CompileError>;
    |        ^^^^^^^^^^^^^^^
...
298 |     fn emit_debug_breakpoint(&mut self) -> Result<(), CompileError>;
    |        ^^^^^^^^^^^^^^^^^^^^^
...
302 |     fn location_address(
    |        ^^^^^^^^^^^^^^^^
...
310 |     fn location_and(
    |        ^^^^^^^^^^^^
...
343 |     fn location_sub(
    |        ^^^^^^^^^^^^
...
368 |     fn location_test(
    |        ^^^^^^^^^^^^^
...
385 |     fn jmp_on_above(&mut self, label: Label) -> Result<(), CompileError>;
    |        ^^^^^^^^^^^^
...
394 |     fn jmp_on_overflow(&mut self, label: Label) -> Result<(), CompileError>;
    |        ^^^^^^^^^^^^^^^

warning: `wasmer-compiler-singlepass` (lib) generated 12 warnings
gmake: *** [Makefile:387: build-wasmer] Error 101
*** Error code 1

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