=> 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 postgresql12-promscale_extension-0.7.0nb1
ln -sf /usr/pkg/bin/cargo /work/databases/postgresql-promscale_extension/work/.tools/bin/cargo
cd /work/databases/postgresql-promscale_extension/work/promscale_extension-0.7.0 && /usr/bin/env USETOOLS=no RUSTFLAGS=-C\ link-arg=-Wl,-R/usr/pkg/lib CC=gcc CFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include CPPFLAGS=-I/usr/pkg/include\ -I/usr/include CXX=c++ CXXFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include COMPILER_RPATH_FLAG=-Wl,-R F77=g77 FC=g77 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=/work/databases/postgresql-promscale_extension/work/.cwrapper/bin:/work/databases/postgresql-promscale_extension/work/.buildlink/bin:/work/databases/postgresql-promscale_extension/work/.gcc/bin:/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=/work/databases/postgresql-promscale_extension/work/.home CWRAPPERS_CONFIG_DIR=/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=/work/databases/postgresql-promscale_extension/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/work/databases/postgresql-promscale_extension/work/.tools/bin/itstool GDBUS_CODEGEN=/work/databases/postgresql-promscale_extension/work/.tools/bin/gdbus-codegen PKG_CONFIG=/work/databases/postgresql-promscale_extension/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/work/databases/postgresql-promscale_extension/work/.buildlink/lib/pkgconfig:/work/databases/postgresql-promscale_extension/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/work/databases/postgresql-promscale_extension/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/work/databases/postgresql-promscale_extension/work/.cwrapper/config cargo install --offline --path ../pgx/cargo-pgx cargo-pgx
  Installing cargo-pgx v0.4.5 (/work/databases/postgresql-promscale_extension/work/pgx/cargo-pgx)
   Compiling quote v1.0.20
   Compiling proc-macro2 v1.0.40
   Compiling unicode-ident v1.0.1
   Compiling syn v1.0.98
   Compiling libc v0.2.126
   Compiling cfg-if v1.0.0
   Compiling autocfg v1.1.0
   Compiling once_cell v1.13.0
   Compiling version_check v0.9.4
   Compiling serde_derive v1.0.139
   Compiling serde v1.0.139
   Compiling memchr v2.5.0
   Compiling cc v1.0.73
   Compiling log v0.4.17
   Compiling lazy_static v1.4.0
   Compiling regex-syntax v0.6.27
   Compiling pkg-config v0.3.25
   Compiling adler v1.0.2
   Compiling tinyvec_macros v0.1.0
   Compiling hashbrown v0.12.2
   Compiling getrandom v0.1.16
   Compiling itoa v1.0.2
   Compiling crc32fast v1.3.2
   Compiling crossbeam-utils v0.8.10
   Compiling bitflags v1.3.2
   Compiling serde_json v1.0.82
   Compiling matches v0.1.9
   Compiling pin-project-lite v0.2.9
   Compiling smallvec v1.9.0
   Compiling percent-encoding v2.1.0
   Compiling is_ci v1.1.1
   Compiling ansi_term v0.12.1
   Compiling openssl v0.10.40
   Compiling foreign-types-shared v0.1.1
   Compiling ryu v1.0.10
   Compiling unicode-bidi v0.3.8
   Compiling eyre v0.6.8
   Compiling ppv-lite86 v0.2.16
   Compiling bit-vec v0.6.3
   Compiling xml-rs v0.8.4
   Compiling semver v1.0.12
   Compiling rayon-core v1.9.3
   Compiling scopeguard v1.1.0
   Compiling native-tls v0.2.10
   Compiling num_threads v0.1.6
   Compiling camino v1.0.8
   Compiling safemem v0.3.3
   Compiling heck v0.4.0
   Compiling os_str_bytes v6.0.1
   Compiling prettyplease v0.1.16
   Compiling byteorder v1.4.3
   Compiling gimli v0.26.1
   Compiling same-file v1.0.6
   Compiling indenter v0.3.3
   Compiling doc-comment v0.3.3
   Compiling base64 v0.13.0
   Compiling mime v0.3.16
   Compiling openssl-probe v0.1.5
   Compiling linked-hash-map v0.5.6
   Compiling fixedbitset v0.4.2
   Compiling textwrap v0.15.0
   Compiling fnv v1.0.7
   Compiling rustc-demangle v0.1.21
   Compiling base64 v0.11.0
   Compiling httpdate v0.3.2
   Compiling strsim v0.10.0
   Compiling termcolor v1.1.3
   Compiling either v1.7.0
   Compiling convert_case v0.5.0
   Compiling unescape v0.1.0
   Compiling libloading v0.7.3
   Compiling tracing-core v0.1.28
   Compiling thread_local v1.1.4
   Compiling indexmap v1.9.1
   Compiling memoffset v0.6.5
   Compiling crossbeam-epoch v0.9.9
   Compiling rayon v1.5.3
   Compiling unicase v2.6.0
   Compiling proc-macro-error-attr v1.0.4
   Compiling proc-macro-error v1.0.4
   Compiling sharded-slab v0.1.4
   Compiling miniz_oxide v0.5.3
   Compiling tinyvec v1.6.0
   Compiling openssl-sys v0.9.73
   Compiling backtrace v0.3.66
   Compiling regex-automata v0.1.10
   Compiling form_urlencoded v1.0.1
   Compiling foreign-types v0.3.2
   Compiling bit-set v0.5.2
   Compiling line-wrap v0.1.1
   Compiling clap_lex v0.2.0
   Compiling walkdir v2.3.2
   Compiling yaml-rust v0.4.5
   Compiling addr2line v0.17.0
   Compiling unicode-normalization v0.1.21
   Compiling matchers v0.1.0
   Compiling atty v0.2.14
   Compiling time v0.3.11
   Compiling socks v0.3.4
   Compiling num_cpus v1.13.1
   Compiling dirs-sys v0.3.7
   Compiling fork v0.1.19
   Compiling aho-corasick v0.7.18
   Compiling object v0.29.0
   Compiling tracing-log v0.1.3
   Compiling idna v0.2.3
   Compiling crossbeam-channel v0.5.5
   Compiling flate2 v1.0.24
   Compiling supports-color v1.3.0
   Compiling rand_core v0.5.1
   Compiling dirs v4.0.0
   Compiling petgraph v0.6.2
   Compiling mime_guess v2.0.4
   Compiling regex v1.6.0
   Compiling url v2.2.2
   Compiling object v0.28.4
   Compiling owo-colors v3.4.0
   Compiling rand_chacha v0.2.2
   Compiling crossbeam-deque v0.8.1
   Compiling env_proxy v0.4.1
   Compiling fancy-regex v0.7.1
   Compiling tracing-attributes v0.1.22
   Compiling thiserror-impl v1.0.31
   Compiling openssl-macros v0.1.0
   Compiling rand v0.7.3
   Compiling clap_derive v3.1.18
   Compiling tracing v0.1.35
   Compiling thiserror v1.0.31
   Compiling tracing-subscriber v0.3.14
   Compiling clap v3.1.18
   Compiling cargo-platform v0.1.2
   Compiling toml v0.5.9
   Compiling bincode v1.3.3
   Compiling plist v1.3.1
   Compiling serde-xml-rs v0.5.1
   Compiling tracing-error v0.2.0
   Compiling rttp_client v0.1.0
   Compiling cargo_metadata v0.14.2
   Compiling cargo_toml v0.11.5
   Compiling syntect v5.0.0
   Compiling color-spantrace v0.2.0
   Compiling clap-cargo v0.8.0
   Compiling pgx-utils v0.4.5 (/work/databases/postgresql-promscale_extension/work/pgx/pgx-utils)
   Compiling color-eyre v0.6.1
   Compiling cargo-pgx v0.4.5 (/work/databases/postgresql-promscale_extension/work/pgx/cargo-pgx)
    Finished release [optimized] target(s) in 6m 21s
  Installing /work/databases/postgresql-promscale_extension/work/.home/.cargo/bin/cargo-pgx
   Installed package `cargo-pgx v0.4.5 (/work/databases/postgresql-promscale_extension/work/pgx/cargo-pgx)` (executable `cargo-pgx`)
