=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for postgresql13-promscale_extension-0.8.0nb1
ln -sf /usr/pkg/bin/cargo /scratch/work/databases/postgresql-promscale_extension/work/.tools/bin/cargo
cd /scratch/work/databases/postgresql-promscale_extension/work/promscale_extension-0.8.0 && /usr/bin/env USETOOLS=no RUSTFLAGS=-C\ link-arg=-Wl,-R/usr/lib CC=gcc CFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5 CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5 CXX=c++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5 COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/scratch/work/databases/postgresql-promscale_extension/work/.cwrapper/bin:/scratch/work/databases/postgresql-promscale_extension/work/.buildlink/bin:/scratch/work/databases/postgresql-promscale_extension/work/.gcc/bin:/scratch/work/databases/postgresql-promscale_extension/work/.tools/bin:/usr/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/scratch/work/databases/postgresql-promscale_extension/work/.home CWRAPPERS_CONFIG_DIR=/scratch/work/databases/postgresql-promscale_extension/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/scratch/work/databases/postgresql-promscale_extension/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/scratch/work/databases/postgresql-promscale_extension/work/.tools/bin/itstool GDBUS_CODEGEN=/scratch/work/databases/postgresql-promscale_extension/work/.tools/bin/gdbus-codegen PKG_CONFIG=/scratch/work/databases/postgresql-promscale_extension/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/scratch/work/databases/postgresql-promscale_extension/work/.buildlink/lib/pkgconfig:/scratch/work/databases/postgresql-promscale_extension/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/scratch/work/databases/postgresql-promscale_extension/work/.pkg-config.log PKG_CONFIG_PATH= KRB5_CONFIG=/usr/bin/krb5-config CWRAPPERS_CONFIG_DIR=/scratch/work/databases/postgresql-promscale_extension/work/.cwrapper/config cargo install --offline --path ../vendor/cargo-pgx-* cargo-pgx
  Installing cargo-pgx v0.6.1 (/scratch/work/databases/postgresql-promscale_extension/work/vendor/cargo-pgx-0.6.1)
   Compiling quote v1.0.21
   Compiling proc-macro2 v1.0.47
   Compiling unicode-ident v1.0.5
   Compiling syn v1.0.105
   Compiling libc v0.2.138
   Compiling cfg-if v1.0.0
   Compiling autocfg v1.1.0
   Compiling once_cell v1.16.0
   Compiling cc v1.0.77
   Compiling serde_derive v1.0.149
   Compiling serde v1.0.149
   Compiling memchr v2.5.0
   Compiling log v0.4.17
   Compiling regex-syntax v0.6.28
   Compiling version_check v0.9.4
   Compiling bitflags v1.3.2
   Compiling adler v1.0.2
   Compiling ring v0.16.20
   Compiling aho-corasick v0.7.20
   Compiling lazy_static v1.4.0
   Compiling itoa v1.0.4
   Compiling pkg-config v0.3.26
   Compiling openssl-sys v0.9.79
   Compiling regex v1.7.0
   Compiling tracing-core v0.1.30
   Compiling crc32fast v1.3.2
   Compiling serde_json v1.0.89
   Compiling crossbeam-utils v0.8.14
   Compiling thiserror v1.0.37
   Compiling tinyvec_macros v0.1.0
   Compiling tinyvec v1.6.0
   Compiling regex-automata v0.1.10
   Compiling proc-macro-error-attr v1.0.4
   Compiling atty v0.2.14
   Compiling memoffset v0.7.1
   Compiling indexmap v1.9.2
   Compiling untrusted v0.7.1
   Compiling io-lifetimes v1.0.3
   Compiling ryu v1.0.11
   Compiling spin v0.5.2
   Compiling pin-project-lite v0.2.9
   Compiling is_ci v1.1.1
   Compiling overload v0.1.1
   Compiling nu-ansi-term v0.46.0
   Compiling tracing-attributes v0.1.23
   Compiling thiserror-impl v1.0.37
   Compiling supports-color v1.3.1
   Compiling tracing v0.1.37
   Compiling matchers v0.1.0
   Compiling unicode-normalization v0.1.22
   Compiling tracing-log v0.1.3
   Compiling sharded-slab v0.1.4
   Compiling proc-macro-error v1.0.4
   Compiling miniz_oxide v0.6.2
   Compiling crossbeam-epoch v0.9.13
   Compiling thread_local v1.1.4
   Compiling percent-encoding v2.2.0
   Compiling smallvec v1.10.0
   Compiling rustix v0.36.5
   Compiling hashbrown v0.12.3
   Compiling unicode-bidi v0.3.8
   Compiling eyre v0.6.8
   Compiling idna v0.3.0
   Compiling tracing-subscriber v0.3.16
   Compiling form_urlencoded v1.1.0
   Compiling flate2 v1.0.25
   Compiling owo-colors v3.5.0
   Compiling errno v0.2.8
   Compiling xml-rs v0.8.4
   Compiling base64 v0.13.1
   Compiling safemem v0.3.3
   Compiling bit-vec v0.6.3
   Compiling time-core v0.1.0
   Compiling scopeguard v1.1.0
   Compiling foreign-types-shared v0.1.1
   Compiling semver v1.0.14
   Compiling camino v1.1.1
   Compiling indenter v0.3.3
   Compiling openssl v0.10.44
   Compiling foreign-types v0.3.2
   Compiling time v0.3.17
   Compiling bit-set v0.5.3
   Compiling line-wrap v0.1.1
   Compiling tracing-error v0.2.0
   Compiling url v2.3.1
   Compiling webpki v0.22.0
   Compiling openssl-macros v0.1.0
   Compiling backtrace v0.3.66
   Compiling same-file v1.0.6
   Compiling rayon-core v1.10.1
   Compiling gimli v0.26.2
   Compiling prettyplease v0.1.21
   Compiling native-tls v0.2.11
   Compiling os_str_bytes v6.4.1
   Compiling rustls v0.20.7
   Compiling linked-hash-map v0.5.6
   Compiling doc-comment v0.3.3
   Compiling heck v0.4.0
   Compiling clap_derive v4.0.21
   Compiling yaml-rust v0.4.5
   Compiling clap_lex v0.3.0
   Compiling addr2line v0.17.0
   Compiling walkdir v2.3.2
   Compiling is-terminal v0.4.1
   Compiling plist v1.3.1
   Compiling fancy-regex v0.7.1
   Compiling crossbeam-deque v0.8.2
   Compiling cargo-platform v0.1.2
   Compiling bincode v1.3.3
   Compiling toml v0.5.9
   Compiling crossbeam-channel v0.5.6
   Compiling sct v0.7.0
   Compiling miniz_oxide v0.5.4
   Compiling object v0.29.0
   Compiling num_cpus v1.14.0
   Compiling dirs-sys v0.3.7
   Compiling rustc-demangle v0.1.21
   Compiling cty v0.2.2
   Compiling openssl-probe v0.1.5
   Compiling strsim v0.10.0
   Compiling fnv v1.0.7
   Compiling fixedbitset v0.4.2
   Compiling termcolor v1.1.3
   Compiling petgraph v0.6.2
   Compiling clap v4.0.29
   Compiling syntect v5.0.0
   Compiling cstr_core v0.2.6
   Compiling dirs v4.0.0
   Compiling cargo_metadata v0.15.2
   Compiling webpki-roots v0.22.5
   Compiling color-spantrace v0.2.0
   Compiling convert_case v0.5.0
   Compiling chunked_transfer v1.4.0
   Compiling either v1.8.0
   Compiling seq-macro v0.3.1
   Compiling cargo-pgx v0.6.1 (/scratch/work/databases/postgresql-promscale_extension/work/vendor/cargo-pgx-0.6.1)
   Compiling unescape v0.1.0
   Compiling pgx-utils v0.6.1
   Compiling rayon v1.6.0
   Compiling ureq v2.5.0
   Compiling color-eyre v0.6.2
   Compiling clap-cargo v0.10.0
   Compiling pgx-pg-config v0.6.1
   Compiling cargo_toml v0.11.8
   Compiling env_proxy v0.4.1
   Compiling serde-xml-rs v0.5.1
   Compiling object v0.28.4
   Compiling fork v0.1.20
   Compiling libloading v0.7.4
    Finished release [optimized] target(s) in 5m 33s
  Installing /scratch/work/databases/postgresql-promscale_extension/work/.home/.cargo/bin/cargo-pgx
   Installed package `cargo-pgx v0.6.1 (/scratch/work/databases/postgresql-promscale_extension/work/vendor/cargo-pgx-0.6.1)` (executable `cargo-pgx`)
