[package - 123i386-default][databases/postgresql-promscale] Failed for postgresql13-promscale-0.7.0_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 23 Nov 2022 04:01:14 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:     feld@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy5/data/123i386-default/f5ce9b7ee067/logs/postgresql13-promscale-0.7.0_2.log
Build URL:      https://pkg-status.freebsd.org/beefy5/build.html?mastername=123i386-default&build=f5ce9b7ee067
Log:

=>> Building databases/postgresql-promscale
build started at Wed Nov 23 03:54:26 UTC 2022
port directory: /usr/ports/databases/postgresql-promscale
package name: postgresql13-promscale-0.7.0_2
building for: FreeBSD 123i386-default-job-12 12.3-RELEASE-p9 FreeBSD 12.3-RELEASE-p9 i386
maintained by: feld@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1203000
Job Id: 12

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1203000
UNAME_v=FreeBSD 12.3-RELEASE-p9
UNAME_r=12.3-RELEASE-p9
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/123i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/123i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=123i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/123i386-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
feld@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/databases/postgresql-promscale/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/postgresql-promscale/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/postgresql-promscale/work/.cache  HOME=/wrkdirs/usr/ports/databases/postgresql-promscale/work TMPDIR="/wrkdirs/usr/ports/databases/postgresql-promscale/work" PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/postgresql-promscale/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--
MAKE=gmake PATH=/wrkdirs/usr/ports/databases/postgresql-promscale/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin:/wrkdirs/usr/ports/databases/postgresql-promscale/work/.cargo/bin XDG_DATA_HOME=/wrkdirs/usr/ports/databases/postgresql-promscale/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/postgresql-promscale/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/postgresql-promscale/work/.cache  HOME=/wrkdirs/usr/ports/databases/postgresql-promscale/work TMPDIR="/wrkdirs/usr/ports/databases/postgresql-promscale/work" PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/postgresql-promscale/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="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -fstack-protector-strong "
  LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" 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--