warning: be sure to add `/work/databases/postgresql-promscale_extension/work/.home/.cargo/bin` to your PATH to be able to run the installed binaries
mkdir -p /work/databases/postgresql-promscale_extension/work/.home/.pgx
printf '[configs]\npg12="/usr/pkg/bin/pg_config"\n' > /work/databases/postgresql-promscale_extension/work/.home/.pgx/config.toml
cd /work/databases/postgresql-promscale_extension/work/promscale_extension-0.7.0 && /usr/bin/env USETOOLS=no RUSTFLAGS=-C\ link-arg=-Wl,-R/usr/pkg/lib CC=gcc CFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include CPPFLAGS=-I/usr/pkg/include\ -I/usr/include CXX=c++ CXXFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include COMPILER_RPATH_FLAG=-Wl,-R F77=g77 FC=g77 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=/work/databases/postgresql-promscale_extension/work/.cwrapper/bin:/work/databases/postgresql-promscale_extension/work/.buildlink/bin:/work/databases/postgresql-promscale_extension/work/.gcc/bin:/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=/work/databases/postgresql-promscale_extension/work/.home CWRAPPERS_CONFIG_DIR=/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=/work/databases/postgresql-promscale_extension/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/work/databases/postgresql-promscale_extension/work/.tools/bin/itstool GDBUS_CODEGEN=/work/databases/postgresql-promscale_extension/work/.tools/bin/gdbus-codegen PKG_CONFIG=/work/databases/postgresql-promscale_extension/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/work/databases/postgresql-promscale_extension/work/.buildlink/lib/pkgconfig:/work/databases/postgresql-promscale_extension/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/work/databases/postgresql-promscale_extension/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/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 pg12 --force-create-or-replace --release >/dev/null
    Building for SQL generation with features `serde_json proptest pg12`
   Compiling libc v0.2.126
   Compiling proc-macro2 v1.0.40
   Compiling quote v1.0.20
   Compiling autocfg v1.1.0
   Compiling syn v1.0.98
   Compiling unicode-ident v1.0.1
   Compiling memchr v2.5.0
   Compiling cfg-if v1.0.0
   Compiling version_check v0.9.4
   Compiling serde v1.0.139
   Compiling serde_derive v1.0.139
   Compiling log v0.4.17
   Compiling once_cell v1.13.0
   Compiling getrandom v0.1.16
   Compiling crc32fast v1.3.2
   Compiling regex-syntax v0.6.27
   Compiling percent-encoding v2.1.0
   Compiling lazy_static v1.4.0
   Compiling serde_json v1.0.82
   Compiling mime v0.3.16
   Compiling time-macros v0.2.4
   Compiling eyre v0.6.8
   Compiling adler v1.0.2
   Compiling tinyvec_macros v0.1.0
   Compiling minimal-lexical v0.2.1
   Compiling matches v0.1.9
   Compiling crossbeam-utils v0.8.10
   Compiling pin-project-lite v0.2.9
   Compiling prettyplease v0.1.16
   Compiling itoa v1.0.2
   Compiling ansi_term v0.12.1
   Compiling unicode-bidi v0.3.8
   Compiling smallvec v1.9.0
   Compiling glob v0.3.0
   Compiling hashbrown v0.12.2
   Compiling xml-rs v0.8.4
   Compiling num_threads v0.1.6
   Compiling bit-vec v0.6.3
   Compiling ppv-lite86 v0.2.16
   Compiling safemem v0.3.3
   Compiling cc v1.0.73
   Compiling bitflags v1.3.2
   Compiling ucd-trie v0.1.4
   Compiling linked-hash-map v0.5.6
   Compiling scopeguard v1.1.0
   Compiling ryu v1.0.10
   Compiling byteorder v1.4.3
   Compiling base64 v0.13.0
   Compiling indenter v0.3.3
   Compiling same-file v1.0.6
   Compiling rayon-core v1.9.3
   Compiling owo-colors v3.4.0
   Compiling base64 v0.11.0
   Compiling semver v1.0.12
   Compiling gimli v0.26.1
   Compiling fnv v1.0.7
   Compiling typenum v1.15.0
   Compiling httpdate v0.3.2
   Compiling fixedbitset v0.4.2
   Compiling convert_case v0.5.0
   Compiling unescape v0.1.0
   Compiling bindgen v0.59.2
   Compiling rustc-demangle v0.1.21
   Compiling askama_escape v0.10.3
   Compiling lazycell v1.3.0
   Compiling peeking_take_while v0.1.2
   Compiling either v1.7.0
   Compiling rustc-hash v1.1.0
   Compiling humansize v1.1.1
   Compiling shlex v1.1.0
   Compiling fastrand v1.7.0
   Compiling remove_dir_all v0.5.3
   Compiling subtle v2.4.1
   Compiling stable_deref_trait v1.2.0
   Compiling half v1.8.2
   Compiling quick-error v1.2.3
   Compiling cty v0.2.2
   Compiling cpufeatures v0.2.2
   Compiling quick-error v2.0.1
   Compiling arrayvec v0.7.2
   Compiling seahash v4.1.0
   Compiling indexmap v1.9.1
   Compiling memoffset v0.6.5
   Compiling num-traits v0.2.15
   Compiling crossbeam-epoch v0.9.9
   Compiling rayon v1.5.3
   Compiling lock_api v0.4.7
   Compiling libloading v0.7.3
   Compiling unicase v2.6.0
   Compiling generic-array v0.14.5
   Compiling tracing-core v0.1.28
   Compiling thread_local v1.1.4
   Compiling sharded-slab v0.1.4
   Compiling miniz_oxide v0.5.3
   Compiling tinyvec v1.6.0
   Compiling form_urlencoded v1.0.1
   Compiling regex-automata v0.1.10
   Compiling build-deps v0.1.4
   Compiling clang-sys v1.3.3
   Compiling bit-set v0.5.2
   Compiling line-wrap v0.1.1
   Compiling pest v2.1.3
   Compiling yaml-rust v0.4.5
   Compiling walkdir v2.3.2
   Compiling hash32 v0.2.1
   Compiling backtrace v0.3.66
   Compiling addr2line v0.17.0
   Compiling uluru v3.0.0
   Compiling unicode-normalization v0.1.21
   Compiling matchers v0.1.0
   Compiling semver-parser v0.10.2
   Compiling time v0.3.11
   Compiling socks v0.3.4
   Compiling dirs-sys v0.3.7
   Compiling num_cpus v1.13.1
   Compiling atty v0.2.14
   Compiling getrandom v0.2.7
   Compiling wait-timeout v0.2.0
   Compiling tempfile v3.3.0
   Compiling aho-corasick v0.7.18
   Compiling cstr_core v0.2.5
   Compiling nom v7.1.1
   Compiling object v0.29.0
   Compiling tracing-log v0.1.3
   Compiling flate2 v1.0.24
   Compiling crossbeam-channel v0.5.5
   Compiling idna v0.2.3
   Compiling rustc_version v0.4.0
   Compiling semver v0.11.0
   Compiling rand_core v0.5.1
   Compiling dirs v4.0.0
   Compiling rand_core v0.6.3
   Compiling uuid v1.1.2
   Compiling rusty-fork v0.3.0
   Compiling petgraph v0.6.2
   Compiling regex v1.6.0
   Compiling spin v0.9.3
   Compiling mime_guess v2.0.4
   Compiling cexpr v0.6.0
   Compiling url v2.2.2
   Compiling rustc_version v0.3.3
   Compiling heapless v0.7.15
   Compiling rand_chacha v0.2.2
   Compiling rand_chacha v0.3.1
   Compiling rand_xorshift v0.3.0
   Compiling block-buffer v0.10.2
   Compiling crypto-common v0.1.5
   Compiling crossbeam-deque v0.8.1
   Compiling fancy-regex v0.7.1
   Compiling env_proxy v0.4.1
   Compiling atomic-traits v0.3.0
   Compiling rand v0.7.3
   Compiling tracing-attributes v0.1.22
   Compiling thiserror-impl v1.0.31
   Compiling enum-primitive-derive v0.2.2
   Compiling rand v0.8.5
   Compiling digest v0.10.3
   Compiling tracing v0.1.35
   Compiling thiserror v1.0.31
   Compiling sha2 v0.10.2
   Compiling proptest v1.0.0
   Compiling rttp_client v0.1.0
   Compiling tracing-subscriber v0.3.14
   Compiling tracing-error v0.2.0
   Compiling toml v0.5.9
   Compiling plist v1.3.1
   Compiling bincode v1.3.3
   Compiling serde-xml-rs v0.5.1
   Compiling color-spantrace v0.2.0
   Compiling askama_shared v0.12.2
   Compiling serde_cbor v0.11.2
   Compiling syntect v5.0.0
   Compiling color-eyre v0.6.1
   Compiling pgx-utils v0.4.5 (/work/databases/postgresql-promscale_extension/work/pgx/pgx-utils)
   Compiling askama_derive v0.11.2
   Compiling askama v0.11.1
   Compiling promscale v0.7.0 (/work/databases/postgresql-promscale_extension/work/promscale_extension-0.7.0)
   Compiling pgx-pg-sys v0.4.5 (/work/databases/postgresql-promscale_extension/work/pgx/pgx-pg-sys)
   Compiling pgx-macros v0.4.5 (/work/databases/postgresql-promscale_extension/work/pgx/pgx-macros)
   Compiling pgx v0.4.5 (/work/databases/postgresql-promscale_extension/work/pgx/pgx)