warning: be sure to add `/scratch/work/databases/postgresql-promscale_extension/work/.home/.cargo/bin` to your PATH to be able to run the installed binaries
mkdir -p /scratch/work/databases/postgresql-promscale_extension/work/.home/.pgx
printf '[configs]\npg13="/usr/pkg/bin/pg_config"\n' > /scratch/work/databases/postgresql-promscale_extension/work/.home/.pgx/config.toml
cd /scratch/work/databases/postgresql-promscale_extension/work/promscale_extension-0.8.0 && /usr/bin/env USETOOLS=no RUSTFLAGS=-C\ link-arg=-Wl,-R/usr/lib CC=gcc CFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5 CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5 CXX=c++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/include/krb5 COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/scratch/work/databases/postgresql-promscale_extension/work/.cwrapper/bin:/scratch/work/databases/postgresql-promscale_extension/work/.buildlink/bin:/scratch/work/databases/postgresql-promscale_extension/work/.gcc/bin:/scratch/work/databases/postgresql-promscale_extension/work/.tools/bin:/usr/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/scratch/work/databases/postgresql-promscale_extension/work/.home CWRAPPERS_CONFIG_DIR=/scratch/work/databases/postgresql-promscale_extension/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/scratch/work/databases/postgresql-promscale_extension/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/scratch/work/databases/postgresql-promscale_extension/work/.tools/bin/itstool GDBUS_CODEGEN=/scratch/work/databases/postgresql-promscale_extension/work/.tools/bin/gdbus-codegen PKG_CONFIG=/scratch/work/databases/postgresql-promscale_extension/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/scratch/work/databases/postgresql-promscale_extension/work/.buildlink/lib/pkgconfig:/scratch/work/databases/postgresql-promscale_extension/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/scratch/work/databases/postgresql-promscale_extension/work/.pkg-config.log PKG_CONFIG_PATH= KRB5_CONFIG=/usr/bin/krb5-config CWRAPPERS_CONFIG_DIR=/scratch/work/databases/postgresql-promscale_extension/work/.cwrapper/config					 /usr/pkg/bin/gmake 				 PG_CONFIG=/usr/pkg/bin/pg_config 		 -f Makefile package
cp templates/promscale.control ./promscale.control
cargo pgx schema pg13 --release >/dev/null
    Building for SQL generation with features `serde_json proptest pg13`
   Compiling proc-macro2 v1.0.47
   Compiling quote v1.0.21
   Compiling autocfg v1.1.0
   Compiling syn v1.0.105
   Compiling unicode-ident v1.0.1
   Compiling libc v0.2.138
   Compiling memchr v2.5.0
   Compiling serde_derive v1.0.149
   Compiling serde v1.0.149
   Compiling cfg-if v1.0.0
   Compiling once_cell v1.16.0
   Compiling version_check v0.9.4
   Compiling log v0.4.17
   Compiling indexmap v1.9.1
   Compiling memoffset v0.6.5
   Compiling serde_json v1.0.89
   Compiling percent-encoding v2.2.0
   Compiling eyre v0.6.8
   Compiling minimal-lexical v0.2.1
   Compiling regex-syntax v0.6.27
   Compiling lazy_static v1.4.0
   Compiling crossbeam-utils v0.8.10
   Compiling nom v7.1.1
   Compiling unicase v2.6.0
   Compiling aho-corasick v0.7.18
   Compiling tracing-core v0.1.30
   Compiling num-traits v0.2.15
   Compiling crossbeam-epoch v0.9.9
   Compiling regex-automata v0.1.10
   Compiling regex v1.7.0
   Compiling overload v0.1.1
   Compiling glob v0.3.0
   Compiling tinyvec_macros v0.1.0
   Compiling pin-project-lite v0.2.9
   Compiling tinyvec v1.6.0
   Compiling clang-sys v1.3.3
   Compiling matchers v0.1.0
   Compiling nu-ansi-term v0.46.0
   Compiling tracing-log v0.1.3
   Compiling sharded-slab v0.1.4
   Compiling thread_local v1.1.4
   Compiling indenter v0.3.3
   Compiling ucd-trie v0.1.4
   Compiling ryu v1.0.10
   Compiling smallvec v1.9.0
   Compiling scopeguard v1.1.0
   Compiling hashbrown v0.12.2
   Compiling itoa v1.0.2
   Compiling pest v2.1.3
   Compiling mime_guess v2.0.4
   Compiling unicode-normalization v0.1.21
   Compiling getrandom v0.2.7
   Compiling typenum v1.15.0
   Compiling tracing-attributes v0.1.23
   Compiling cty v0.2.2
   Compiling semver v1.0.12
   Compiling rayon-core v1.10.1
   Compiling seq-macro v0.3.1
   Compiling fixedbitset v0.4.2
   Compiling unicode-bidi v0.3.8
   Compiling idna v0.3.0
   Compiling petgraph v0.6.2
   Compiling cstr_core v0.2.6
   Compiling semver-parser v0.10.2
   Compiling tracing v0.1.37
   Compiling tracing-subscriber v0.3.16
   Compiling crossbeam-deque v0.8.1
   Compiling crossbeam-channel v0.5.5
   Compiling tracing-error v0.2.0
   Compiling form_urlencoded v1.1.0
   Compiling num_cpus v1.13.1
   Compiling dirs-sys v0.3.7
   Compiling atty v0.2.14
   Compiling generic-array v0.14.5
   Compiling libloading v0.7.3
   Compiling unescape v0.1.0
   Compiling convert_case v0.5.0
   Compiling mime v0.3.16
   Compiling bindgen v0.60.1
   Compiling dirs v4.0.0
   Compiling url v2.3.1
   Compiling toml v0.5.9
   Compiling pgx-utils v0.6.1
   Compiling semver v0.11.0
   Compiling cexpr v0.6.0
   Compiling shlex v1.1.0
   Compiling askama_escape v0.10.3
   Compiling humansize v1.1.1
   Compiling peeking_take_while v0.1.2
   Compiling bitflags v1.3.2
   Compiling rustc-hash v1.1.0
   Compiling either v1.7.0
   Compiling owo-colors v3.5.0
   Compiling lazycell v1.3.0
   Compiling pgx-pg-config v0.6.1
   Compiling rayon v1.6.0
   Compiling askama_shared v0.12.2
   Compiling rustc_version v0.4.0
   Compiling rustc_version v0.3.3
   Compiling rand_core v0.6.3
   Compiling radium v0.7.0
   Compiling byteorder v1.4.3
   Compiling pgx-pg-sys v0.6.1
   Compiling askama_derive v0.11.2
   Compiling atomic-traits v0.3.0
   Compiling heapless v0.7.16
   Compiling fastrand v1.7.0
   Compiling time-core v0.1.0
   Compiling ppv-lite86 v0.2.16
   Compiling remove_dir_all v0.5.3
   Compiling tap v1.0.1
   Compiling rand_chacha v0.3.1
   Compiling wyz v0.5.0
   Compiling tempfile v3.3.0
   Compiling time-macros v0.2.6
   Compiling askama v0.11.1
   Compiling hash32 v0.2.1
   Compiling block-buffer v0.10.2
   Compiling crypto-common v0.1.5
   Compiling pgx-macros v0.6.1
   Compiling thiserror-impl v1.0.31
   Compiling wait-timeout v0.2.0
   Compiling subtle v2.4.1
   Compiling stable_deref_trait v1.2.0
   Compiling quick-error v1.2.3
   Compiling sptr v0.3.2
   Compiling fnv v1.0.7
   Compiling half v1.8.2
   Compiling funty v2.0.0
   Compiling bit-vec v0.6.3
   Compiling bit-set v0.5.2
   Compiling bitvec v1.0.1
   Compiling serde_cbor v0.11.2
   Compiling time v0.3.17
   Compiling rusty-fork v0.3.0
   Compiling digest v0.10.6
   Compiling thiserror v1.0.31
   Compiling promscale v0.8.0 (/scratch/work/databases/postgresql-promscale_extension/work/promscale_extension-0.8.0)
   Compiling rand v0.8.5
   Compiling rand_xorshift v0.3.0
   Compiling uuid v1.2.2
   Compiling arrayvec v0.7.2
   Compiling cpufeatures v0.2.2
   Compiling quick-error v2.0.1
   Compiling seahash v4.1.0
   Compiling proptest v1.0.0
   Compiling sha2 v0.10.6
   Compiling uluru v3.0.0
   Compiling bincode v1.3.3
   Compiling pgx v0.6.1