OSREL=12.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/promscale"  EXAMPLESDIR="share/examples/promscale"  DATADIR="share/promscale"  WWWDIR="www/promscale"  ETCDIR="etc/promscale"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/promscale DOCSDIR=/usr/local/share/doc/promscale EXAMPLESDIR=/usr/local/share/examples/promscale  WWWDIR=/usr/local/www/promscale ETCDIR=/usr/local/etc/promscale
--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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/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 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=error: invalid value 'c++2b' in '-std=c++2b' note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard note: use 'gnu++98' or 'gnu++03' for 'ISO C++ 1998 with amendments and GNU extensions' standard note: use 'c++11' for 'ISO C++ 2011 with amendments' standard note: use 'gnu++11' for 'ISO C++ 2011 with amendments and GNU extensions' standard note: use 'c++14' for 'ISO C++ 2014 with amendments' standard note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard note: use 'c++17' for 'ISO C++ 2017 with amendments' standard note: use 'gnu++17' for 'ISO C++ 2017 with amendments and GNU extensions' standard note: use 'c++20' for 'ISO C++ 2020 DIS' standard note: use 'gnu++20' for 'ISO C++ 2020 DIS with GNU extensions' standard
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=error: invalid value 'gnu++2b' in '-std=gnu++2b' note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard note: use 'gnu++98' or 'gnu++03' for 'ISO C++ 1998 with amendments and GNU extensions' standard note: use 'c++11' for 'ISO C++ 2011 with amendments' standard note: use 'gnu++11' for 'ISO C++ 2011 with amendments and GNU extensions' standard note: use 'c++14' for 'ISO C++ 2014 with amendments' standard note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard note: use 'c++17' for 'ISO C++ 2017 with amendments' standard note: use 'gnu++17' for 'ISO C++ 2017 with amendments and GNU extensions' standard note: use 'c++20' for 'ISO C++ 2020 DIS' standard note: use 'gnu++20' for 'ISO C++ 2020 DIS with GNU extensions' standard
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=12.3-RELEASE-p9
OSREL=12.3
OSVERSION=1203000
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  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)  1024
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   >============================
===>  License PostgreSQL accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   postgresql13-promscale-0.7.0_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.4.pkg
[123i386-default-job-12] Installing pkg-1.18.4...
[123i386-default-job-12] Extracting pkg-1.18.4: .......... done
===>   postgresql13-promscale-0.7.0_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of postgresql13-promscale-0.7.0_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License PostgreSQL accepted by the user
===> Fetching all distfiles required by postgresql13-promscale-0.7.0_2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License PostgreSQL accepted by the user
===> Fetching all distfiles required by postgresql13-promscale-0.7.0_2 for building
=> SHA256 Checksum OK for pgx-96ece243.tar.gz.
=> SHA256 Checksum OK for rust/crates/addr2line-0.17.0.crate.
=> SHA256 Checksum OK for rust/crates/adler-1.0.2.crate.
=> SHA256 Checksum OK for rust/crates/adler32-1.2.0.crate.
=> SHA256 Checksum OK for rust/crates/aho-corasick-0.7.18.crate.
=> SHA256 Checksum OK for rust/crates/ansi_term-0.12.1.crate.
=> SHA256 Checksum OK for rust/crates/arrayvec-0.7.2.crate.
=> SHA256 Checksum OK for rust/crates/askama-0.11.1.crate.
=> SHA256 Checksum OK for rust/crates/askama_derive-0.11.2.crate.
=> SHA256 Checksum OK for rust/crates/askama_escape-0.10.3.crate.
=> SHA256 Checksum OK for rust/crates/askama_shared-0.12.2.crate.
=> SHA256 Checksum OK for rust/crates/async-trait-0.1.53.crate.
=> SHA256 Checksum OK for rust/crates/async-trait-0.1.56.crate.
=> SHA256 Checksum OK for rust/crates/atomic-polyfill-0.1.8.crate.
=> SHA256 Checksum OK for rust/crates/atomic-traits-0.3.0.crate.
=> SHA256 Checksum OK for rust/crates/atty-0.2.14.crate.
=> SHA256 Checksum OK for rust/crates/autocfg-1.1.0.crate.
=> SHA256 Checksum OK for rust/crates/backtrace-0.3.65.crate.
=> SHA256 Checksum OK for rust/crates/backtrace-0.3.66.crate.
=> SHA256 Checksum OK for rust/crates/bare-metal-0.2.5.crate.
=> SHA256 Checksum OK for rust/crates/bare-metal-1.0.0.crate.
=> SHA256 Checksum OK for rust/crates/base64-0.11.0.crate.
=> SHA256 Checksum OK for rust/crates/base64-0.13.0.crate.
=> SHA256 Checksum OK for rust/crates/bincode-1.3.3.crate.
=> SHA256 Checksum OK for rust/crates/bindgen-0.59.2.crate.
=> SHA256 Checksum OK for rust/crates/bit-set-0.5.2.crate.
=> SHA256 Checksum OK for rust/crates/bit-vec-0.6.3.crate.
=> SHA256 Checksum OK for rust/crates/bit_field-0.10.1.crate.
<snip>
   Compiling same-file v1.0.6
   Compiling ucd-trie v0.1.4
   Compiling ryu v1.0.10
   Compiling idna v0.2.3
   Compiling byteorder v1.4.3
   Compiling base64 v0.13.0
   Compiling mime_guess v2.0.4
   Compiling bitflags v1.3.2
   Compiling indenter v0.3.3
   Compiling owo-colors v3.4.0
   Compiling cc v1.0.73
   Compiling linked-hash-map v0.5.6
   Compiling rayon-core v1.9.3
   Compiling scopeguard v1.1.0
   Compiling socks v0.3.4
   Compiling pest v2.1.3
   Compiling yaml-rust v0.4.5
   Compiling walkdir v2.3.2
   Compiling rand v0.7.3
   Compiling regex v1.6.0
   Compiling regex-automata v0.1.10
   Compiling url v2.2.2
   Compiling dirs-sys v0.3.7
   Compiling getrandom v0.2.7
   Compiling time v0.3.11
   Compiling fnv v1.0.7
   Compiling httpdate v0.3.2
   Compiling semver v1.0.12
   Compiling fixedbitset v0.4.2
   Compiling matchers v0.1.0
   Compiling typenum v1.15.0
   Compiling base64 v0.11.0
   Compiling gimli v0.26.1
   Compiling fancy-regex v0.7.1
   Compiling petgraph v0.6.2
   Compiling semver-parser v0.10.2
   Compiling env_proxy v0.4.1
   Compiling rttp_client v0.1.0
   Compiling dirs v4.0.0
   Compiling crossbeam-deque v0.8.1
   Compiling crossbeam-channel v0.5.5
   Compiling atty v0.2.14
   Compiling backtrace v0.3.66
   Compiling num_cpus v1.13.1
   Compiling generic-array v0.14.5
   Compiling rayon v1.5.3
   Compiling object v0.29.0
   Compiling libloading v0.7.3
   Compiling rustc-demangle v0.1.21
   Compiling convert_case v0.5.0
   Compiling bindgen v0.59.2
   Compiling unescape v0.1.0
   Compiling semver v0.11.0
   Compiling cexpr v0.6.0
   Compiling askama_escape v0.10.3
   Compiling humansize v1.1.1
   Compiling peeking_take_while v0.1.2
   Compiling lazycell v1.3.0
   Compiling either v1.7.0
   Compiling shlex v1.1.0
   Compiling rustc-hash v1.1.0
   Compiling rustc_version v0.4.0
   Compiling addr2line v0.17.0
   Compiling rustc_version v0.3.3
   Compiling rand_core v0.6.3
   Compiling build-deps v0.1.4
   Compiling atomic-traits v0.3.0
   Compiling heapless v0.7.15
   Compiling fastrand v1.7.0
   Compiling remove_dir_all v0.5.3
   Compiling tempfile v3.3.0
   Compiling rand_chacha v0.3.1
   Compiling block-buffer v0.10.2
   Compiling crypto-common v0.1.5
   Compiling hash32 v0.2.1
   Compiling wait-timeout v0.2.0
   Compiling cty v0.2.2
   Compiling half v1.8.2
   Compiling quick-error v1.2.3
   Compiling subtle v2.4.1
   Compiling stable_deref_trait v1.2.0
   Compiling digest v0.10.3
   Compiling rusty-fork v0.3.0
   Compiling cstr_core v0.2.5
   Compiling rand v0.8.5
   Compiling rand_xorshift v0.3.0
   Compiling uuid v1.1.2
   Compiling arrayvec v0.7.2
   Compiling quick-error v2.0.1
   Compiling seahash v4.1.0
   Compiling cpufeatures v0.2.2
   Compiling sha2 v0.10.2
   Compiling uluru v3.0.0
   Compiling proptest v1.0.0
   Compiling tracing-attributes v0.1.22
   Compiling thiserror-impl v1.0.31
   Compiling enum-primitive-derive v0.2.2
   Compiling thiserror v1.0.31
   Compiling tracing v0.1.35
   Compiling tracing-subscriber v0.3.14
   Compiling tracing-error v0.2.0
   Compiling color-spantrace v0.2.0
   Compiling color-eyre v0.6.1
   Compiling bincode v1.3.3
   Compiling plist v1.3.1
   Compiling toml v0.5.9
   Compiling serde-xml-rs v0.5.1
   Compiling serde_cbor v0.11.2
   Compiling syntect v5.0.0
   Compiling askama_shared v0.12.2
   Compiling pgx-utils v0.4.5 (/wrkdirs/usr/ports/databases/postgresql-promscale/work/pgx/pgx-utils)
   Compiling askama_derive v0.11.2
   Compiling askama v0.11.1
   Compiling promscale v0.7.0 (/wrkdirs/usr/ports/databases/postgresql-promscale/work/promscale_extension-0.7.0)
   Compiling pgx-pg-sys v0.4.5 (/wrkdirs/usr/ports/databases/postgresql-promscale/work/pgx/pgx-pg-sys)
   Compiling pgx-macros v0.4.5 (/wrkdirs/usr/ports/databases/postgresql-promscale/work/pgx/pgx-macros)
   Compiling pgx v0.4.5 (/wrkdirs/usr/ports/databases/postgresql-promscale/work/pgx/pgx)