error[E0053]: method `from_datum` has an incompatible type for trait
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/array.rs:280:33
    |
280 |     unsafe fn from_datum(datum: usize, is_null: bool, typoid: u32) -> Option<Array<'a, T>> {
    |                                 ^^^^^
    |                                 |
    |                                 expected `u64`, found `usize`
    |                                 help: change the parameter type to match the trait: `u64`
    |
note: type in trait
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:37:33
    |
37  |     unsafe fn from_datum(datum: pg_sys::Datum, is_null: bool, typoid: pg_sys::Oid) -> Option<Self>
    |                                 ^^^^^^^^^^^^^
    = note: expected fn pointer `unsafe fn(u64, _, _) -> std::option::Option<_>`
               found fn pointer `unsafe fn(usize, _, _) -> std::option::Option<_>`

error[E0053]: method `from_datum_in_memory_context` has an incompatible type for trait
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:205:16
    |
205 |         datum: usize,
    |                ^^^^^
    |                |
    |                expected `u64`, found `usize`
    |                help: change the parameter type to match the trait: `u64`
    |
note: type in trait
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:56:16
    |
56  |         datum: pg_sys::Datum,
    |                ^^^^^^^^^^^^^
    = note: expected fn pointer `unsafe fn(memcxt::PgMemoryContexts, u64, _, _) -> std::option::Option<_>`
               found fn pointer `unsafe fn(memcxt::PgMemoryContexts, usize, _, _) -> std::option::Option<_>`