error[E0081]: discriminant value `4` assigned more than once
  --> /scratch/work/databases/postgresql-promscale_extension/work/vendor/pgx-0.6.1/src/layout.rs:70:1
   |
70 | pub(crate) enum Align {
   | ^^^^^^^^^^^^^^^^^^^^^
...
73 |     Int = mem::align_of::<libc::c_int>(),
   |           ------------------------------ `4` assigned here
74 |     Double = mem::align_of::<f64>(),
   |              ---------------------- `4` assigned here

error[E0308]: mismatched types
     --> /scratch/work/databases/postgresql-promscale_extension/work/vendor/pgx-0.6.1/src/bgworkers.rs:597:13
      |
594   |         let latch = pg_sys::WaitLatch(
      |                     ----------------- arguments to this function are incorrect
...
597   |             timeout,
      |             ^^^^^^^ expected `i32`, found `i64`
      |
note: function defined here
     --> /scratch/work/databases/postgresql-promscale_extension/work/promscale_extension-0.8.0/target/release/build/pgx-pg-sys-b198ae7f0ac389ce/out/pg13.rs:39775:15
      |
39775 | pub unsafe fn WaitLatch(
      |               ^^^^^^^^^
help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit
      |
597   |             timeout.try_into().unwrap(),
      |                    ++++++++++++++++++++

error[E0308]: mismatched types
     --> /scratch/work/databases/postgresql-promscale_extension/work/vendor/pgx-0.6.1/src/spi.rs:380:25
      |
373   |                     pg_sys::SPI_execute_with_args(
      |                     ----------------------------- arguments to this function are incorrect
...
380   |                         limit.unwrap_or(0),
      |                         ^^^^^^^^^^^^^^^^^^ expected `i32`, found `i64`
      |
note: function defined here
     --> /scratch/work/databases/postgresql-promscale_extension/work/promscale_extension-0.8.0/target/release/build/pgx-pg-sys-b198ae7f0ac389ce/out/pg13.rs:62468:15
      |
62468 | 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
      |
380   |                         limit.unwrap_or(0).try_into().unwrap(),
      |                                           ++++++++++++++++++++

error[E0308]: mismatched types
     --> /scratch/work/databases/postgresql-promscale_extension/work/vendor/pgx-0.6.1/src/spi.rs:384:75
      |
384   |             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
     --> /scratch/work/databases/postgresql-promscale_extension/work/promscale_extension-0.8.0/target/release/build/pgx-pg-sys-b198ae7f0ac389ce/out/pg13.rs:62341:15
      |
62341 | pub unsafe fn SPI_execute(
      |               ^^^^^^^^^^^
help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit
      |
384   |             None => unsafe { pg_sys::SPI_execute(src.as_ptr(), read_only, limit.unwrap_or(0).try_into().unwrap()) },
      |                                                                                             ++++++++++++++++++++

Some errors have detailed explanations: E0081, E0308.
For more information about an error, try `rustc --explain E0081`.
error: could not compile `pgx` (lib) due to 4 previous errors
warning: build failed, waiting for other jobs to finish...
fatal runtime error: Rust cannot catch foreign exceptions
error: could not compile `pgx-pg-sys` (lib)

Caused by:
  process didn't exit successfully: `rustc --crate-name pgx_pg_sys --edition=2021 /scratch/work/databases/postgresql-promscale_extension/work/vendor/pgx-pg-sys-0.6.1/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 linker-plugin-lto -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="pg13"' -C metadata=a4ef5339c270719d -C extra-filename=-a4ef5339c270719d --out-dir /scratch/work/databases/postgresql-promscale_extension/work/promscale_extension-0.8.0/target/release/deps -L dependency=/scratch/work/databases/postgresql-promscale_extension/work/promscale_extension-0.8.0/target/release/deps --extern libc=/scratch/work/databases/postgresql-promscale_extension/work/promscale_extension-0.8.0/target/release/deps/liblibc-4a27dcc540ceffc5.rmeta --extern memoffset=/scratch/work/databases/postgresql-promscale_extension/work/promscale_extension-0.8.0/target/release/deps/libmemoffset-711065ee41ba6b54.rmeta --extern once_cell=/scratch/work/databases/postgresql-promscale_extension/work/promscale_extension-0.8.0/target/release/deps/libonce_cell-73ca65c332375796.rmeta --extern pgx_macros=/scratch/work/databases/postgresql-promscale_extension/work/promscale_extension-0.8.0/target/release/deps/libpgx_macros-edf55dc41e7cb9ca.so --extern pgx_utils=/scratch/work/databases/postgresql-promscale_extension/work/promscale_extension-0.8.0/target/release/deps/libpgx_utils-141ac4dec4a76f31.rmeta --extern sptr=/scratch/work/databases/postgresql-promscale_extension/work/promscale_extension-0.8.0/target/release/deps/libsptr-73d5de01cc99773c.rmeta --cap-lints allow -C link-arg=-Wl,-R/usr/lib -L /scratch/work/databases/postgresql-promscale_extension/work/promscale_extension-0.8.0/target/release/build/pgx-pg-sys-b198ae7f0ac389ce/out/cshim -l static=pgx-cshim-13` (signal: 6, SIGABRT: process abort signal)
gmake: *** [Makefile:109: package] Error 1
*** Error code 2

Stop.
make[1]: stopped in /tree/pkgsrc/databases/postgresql-promscale_extension
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/databases/postgresql-promscale_extension