error[E0308]: mismatched types
     --> /wrkdirs/usr/ports/databases/postgresql-promscale/work/pgx/pgx/src/bgworkers.rs:432:13
      |
429   |         let latch = pg_sys::WaitLatch(
      |                     ----------------- arguments to this function are incorrect
..
432   |             timeout,
      |             ^^^^^^^ expected `i32`, found `i64`
      |
note: function defined here
     --> /wrkdirs/usr/ports/databases/postgresql-promscale/work/promscale_extension-0.7.0/target/release/build/pgx-pg-sys-dde7d44d192a9d14/out/pg13.rs:37341:15
      |
37341 | pub unsafe fn WaitLatch(
      |               ^^^^^^^^^
help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit
      |
432   |             timeout.try_into().unwrap(),
      |                    ++++++++++++++++++++

error[E0308]: mismatched types
    --> /wrkdirs/usr/ports/databases/postgresql-promscale/work/pgx/pgx/src/memcxt.rs:323:51
     |
323  |         pg_sys::memcpy(dest, src as void_mut_ptr, len as u64);
     |         --------------                            ^^^^^^^^^^ expected `u32`, found `u64`
     |         |
     |         arguments to this function are incorrect
     |
note: function defined here
    --> /wrkdirs/usr/ports/databases/postgresql-promscale/work/promscale_extension-0.7.0/target/release/build/pgx-pg-sys-dde7d44d192a9d14/out/pg13.rs:6478:15
     |
6478 | pub unsafe fn memcpy(
     |               ^^^^^^
help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit
     |
323  |         pg_sys::memcpy(dest, src as void_mut_ptr, (len as u64).try_into().unwrap());
     |                                                   +          +++++++++++++++++++++

error[E0308]: mismatched types
     --> /wrkdirs/usr/ports/databases/postgresql-promscale/work/pgx/pgx/src/spi.rs:362:25
      |
355   |                     pg_sys::SPI_execute_with_args(
      |                     ----------------------------- arguments to this function are incorrect
..
362   |                         limit.unwrap_or(0),
      |                         ^^^^^^^^^^^^^^^^^^ expected `i32`, found `i64`
      |
note: function defined here
     --> /wrkdirs/usr/ports/databases/postgresql-promscale/work/promscale_extension-0.7.0/target/release/build/pgx-pg-sys-dde7d44d192a9d14/out/pg13.rs:57472:15
      |
57472 | pub unsafe fn SPI_execute_with_args(
      |               ^^^^^^^^^^^^^^^^^^^^^
help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit
      |
362   |                         limit.unwrap_or(0).try_into().unwrap(),
      |                                           ++++++++++++++++++++

error[E0308]: mismatched types
     --> /wrkdirs/usr/ports/databases/postgresql-promscale/work/pgx/pgx/src/spi.rs:366:75
      |
366   |             None => unsafe { pg_sys::SPI_execute(src.as_ptr(), read_only, limit.unwrap_or(0)) },
      |                              -------------------                          ^^^^^^^^^^^^^^^^^^ expected `i32`, found `i64`
      |                              |
      |                              arguments to this function are incorrect
      |
note: function defined here
     --> /wrkdirs/usr/ports/databases/postgresql-promscale/work/promscale_extension-0.7.0/target/release/build/pgx-pg-sys-dde7d44d192a9d14/out/pg13.rs:57351:15
      |
57351 | pub unsafe fn SPI_execute(
      |               ^^^^^^^^^^^
help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit
      |
366   |             None => unsafe { pg_sys::SPI_execute(src.as_ptr(), read_only, limit.unwrap_or(0).try_into().unwrap()) },
      |                                                                                             ++++++++++++++++++++

For more information about this error, try `rustc --explain E0308`.
error: could not compile `pgx` due to 4 previous errors
warning: build failed, waiting for other jobs to finish...
gmake[1]: *** [Makefile:99: package] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/databases/postgresql-promscale/work/promscale_extension-0.7.0'
*** Error code 2

Stop.
make: stopped in /usr/ports/databases/postgresql-promscale