error[E0053]: method `from_datum` has an incompatible type for trait
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:303:33
    |
303 |     unsafe fn from_datum(datum: usize, is_null: bool, _typoid: u32) -> Option<&'a [u8]> {
    |                                 ^^^^^
    |                                 |
    |                                 expected `u64`, found `usize`
    |                                 help: change the parameter type to match the trait: `u64`
    |
note: type in trait
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:37:33
    |
37  |     unsafe fn from_datum(datum: pg_sys::Datum, is_null: bool, typoid: pg_sys::Oid) -> Option<Self>
    |                                 ^^^^^^^^^^^^^
    = note: expected fn pointer `unsafe fn(u64, _, _) -> std::option::Option<_>`
               found fn pointer `unsafe fn(usize, _, _) -> std::option::Option<_>`

error[E0053]: method `from_datum_in_memory_context` has an incompatible type for trait
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:316:16
    |
316 |         datum: usize,
    |                ^^^^^
    |                |
    |                expected `u64`, found `usize`
    |                help: change the parameter type to match the trait: `u64`
    |
note: type in trait
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:56:16
    |
56  |         datum: pg_sys::Datum,
    |                ^^^^^^^^^^^^^
    = note: expected fn pointer `unsafe fn(memcxt::PgMemoryContexts, u64, _, _) -> std::option::Option<_>`
               found fn pointer `unsafe fn(memcxt::PgMemoryContexts, usize, _, _) -> std::option::Option<_>`

