=> 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.3.2nb1
   Compiling libc v0.2.107
   Compiling proc-macro2 v1.0.32
   Compiling autocfg v1.0.1
   Compiling syn v1.0.81
   Compiling unicode-xid v0.2.2
   Compiling cfg-if v1.0.0
   Compiling memchr v2.4.0
   Compiling version_check v0.9.3
   Compiling lazy_static v1.4.0
   Compiling log v0.4.14
   Compiling serde_derive v1.0.130
   Compiling serde v1.0.130
   Compiling getrandom v0.1.16
   Compiling crc32fast v1.2.1
   Compiling cc v1.0.71
   Compiling once_cell v1.8.0
   Compiling regex-syntax v0.6.25
   Compiling ryu v1.0.5
   Compiling eyre v0.6.5
   Compiling matches v0.1.8
   Compiling pin-project-lite v0.2.6
   Compiling tinyvec_macros v0.1.0
   Compiling adler v1.0.2
   Compiling serde_json v1.0.69
   Compiling crossbeam-utils v0.8.5
   Compiling glob v0.3.0
   Compiling radium v0.5.3
   Compiling percent-encoding v2.1.0
   Compiling unicode-width v0.1.8
   Compiling ppv-lite86 v0.2.10
   Compiling gimli v0.25.0
   Compiling crossbeam-epoch v0.9.5
   Compiling strsim v0.8.0
   Compiling tap v1.0.1
   Compiling indenter v0.3.3
   Compiling bitflags v1.3.2
   Compiling ucd-trie v0.1.3
   Compiling wyz v0.2.0
   Compiling byteorder v1.4.3
   Compiling owo-colors v1.3.0
   Compiling mime v0.3.16
   Compiling funty v1.1.0
   Compiling ansi_term v0.12.1
   Compiling ansi_term v0.11.0
   Compiling smallvec v1.6.1
   Compiling vec_map v0.8.2
   Compiling scopeguard v1.1.0
   Compiling rayon-core v1.9.1
   Compiling rustc-demangle v0.1.21
   Compiling itoa v0.4.7
   Compiling httpdate v0.3.2
   Compiling xml-rs v0.8.3
   Compiling base64 v0.11.0
   Compiling termcolor v1.1.2
   Compiling unescape v0.1.0
   Compiling humantime v2.1.0
   Compiling bindgen v0.59.1
   Compiling shlex v1.1.0
   Compiling lazycell v1.3.0
   Compiling peeking_take_while v0.1.2
   Compiling either v1.6.1
   Compiling rustc-hash v1.1.0
   Compiling heapless v0.7.7
   Compiling hashbrown v0.11.2
   Compiling fixedbitset v0.4.0
   Compiling time-macros v0.2.3
   Compiling stable_deref_trait v1.2.0
   Compiling half v1.7.1
   Compiling seahash v4.1.0
   Compiling miniz_oxide v0.4.4
   Compiling memoffset v0.6.4
   Compiling num-traits v0.2.14
   Compiling rayon v1.5.1
   Compiling indexmap v1.7.0
   Compiling libloading v0.7.1
   Compiling unicase v2.6.0
   Compiling nom v6.1.2
   Compiling tracing-core v0.1.21
   Compiling sharded-slab v0.1.4
   Compiling backtrace v0.3.61
   Compiling thread_local v1.1.3
   Compiling regex-automata v0.1.10
   Compiling unicode-bidi v0.3.5
   Compiling tinyvec v1.2.0
   Compiling build-deps v0.1.4
   Compiling clang-sys v1.2.0
   Compiling form_urlencoded v1.0.1
   Compiling textwrap v0.11.0
   Compiling addr2line v0.16.0
   Compiling pest v2.1.3
   Compiling hash32 v0.2.1
   Compiling time v0.3.4
   Compiling tracing-subscriber v0.2.25
   Compiling matchers v0.1.0
   Compiling unicode-normalization v0.1.19
   Compiling semver-parser v0.10.2
   Compiling atty v0.2.14
   Compiling socks v0.3.3
   Compiling dirs-sys v0.3.6
   Compiling num_cpus v1.13.0
   Compiling which v3.1.1
   Compiling getrandom v0.2.3
   Compiling quote v1.0.10
   Compiling aho-corasick v0.7.18
   Compiling object v0.26.0
   Compiling tracing-log v0.1.2
   Compiling idna v0.2.3
   Compiling crossbeam-channel v0.5.1
   Compiling bitvec v0.19.5
   Compiling semver v0.11.0
   Compiling clap v2.33.3
   Compiling colored v2.0.0
   Compiling rand_core v0.5.1
   Compiling dirs v4.0.0
   Compiling uuid v0.8.2
   Compiling flate2 v1.0.20
   Compiling petgraph v0.6.0
   Compiling regex v1.5.4
   Compiling mime_guess v2.0.3
   Compiling url v2.2.2
   Compiling rustc_version v0.3.3
   Compiling rand_chacha v0.2.2
   Compiling tracing-attributes v0.1.18
   Compiling thiserror-impl v1.0.25
   Compiling enum-primitive-derive v0.2.2
   Compiling crossbeam-deque v0.8.0
   Compiling env_logger v0.8.4
   Compiling env_proxy v0.4.1
   Compiling cexpr v0.5.0
   Compiling atomic-traits v0.3.0
   Compiling rand v0.7.3
   Compiling tracing v0.1.29
   Compiling thiserror v1.0.25
   Compiling tracing-error v0.1.2
   Compiling tracing-subscriber v0.3.1
   Compiling toml v0.5.8
   Compiling serde_cbor v0.11.2
   Compiling bincode v1.3.3
   Compiling serde-xml-rs v0.5.1
   Compiling rttp_client v0.1.0
   Compiling color-spantrace v0.1.6
   Compiling tracing-error v0.2.0
   Compiling proc-macro-crate v1.1.0
   Compiling color-eyre v0.5.11
   Compiling pgx-utils v0.2.0
   Compiling pgx-pg-sys v0.2.0
   Compiling pgx-macros v0.2.0
   Compiling pgx v0.2.0
