[package - main-armv7-default][www/varnish-libvmod-fileserver] Failed for varnish-libvmod-fileserver-0.0.5 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Jan 2023 20:22:50 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: zi@FreeBSD.org Log URL: https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/p33c48239fb6d_s17f2b12a38/logs/varnish-libvmod-fileserver-0.0.5.log Build URL: https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p33c48239fb6d_s17f2b12a38 Log: =>> Building www/varnish-libvmod-fileserver build started at Wed Jan 11 20:19:49 UTC 2023 port directory: /usr/ports/www/varnish-libvmod-fileserver package name: varnish-libvmod-fileserver-0.0.5 building for: FreeBSD main-armv7-default-job-04 14.0-CURRENT FreeBSD 14.0-CURRENT 1400077 arm maintained by: zi@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-23-ga7f8d188 Host OSVERSION: 1400073 Jail OSVERSION: 1400077 Job Id: 04 !!! Jail is newer than host. (Jail: 1400077, Host: 1400073) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400077 UNAME_v=FreeBSD 14.0-CURRENT 1400077 UNAME_r=14.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 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/main-armv7-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=main-armv7-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/main-armv7-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-- zi@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work XDG_CACHE_HOME=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/.cache HOME=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work TMPDIR="/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work" PATH=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/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-- XDG_DATA_HOME=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work XDG_CACHE_HOME=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/.cache HOME=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work TMPDIR="/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work" PATH=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/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 -I/usr/local/include -I/usr/local/include/varnish -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-I/usr/local/include -I/usr/local/include/varnish" LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/l ocal/lib" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -I/usr/local/include/varnish -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-- PYTHON_INCLUDEDIR=include/python3.9 PYTHON_LIBDIR=lib/python3.9 PYTHON_PLATFORM=freebsd14 PYTHON_SITELIBDIR=lib/python3.9/site-packages PYTHON_SUFFIX=39 PYTHON_EXT_SUFFIX=.cpython-39 PYTHON_VER=3.9 PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/libvmod-fileserver" EXAMPLESDIR="share/examples/libvmod-fileserver" DATADIR="share/libvmod-fileserver" WWWDIR="www/libvmod-fileserver" ETCDIR="etc/libvmod-fileserver" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/libvmod-fileserver DOCSDIR=/usr/local/share/doc/libvmod-fileserver EXAMPLESDIR=/usr/local/share/examples/libvmod-fileserver WWWDIR=/usr/local/www/libvmod-fileserver ETCDIR=/usr/local/etc/libvmod-fileserver --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 #### /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 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv7-unknown-freebsd14.0-gnueabihf 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" "-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=yes 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=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=armv7 OPSYS=FreeBSD _OSRELEASE=14.0-CURRENT OSREL=14.0 OSVERSION=1400077 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 1048576 stack size (kbytes, -s) 1048576 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 BSD3CLAUSE accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> varnish-libvmod-fileserver-0.0.5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.19.0.pkg [main-armv7-default-job-04] Installing pkg-1.19.0... [main-armv7-default-job-04] Extracting pkg-1.19.0: .......... done ===> varnish-libvmod-fileserver-0.0.5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of varnish-libvmod-fileserver-0.0.5 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by varnish-libvmod-fileserver-0.0.5 for building =========================================================================== =======================<phase: checksum >============================ ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by varnish-libvmod-fileserver-0.0.5 for building => SHA256 Checksum OK for rust/crates/aho-corasick-0.7.18.crate. => SHA256 Checksum OK for rust/crates/android_system_properties-0.1.5.crate. => SHA256 Checksum OK for rust/crates/ansi_term-0.12.1.crate. => SHA256 Checksum OK for rust/crates/anyhow-1.0.57.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/bindgen-0.59.2.crate. => SHA256 Checksum OK for rust/crates/bitflags-1.3.2.crate. => SHA256 Checksum OK for rust/crates/bumpalo-3.11.1.crate. => SHA256 Checksum OK for rust/crates/cc-1.0.78.crate. => SHA256 Checksum OK for rust/crates/cexpr-0.6.0.crate. => SHA256 Checksum OK for rust/crates/cfg-if-1.0.0.crate. => SHA256 Checksum OK for rust/crates/chrono-0.4.23.crate. => SHA256 Checksum OK for rust/crates/clang-sys-1.3.0.crate. => SHA256 Checksum OK for rust/crates/clap-2.34.0.crate. => SHA256 Checksum OK for rust/crates/codespan-reporting-0.11.1.crate. => SHA256 Checksum OK for rust/crates/core-foundation-sys-0.8.3.crate. => SHA256 Checksum OK for rust/crates/cxx-1.0.68.crate. => SHA256 Checksum OK for rust/crates/cxx-build-1.0.68.crate. => SHA256 Checksum OK for rust/crates/cxxbridge-flags-1.0.68.crate. => SHA256 Checksum OK for rust/crates/cxxbridge-macro-1.0.68.crate. => SHA256 Checksum OK for rust/crates/either-1.6.1.crate. <snip> Running `/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/build/libc-dc7a359b8ac500e5/build-script-build` [libc 0.2.139] cargo:rerun-if-changed=build.rs [libc 0.2.139] cargo:rustc-cfg=freebsd11 [libc 0.2.139] cargo:rustc-cfg=libc_priv_mod_use [libc 0.2.139] cargo:rustc-cfg=libc_union [libc 0.2.139] cargo:rustc-cfg=libc_const_size_of [libc 0.2.139] cargo:rustc-cfg=libc_align [libc 0.2.139] cargo:rustc-cfg=libc_int128 [libc 0.2.139] cargo:rustc-cfg=libc_core_cvoid [libc 0.2.139] cargo:rustc-cfg=libc_packedN [libc 0.2.139] cargo:rustc-cfg=libc_cfg_target_vendor [libc 0.2.139] cargo:rustc-cfg=libc_non_exhaustive [libc 0.2.139] cargo:rustc-cfg=libc_ptr_addr_of [libc 0.2.139] cargo:rustc-cfg=libc_underscore_const_names [libc 0.2.139] cargo:rustc-cfg=libc_const_extern_fn Running `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=libc CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/libc-0.2.139 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Raw FFI bindings to platform libraries like libc. ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=libc CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.139 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=139 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps:/usr/local/lib' OUT_DIR=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/armv7-unknown-freebsd/release/build/libc-97839c098108a83d/out /usr/local/bin/rustc --crate-name libc /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/libc-0.2.139/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=8f56bedf967b8910 -C extra-fi lename=-8f56bedf967b8910 --out-dir /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/armv7-unknown-freebsd/release/deps --target armv7-unknown-freebsd -C linker=cc -L dependency=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/armv7-unknown-freebsd/release/deps -L dependency=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps --cap-lints warn -C link-arg=-fstack-protector-strong --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Running `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=serde CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/serde-1.0.133 CARGO_PKG_AUTHORS='Erick Tryzelaar <erick.tryzelaar@gmail.com>:David Tolnay <dtolnay@gmail.com>' CARGO_PKG_DESCRIPTION='A generic serialization/deserialization framework' CARGO_PKG_HOMEPAGE='https://serde.rs' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=serde CARGO_PKG_REPOSITORY='https://github.com/serde-rs/serde' CARGO_PKG_RUST_VERSION=1.15 CARGO_PKG_VERSION=1.0.133 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=133 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps:/usr/local/lib' OUT_DIR=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/armv7-unknown-freebsd/release/build/serde-be565e7aa1718564/out /usr/local/bin/rustc --crate-name serde /wrkdirs/usr/ports /www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/serde-1.0.133/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="serde_derive"' --cfg 'feature="std"' -C metadata=af1c1e4fed38a51b -C extra-filename=-af1c1e4fed38a51b --out-dir /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/armv7-unknown-freebsd/release/deps --target armv7-unknown-freebsd -C linker=cc -L dependency=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/armv7-unknown-freebsd/release/deps -L dependency=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps --extern serde_derive=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps/libserde_derive-44788f04744694c3.so --cap-lints warn -C link-arg=-fstack-protector-strong --cfg ops_bound --cfg core_reve rse --cfg de_boxed_c_str --cfg de_boxed_path! --cfg de_rc_dst --cfg core_duration --cfg integer128 --cfg range_inclusive --cfg iterator_try_fold --cfg num_nonzero --cfg serde_derive --cfg core_try_from --cfg num_nonzero_signed --cfg systemtime_checked_add` Compiling varnish v0.0.12 Running `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=varnish CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12 CARGO_PKG_AUTHORS='Guillaume Quintard <guillaume.quintard@gmail.com>' CARGO_PKG_DESCRIPTION='Access to the Varnish modules API' CARGO_PKG_HOMEPAGE='https://github.com/gquintard/varnish-rs' CARGO_PKG_LICENSE=BSD-3-Clause CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=varnish CARGO_PKG_REPOSITORY='https://github.com/gquintard/varnish-rs' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.0.12 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=12 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps:/usr/local/lib' /usr/local/bin/rustc --crate-name varnish --edition=2021 /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/lib.rs --error-format=json --json=diagnosti c-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=2d316d8ef6eaa283 -C extra-filename=-2d316d8ef6eaa283 --out-dir /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps -C linker=cc -L dependency=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps --extern pkg_config=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps/libpkg_config-8acc21a76e593c01.rmeta --extern serde=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps/libserde-1e6a32a414b523cc.rmeta --extern varnish_sys=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps/libvarnish_sys-532b7d2c342beced.rmeta --cap-lints warn -L native=/usr/local/lib` error[E0308]: mismatched types --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/convert.rs:141:87 | 141 | ... if unsafe { varnish_sys::WS_Allocated(ws.raw, self.as_ptr() as *const c_void, self.len() as i64 + 1) == 1 && *self.as_ptr().add(sel... | ------------------------- ^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `i64` | | | arguments to this function are incorrect | note: function defined here --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/build/varnish-sys-f5ef20eca2475399/out/bindings.rs:8795:12 | 8795 | pub fn WS_Allocated( | ^^^^^^^^^^^^ help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit | 141 | if unsafe { varnish_sys::WS_Allocated(ws.raw, self.as_ptr() as *const c_void, (self.len() as i64 + 1).try_into().unwrap()) == 1 && *self.as_ptr().add(self.len()) == b'\0' } { | + +++++++++++++++++++++ error[E0308]: mismatched types --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/convert.rs:142:16 | 142 | Ok(self.as_ptr() as *const i8) | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8` | | | arguments to this enum variant are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: tuple variant defined here error[E0308]: mismatched types --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/convert.rs:144:16 | 144 | Ok(ws.copy_bytes_with_null(&self)?.as_ptr() as *const i8) | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8` | | | arguments to this enum variant are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: tuple variant defined here error[E0308]: mismatched types --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/ctx.rs:106:32 | 106 | VRT_fail(self.raw, "%s\0".as_ptr() as *const i8, c_cstring.as_ptr()); | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/build/varnish-sys-f5ef20eca2475399/out/bindings.rs:4168:12 | 4168 | pub fn VRT_fail(ctx: *const vrt_ctx, fmt: *const ::std::os::raw::c_char, ...) -> VCL_VOID; | ^^^^^^^^ error[E0308]: mismatched types --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/ctx.rs:119:24 | 119 | b: msg.as_ptr() as *const i8, | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8` | = note: expected raw pointer `*const u8` found raw pointer `*const i8` error[E0308]: mismatched types --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/ctx.rs:120:24 | 120 | e: msg.as_ptr().add(msg.len()) as *const i8, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8` | = note: expected raw pointer `*const u8` found raw pointer `*const i8` error[E0308]: mismatched types --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/ctx.rs:248:48 | 248 | varnish_sys::VSL(logtag.into_u32(), 0, b"%s\0".as_ptr() as *const i8, c_cstring.as_ptr() as *const u8); | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8` | | | arguments to this function are incorrect | = note: expected raw pointer `*const u8` found raw pointer `*const i8` note: function defined here --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/build/varnish-sys-f5ef20eca2475399/out/bindings.rs:8699:12 | 8699 | pub fn VSL(tag: VSL_tag_e, vxid: u32, fmt: *const ::std::os::raw::c_char, ...); | ^^^ error[E0308]: mismatched types --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/http.rs:56:23 | 56 | (*hd).b = hdr_buf.as_ptr() as *const i8; | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8` | | | expected due to the type of this binding | = note: expected raw pointer `*const u8` found raw pointer `*const i8` error[E0308]: mismatched types --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/http.rs:58:23 | 58 | (*hd).e = hdr_buf.as_ptr().add(hdr_buf.len() - 1) as *const i8; | ------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8` | | | expected due to the type of this binding | = note: expected raw pointer `*const u8` found raw pointer `*const i8` error[E0308]: mismatched types --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/processor.rs:132:15 | 132 | name: T::name().as_ptr() as *const i8, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8` | = note: expected raw pointer `*const u8` found raw pointer `*const i8` error[E0308]: mismatched types --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/processor.rs:249:15 | 249 | name: T::name().as_ptr() as *const i8, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8` | = note: expected raw pointer `*const u8` found raw pointer `*const i8` error[E0308]: mismatched types --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/vsb.rs:22:60 | 22 | match unsafe {varnish_sys::VSB_bcat(self.raw, buf, l as i64) } { | --------------------- ^^^^^^^^ expected `i32`, found `i64` | | | arguments to this function are incorrect | note: function defined here --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/build/varnish-sys-f5ef20eca2475399/out/bindings.rs:9829:12 | 9829 | pub fn VSB_bcat( | ^^^^^^^^ help: you can convert an `i64` to an `i32` and panic if the converted value doesn't fit | 22 | match unsafe {varnish_sys::VSB_bcat(self.raw, buf, (l as i64).try_into().unwrap()) } { | + +++++++++++++++++++++ error[E0308]: mismatched types --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/ws.rs:232:22 | 232 | id: ['t' as i8, 's' as i8, 't' as i8, '\0' as i8], | ^^^^^^^^^ expected `u8`, found `i8` | help: you can convert an `i8` to a `u8` and panic if the converted value doesn't fit | 232 | id: [('t' as i8).try_into().unwrap(), 's' as i8, 't' as i8, '\0' as i8], | + +++++++++++++++++++++ error[E0308]: mismatched types --> /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/vcl/ws.rs:238:20 | 238 | space: v, | ^ expected `i8`, found `u8` | = note: expected struct `Vec<i8>` found struct `Vec<u8>` For more information about this error, try `rustc --explain E0308`. error: could not compile `varnish` due to 14 previous errors Caused by: process didn't exit successfully: `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=varnish CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12 CARGO_PKG_AUTHORS='Guillaume Quintard <guillaume.quintard@gmail.com>' CARGO_PKG_DESCRIPTION='Access to the Varnish modules API' CARGO_PKG_HOMEPAGE='https://github.com/gquintard/varnish-rs' CARGO_PKG_LICENSE=BSD-3-Clause CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=varnish CARGO_PKG_REPOSITORY='https://github.com/gquintard/varnish-rs' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.0.12 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=12 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps:/usr/local/lib' /usr/local/bin/rustc --crate-name varnish --edition=2021 /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/vmod_fileserver-f6a6587/cargo-crates/varnish-0.0.12/src/lib.rs --error-forma t=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=2d316d8ef6eaa283 -C extra-filename=-2d316d8ef6eaa283 --out-dir /wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps -C linker=cc -L dependency=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps --extern pkg_config=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps/libpkg_config-8acc21a76e593c01.rmeta --extern serde=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps/libserde-1e6a32a414b523cc.rmeta --extern varnish_sys=/wrkdirs/usr/ports/www/varnish-libvmod-fileserver/work/target/release/deps/libvarnish_sys-532b7d2c342beced.rmeta --cap-lints warn -L native=/usr/local/lib` (exit status: 1) warning: build failed, waiting for other jobs to finish... *** Error code 101 Stop. make: stopped in /usr/ports/www/varnish-libvmod-fileserver