=> 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.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 lazy_static v1.4.0 Compiling version_check v0.9.3 Compiling log v0.4.14 Compiling serde v1.0.130 Compiling serde_derive v1.0.130 Compiling getrandom v0.1.16 Compiling crc32fast v1.2.1 Compiling once_cell v1.8.0 Compiling cc v1.0.71 Compiling regex-syntax v0.6.25 Compiling ryu v1.0.5 Compiling eyre v0.6.5 Compiling tinyvec_macros v0.1.0 Compiling pin-project-lite v0.2.6 Compiling matches v0.1.8 Compiling adler v1.0.2 Compiling serde_json v1.0.69 Compiling crossbeam-utils v0.8.5 Compiling radium v0.5.3 Compiling percent-encoding v2.1.0 Compiling glob v0.3.0 Compiling ppv-lite86 v0.2.10 Compiling crossbeam-epoch v0.9.5 Compiling unicode-width v0.1.8 Compiling gimli v0.25.0 Compiling owo-colors v1.3.0 Compiling byteorder v1.4.3 Compiling funty v1.1.0 Compiling strsim v0.8.0 Compiling rayon-core v1.9.1 Compiling bitflags v1.3.2 Compiling wyz v0.2.0 Compiling smallvec v1.6.1 Compiling ansi_term v0.11.0 Compiling ucd-trie v0.1.3 Compiling tap v1.0.1 Compiling indenter v0.3.3 Compiling scopeguard v1.1.0 Compiling rustc-demangle v0.1.21 Compiling mime v0.3.16 Compiling ansi_term v0.12.1 Compiling vec_map v0.8.2 Compiling itoa v0.4.7 Compiling base64 v0.11.0 Compiling httpdate v0.3.2 Compiling xml-rs v0.8.3 Compiling termcolor v1.1.2 Compiling unescape v0.1.0 Compiling humantime v2.1.0 Compiling bindgen v0.59.1 Compiling peeking_take_while v0.1.2 Compiling shlex v1.1.0 Compiling rustc-hash v1.1.0 Compiling either v1.6.1 Compiling lazycell v1.3.0 Compiling hashbrown v0.11.2 Compiling heapless v0.7.7 Compiling half v1.7.1 Compiling stable_deref_trait v1.2.0 Compiling time-macros v0.2.3 Compiling fixedbitset v0.4.0 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 tracing-core v0.1.21 Compiling sharded-slab v0.1.4 Compiling unicase v2.6.0 Compiling nom v6.1.2 Compiling thread_local v1.1.3 Compiling backtrace v0.3.61 Compiling regex-automata v0.1.10 Compiling tinyvec v1.2.0 Compiling unicode-bidi v0.3.5 Compiling form_urlencoded v1.0.1 Compiling build-deps v0.1.4 Compiling clang-sys v1.2.0 Compiling textwrap v0.11.0 Compiling addr2line v0.16.0 Compiling pest v2.1.3 Compiling hash32 v0.2.1 Compiling lock_api v0.4.4 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 spin v0.9.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 rand_core v0.5.1 Compiling clap v2.33.3 Compiling colored v2.0.0 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[E0053]: method `from_datum` has an incompatible type for trait --> /work/databases/postgresql-promscale_extension/work/vendor/pgx-0.2.0/src/datum/array.rs:274:33 | 274 | 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/vendor/pgx-0.2.0/src/datum/from.rs:31:33 | 31 | 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/vendor/pgx-0.2.0/src/datum/from.rs:199:16 | 199 | 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/vendor/pgx-0.2.0/src/datum/from.rs:50:16 | 50 | 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/vendor/pgx-0.2.0/src/datum/from.rs:277:33 | 277 | 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/vendor/pgx-0.2.0/src/datum/from.rs:31:33 | 31 | 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/vendor/pgx-0.2.0/src/datum/from.rs:290:16 | 290 | 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/vendor/pgx-0.2.0/src/datum/from.rs:50:16 | 50 | 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/vendor/pgx-0.2.0/src/datum/from.rs:319:33 | 319 | 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/vendor/pgx-0.2.0/src/datum/from.rs:31:33 | 31 | 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/vendor/pgx-0.2.0/src/datum/from.rs:366:16 | 366 | 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/vendor/pgx-0.2.0/src/datum/from.rs:50:16 | 50 | 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/vendor/pgx-0.2.0/src/datum/geo.rs:56:32 | 56 | 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/vendor/pgx-0.2.0/src/datum/into.rs:24:28 | 24 | 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/vendor/pgx-0.2.0/src/datum/numeric.rs:149:33 | 149 | 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/vendor/pgx-0.2.0/src/datum/from.rs:31:33 | 31 | 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/vendor/pgx-0.2.0/src/datum/time_with_timezone.rs:13:33 | 13 | 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/vendor/pgx-0.2.0/src/datum/from.rs:31:33 | 31 | 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/vendor/pgx-0.2.0/src/datum/uuid.rs:30:33 | 30 | 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/vendor/pgx-0.2.0/src/datum/from.rs:31:33 | 31 | 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/vendor/pgx-0.2.0/src/datum/varlena.rs:292:16 | 292 | 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/vendor/pgx-0.2.0/src/datum/from.rs:50:16 | 50 | 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/vendor/pgx-0.2.0/src/datum/varlena.rs:332:33 | 332 | 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/vendor/pgx-0.2.0/src/datum/from.rs:31:33 | 31 | 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/vendor/pgx-0.2.0/src/datum/varlena.rs:342:16 | 342 | 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/vendor/pgx-0.2.0/src/datum/from.rs:50:16 | 50 | 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/vendor/pgx-0.2.0/src/datum/array.rs:390:37 | 390 | datum.unwrap_or(0usize), | ^^^^^^ expected `u64`, found `usize` | help: change the type of the numeric literal from `usize` to `u64` | 390 | datum.unwrap_or(0u64), | ~~~ error[E0308]: mismatched types --> /work/databases/postgresql-promscale_extension/work/vendor/pgx-0.2.0/src/datum/array.rs:432:37 | 432 | datum.unwrap_or(0usize), | ^^^^^^ expected `u64`, found `usize` | help: change the type of the numeric literal from `usize` to `u64` | 432 | datum.unwrap_or(0u64), | ~~~ error[E0308]: mismatched types --> /work/databases/postgresql-promscale_extension/work/vendor/pgx-0.2.0/src/datum/from.rs:326:62 | 326 | let bytes: Option<&[u8]> = FromDatum::from_datum(datum, is_null, typoid); | ^^^^^ expected `u64`, found `usize` | help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit | 326 | let bytes: Option<&[u8]> = FromDatum::from_datum(datum.try_into().unwrap(), is_null, typoid); | ++++++++++++++++++++ error[E0308]: mismatched types --> /work/databases/postgresql-promscale_extension/work/vendor/pgx-0.2.0/src/datum/geo.rs:59:13 | 56 | fn into_datum(mut self) -> Option<usize> { | ------------- expected `std::option::Option<usize>` because of return type ... 59 | / direct_function_call_as_datum( 60 | | pg_sys::point_out, 61 | | vec![Some(point as *mut pg_sys::Point as pg_sys::Datum)], 62 | | ) | |_____________^ 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/vendor/pgx-0.2.0/src/datum/numeric.rs:157:88 | 157 | direct_function_call::<&std::ffi::CStr>(pg_sys::numeric_out, vec![Some(datum)]) | ^^^^^ expected `u64`, found `usize` | help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit | 157 | 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/vendor/pgx-0.2.0/src/fcinfo.rs:344:51 | 344 | let mut fcid = make_function_call_info(nargs, arg_array, null_array); | ^^^^^^^^^ expected `usize`, found `u64` | = note: expected array `[usize; 100]` found array `[u64; 100]` error[E0308]: mismatched types --> /work/databases/postgresql-promscale_extension/work/vendor/pgx-0.2.0/src/fcinfo.rs:382:51 | 382 | let mut fcid = make_function_call_info(nargs, arg_array, null_array); | ^^^^^^^^^ expected `usize`, found `u64` | = note: expected array `[usize; 100]` found array `[u64; 100]` error[E0308]: mismatched types --> /work/databases/postgresql-promscale_extension/work/vendor/pgx-0.2.0/src/fcinfo.rs:430:20 | 430 | 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 21 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