error[E0308]: mismatched types
   --> /scratch/work/databases/postgresql-promscale_extension/work/vendor/pgx-0.2.0/src/bgworkers.rs:426:13
    |
426 |             timeout,
    |             ^^^^^^^ expected `i32`, found `i64`
    |
help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit
    |
426 |             timeout.try_into().unwrap(),
    |                    ++++++++++++++++++++

error[E0308]: mismatched types
   --> /scratch/work/databases/postgresql-promscale_extension/work/vendor/pgx-0.2.0/src/memcxt.rs:317:51
    |
317 |         pg_sys::memcpy(dest, src as void_mut_ptr, len as u64);
    |                                                   ^^^^^^^^^^ expected `u32`, found `u64`
    |
help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit
    |
317 |         pg_sys::memcpy(dest, src as void_mut_ptr, (len as u64).try_into().unwrap());
    |                                                   +          +++++++++++++++++++++

error[E0308]: mismatched types
   --> /scratch/work/databases/postgresql-promscale_extension/work/vendor/pgx-0.2.0/src/spi.rs:353:25
    |
353 |                         limit.unwrap_or(0),
    |                         ^^^^^^^^^^^^^^^^^^ expected `i32`, found `i64`
    |
help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit
    |
353 |                         limit.unwrap_or(0).try_into().unwrap(),
    |                                           ++++++++++++++++++++

error[E0308]: mismatched types
   --> /scratch/work/databases/postgresql-promscale_extension/work/vendor/pgx-0.2.0/src/spi.rs:357:75
    |
357 |             None => unsafe { pg_sys::SPI_execute(src.as_ptr(), read_only, limit.unwrap_or(0)) },
    |                                                                           ^^^^^^^^^^^^^^^^^^ expected `i32`, found `i64`
    |
help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit
    |
357 |             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
*** Error code 101

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

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