error[E0053]: method `from_datum` has an incompatible type for trait
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:345:33
    |
345 |     unsafe fn from_datum(datum: usize, is_null: bool, typoid: u32) -> Option<Vec<u8>> {
    |                                 ^^^^^
    |                                 |
    |                                 expected `u64`, found `usize`
    |                                 help: change the parameter type to match the trait: `u64`
    |
note: type in trait
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:37:33
    |
37  |     unsafe fn from_datum(datum: pg_sys::Datum, is_null: bool, typoid: pg_sys::Oid) -> Option<Self>
    |                                 ^^^^^^^^^^^^^
    = note: expected fn pointer `unsafe fn(u64, _, _) -> std::option::Option<_>`
               found fn pointer `unsafe fn(usize, _, _) -> std::option::Option<_>`

error[E0053]: method `from_datum_in_memory_context` has an incompatible type for trait
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:392:16
    |
392 |         datum: usize,
    |                ^^^^^
    |                |
    |                expected `u64`, found `usize`
    |                help: change the parameter type to match the trait: `u64`
    |
note: type in trait
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:56:16
    |
56  |         datum: pg_sys::Datum,
    |                ^^^^^^^^^^^^^
    = note: expected fn pointer `unsafe fn(memcxt::PgMemoryContexts, u64, _, _) -> std::option::Option<_>`
               found fn pointer `unsafe fn(memcxt::PgMemoryContexts, usize, _, _) -> std::option::Option<_>`

error[E0053]: method `into_datum` has an incompatible type for trait
  --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/geo.rs:62:32
   |
62 |     fn into_datum(mut self) -> Option<usize> {
   |                                ^^^^^^^^^^^^^
   |                                |
   |                                expected `u64`, found `usize`
   |                                help: change the output type to match the trait: `std::option::Option<u64>`
   |
note: type in trait
  --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/into.rs:30:28
   |
30 |     fn into_datum(self) -> Option<pg_sys::Datum>;
   |                            ^^^^^^^^^^^^^^^^^^^^^
   = note: expected fn pointer `fn(Point) -> std::option::Option<u64>`
              found fn pointer `fn(Point) -> std::option::Option<usize>`

error[E0053]: method `from_datum` has an incompatible type for trait
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/numeric.rs:161:33
    |
161 |     unsafe fn from_datum(datum: usize, is_null: bool, _typoid: u32) -> Option<Self>
    |                                 ^^^^^
    |                                 |
    |                                 expected `u64`, found `usize`
    |                                 help: change the parameter type to match the trait: `u64`
    |
note: type in trait
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:37:33
    |
37  |     unsafe fn from_datum(datum: pg_sys::Datum, is_null: bool, typoid: pg_sys::Oid) -> Option<Self>
    |                                 ^^^^^^^^^^^^^
    = note: expected fn pointer `unsafe fn(u64, _, _) -> std::option::Option<_>`
               found fn pointer `unsafe fn(usize, _, _) -> std::option::Option<_>`

error[E0053]: method `from_datum` has an incompatible type for trait
  --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/time_with_timezone.rs:19:33
   |
19 |     unsafe fn from_datum(datum: usize, is_null: bool, typoid: u32) -> Option<TimeWithTimeZone> {
   |                                 ^^^^^
   |                                 |
   |                                 expected `u64`, found `usize`
   |                                 help: change the parameter type to match the trait: `u64`
   |
note: type in trait
  --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:37:33
   |
37 |     unsafe fn from_datum(datum: pg_sys::Datum, is_null: bool, typoid: pg_sys::Oid) -> Option<Self>
   |                                 ^^^^^^^^^^^^^
   = note: expected fn pointer `unsafe fn(u64, _, _) -> std::option::Option<_>`
              found fn pointer `unsafe fn(usize, _, _) -> std::option::Option<_>`

error[E0053]: method `from_datum` has an incompatible type for trait
  --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/uuid.rs:38:33
   |
38 |     unsafe fn from_datum(datum: usize, is_null: bool, _typoid: pg_sys::Oid) -> Option<Uuid> {
   |                                 ^^^^^
   |                                 |
   |                                 expected `u64`, found `usize`
   |                                 help: change the parameter type to match the trait: `u64`
   |
note: type in trait
  --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:37:33
   |
37 |     unsafe fn from_datum(datum: pg_sys::Datum, is_null: bool, typoid: pg_sys::Oid) -> Option<Self>
   |                                 ^^^^^^^^^^^^^
   = note: expected fn pointer `unsafe fn(u64, _, _) -> std::option::Option<_>`
              found fn pointer `unsafe fn(usize, _, _) -> std::option::Option<_>`

error[E0053]: method `from_datum_in_memory_context` has an incompatible type for trait
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/varlena.rs:312:16
    |
312 |         datum: usize,
    |                ^^^^^
    |                |
    |                expected `u64`, found `usize`
    |                help: change the parameter type to match the trait: `u64`
    |
note: type in trait
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:56:16
    |
56  |         datum: pg_sys::Datum,
    |                ^^^^^^^^^^^^^
    = note: expected fn pointer `unsafe fn(memcxt::PgMemoryContexts, u64, _, _) -> std::option::Option<_>`
               found fn pointer `unsafe fn(memcxt::PgMemoryContexts, usize, _, _) -> std::option::Option<_>`

error[E0053]: method `from_datum` has an incompatible type for trait
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/varlena.rs:352:33
    |
352 |     unsafe fn from_datum(datum: usize, is_null: bool, _typoid: u32) -> Option<Self> {
    |                                 ^^^^^
    |                                 |
    |                                 expected `u64`, found `usize`
    |                                 help: change the parameter type to match the trait: `u64`
    |
note: type in trait
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:37:33
    |
37  |     unsafe fn from_datum(datum: pg_sys::Datum, is_null: bool, typoid: pg_sys::Oid) -> Option<Self>
    |                                 ^^^^^^^^^^^^^
    = note: expected fn pointer `unsafe fn(u64, _, _) -> std::option::Option<_>`
               found fn pointer `unsafe fn(usize, _, _) -> std::option::Option<_>`

error[E0053]: method `from_datum_in_memory_context` has an incompatible type for trait
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/varlena.rs:362:16
    |
362 |         datum: usize,
    |                ^^^^^
    |                |
    |                expected `u64`, found `usize`
    |                help: change the parameter type to match the trait: `u64`
    |
note: type in trait
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:56:16
    |
56  |         datum: pg_sys::Datum,
    |                ^^^^^^^^^^^^^
    = note: expected fn pointer `unsafe fn(memcxt::PgMemoryContexts, u64, _, _) -> std::option::Option<_>`
               found fn pointer `unsafe fn(memcxt::PgMemoryContexts, usize, _, _) -> std::option::Option<_>`

error[E0308]: mismatched types
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/array.rs:396:37
    |
396 |                     datum.unwrap_or(0usize),
    |                           --------- ^^^^^^ expected `u64`, found `usize`
    |                           |
    |                           arguments to this function are incorrect
    |
note: associated function defined here
help: change the type of the numeric literal from `usize` to `u64`
    |
396 |                     datum.unwrap_or(0u64),
    |                                      ~~~

error[E0308]: mismatched types
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/array.rs:438:37
    |
438 |                     datum.unwrap_or(0usize),
    |                           --------- ^^^^^^ expected `u64`, found `usize`
    |                           |
    |                           arguments to this function are incorrect
    |
note: associated function defined here
help: change the type of the numeric literal from `usize` to `u64`
    |
438 |                     datum.unwrap_or(0u64),
    |                                      ~~~

error[E0308]: mismatched types
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:352:62
    |
352 |             let bytes: Option<&[u8]> = FromDatum::from_datum(datum, is_null, typoid);
    |                                        --------------------- ^^^^^ expected `u64`, found `usize`
    |                                        |
    |                                        arguments to this function are incorrect
    |
note: associated function defined here
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:37:15
    |
37  |     unsafe fn from_datum(datum: pg_sys::Datum, is_null: bool, typoid: pg_sys::Oid) -> Option<Self>
    |               ^^^^^^^^^^
help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit
    |
352 |             let bytes: Option<&[u8]> = FromDatum::from_datum(datum.try_into().unwrap(), is_null, typoid);
    |                                                                   ++++++++++++++++++++

error[E0308]: mismatched types
  --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/geo.rs:65:13
   |
62 |       fn into_datum(mut self) -> Option<usize> {
   |                                  ------------- expected `std::option::Option<usize>` because of return type
...
65 | /             direct_function_call_as_datum(
66 | |                 pg_sys::point_out,
67 | |                 vec![Some(point as *mut pg_sys::Point as pg_sys::Datum)],
68 | |             )
   | |_____________^ expected `usize`, found `u64`
   |
   = note: expected enum `std::option::Option<usize>`
              found enum `std::option::Option<u64>`

error[E0308]: mismatched types
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/numeric.rs:169:88
    |
169 |                 direct_function_call::<&std::ffi::CStr>(pg_sys::numeric_out, vec![Some(datum)])
    |                                                                                   ---- ^^^^^ expected `u64`, found `usize`
    |                                                                                   |
    |                                                                                   arguments to this enum variant are incorrect
    |
note: tuple variant defined here
help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit
    |
169 |                 direct_function_call::<&std::ffi::CStr>(pg_sys::numeric_out, vec![Some(datum.try_into().unwrap())])
    |                                                                                             ++++++++++++++++++++

error[E0308]: mismatched types
  --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/time_stamp.rs:20:40
   |
20 |         unsafe { Timestamp::from_datum(item as usize, false, pg_sys::TIMESTAMPOID).unwrap() }
   |                  --------------------- ^^^^^^^^^^^^^ expected `u64`, found `usize`
   |                  |
   |                  arguments to this function are incorrect
   |
note: associated function defined here
  --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:37:15
   |
37 |     unsafe fn from_datum(datum: pg_sys::Datum, is_null: bool, typoid: pg_sys::Oid) -> Option<Self>
   |               ^^^^^^^^^^
help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit
   |
20 |         unsafe { Timestamp::from_datum((item as usize).try_into().unwrap(), false, pg_sys::TIMESTAMPOID).unwrap() }
   |                                        +             +++++++++++++++++++++

error[E0308]: mismatched types
  --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/time_stamp_with_timezone.rs:24:47
   |
24 |             TimestampWithTimeZone::from_datum(item as usize, false, pg_sys::TIMESTAMPTZOID).unwrap()
   |             --------------------------------- ^^^^^^^^^^^^^ expected `u64`, found `usize`
   |             |
   |             arguments to this function are incorrect
   |
note: associated function defined here
  --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/datum/from.rs:37:15
   |
37 |     unsafe fn from_datum(datum: pg_sys::Datum, is_null: bool, typoid: pg_sys::Oid) -> Option<Self>
   |               ^^^^^^^^^^
help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit
   |
24 |             TimestampWithTimeZone::from_datum((item as usize).try_into().unwrap(), false, pg_sys::TIMESTAMPTZOID).unwrap()
   |                                               +             +++++++++++++++++++++

error[E0308]: mismatched types
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/fcinfo.rs:350:51
    |
350 |     let mut fcid = make_function_call_info(nargs, arg_array, null_array);
    |                    -----------------------        ^^^^^^^^^ expected `usize`, found `u64`
    |                    |
    |                    arguments to this function are incorrect
    |
    = note: expected array `[usize; 100]`
               found array `[u64; 100]`
note: function defined here
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/fcinfo.rs:415:4
    |
415 | fn make_function_call_info(
    |    ^^^^^^^^^^^^^^^^^^^^^^^
416 |     nargs: usize,
    |     ------------
417 |     arg_array: [usize; 100],
    |     -----------------------
418 |     null_array: [bool; 100],
    |     -----------------------

error[E0308]: mismatched types
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/fcinfo.rs:388:51
    |
388 |     let mut fcid = make_function_call_info(nargs, arg_array, null_array);
    |                    -----------------------        ^^^^^^^^^ expected `usize`, found `u64`
    |                    |
    |                    arguments to this function are incorrect
    |
    = note: expected array `[usize; 100]`
               found array `[u64; 100]`
note: function defined here
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/fcinfo.rs:415:4
    |
415 | fn make_function_call_info(
    |    ^^^^^^^^^^^^^^^^^^^^^^^
416 |     nargs: usize,
    |     ------------
417 |     arg_array: [usize; 100],
    |     -----------------------
418 |     null_array: [bool; 100],
    |     -----------------------

error[E0308]: mismatched types
   --> /work/databases/postgresql-promscale_extension/work/pgx/pgx/src/fcinfo.rs:436:20
    |
436 |             value: arg_array[i],
    |                    ^^^^^^^^^^^^ expected `u64`, found `usize`

Some errors have detailed explanations: E0053, E0308.
For more information about an error, try `rustc --explain E0053`.
error: could not compile `pgx` due to 23 previous errors
warning: build failed, waiting for other jobs to finish...
gmake: *** [Makefile:99: 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